I installed the latest update and now I get only an error and my entire admin pannel is not working.

Here's the error that popped up immediately after installing:

PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'filename' at row 1: UPDATE {system} SET info=:db_update_placeholder_0, filename=:db_update_placeholder_1 WHERE (filename = :db_condition_placeholder_0) ; Array ( [:db_update_placeholder_0] => a:13:{s:4:"name";s:24:"Google Analytics Reports";s:7:"package";s:10:"Statistics";s:11:"description";s:61:"Provides interface to access Google Analytics API statistics.";s:4:"core";s:3:"7.x";s:12:"dependencies";a:2:{i:0;s:20:"google_analytics_api";i:1;s:5:"chart";}s:5:"files";a:6:{i:0;s:35:"google_analytics_reports.blocks.inc";i:1;s:28:"google_analytics_reports.css";i:2;s:32:"google_analytics_reports.install";i:3;s:31:"google_analytics_reports.module";i:4;s:34:"google_analytics_reports.pages.inc";i:5;s:34:"google_analytics_reports.theme.inc";}s:11:"stylesheets";a:1:{s:3:"all";a:1:{s:28:"google_analytics_reports.css";s:271:"sites/all/modules/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports.css";}}s:7:"scripts";a:1:{s:27:"google_analytics_reports.js";s:270:"sites/all/modules/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports.js";}s:7:"version";s:7:"7.x-1.3";s:7:"project";s:24:"google_analytics_reports";s:9:"datestamp";s:10:"1347342186";s:3:"php";s:5:"5.2.4";s:9:"bootstrap";i:0;} [:db_update_placeholder_1] => sites/all/modules/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports.module [:db_condition_placeholder_0] => sites/all/modules/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports/google_analytics_reports.module ) in system_update_files_database() (line 2247 of/home/mydomain/public_html/modules/system/system.module).

Comments

Status:Active» Closed (duplicate)

#1558190: error when upgrading from 7.x-1.0 to 7.x-1.1

It's a bug in the Drupal core update manager, the workaround is:

  • Make a full backup of the site's files and database
  • Delete the google_analytics_reports directory
  • run DELETE FROM system WHERE name = 'google_analytics_reports';
  • Download a fresh copy of the module and re-enable