Hi, I have a new Drupal 7.2 site, but cannot understand instructions for required modules. So far, I've installed quite a few modules, Services, libraries, amfserver, but I hit a bad roadblock when I get to the ZendFramework module and the Zend Library php files that have to be loaded under libraries. The Amfserver apparently requires Zend, it is necessary to make that work. It appeared to me the easiest way to go was the module libraries. I've tried this with several different versions of libraries and Zend, now my drupal install is getting corrupted. Even if I erase Zend folders and re-install, I still get fatal errors due to inability to run Loader.php and AutoLoader.php. I should use licenses version ??

I've been trying at this for the better part of a day, and I'm reaching a point of diminishing results!

If somebody who has a "clean" install of Drupal 7.2 would please write down the modules that are necessary to make this go, I would really appreciate it.

If you think it better to forget about libraries and just set the php path to include the library/Zend folder, I can try that, if you point me at some documents on setting the php path for drupal

In the process, I've found one really bad mistake to make. On one iteration of this, I noticed the Zend module has a configuration option where you can add a folder to the php path. I typed that incorrectly, unfortunately, and after that no drupal pages will load at all, because of a fatal error. And I cannot figure how to unset that path through the mysql database.

Thanks in advance. I'm going to take some deep breaths!

Comments

temaruk’s picture

These are the needed modules (you could paste this into a drush make file also) for a clean install.

projects[ctools][version] = "1.0-rc1"
projects[views][version] = "3.0-rc1"
projects[graphmind][version] = "1.0-beta6"
projects[services][version] = "3.0-rc4"
projects[amfserver][version] = "3.0"

It is much easier to setup the amfserver module. Just download it as any other, then download the ZendFramework, extract it to a temporary place, and then all you have to do is copy the Zend directory (ZendFramework/library/Zend) to your drupal site's sites/all/libraries directory. Then the amfserver module can be enables/installed.

After you installed all the needed modules, follow the instructions at http://drupal.org/node/1175392.

But basically the steps are:

  • Add a new service under admin/structure/services/add (write a name, select amfserver, path to endpoint can be anything, like simply 'graphmind', you have to copy this, leave other settings as is)
  • At the list of services (admin/structure/services) click 'Edit Resources' for the new service, and enable:
    • all the Graphmind (and it's submodules) resources
    • Node, User, File, Taxonomy and Term retrieve resource
    • System's connect resource
  • At Graphmind Settings, in 'Default enpoint URL part' paste the endpoint path you copied above
  • Last step is to set the permissions for at least the administrator role, enable everything for Graphmind that is not enabled

I think that is all.

smkhalsa’s picture

Hi,

I have installed everything the way you just described. However, when I save or edit a node, I get these errors:

Notice: Undefined index: args in AmfServerServiceProxy->execute() (line 89 of /home/dualpurp/public_html/seedtosapling.com/sites/all/modules/amfserver/amfserver.resources.inc).
Notice: Undefined index: args in AmfServerServiceProxy->execute() (line 99 of /home/dualpurp/public_html/seedtosapling.com/sites/all/modules/amfserver/amfserver.resources.inc).
Warning: Invalid argument supplied for foreach() in AmfServerServiceProxy->execute() (line 99 of /home/dualpurp/public_html/seedtosapling.com/sites/all/modules/amfserver/amfserver.resources.inc).
Notice: Undefined index: args in AmfServerServiceProxy->execute() (line 89 of /home/dualpurp/public_html/seedtosapling.com/sites/all/modules/amfserver/amfserver.resources.inc).
Notice: Undefined index: args in AmfServerServiceProxy->execute() (line 99 of /home/dualpurp/public_html/seedtosapling.com/sites/all/modules/amfserver/amfserver.resources.inc).
Warning: Invalid argument supplied for foreach() in AmfServerServiceProxy->execute() (line 99 of /home/dualpurp/public_html/seedtosapling.com/sites/all/modules/amfserver/amfserver.resources.inc).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of /home/dualpurp/public_html/seedtosapling.com/includes/entity.inc).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of /home/dualpurp/public_html/seedtosapling.com/includes/entity.inc).
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 354 of /home/dualpurp/public_html/seedtosapling.com/includes/entity.inc).

Please advise

temaruk’s picture

For the first 6 messages, check this issue: http://drupal.org/node/1240434 . It has to be solved.

The last 3, unfortunately I don't know.

Are you also logged out after trying to save a node with a graphmind map?

itarato’s picture

Status: Active » Closed (fixed)

Temaruk, thanks for the help ;) You're right with that. I've fixed that part. The other messages are more complicated as they need a patch:
http://drupal.org/node/1093762 and the patch itself: http://drupal.org/files/issues/node_id_type-1093762-4430594.patch
Use the latest dev version and apply the patch - and there should be no error messages.