Getting this error with a basic subtheme that I just created and haven't customized at all (beyond following all the instructions at http://drupal.org/node/226507). I assume I've neglected to do something basic...?
thanks,
Ben

Comments

ppmax’s picture

I developed a new site locally then migrated everything to Dreamhost. I have a zen sub theme that works flawlessly; I've also been using Drush (much love!).

After moving the files and db to Dreamhost I reconfigured the drushrc.php file and added an alias to drush.php (alias drush='...modules/drush/drush.php').

When I call drush I get this output:

Warning: zen_theme(.//template.theme-registry.inc): failed to open stream: No such file or directory in /home/.timone/ppmax/drupal6/sites/all/themes/zen/zen/template.php on line 39

Warning: zen_theme(): Failed opening './/template.theme-registry.inc' for inclusion (include_path='.:/usr/local/lib/php') in /home/.timone/ppmax/drupal6/sites/all/themes/zen/zen/template.php on line 39

Fatal error: Call to undefined function:  _zen_theme() in /home/.timone/ppmax/drupal6/sites/all/themes/zen/zen/template.php on line 40

I never saw this while developing the site locally. Looks like there's an extra slash when calling zen_theme()? Still trying to figure out if this is a drush issue or a zen issue...

Great theme to develop with BTW ;)

PP

ppmax’s picture

Status: Active » Closed (fixed)

This turned out to be an issue where the php version I was calling on the command line didnt have mysqli support. I changed my db_url to use mysql and all was good.

diysista’s picture

Can you tell me how you did that? I'm having a similar problem I think, but I'm not sure how to follow your directions and try what worked for you...how do you change your database url to use mysql? I'm pretty illiterate as to what mysql is even. thanks

diysista’s picture

I'm getting the same message: (and white screen of death!)
Fatal error: Call to undefined function zen_theme_get_default_settings() in /home/diysusta/public_html/knowyourworld.biz/sites/all/themes/knowyourworld/theme-settings.php on line 19

I don't know how to fix this. I looked at "line 19" and it says: */
function knowyourworld_settings($saved_settings) {

I really could use some advice as to how to do this. I'm new to theming.

Thanks