Error received on Uninstall of AcidFree

zdean - January 5, 2009 - 14:39
Project:Acidfree Albums
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

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.

#1

plato1123 - March 15, 2009 - 05:57

I 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

#2

plato1123 - March 15, 2009 - 05:52

It 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

#3

plato1123 - March 16, 2009 - 00:43

I 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 :)

#4

Max_Headroom - April 1, 2009 - 20:33

Confirmed
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.

#5

rstryker - April 28, 2009 - 01:48

This bit me too. Subscribing.

#6

radibioinfo - April 28, 2009 - 02:00

here 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?

#7

Jason Ruyle - April 30, 2009 - 20:44

I 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.

#8

radibioinfo - May 17, 2009 - 11:07

I 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.

#9

kari.nies - July 25, 2009 - 00:45

I'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

#10

kari.nies - July 25, 2009 - 01:07

Ultimately 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.

#11

Frikshun - November 4, 2009 - 14:41

Hi 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

 
 

Drupal is a registered trademark of Dries Buytaert.