Hello,
I recently installed Drupal. I haven't installed any modules other than what came with the installation package. I did install some additional themes.
I'm getting alot of errors from the themes. I think it started when I first changed themes to another theme that was included with the download. Here are some examples of the error messages:
Duplicate entry 'themes/engines/xtemplate/xtemplate.engine' for key 1 query: INSERT INTO system (name, type, filename, status, throttle, bootstrap) VALUES ('xtemplate', 'theme_engine', 'themes/engines/xtemplate/xtemplate.engine', 1, 0, 0) in /home/httpd/vhosts/activefarming.com/httpdocs/includes/database.mysql.inc on line 66.
Duplicate entry 'themes/pushbutton/xtemplate.xtmpl' for key 1 query: INSERT INTO system (name, description, type, filename, status, throttle, bootstrap) VALUES ('pushbutton', 'themes/engines/xtemplate/xtemplate.engine', 'theme', 'themes/pushbutton/xtemplate.xtmpl', 0, 0, 0) in /home/httpd/vhosts/activefarming.com/httpdocs/cms/includes/database.mysql.inc on line 66.
I also installed phptemplate engine but I began recieving these errors before that.
It seems that everytime I view a page on my drupal, I get this error message recorded in my logs for each engine and every theme installed.
Other than this, it looks like drupal is working good.
I tried searching both on drupal and google and couldn't find a fix for this. I found a lot of simular problems with error's on line 66 but none to do with themes.
Can anyone help?
Thanks,
Michael
Comments
Has anyone had this problem
Has anyone had this problem before or can anyone point me in the right direction?
Thanks,
Michael
I installed the "Database
I installed the "Database Administration" module: http://drupal.org/project/dba
I ran a check and it said "No repairs are required."
But I'm still getting the above error messages.
Many of the errors that come up have to deal with themes that are not enabled. If they are not enabled than why is drupal requesting something of them?
Thanks,
Michael
I tried a clean install and
I tried a clean install and still no progress. I still get the same errors and a bunch of them at that. All the errors seem to deal with the themes.
Here is a copy of 1 page of error log (I get about a full page of errors for every page view of dupal there is.
Can anyone please help or point me to the right direction?
Michael
user error: Duplicate entry
Hi,
I'm quite new with Drupal. I have Drupal 4.6 installed on an Apache webserver.
Recently my hosts webserver went down, meaning that I lost my site and had to restore it from backups (luckily I had some). Since then, every time I try to create a new piece of content (node) I get this error:
-----------------------
user error: Duplicate entry '21' for key 1
query: INSERT INTO node (status, moderate, promote, sticky, comment, title, body, format, uid, created, type, teaser, changed, nid) VALUES('1', '0', '1', '0', '2', 'efdfsd', 'sdfdsfsdf', '3', '1', '1136995645', 'blog', 'sdfdsfsdf', '1136995657', '21') in /home/mehul/domains/mehulhirani.com/public_html/includes/database.mysql.inc on line 66.
warning: Cannot modify header information - headers already sent by (output started at /home/mehul/domains/mehulhirani.com/public_html/includes/common.inc:384) in /home/mehul/domains/mehulhirani.com/public_html/includes/common.inc on line 192.
----------------------------
Can anyone help me?
Thank you
Mehul
reply to mehul...
i'm sorry to say, i am having the same exact issue, and i'm looking for help in the forum.
best of luck to you!
I found out that these seem
I found out that these seem to be caused by multiple:
calls in a theme. I hardcoded the path and the errors went away.
I'm having similar path problem, with "page not found" errors...
Location http://www.ewsis.org/comment/reply/themes/meta/css/images/background-bla...
Referrer http://www.ewsis.org/comment/reply/226
Message comment/reply/themes/meta/css/images/background-black.gif not found.
I've removed all the path_to_theme() references I could find in the tpl files and hardcoded the full URL wherever possible.
Can anyone point me to the file that may be causing this?
Same problem
I'm having the same problem using meta theme on my site http://www.wesleycrushers.com. Front-end is fine (ie. background images all showing up) but admin logs incorrect relative path, even after hard-coding into the theme. Probably related to Clean URLs but don't know how to fix. Just gonna turn off logging for that for now, but anyone who finds a solution please give a shout-out. Thx.
Same problem here, I tried
Same problem here, I tried deleting them, and the error disappear, to appear again after a few clicks
I get the same problem.
I get this problem on two different installs of drupal 6.
Antnio
ditto
same problem here with Drupal 6.10
A second forum post discussion this issue
This post also discussed the duplicate Entry issue:
http://drupal.org/node/169150
The (temporary) solution that worked for me was running cron.php.