For the first time in a while, I went to the "themes" menu and I saw the following error:

user warning: Duplicate entry 'sites/all/themes/zen/mysubtheme/style.css' for key 1 query: UPDATE system SET description='sites/all/themes/zen/page.tpl.php', filename='sites/all/themes/zen/mysubtheme/style.css'

i think this has something to do with there being a page.tpl.php in my subtheme and in the Zen theme - but I don't know what to do to fix it I've been rolling the database back and trying various things.

One other interesting item: after this error, the holding style.css keeps printing out, which is killing the page headers as well. So now the top of every page says: /* $Id: style.css,v 1.1.2.1 2008/02/14 11:38:36 johnalbin Exp $ */ /* * This space intentionally left blank. * * See template.php to see how Zen styles are added to the page. */

Any ideas?

Comments

elgreg’s picture

An addendum - this is definitely triggered when I go to the theme menu - only then does the error start showing up.

elgreg’s picture

*Update* I upgraded to Zen 1.1, dropped my old subtheme in there and it seems to have solved the problem.

matt@antinomia’s picture

Hi Greg, is it possible you have a module using the same name as your theme? The symptoms you describe are the same I was experiencing in another issue, which was fixed in the latest version of Zen.

johnalbin’s picture

Status: Active » Closed (duplicate)