What does these warnings mean: http://www.temp.galerie-der-fotos.de/screenshots/warning_cr.png

Nice greetings, Dirk.

Comments

cog.rusty’s picture

Make sure that the /modules directory contains only the engines and the 4 core themes, and no other themes. Then make sure that fourseasons and all additional themes are in /sites/all/themes or in /sites/default/themes, only one time each, and no core themes are there.

Then run update.php for some cleanup, and also visit the admin/build/themes page to get the paths updated.

Have you been working on any theme lately, by copying an existing one and making changes?

Dirki’s picture

Many thanks cog.rusty.

Have you been working on any theme lately, by copying an existing one and making changes?

No, I haven´t been working (intendedly) on any theme, especially that is why I am astonished about the messages (might it be that they are caused by a very slowly running system like mine is?).

The themes I could find are all in /themes:

http://www.temp.galerie-der-fotos.de/screenshots/modules.jpg
http://www.temp.galerie-der-fotos.de/screenshots/modules2.jpg
http://www.temp.galerie-der-fotos.de/screenshots/themes.jpg
http://www.temp.galerie-der-fotos.de/screenshots/themes2.jpg

"Marvin" and "Minnelli" I couldn`t find. And some engines obviously are in /themes, also.

Thanks again, nice greetings, Dirk.

----------------------------------------------------
http://www.galerie-der-fotos.de

cog.rusty’s picture

Minelli is inside Garland and Marvin is inside Chameleon, no problem there.

fourseasons and tapestry shouldn't be there, they should be in /sites/all/themes. For some themes that doesn't matter, for some it does. But what is more important is that each theme must exist only once, either here or there.

I also noticed that the Drupal 6 version of the tapestry theme has been left in its project page without a stable release since last April, which doesn't inspire much trust. I guess you downloaded it from the developer's site.

Dirki’s picture

Thank you cog.rusty.

fourseasons and tapestry shouldn't be there, they should be in /sites/all/themes. For some themes that doesn't matter, for some it does.

Okay, I will change that.

But what is more important is that each theme must exist only once, either here or there.

Yes, it is like that, each theme exists only once.

I also noticed that the Drupal 6 version of the tapestry theme has been left in its project page without a stable release since last April, which doesn't inspire much trust. I guess you downloaded it from the developer's site.

Yes, indeed, I did it from here: http://demo.roopletheme.com/tapestry/download

After these messages have occurred I refreshed the page later on and then they disappeared without having changed anything.

Thanks for your help, nice greetings, Dirk.

----------------------------------------------------
http://www.galerie-der-fotos.de

tebb’s picture

I had the same error messages, but all the themes were already in the right places.

Also, sometimes when I look at admin/build/themes, the default theme's checkbox is empty.

I'm not sure what's going on.

shiroitatsu’s picture

and same strange behaviour with the enabled-checkbox. I had several themes enabled and suddenly none appear as enabled.

Themes are in the right places.

baaj’s picture

I got them after upgrading from 6.10 to 6.14

Jerome F’s picture

I'm trying to use panels everywhere on a multisite using domain access.
I've exactly the same behaviour, in admin/build/themes the checkboxes are empty.
When I activate some themes to be able to use them in admin/build/domain/batch/site_theme, the error comes back.

I don't understand what's happening either.

vinx2o2o’s picture

always the same problem.
All themes are in right place but i receive a lot of user warning about duplicate entry in themes...
also the same Jerome F problem with theme checkboxes not selected

webwatson’s picture

Same problem Here.

martijn.tsas’s picture

Same here with Drupal 6.16.
In Drupal 6.16 the errors come from modules/system/system.module line 822

822
db_query("INSERT INTO {system} (name, owner, info, type, filename, status, throttle, bootstrap) VALUES ('%s', '%s', '%s', '%s', '%s', %d, %d, %d)", $theme->name, $theme->owner, serialize($theme->info), 'theme', $theme->filename, isset($theme->status) ? $theme->status : 0, 0, 0);

cog.rusty’s picture

Visit your admin/build/modules once, to have all system paths updated automatically.

If anyone gets a "duplicate entry" error message containing a specific theme path, that could be useful. Generally, to troubleshoot something like this it is useful to get hold of one specific lead and follow it back to its cause.

For example, go to the offending "duplicate" theme's directory, rename temporarily its .info file to .info-OFF, and go back to admin/build/themes to see if another theme with the same name pops up.

Has anyone of you been doing theming or subtheming based on an existing theme and forgot the original theme's name in the new theme's .info file?

Or anyone keeping an old theme backup directory under drupal? Or a theme in sites/default/themes AND in sites/all/themes?

martijn.tsas’s picture

I get these errors from time to time; when I refresh (F5) the errors are gone (Drupal 6.16)

user warning: Duplicate entry 'themes/pushbutton/pushbutton.info' for key 1 query: INSERT INTO system (name, owner, info, type, filename, status, throttle, bootstrap) VALUES ('pushbutton', 'themes/engines/phptemplate/phptemplate.engine', 'a:13:{s:4:\"name\";s:10:\"Pushbutton\";s:11:\"description\";s:52:\"Tabled, multi-column theme in blue and orange tones.\";s:7:\"version\";s:4:\"6.16\";s:4:\"core\";s:3:\"6.x\";s:6:\"engine\";s:11:\"phptemplate\";s:7:\"project\";s:6:\"drupal\";s:9:\"datestamp\";s:10:\"1267662008\";s:7:\"regions\";a:5:{s:4:\"left\";s:12:\"Left sidebar\";s:5:\"right\";s:13:\"Right sidebar\";s:7:\"content\";s:7:\"Content\";s:6:\"header\";s:6:\"Header\";s:6:\"footer\";s:6:\"Footer\";}s:8:\"features\";a:10:{i:0;s:20:\"comment_user_picture\";i:1;s:7:\"favicon\";i:2;s:7:\"mission\";i:3;s:4:\"logo\";i:4;s:4:\"name\";i:5;s:17:\"node_user_picture\";i:6;s:6:\"search\";i:7;s:6:\"slogan\";i:8;s:13:\"primary_links\";i:9;s:15:\"secondary_links\";}s:11:\"stylesheets\";a:1:{s:3:\"all\";a:1:{s:9:\"style.css\";s:27:\"themes/pushbutton/style.css\";}}s:7:\"scripts\";a:1:{s:9:\"script.js\";s:27:\"themes/pushbutton/script.js\";}s:10:\"screenshot\";s:32:\"themes/pushbutton/screenshot.png\";s:3:\"php\";s:5:\"4.3.5\";}', 'theme', 'themes/pushbutton/pushbutton.info', 0, 0, 0) in /var/accounts/CNXYZ/www/modules/system/system.module on line 822.

lucascaro’s picture

In my case, this happens when I open the browser with more than one tab with the site at exactly the same time, my guess is that this is a problem of not using transactions (a race condition on the db)

maxilein’s picture

It also happens when I open the browser having it reload all the tabs from the previous session.
Upon reloading one single page the errors are gone...

clashar’s picture

the same problem for me.

All themes are on right places.

The error could occur sometimes, so difficult to track the problem.

Romejoe’s picture

Same problem here any solution by now?