i tried to clone a template variant (full width header) and received an error and now i cant save any of my panels_everywhere templates and they are all throwing an error referring back to the one i tried to clone. this is a major issue was i have included this on a fairly mature site with a lot of content so i need to fix it rather than port all my data to a new site.
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'site_template__full_width_header' for key 'name': INSERT INTO {page_manager_handlers} (name, task, subtask, handler, weight, conf) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5); Array ( [:db_insert_placeholder_0] => site_template__full_width_header [:db_insert_placeholder_1] => site_template [:db_insert_placeholder_2] => [:db_insert_placeholder_3] => panel_context [:db_insert_placeholder_4] => -27 [:db_insert_placeholder_5] => a:17:{s:5:"title";s:15:"full width page";s:9:"no_blocks";i:1;s:8:"pipeline";s:8:"standard";s:22:"body_classes_to_remove";s:30:"admin-menu navbar-is-fixed-top";s:19:"body_classes_to_add";s:0:"";s:6:"css_id";s:17:"full-width-header";s:3:"css";s:50:"#full-width-header { color:red; width:101%; }";s:8:"contexts";a:0:{}s:13:"relationships";a:0:{}s:4:"name";s:17:"full_width_header";s:6:"access";a:2:{s:7:"plugins";a:1:{i:0;a:4:{s:4:"name";s:42:"entity_field_value:node:article:field_tags";s:8:"settings";a:2:{s:10:"field_tags";a:1:{s:3:"und";a:1:{i:0;a:1:{s:3:"tid";s:2:"42";}}}s:14:"field_tags_tid";a:1:{i:0;s:2:"42";}}s:7:"context";s:4:"node";s:3:"not";b:0;}}s:5:"logic";s:3:"and";}s:23:"panels_css_js_files_css";s:0:"";s:22:"panels_css_js_files_js";s:0:"";s:22:"panels_css_js_code_css";s:0:"";s:21:"panels_css_js_code_js";s:518:"(function ($) { Drupal.behaviors.whatever = { attach: function(context, settings) { $(document).ready(function() { /*******************************************************************/ $("body").css("background-color","yellow"); $("body").append("output from panels"); $("body").removeClass("test-css-body-add navbar-is-fixed-top"); /*********************************************************************/ }) //document.ready } //attach() }; //namespace })(jQuery); ";s:29:"panels_css_js_code_js_wrapper";s:1:"0";s:3:"did";s:2:"16";} ) in drupal_write_record() (line 7316 of /home/migrate2.drupal7.com/public_html/www/includes/common.inc).
Comments
Comment #2
Syntapse CreditAttribution: Syntapse as a volunteer commentedif not able to resolve the problem can you assist in helping me to remove all trace of panels_everywhere from the database?
Comment #3
DamienMcKennaI just tested this out with the current -dev versions of Panels, CTools and Panels Everywhere on a site that was built a few months ago with the then latest releases of both. I created a new site template, saved it, then cloned it. No errors.
What versions of CTools and Panels are you using?
Is the existing display exported with Features? If so, what version of Features are you using?
Comment #4
DamienMcKennaComment #5
Syntapse CreditAttribution: Syntapse as a volunteer commentedupdated ctools. problem closed.