Closed (fixed)
Project:
Hosting
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2008 at 18:47 UTC
Updated:
16 May 2008 at 16:41 UTC
I got this error in my watchdog, not sure where it comes from, but I suspect it's spawned from the cron job:
Table 'hostmaster.hosting_package_instances' doesn't exist query: DELETE FROM hosting_package_instances WHERE rid = 6 in /var/hostmaster/DRUPAL-5-7/includes/database.mysql.inc on line 172.
Indeed, the table is not defined anywhere. I commented out the lines for now:
diff -r1.3 hosting_package.inc
29c29
< db_query("DELETE FROM {hosting_package_instances} WHERE rid = %d", $nid);
---
> #db_query("DELETE FROM {hosting_package_instances} WHERE rid = %d", $nid);
33,34c33,34
< $iid = db_next_id("{hosting_package_instance}_iid");
< db_query("INSERT INTO {hosting_package_instances} (iid, release_id, rid, path) VALUES (%d, %d, %d, '%s')", $iid, $nid, $rid, $path);
---
> #$iid = db_next_id("{hosting_package_instance}_iid");
> #db_query("INSERT INTO {hosting_package_instances} (iid, release_id, rid, path) VALUES (%d, %d, %d, '%s')", $iid, $nid, $rid, $path);
This will need more work, obviously...
Comments
Comment #1
anarcat commentedI actually committed that crappy patch, it's better than having the CVS just crashing for now...
Comment #2
adrian commentedit's there.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.