By jyoseph on
I upgraded the image module and started getting a weird error. I then deleted the upgraded version and restored the original image module that I had before hand. Now I can't even access the front page?!?!
Here is the error I get:
Fatal error: Call to undefined function: node_get_types() in /var/www/html/includes/theme.inc on line 248
Can someone please help me real quick!
Comments
The error you got with the
The error you got with the upgraded version may have been because you didn't run "update.php" to make any database changes - why not put the new version back in again (with the 'weird error') and try to get that working.
node_get_types will refer to the different node types - page, book, image - so it's probably looking for image.module but not finding it.
You may be able to get into your admin page - example.com/admin/modules and turn the image.module off from there, even if you can't access your front page. That should put you in a position to fix things if you can get into it.
deleted node.module?
Check to make sure you didn't delete node.module or any other core module files by mistake.
---
Work: BioRAFT
Can't get into admin
Thanks for the quick update. I can't get into the admin (or anywhere on my site) right now. I'm kind of wigging out here.
I have tried to upload the original (and new) image module and run through the update.php with no luck. In fact, when I go to update.pho the image module is not even listed there.
Removed it completely
Removed all traces of the image module and ran update.php and still cannot access my site, please help!
re-upload all modules
I think you deleted some other files by mistake- I'd suggest re-uploading all your module files (or evan all the drupal files).
---
Work: BioRAFT