Closed (fixed)
Project:
Services
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2007 at 21:34 UTC
Updated:
5 Feb 2007 at 19:49 UTC
When I try to create a new key using the services module I get the following error message:
* user warning: Table 'drupal5.api_keys' doesn't exist query: SELECT * FROM api_keys WHERE kid = '7a486ffcc12d24c5b90440a37a04693b' in F:\Server\xampplite\htdocs\drupal5\includes\database.mysql.inc on line 167.
* user warning: Table 'drupal5.api_keys' doesn't exist query: INSERT INTO api_keys (kid, title, domain) VALUES ('7a486ffcc12d24c5b90440a37a04693b', 'test', 'test.com') in F:\Server\xampplite\htdocs\drupal5\includes\database.mysql.inc on line 167.
Does anyone know how to fix this? I saw a similar error a few days ago, but I can no longer find it on the issue tracker. Thanks.
Comments
Comment #1
mikeypotter commentedDo a search for api_keys and replace it with service_keys.
Mike
Comment #2
snelson commentedThanks Mike.
This has been updated in HEAD. I was having some CVS trouble which has been fixed, but I haven't been able to get the 5.x dev release updated yet. Its still in the drupal.org site maintenance queue. Hopefully somebody can get it soon.
Scott
Comment #3
strayhand commentedAh... thanks. For anyone else following this. You need to do a search and replace for api_keys inside of the services_admin_keys.inc. Replace api_keys with "services_keys". It's plural. Looking at the install script you'll see that this is in fact the name of the db table. Thanks for your help guys.
Comment #4
snelson commentedThe CVS problems have been fixed and the 5.x release code should be current.
Comment #5
snelson commentedThe tarball has not yet been updated. Gonna check it on the next packaging script run.
Comment #6
snelson commentedTarball is updated.
Comment #7
(not verified) commented