I recently installed the latest Drupal 5 update. In the process, I disabled and then re-enabled all my modules. Or so I thought! Unfortunately, I forgot to check the box for the Date PHP4 module (my server runs PHP 5.0.4 and I can't upgrade it), and now any page I try to load gives me a blank white screen (WSOD). When I enable error handling, it tells me:

"Fatal error: Call to undefined function timezone_identifiers_list() in /infosys/www.vote.caltech.edu/www/docroot/drupal/sites/all/modules/date/date_api.... on line 457"

So, I need to either enable Date PHP4 module or disable the rest of the date modules, but I cannot load any page on my site except a 404. So, I can't get to the module page to enable it. How do I fix this?

Thanks for any help you can give!

Comments

vm’s picture

modules can be disabled manually in the database by locating it in the system table and setting the status of it to 0

fuzzycasserole’s picture

Can they be enabled in the same way (setting to 1)? It would be much easier for me to just enable the Date PHP4 module than disable a bunch of others (I'm not sure exactly which would be required).

vm’s picture

yes

fuzzycasserole’s picture

Thanks a lot for your help, this worked!

kenorb’s picture

You can also try to rename module directory to disable that module temporary.

beautifulmind’s picture

Just renaming the module directory has no effect on module listing page. The module will still show up there. Instead, just rename the info file. and the module will be disabled.

Regards.
🪷 Beautifulmind

vm’s picture

in that case the module will be crippled and not disabled as it will still be enabled as far as the database is concerned.