Needs work
Project:
Services
Version:
7.x-3.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2012 at 00:00 UTC
Updated:
9 Feb 2016 at 09:38 UTC
Jump to comment: Most recent
Status report return this msg since I updated to 7.x-3.3 version
I have spyc.php file in rest_server/lib folder
As soon as I confirm this is not my fault I be grateful in working in a path
Thank you
Comments
Comment #1
kylebrowning commentedYou have to install the libraries module.
Its a required dependency
Comment #2
Enxebre commentedThanks for reply,
I had already installed
Other Libraries (libraries) Module Enabled 7.x-2.0
Services Services (services) Module Enabled 7.x-3.3
I receive the message with this module versions installed
Comment #3
kylebrowning commentedYou may have a libraries bug then because we have tests for enabling YAML and they are passing.
Comment #4
jaarong commentedI'm having this same issue. Have libraries installed, have services installed, and have spyc.php in the rest_server/lib folder. This is on a relatively new installation with very few modules installed.
Comment #5
kylebrowning commentedIt needs to be sites/all/libraries.
Comment #6
The Daily commentedI have the same issue. I have put it in sites /all/libraries and servers/rest_server/lib. Still says its missing.
Ok I figured it out you have to put the spyc.php in sites/all/libraries/spyc You need to create the folder spyc. Works after that. The error message in Drupal is wrong! Someone should fix that....
Comment #7
devin carlson commentedComment #8
ericross commentedThe documentation is wrong. The Status Report looks in sites/all/libraries to find the spyc directory.
Comment #9
SamRose commentedFWIW I can confirm the approach of placing in sites/all/libraries/spyc works.
If you run:
print libraries_get_path('spyc');You'll see the path that the libraries module is looking for. There is a fallback in the module to to look in the servers/rest_server/lib dir if the spyc.php lib is not found in the sites/all/libraries/spyc dir
http://drupalcontrib.org/api/drupal/contributions%21services%21servers%2...
Comment #10
macmladen commentedJust visit the new project page on Github https://github.com/mustangostang/spyc/ and download the master.zip to your
sites/all/librariesfolder and expand there.Do not forget to rename the directory to just
spycso you end up withsites/all/libraries/spyc/spyc.phpCheck on the
admin/reports/status, there should be no mention of thespycmeaning that it is ok (but it should note that it found the library).Comment #11
internal commented#10 is right. The sites/all/libraries/spyc/spyc.php is the right path for drupal core. If you place spyc.php other where, you will get an error in the site report page. That also works but not pretty. The readme and documentation should be updated.
Comment #12
dan_metille commentedDon't know what to say.. with the Rooms module, I had issues with
sites/all/libraries/spyc/spyc.php, while/modules/services/servers/rest_server/lib/spyc.phpworked (https://www.drupal.org/node/2380777#comment-10836790). Of course, I'm getting the warning in the site report page, but at least my site is working.