CentOS 7
Openpublic 7.x-1.3
Hi i am receiving these errors when trying to add menu items to the main menu or adding new content types.
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT * FROM {system} WHERE type = 'theme' OR (type = 'module' AND status = 1) ORDER BY weight ASC, name ASC; Array ( ) in system_list() (line 165 of /var/www/html/SITENAME/includes/module.inc).
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT 1 AS expression FROM {sessions} sessions WHERE ( (sid = :db_condition_placeholder_0) AND (ssid = :db_condition_placeholder_1) ); Array ( [:db_condition_placeholder_0] => q39BNY7DzeB0XxB7zvln4CRdl3hbS5YoQbcUBrL0wgQ [:db_condition_placeholder_1] => ) in_drupal_session_write() (line 209 of /var/www/html/SITENAME/includes/session.inc).
I tried to add max_allowed_packet = 64M to my "my.cnf" file but this did not work.
Comments
Comment #1
hefox CreditAttribution: hefox commentedThat is generally not an distro problem, google mysql server has gone away to see more info about it
Comment #2
ZYA CreditAttribution: ZYA commentedjmonarch, where you able to fix this? I experienced this issue when I performed my upgrade. After adding memory via a cnf file, I began to experience other issues, and eventually the site was not accessible at all. I wound up rolling the site back.
For me, the other possibility is the fonts.com submodule of @fontyourface; I'd begun working with this during the same time.