Here's a warning I got after downloading the abstract theme (unstable-1). This is before enabling it, it happened upon visiting the Appearance settings page.

Any idea what's going on and if it's bad? I remember some duplicate entry warnings with certain modules in D6, but hadn't seen something like this in D7.

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'sites/all/themes/abstract/abstract.info' for key 'PRIMARY': INSERT INTO {system} (filename, name, type, owner, info) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4); Array ( [:db_insert_placeholder_0] => sites/all/themes/abstract/abstract.info [:db_insert_placeholder_1] => abstract [:db_insert_placeholder_2] => theme [:db_insert_placeholder_3] => themes/engines/phptemplate/phptemplate.engine [:db_insert_placeholder_4] => a:18:{s:4:"name";s:8:"Abstract";s:11:"description";s:38:"Fusion Starter sub-theme for Drupal 6.";s:10:"base theme";s:11:"fusion_core";s:7:"version";s:17:"7.x-1.0-unstable1";s:4:"core";s:3:"7.x";s:6:"engine";s:11:"phptemplate";s:11:"stylesheets";a:1:{s:3:"all";a:2:{s:28:"css/fusion-starter-style.css";s:54:"sites/all/themes/abstract/css/fusion-starter-style.css";s:15:"css/default.css";s:41:"sites/all/themes/abstract/css/default.css";}}s:5:"skinr";a:2:{s:3:"api";s:1:"2";s:9:"directory";s:5:"skins";}s:7:"regions";a:18:{s:13:"sidebar_first";s:13:"sidebar first";s:14:"sidebar_second";s:14:"sidebar second";s:10:"header_top";s:10:"header top";s:6:"header";s:6:"header";s:9:"main_menu";s:9:"Main menu";s:11:"preface_top";s:11:"preface top";s:14:"preface_bottom";s:14:"preface bottom";s:11:"content_top";s:11:"content top";s:7:"content";s:7:"content";s:14:"content_bottom";s:14:"content bottom";s:14:"postscript_top";s:14:"postscript top";s:17:"postscript_bottom";s:17:"postscript bottom";s:6:"footer";s:6:"footer";s:11:"node_bottom";s:11:"node bottom";s:4:"help";s:4:"Help";s:14:"dashboard_main";s:16:"Dashboard (main)";s:17:"dashboard_sidebar";s:19:"Dashboard (sidebar)";s:18:"dashboard_inactive";s:20:"Dashboard (inactive)";}s:8:"features";a:9:{i:0;s:4:"logo";i:1;s:4:"name";i:2;s:6:"slogan";i:3;s:17:"node_user_picture";i:4;s:20:"comment_user_picture";i:5;s:6:"search";i:6;s:7:"favicon";i:7;s:13:"primary_links";i:8;s:15:"secondary_links";}s:8:"settings";a:21:{s:10:"theme_grid";s:10:"grid12-960";s:18:"theme_grid_options";a:2:{i:0;s:10:"grid12-960";i:1;s:12:"grid12-fluid";}s:16:"fluid_grid_width";s:9:"fluid-100";s:14:"sidebar_layout";s:14:"sidebars-split";s:19:"sidebar_first_width";s:1:"3";s:20:"sidebar_second_width";s:1:"4";s:10:"theme_font";s:4:"none";s:15:"theme_font_size";s:12:"font-size-13";s:18:"breadcrumb_display";s:1:"1";s:14:"search_snippet";s:1:"1";s:16:"search_info_type";s:1:"1";s:16:"search_info_user";s:1:"1";s:16:"search_info_date";s:1:"1";s:19:"search_info_comment";s:1:"1";s:18:"search_info_upload";s:1:"1";s:9:"grid_mask";s:1:"0";s:19:"grid_nested_regions";a:5:{i:0;s:13:"sidebar_first";i:1;s:14:"sidebar_second";i:2;s:6:"header";i:3;s:7:"content";i:4;s:4:"help";}s:21:"grid_adjusted_regions";a:2:{s:4:"help";a:2:{i:0;s:13:"sidebar_first";i:1;s:14:"sidebar_second";}s:7:"content";a:2:{i:0;s:13:"sidebar_first";i:1;s:14:"sidebar_second";}}s:20:"grid_adjusted_groups";a:1:{s:13:"content_group";a:2:{i:0;s:13:"sidebar_first";i:1;s:14:"sidebar_second";}}s:27:"grid_adjusted_regions_fluid";a:2:{s:14:"sidebar_second";a:1:{i:0;s:13:"sidebar_first";}s:7:"content";a:2:{i:0;s:13:"sidebar_first";i:1;s:14:"sidebar_second";}}s:26:"grid_adjusted_groups_fluid";a:1:{s:13:"content_group";a:1:{i:0;s:14:"sidebar_second";}}}s:7:"project";s:8:"abstract";s:9:"datestamp";s:10:"1306124514";s:10:"screenshot";s:40:"sites/all/themes/abstract/screenshot.png";s:3:"php";s:5:"5.2.4";s:7:"scripts";a:0:{}s:15:"overlay_regions";a:5:{i:0;s:14:"dashboard_main";i:1;s:17:"dashboard_sidebar";i:2;s:18:"dashboard_inactive";i:3;s:7:"content";i:4;s:4:"help";}s:14:"regions_hidden";a:2:{i:0;s:8:"page_top";i:1;s:11:"page_bottom";}} ) in system_update_files_database() (line 2272 of public_html/modules/system/system.module).

Comments

sk2013’s picture

+1 Subs

ipwa’s picture

Status: Active » Fixed

Please use the 7.x-2.x branch now.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.