First of all I would like to know if there are still maontainers on this module, for my last bug reports where never commented/responded ... However the module is good and I try to make it run the best as possible.
Today I tried out the Futures wheel. - It doesn't work. Calling a graphmind node I got following

Fatal error: Call to undefined function db_fetch_object() in drupal7/sites/all/modules/graphmind/plugins/graphmind_futures_wheel/graphmind_futures_wheel.module on line 84

Further on the very serious bug with bigger graphmind nodes continue with a flash-plugin crash + overloading RAM up to system crash. - So far graphmind is only usable for small files. - Also upload/download of freemind files is still too buggy for production use.

Comments

darkooo’s picture

hi,

I'm not a maintener but I solve this issue myself so if you want:

Fatal error: Call to undefined function db_fetch_object() in drupal7/sites/all/modules/graphmind/plugins/graphmind_futures_wheel/graphmind_futures_wheel.module on line 84

you can solve this bug by replacing line 84 by this one:

$res = db_query('SELECT COUNT(nid) AS count FROM {graphmind_futures_wheel} WHERE nid =:nid;', array(':nid' => $nid))->fetchField();

Also don't forget to change the return value by this line in the same function:

return $res >= 1
choy’s picture

thanks a lot, - I am wondering if there is still a maintainer after graphmind - otherwise would be a pity - the module is very useful and so far the only mindmap solution with drupal....

Yuri’s picture

#1 Well, applying that replacement code results for me in:

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'a:2:{s:19:\"OrganicGroupsPlugin\";i:0;s:12:\"Relationship\";i:0;}', 'a:7:{s:8:' at line 1: SELECT COUNT(nid) AS count FROM {graphmind_futures_wheel} WHERE nid =:nid_map, :nid_plugins, :nid_features, :nid_settings;; Array ( [:nid_map] => [:nid_plugins] => a:2:{s:19:"OrganicGroupsPlugin";i:0;s:12:"Relationship";i:0;} [:nid_features] => a:7:{s:8:"nodeInfo";i:0;s:17:"createMindmapNode";i:0;s:14:"loadDrupalNode";i:0;s:10:"removeNode";i:0;s:10:"attributes";i:0;s:11:"connections";i:0;s:8:"tooltips";i:0;} [:nid_settings] => a:1:{s:22:"graphmind_relationship";a:3:{s:28:"graphmind_relationship_depth";s:0:"";s:32:"graphmind_relationship_root_node";s:0:"";s:48:"graphmind_relationship_default_created_node_type";s:7:"mindmap";}} ) in graphmind_futures_wheel_is_node_futures_wheel() (line 84 of /home/gezond/public_html/sites/all/modules/graphmind/plugins/graphmind_futures_wheel/graphmind_futures_wheel.module).
The website encountered an unexpected error. Please try again later.
Yuri’s picture

Assigned: choy » Unassigned
Yuri’s picture

Component: Miscellaneous » Code
Priority: Major » Critical
voughndutch’s picture

any ideas or solutions? i am getting the same error?

hgneng’s picture

Status: Active » Needs review