I keep get "server has gone away" errors

Comments

brmassa’s picture

Status: Active » Closed (fixed)

ollie,

its not related to OpenX Manager module. its Drupal or OpenX server.

regards,

massa

kendre_paresh’s picture

Hi,
I had faced this problem and have solution, please try this.

In includes/database.mysql.inc, at the end of function db_connect(), under the "SET NAMES" line:
mysql_query('SET SESSION wait_timeout = 60', $connection);

In includes/database.mysqli.inc, at the end of function db_connect(), under the "SET NAMES" line:
mysqli_query($connection, 'SET SESSION wait_timeout = 60');

I guess someone with more PHP experience that me could suggest a patch to check if wait_timeout is too low and fix it in some economic way.

Please try this, this may Help you, Good Luck