All I did was change the sub theme name in the .info file and now my site is broken.
I don't know php so I am not entirely sure what the problem is but I gather that the theme name is used elsewhere.
This is what I get:
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/weblizard.co.za/httpdocs/drupal/includes/theme.inc on line 463.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/weblizard.co.za/httpdocs/drupal/includes/theme.inc on line 468.
* warning: array_map() [function.array-map]: Argument #2 should be an array in /var/www/vhosts/weblizard.co.za/httpdocs/drupal/modules/system/system.module on line 1015.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/vhosts/weblizard.co.za/httpdocs/drupal/includes/theme.inc on line 1771.
* warning: Invalid argument supplied for foreach() in /var/www/vhosts/weblizard.co.za/httpdocs/drupal/includes/theme.inc on line 1771.
Yes I'm a newbie. So how do I change the theme name that is currently being used?
Comments
Change it back
It should work fine if you just change the name to what it was in the .info file. Why do you need to change it anyways? It really is a bad idea to change the name because that messes with lots of things.
I did
Oh ja I didn't mention that I did change it back and it didn't work. But when I replaced the whole file with the original STARTERKIT.info (renamed) from the Zen subtheme it all went back. Except my headings are a different size now. No idea what happened!