After enabling the theme and set as default, I've following fatal error:
[20-Sep-2011 13:45:51] PHP Warning: Invalid argument supplied for foreach() in /Users/kenorb/Sites/londonpolishcleaning/trunk/includes/module.inc on line 982
[20-Sep-2011 13:45:51] PHP Fatal error: Call to undefined function load_subtheme_media_queries() in /Users/kenorb/Sites/londonpolishcleaning/trunk/sites/all/themes/contrib/sky/template.php on line 17
And the whole site is down.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
Comments
Comment #1
Jeff Burnz commentedDid you follow the instructions and install the base theme: http://drupal.org/project/adaptivetheme
Comment #2
Jeff Burnz commentedComment #3
scrofula commentedI'm in the same boat. Was working too fast and blew up my site. How do you recover from this after it happens? Simply downloading and placing the base theme in the right spot doesn't un-fubar the site.
Comment #4
Jeff Burnz commentedIf you can get to the Admin section clear the sites cache, otherwise go into the database and clear (truncate) all the cache tables, as long as the base theme is there things should come back.
Comment #5
Jeff Burnz commentedThere is another way to fix this - add the following code to the top of the template.php file, so its the first thing after the
<?phptag, upload to the server and reload any page a couple of times, this will flush the registry and rebuild info data, very useful when upgrading etc:Comment #6
sypou commentedI faced this problem and I just removed the new them from the theme folder, then I obtained a page without any css and any formatting at all, then I accessed to the admin and choose another theme.
Hope this can help.
Comment #7
sypou commentedForget to mention that it is most of the time dealing with subthemes issues for instance theme sky is a sub-theme of Adaptivetheme so you have to install Adaptivetheme first before installing the new theme (here Sky theme)...
Comment #8
Jeff Burnz commentedFor Drupal 8 some of us have made a request that Drupal should check for base themes and not allow you to install a subtheme that actually requires a basetheme to work, which would save us all a lot of headaches, right now there is no real way of doing this.
Comment #9
sypou commentedI totally agree with that... The problem is that at first we can install the (sub)theme and after that comes the errors. We can't even (really) manage it. Once I faced the same issue when installing the theme libra which is a subtheme of omega. I already had the omega theme but still, I got the Call to undefined function error...
Comment #10
OptimusPrime23 commentedThis error usually occurs for a subtheme ex:Pixture Reloaded,
Corolla etc - you must first download and install the Adaptivetheme before installing the sub theme.
Comment #10.0
OptimusPrime23 commentedadded text