Closed (won't fix)
Project:
Panels
Version:
5.x-2.x-dev
Component:
Panel pages
Priority:
Critical
Category:
Support request
Assigned:
Reporter:
Created:
27 Mar 2009 at 18:40 UTC
Updated:
16 Nov 2012 at 09:11 UTC
When I adding block into the panel ,I suddenly got a message on the top :
'user warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO panels_pane (pid, did, panel, type, subtype, configuration, cache, shown, access, visibility, position) VALUES (0, 1, '', '', '', 'N;', 'a:0:{}', '1', '', '', 1) in /home/freelylw/public_html/yinglun.co.uk/includes/database.mysql.inc on line 174.'
What should I do now ?? I never have this problem before by using panels
I try to del the block I just added , and add it again, still got the same message !!
Please help !!
Please help !!
Comments
Comment #1
freelylw commentedanybody can help ? the message still there everyday.
Comment #2
reubenavery commentedI'm also experiencing this error. Was able to fix it by checking out the panels_pane table, there were some bogus rows in there. Also had to empty out the panels_object_cache table as well before the error went away.
Comment #3
merlinofchaos commentedWith the release of Drupal 7, Drupal 5 is no longer supported.
Comment #4
seanrI just got this in D7.
I'd really like to save this panel... ;-)
Comment #5
esmerel commentedThe entire code base has pretty much been rewritten. Whatever caused this problem in 5.x is unlikely to have caused this problem two full Drupal versions and one full Panels version later. This needs to be opened as a new 7.x-3.x issue.
Comment #6
lukaswhite commentedSame problem (with Drupal 7) - have you opened a new D7 issue, seanr?
Comment #7
ianthomas_ukFor the benefit of anyone who stumbles across this from a web search:
I was also seeing this error in Drupal 7, but it seemed to fix itself after I re-exported the feature containing the panel, so I suspect I either had a problem with my feature (e.g. two panels with the same id) or a conflict between my feature and the database. I don't know if either of those things should be possible, but I've stopped investigating as I can no longer reproduce the problem.
Comment #8
islalobo commentedI am having this issue and stumbled upon this post by doing a websearch.
Using Drupal 7.
What do you mean when you say that you:
Comment #9
ianthomas_ukFeatures is a module that allows you to save a copy of parts of your Drupal site (e.g. panels) as PHP code. I "saved" my panel as a Feature, then restored the panel from the Feature.
http://drupal.org/project/features