Closed (won't fix)
Project:
Category
Version:
master
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 May 2006 at 06:21 UTC
Updated:
28 May 2006 at 10:17 UTC
When main module ONLY had been uninstalled, every page on site display following error:
Call to undefined function: category_get_containers().
And only one way to restore site -- switch on module direct in DB.
It may be very dangerous for working sites, if webmaster by accident turn off this module.
Comments
Comment #1
Jaza commentedUnfortunately, there's no clean way to fix this in Drupal 4.7. All I can say is that site admins should not disable category unless they have first (or at the same time) disabled all modules that depend on it. Drupal 4.8/5.0 will have a dependency checking system, so in the future this will not be a problem. Since Drupal 4.7 has no such system, there isn't much I can do.
Comment #2
inforeto commentedHumm. How did you turned it on from the database?
I now need to do the same thing.
Comment #3
inforeto commentedFor now i have removed taxonomy via ssh and site came back again.
Could these modules be deactivated with a php script?
Comment #4
venkat-rk commentedHi Jaza,
I was about to submit the same issue- my test site crashed just now after I disabled the category module at administer>>modules.
I followed your advice and tried first disabling the taxonomy (wrapper) module prior to disabling the category module, but that crashed the other site too, this time with a different error message. Of course, I backed up the db and files before I did this, as it is a live site. In both the sites, I had taxonomy wrapper fully installed.
Why did I uninstall category from the first site (the second was a test)? Well, it had that SQL syntax error, so I was trying to remove the module and use an older version which didn't have that problem.
Comment #5
venkat-rk commentedOops, here is the link to the test site
Comment #6
venkat-rk commentedOkay, in case anyone is struggling with this problem, here is a simple fix. Use FTP or ssh to navigate to your lost site, *delete* the taxonomy.module and then *rename* the
taxonomy.module.oldtotaxonomy.moduleand your site will be back again.Comment #7
venkat-rk commentedMy fix in the previous comment will not work if the site crash was caused by disabling the taxonomy (wrapper) module (see paragraph 2, comment #4) first.
Comment #8
vatavale commentedHi, inforeto
I use phpmyadmin for change back "0" to "1" in Status field, in System table, for Category.module record.