After installing commerce_file, I get the following error message while trying to create a content type. Does anyone have an idea of how to fix this

Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT nt.* FROM {node_type} nt WHERE (disabled = :db_condition_placeholder_0) ORDER BY nt.type ASC; Array ( [:db_condition_placeholder_0] => 0 ) in _node_types_build() (line 703 of /Users/Tamra/Sites/controlled/cv/modules/node/node.module).

Additional

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) 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, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 1 [:db_insert_placeholder_1] => php [:db_insert_placeholder_2] => %type: !message in %function (line %line of %file). [:db_insert_placeholder_3] => a:6:{s:5:"%type";s:12:"PDOException";s:8:"!message";s:221:"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT nt.* FROM {node_type} nt WHERE (disabled = :db_condition_placeholder_0) ORDER BY nt.type ASC; Array ( [:db_condition_placeholder_0] => 0 ) ";s:9:"%function";s:19:"_node_types_build()";s:5:"%file";s:57:"/Users/Tamra/Sites/controlled/cv/modules/node/node.module";s:5:"%line";i:703;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://localhost:8888/controlled/cv/admin/structure/types/add [:db_insert_placeholder_7] => http://localhost:8888/controlled/cv/admin/structure/types [:db_insert_placeholder_8] => 127.0.0.1 [:db_insert_placeholder_9] => 1318270612 ) in dblog_watchdog() (line 157 of /Users/Tamra/Sites/controlled/cv/modules/dblog/dblog.module).

Comments

urban farmer’s picture

Title: Additional uncaught exception thrown while handling exception. » solved the problem
Status: Active » Closed (fixed)

It turns out this is a MySQL issue. I am working on a local test site in MAMP. I found the answer in comment #6 here
http://drupal.org/node/984112

eeyorr’s picture

Title: solved the problem » Additional uncaught exception thrown while handling exception.