I hate asking questions but I am stuck (newbie)

hailbob - June 8, 2007 - 23:33

I recently changed my theme to a customized aberdeen them from a default theme that I was happy with but when I tried to get back onto my site I got an error message:

Fatal error: Call to undefined function module_exists() in /home/mywebsite/public_html/files/theme_editor/aberdeen_customized/template.php on line 66

I did some searching on the site to see if this was something I could easily solve and I noticed a topic discussing this error. This theme apparently was not designed for 4.7.x but rather for 5.x and the fix was to delete the theme folder. Well, it seems as if I do not have rights to delete it! Where is the currently used theme declared? I could just go change that if it is easy enough. If not, then I don't know what else to do other than contacting my hosting company and having them delete it for me.

Suggestions?

Try changing the

brenda003 - June 8, 2007 - 23:38

Try changing the module_exists with module_exist, since the function changed from 4.7 to 5.x.

Well, the problem really is

hailbob - June 8, 2007 - 23:48

Well, the problem really is with the module that templete.php file calls, it tries to grab color.module, I checked the list of modules in my module directory and it is not there. I can only assume that it is a module that comes with 5. If you can point me in the right direction to get this module, maybe I can just add it and then the site will at least well enough to get me around to change the theme back.

I will try your suggestion although I think that I may still have a problem.

=-=

VeryMisunderstood - June 9, 2007 - 01:47

you can disable the theme from the database find it, set it to zero. You will also want to contact your host to find out why, you cannot delete folders from your server space.

Which table is the currently

hailbob - June 9, 2007 - 21:36

Which table is the currently used theme declared? I am using MySQL

I am posting this for

hailbob - June 9, 2007 - 23:59

I am posting this for documentation sake:

I figured out what to do. Well, first I talked to my hosting company and got myself rights to play with that folder, apparently since it was a customized theme, it was created via a script so 'nobody' was the owner. ?? I would think that since it is my site, I have complete control of my files...oh well. Anyway, I deleted the files inside the aberdeen_customized folder and replaced it with working theme files from another theme directory and it worked. At that point I was able to administer the site and get it back to the original layout. Thanks everyone for you help!

 
 

Drupal is a registered trademark of Dries Buytaert.