When I try to use this theme (that I´ve used on 4.7 BTW), I´ve got this error:
Fatal error: Call to undefined function module_exist() in /home/planetac/public_html/includes/common.inc(1352) : eval()'d code on line 4
Any ideas of why this could have happened?
I imagine that I cannot use the 4.7 version on 5.x... isn´t it?

Hope someone can help me out.

Rosamunda

Comments

dreed47’s picture

The function module_exist() was renamed module_exists() in Drupal 5 but this theme does not use this function so it's being used elsewhere on your site. Just so I'm clear...you have a Drupal 5.x site and you've downloaded the 5.x version of this theme and your getting this error?

Do you get this error with the default Drupal theme enabled?

Rosamunda’s picture

Thanks for your answer!
Yes, I´ve upgrade my site to 5.x. I´ve used this theme then, so I wanted the 5 version of the theme.
I´m using the latest 5 version of Drupal and the latest 5 theme version.

Nope, I don´t have any errors with the default or other contributed themes...

Again, THANK YOU very much for your help!

Rosamunda

dreed47’s picture

My suggestion would be to search your sites source files looking for the "module_exist" function. As I said this theme should not be using it so it's being called elsewhere on your site.

Rosamunda’s picture

THANK YOU VERY MUCH!!!
THAT DID THE TRICK! IT WAS A LITTLE SILLY BLOCK THAT WAS CALLING IT AND DOING ALL THIS TROUBLE!
THANKS AGAIN!!
ROSAMUNDA

Rosamunda’s picture

Component: Code » Miscellaneous
Category: bug » support
Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.