Closed (fixed)
Project:
HTML Export
Version:
6.x-2.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2010 at 03:11 UTC
Updated:
5 Mar 2012 at 20:52 UTC
I'm receiving a bunch of PHP errors like this one:
Warning: MySQL server has gone away query: INSERT INTO ppc_watchdog ([...]) VALUES ([...]) in /path/drupal-6.19/includes/database.mysql.inc on line 128
I guess the MySQL connection is timing out too soon.
Comments
Comment #1
noel.rivas commentedAdding mysqli.reconnect = On solved the problem for me; however, people with no access to the php.ini in their servers won't be able to do this.
Comment #2
rsgracey commentedAdd this line to your settings.php file:
ini_set('mysqli.reconnect', 'on');
That accomplishes the same thing. It worked for me! Thanks!
Stephen
Comment #3
btopro commentedGood to know, documentation.
Comment #4
btopro commented