I had my site upgraded to the newest version of drupal yesterday. I was told my theme (Alex 2.0) was not supported on the new version so I downloaded the version that was for 6.x and installed it. It then showed up on my list of themes. I clicked on the theme and clicked save. When the page refreshed it showed a HTTP 500 error.

Error log shows the following: [error] PHP Fatal error: Call to undefined function db_num_rows() in /home/zerx/public_html/includes/common.inc(1537) : eval()'d code on line 11

I cant get to any page as they all appears as HTTP 500

Can anyone assist me?

Comments

zerx’s picture

Assigned: zerx » Unassigned
catch’s picture

The easy way is to remove the theme from your sites/foo/themes directory - then navigate directly to example.com/admin/build/themes to select garland or something else you know works.

zerx’s picture

Status: Active » Closed (fixed)

Thanks for the tip. I was able to find the theme that was causing the error and delete it.