Closed (fixed)
Project:
Spam
Version:
5.x-1.1-1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2007 at 19:19 UTC
Updated:
31 Oct 2007 at 17:22 UTC
I just updated to 5.x-1.1-1 and i got this error message:
Update #4
* Failed:
* D
Can someone tell me what exactly did went wrong?
Comments
Comment #1
jaydub commentedthe latest module update should wrap the table name in {} as per standard Drupal db calls.
function spam_update_4() {
return update_sql("DELETE FROM cache_menu");
}
to
function spam_update_4() {
return update_sql("DELETE FROM {cache_menu}");
}
Comment #2
jeremy commentedYeah, whoops, a brown paper bag to cover my brown paper bag. Fixed in the development branch. It also needs to return an array.
D4rKr0W, I recommend you manually purge your cache_menu table which is all that update is trying to do. Until it is purged, you will not be able to access the spam module administration pages. If you don't know how to purge it manually, you can disable/re-enable the spam module (or any other module) to trigger it automatically. Sorry for the silly bug.
Alternatively, wait for 5.x-1.1-2 which I'll push shortly.
Comment #3
jeremy commentedI just rolled 5.x--1.1-2, the tarball should be built within a few minutes at which time it will be available here.
Yes, I actually tested it this time. My humblest apologies.
Comment #4
(not verified) commented