When I uninstalled Acidfree, I started getting the following error:
* user warning: Table 'db40452_tmain.node_group' doesn't exist query: SELECT * FROM node_group ORDER BY weight, group_name in /nfs/c02/h06/mnt/40452/domains/wholevillage.com/html/modules/acquia/cck/modules/fieldgroup/fieldgroup.module on line 224.
* user warning: Table 'db40452_tmain.node_group' doesn't exist query: SELECT nfi.*, ng.group_name FROM node_group ng INNER JOIN node_group_fields ngf ON ngf.type_name = ng.type_name AND ngf.group_name = ng.group_name INNER JOIN node_field_instance nfi ON nfi.field_name = ngf.field_name AND nfi.type_name = ngf.type_name WHERE nfi.widget_active = 1 ORDER BY nfi.weight in /nfs/c02/h06/mnt/40452/domains/wholevillage.com/html/modules/acquia/cck/modules/fieldgroup/fieldgroup.module on line 237.
I am no longer able to view/create CCK fields. I guess the uninstall did something to my database??
Any help on how I can restore my CCK functionality?
Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | acidfree.install.patch | 551 bytes | mrsimonelliott |
Comments
Comment #1
plato1123 commentedI had the exact same problem, uninstalled acidfree and started getting errors all over the place from different modules including cck. In addition, a lot of drupal 6 settings were undone, including all theming options! What a disaster :( I attempted to reinstall acidfree just to shut up the errors but when I copied the files again I couldn't even access the modules page, famous error 500. I deleted the acidfree folder form the modules directory and can at least add and remove other modules again.
Stay away from this module, at least for Drupal 6
Comment #2
plato1123 commentedIt looks like several other modules no longer work properly after attempting to uninstall this one. Looks like I'm contacting the host provider and hoping they have a backup of the system or I'm out several hours work
Comment #3
plato1123 commentedI was able to fix this by uninstalling (not just disabling) and reinstalling several modules including cck, photos, dfgallery, maybe swupload... keep in mind that if you uninstall these modules you will probably knock out a bunch of content that was created using these modules. If you have acidfree installed on drupal 6, you can disable it but do NOT use the uninstall option :)
Comment #4
Max_Headroom commentedConfirmed
DO NOT UNINSTALL the D6 VERSION!
It wipes out most of your variable table.
Due to this faulty code in hook_uninstall:
db_query("DELETE FROM {variable} WHERE name LIKE '%%s%'", 'acidfree');3 hours wasted. Luckily I had a backup.
Comment #5
rstryker commentedThis bit me too. Subscribing.
Comment #6
radibioinfo commentedhere also same problem gives a lot of problems
"user warning: Table 'XXX_XXXX.node_field_instance' doesn't exist query: SELECT nfi.*, ng.group_name FROM content_group ng INNER JOIN content_group_fields ngf ON ngf.type_name = ng.type_name AND ngf.group_name = ng.group_name INNER JOIN node_field_instance nfi ON nfi.field_name = ngf.field_name AND nfi.type_name = ngf.type_name WHERE nfi.widget_active = 1 ORDER BY nfi.weight in /home/thiruman/public_html/sites/all/modules/cck/modules/fieldgroup/fieldgroup.module on line 237."
No Solutions?
Comment #7
Jason Ruyle commentedI don't know if this is related but you might want to checkout this thread:
http://drupal.org/node/318387
It's related to upgrading of the cck fieldgroup module.
I'm having this same problem and haven't resolved.
Comment #8
radibioinfo commentedI deleted the acidfree folder and from then on I had this issue, I had a backup of the database so had to go throughrestoring the whole thing. Don't ever delete/uninstall the acidfree module, just disable it.
Comment #9
kari.nies commentedI've also had to reinstall my database multiple time because of this problem. I disabled Acid Free, but now I cannot create videos, the create page has an "Acid Free albums" entry with a black box below it. When I try to save the video I get an error that an acid free album is required (even through that module has been disabled). So I tried to uninstall Acid Free with the same results as above.
Ugh! Does anyone know hot to get the video module to release its death grip on Acid Free?
-- Kari
Comment #10
kari.nies commentedUltimately had to uninstall the video module. Lost some data, but at least I can create videos again. BTW, same problem with the image module. It also thinks that you need to supply an acid free album when acid free is disabled. Looks like that one will require an uninstall as well. sigh.
Comment #11
Frikshun commentedHi All,
For what it's worth I was able to recover form the AcidFree uninstall without a having a backup by doing the following steps:
1) creating a new local Drupal installation with all my modules enabled
2) inspect the "Variable" table in the new installation and locate any variables that are missing from my "live" Variable table
3) insert those missing variables and values using SQL Inserts in PHPAdmin back into my live deployment variable table
Hope this helps,
Allen
Comment #12
alex.cunha commentedHi,
I just commented the line:
db_query("DELETE FROM {variable} WHERE name LIKE '%%s%'", 'acidfree');
before uninstall the module acidfree and works for me.
Do a database backup before any uninstallation.
Comment #13
mrsimonelliott commentedThe problem is the wildcard is not escaped properly so the line alexcunha has identified is deleting everything from the variable table which contains an "s".
I have made a patch which should only remove variables which start with "acidfree".
Please back up your db before testing and leave feedback on patch
Comment #14
Berliner-dupe commentedSame problem.
After deinstall - my drupal-project ist complete destroyed.
OMG - what a disaster!
Comment #15
jpoesen commentedPatch in comment #13 does the trick.
thanks!
Comment #16
mwheinz commentedComment #17
mwheinz commentedThe patches proposed here are not complete fixes; I've committed an updated version but it needs to be tested. It will be released as "beta2".
Comment #18
mwheinz commentedFixed in the beta2 build.