Problem installing REST Server module
-
16-10-2019 - |
Question
When I attempt to enable the REST Server module, I get the following error message:
A library is missing for rest_server to work (Currently using Missing library Please download spyc and create a file called spyc.php in rest_server/lib)
The spyc.php file is included with the module in the rest_server/lib
directory, but the error is still reported, and prevents the module from being enabled.
Drupal version: 6.22
Rest Server module version: 6.x-2.0-beta3
I reported the issue on the module page.
Just wondering if you see any patterns that could help me debug this issue.
Solution
Download spyc from http://code.google.com/p/spyc/. Inside the spyc folder find the file called spyc.php and copy it to the Services Module 'servers/rest_server/lib/' directory.
OTHER TIPS
after you put the spyc.php in the modules/services/servers/rest_server/lib folder, go the the Modules configuration, disable the REST server, then re-enable it.
That worked for me.
Some places you can put rpyc (download from http://code.google.com/p/spyc/downloads/detail?name=spyc-0.5.zip):
servers/rest_server/lib
modules/services/servers/rest_server/lib
profiles/<someprofiles>/modules/services/servers/rest_server/lib
Hope this help