I encountered this on a new linux and php5 installation of drupal 6.5 yesterday - I was intending to experiment with some D6 theming and so had installed a number of additional themes, but on attempting to access admin/build/themes all I found was a blank, white screen (and no html in firebug either).

My logs are as follows:

[Sat Oct 11 10:27:35 2008] [error] [client myIP] PHP Fatal error:  Cannot redeclare phptemplate_body_class() (previously declared in /var/www/html/themes/garland/template.php:9) in /var/www/html/themes/abessive/template.php on line 25, referer: http://www.myhost.net/
[Sat Oct 11 10:29:58 2008] [error] [client myIP] PHP Fatal error:  Cannot redeclare phptemplate_body_class() (previously declared in /var/www/html/themes/garland/template.php:9) in /var/www/html/themes/abessive/template.php on line 25, referer: http://www.myhost.net/admin/build
[Sat Oct 11 10:35:07 2008] [error] [client myIP] PHP Fatal error:  Cannot redeclare phptemplate_body_class() (previously declared in /var/www/html/themes/garland/template.php:9) in /var/www/html/themes/abessive/template.php on line 25, referer: http://www.myhost.net/admin/build/modules
[Sat Oct 11 10:39:56 2008] [error] [client myIP] PHP Fatal error:  Cannot redeclare phptemplate_breadcrumb() (previously declared in /var/www/html/themes/garland/template.php:34) in /var/www/html/themes/alek_2_0/template.php on line 42, referer: http://www.myhost.net/admin/build/modules
[Sat Oct 11 10:51:23 2008] [error] [client myIP] PHP Fatal error:  Cannot redeclare phptemplate_preprocess_page() (previously declared in /var/www/html/themes/garland/template.php:55) in /var/www/html/themes/austere/template.php on line 11, referer: http://www.myhost.net/admin/build/modules
[Sat Oct 11 10:55:57 2008] [error] [client myIP] PHP Fatal error:  Cannot redeclare phptemplate_preprocess_page() (previously declared in /var/www/html/themes/garland/template.php:55) in /var/www/html/themes/austere/template.php on line 11, referer: http://www.myhost.net/admin/build/modules

As you can see, at first I thought it was the additional themes which were causing the errors so I started removing them, but slightly different errors were instead caused by the next theme in the list.

On a hunch, I disabled the color module and this seemed to solve it - I can now access the theme selection pages. This isn't really ideal, as I'd quite like to use this component, so I thought I'd let you know about it as at least one other person has had this problem.

Thanks.

Comments

tonyn’s picture

Sorry for the delay.

I am having trouble replicating this error. But would like to.

After trying things, have you isolated it just to color.module? Do you think that other themes are causing this? What other errors are you getting?

tonyn’s picture

Status: Active » Closed (duplicate)

This issue came first, however the description at http://drupal.org/node/324427 is better. I'm making this the duplicate.