By gabriella on
I have just installed Drupal 4.6 and when I try to administer themes I get the following message
Fatal error: Cannot redeclare xtemplate_node() (previously declared in /home2/erik7897/public_html/drupal/themes/xtemplate/xtemplate.theme:54) in /home2/erik7897/public_html/drupal/themes/engines/xtemplate/xtemplate.engine on line 39
Is there anyone that can give me a hint on what to do?
Comments
The same problem
I have the same problem, can't find any reference to this anywhere else? I'm completely new to Drupal, can someone tell me what to do about this? Everything else seems to work.
not getting the same problem..
I just installed the very latest version 4.6.1 and am not getting the same problem.
As a wild guess...try the following:
I just tried to recreate the problem you guys are having and can't...so my only guess is that there was a glitch in your downloads. It's really a very wild guess..and amazing if it happened to 2 people. but worth trying. Only takes a few minutes.
Dub
DUBLIN DRUPALLER
___________________________________________________
A drupal user by chance and a dubliner by sheer luck.
Using Drupal to help build Artist & Band web communities.
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
No Themes at all in 4.6
I have a problem with themes as well. They are unlike gabbi's though. On a fresh install, and on an upgrade from 4.5, themes do not show at all. Everything is black and white text.
I have been to #drupal-support on irc.freenode.net and no one there could figure it out either.
base_url is correct and I've played with permissions. I have downloaded the tarball several different ways and extracted it in different ways. Nothing seems to work.
This is on a fresh install of Debian/Sid.
Two xtemplates = disaster
You have both an old xtemplate theme and the new xtemplate engine. They try to declare functions with the same name and thus conflict. This only happens on the admin->themes page because this is the only page on which all themes are loaded simultaneously. To fix this, you should probably delete the old xtemplate theme (located in drupal/themes/xtemplate/*), as it won't support the newer features in Drupal 4.6 anyway.