When I click edit on one of the Context objects on the Context area I get the following error. I increased my database packet size but the problem has not gone away. Any clue whit might be causing the problem.

"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 C:\XAMMP\htdocs\martplug\modules\node\node.module)."

Comments

recidive’s picture

What version of mysql are you running? It may be caused by a bug in mysql.

recidive’s picture

Status: Active » Postponed (maintainer needs more info)
ajsleigh’s picture

@fevzi I have just run across the same error on my localhost when trying to edit a menu item and it turns out its a server configuration option and not a Drupal one. To fix it I eventually followed the following comment after changing the same setting to 100M in php.ini did not work for me.

http://drupal.org/node/984112#comment-4694182

Cheers,
Aj

fevzi’s picture

Hi,
My Database version is 5.1.49-community.
Let me have a look at Aj's suggestion.
Cheers
Fevzi

recidive’s picture

@fevzi: has the solution proposed in #3 worked for you?

fevzi’s picture

No, it did not work.

duaelfr’s picture

Version: » 7.x-1.x-dev

Adding the version to ease issue search.