Submitted by axoune on
Bonjour,
J'ai un gros problème, j'ai installé drupal commerce kikstar, et quand j'essaye de créer un nouveau type de contenu il m'écrit ce message d'erreur :
"Additional uncaught exception thrown while handling exception.
Original
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT s.lid, t.translation, s.version FROM {locales_source} s LEFT JOIN {locales_target} t ON s.lid = t.lid AND t.language = :language WHERE s.source = :source AND s.context = :context AND s.textgroup = 'default'; Array ( [:language] => fr [:source] => Add a customer profile [:context] => ) in locale() (line 684 of /Users/axoune/projet_site/sites/drupal_v3/modules/locale/locale.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:390:"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT s.lid, t.translation, s.version FROM {locales_source} s LEFT JOIN {locales_target} t ON s.lid = t.lid AND t.language = :language WHERE s.source = :source AND s.context = :context AND s.textgroup = 'default'; Array ( [:language] => fr [:source] => Add a customer profile [:context] => ) ";s:9:"%function";s:8:"locale()";s:5:"%file";s:69:"/Users/axoune/projet_site/sites/drupal_v3/modules/locale/locale.module";s:5:"%line";i:684;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://localhost:8888/drupal_v3/?q=admin%2Fstructure%2Ftypes%2Fadd& [:db_insert_placeholder_7] => http://localhost:8888/drupal_v3/?q=admin/structure/block/demo/commerce_k... [:db_insert_placeholder_8] => ::1 [:db_insert_placeholder_9] => 1361103479 ) in dblog_watchdog() (line 154 of /Users/axoune/projet_site/sites/drupal_v3/modules/dblog/dblog.module)."
J'ai la dernière version de MAMP (je suis sur un serveur local)
Merci d'avance
Salut, j’ai l’impression que
Permalien Soumis par TD le 17 Février, 2013 - 17:58
Salut, j'ai l'impression que ce genre de problème revient souvent lorsqu'on travaille en local.
Je connais pas la solution mais au pire prends un hébergement mutualisé à 2 euros par mois, et travaille en ligne, ça permettra d'esquiver pas mal de problèmes de ce type.
Regarder des conf du serveur
Permalien Soumis par Thomas.emerya le 18 Février, 2013 - 14:12
Regarder des conf du serveur mysql, "MySQL server has gone away", généralement du à de gros volume de traitement dont le serveur n'a pas été configurer pour, vérifier notmament le wait_timeout.
http://dev.mysql.com/doc/refman/5.0/en/gone-away.html