Hello,
I've installed Drupal 7.26. I had a skeleton homepage developed under Bartic theme. Later I installed cti_flex theme and just after making cti_flex as the default theme, I've got the following msg on white screen and I cannot get access to beyond domain.com/admin where the following msg is coming on white screen:

Fatal error: Call to undefined function zen_theme() in /home/edutai5/public_html/sites/all/themes/cti_flex/template.php on line 68

Later I've downloaded zen (as cti_flex is the sub theme under zen and skinr). I uploaded those tar.zp folders from my computer and extracted in public_html/sites/all/themes after dragging those from temp. However, I am still getting the above error notice alongwith the following:

•Notice: Undefined index: zen in drupal_theme_initialize() (line 98 of /home/edutai5/public_html/includes/theme.inc).
•Notice: Trying to get property of non-object in phptemplate_init() (line 12 of /home/edutai5/public_html/themes/engines/phptemplate/phptemplate.engine).
•Notice: Trying to get property of non-object in drupal_alter() (line 1080 of /home/edutai5/public_html/includes/module.inc).
•Notice: Trying to get property of non-object in drupal_alter() (line 1080 of /home/edutai5/public_html/includes/module.inc).
•Notice: Trying to get property of non-object in drupal_alter() (line 1080 of /home/edutai5/public_html/includes/module.inc).
•Notice: Trying to get property of non-object in drupal_alter() (line 1080 of /home/edutai5/public_html/includes/module.inc).
•Notice: Trying to get property of non-object in drupal_alter() (line 1080 of /home/edutai5/public_html/includes/module.inc).
•Notice: Trying to get property of non-object in drupal_alter() (line 1080 of /home/edutai5/public_html/includes/module.inc).
•Notice: Trying to get property of non-object in _theme_build_registry() (line 700 of /home/edutai5/public_html/includes/theme.inc).
•Notice: Trying to get property of non-object in _theme_build_registry() (line 702 of /home/edutai5/public_html/includes/theme.inc).
•Notice: Trying to get property of non-object in _theme_build_registry() (line 704 of /home/edutai5/public_html/includes/theme.inc).
•Notice: Trying to get property of non-object in _theme_build_registry() (line 704 of /home/edutai5/public_html/includes/theme.inc).

Can anyone suggest the wayout to this completly novice person? Thank you.

Comments

VM’s picture

cti_flex is a subtheme of the zen base theme. Is zen also uploaded?

novice7’s picture

Hello,

I have reinstalled Zen and Cti-flex in sites/all/theme under public_html. However, while using settings for cti_flex in admin/appearance, I am getting the following three notices -

•Notice: Undefined property: stdClass::$prefix in system_theme_settings() (line 547 of /home/myusername/public_html/modules/system/system.admin.inc).
•Notice: Undefined index: zen in system_theme_settings() (line 575 of /home/myusername/public_html/modules/system/system.admin.inc).
•Notice: Trying to get property of non-object in system_theme_settings() (line 575 of /home/myusername/public_html/modules/system/system.admin.inc).

Can anyone suggest what to do? I am not familiar to write command to solve this problem. Thank you.

Jaypan’s picture

Have you enabled zen?

auroramucca’s picture

I had the same problem and after re-starting from the beginning making the sub-theme what worked for me was not to include the template.php file inside my sub-theme folder.
I was trying to build a sub-theme of AT_commerce and now it's working.

VM’s picture

which version of Zen is in use?

according to the cti flex project page:

Important Zen compatibility note
CTI Flex 7.x-1.0 is compatible with Zen 7.x-3.1 and earlier.