Hi,
I am giving a try at Services using Drupal 6.22 (Pressflow).
I want to manage taxonomies, nodes and nodequeues through Services. I installed Services 6.x-3.0-rc4, along with its dependencies (ctools, autoload, inputstream), and i can't manage to have it working.
My main problem is that i can't manage to setup an URL that properly answers for taxonomies. I set up a REST server on the "rest" URI. Drupal does not show me any operations available at this URI, only 404 HTML pages... It does not show me a "Resources" button in the admin page either. The "list" button only displays my REST server, with no operation available on it.
Knowing that:
- permissions were set, everyone having all every permission for the Services module,
- dropping Services 3.x for Services 2.x was completely straightforward and let me test the taxonomy xmlrpc server directly through the admin GUI,
i see nowhere to go at this point, except to drop completely Services 3.0 for Services 2.
Did i miss something? Is Services 6.x-3.0-rc4 actually working on Drupal 6.22?
Best thanks
Comments
It shouldn't be complicated
Edit Resources should be link on the endpoints list page. There you should be able to enable taxonomy resource and be able to use that resource. http://xmages.net/i/3125128
No Resources buttons for me
Interestingly, no link shows up in my endpoint form:
http://i.imgur.com/fRhnz.png
And when i view the HTML source for this page, the table cell where the links should appear is really empty.
Interestingly, my watchdog has many lines such as this one:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'theme_links' not found or invalid function name in theme() (line 668 of /path/to/drupal/includes/theme.inc).
Maybe this is correlated?
wow!
That is very very interesting. theme_links is very basic theming function from the drupal core. Can you clear your caches?
Could you please also advise your version of php and ctools module? I run on php 5.2 and ctools 6.x-1.8
PHP and ctools version
$ php --version
PHP 5.3.5-1ubuntu7.2 with Suhosin-Patch (cli) (built: May 2 2011 23:18:30)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
$ drush pm-list --status=enabled --package='Chaos tool suite'
Name Type Version
Chaos tools (ctools) Module 6.x-1.8
Flushing the cache did not restore the links. Quite strange indeed.
I have checked Services admin
I have checked Services admin pages running on php 5.3 and everything works.
So I can only think about pressflow.
@zezaz, could you please try to install services on clean drupal 6.x and see whether everything works properly? So we can ensure that problem is with pressflow.
Ouch
Our installation was broken... so, i can say that Services works for on Pressflow 6.x!
Sorry for the false alert, and thank you for your kind help.