Closed (fixed)
Project:
OpenX Manager
Version:
6.x-1.01
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2008 at 07:36 UTC
Updated:
28 Oct 2009 at 06:52 UTC
I keep get "server has gone away" errors
Comments
Comment #1
brmassa commentedollie,
its not related to OpenX Manager module. its Drupal or OpenX server.
regards,
massa
Comment #2
kendre_paresh commentedHi,
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