Fatal error: Cannot redeclare _phptemplate_variables()
aeropine - November 19, 2007 - 22:10
| Project: | Role Theme Switcher |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | tiutiun |
| Status: | closed |
Jump to:
Description
Hi,
I've set this as a "bug" but am not sure if it's a code or configuration issue. In any case, I'm getting the following error when I access my site as anonymous (having set the authenticated theme to Garland, and the anonymous theme to Zen):
Fatal error: Cannot redeclare _phptemplate_variables() (previously declared in /Users/aeropine/drupal/themes/garland/template.php:58) in /Users/aeropine/drupal/sites/all/themes/zen/template.php on line 59
It seems as though the garland theme's declaration needs to "go away"/descope in order for the zen one to work...
Am I doing something wrong? Any help appreciated.
Thanks.

#1
Fixed in version 5.x-1.1
Role Theme Switcher didn't treat correctly two or more themes, based on phptemplate engine
Download new version here:
http://drupal.org/node/197996
#2
Automatically closed -- issue fixed for two weeks with no activity.