MySQL server has gone away error

farzan - April 11, 2009 - 04:57
Project:BAWStats
Version:6.x-1.0-2
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hello,

After a long time of struggling, I finally managed to install the module and get it working. But when I visit the report page, I receive too many errors in there, all related to the MySQL server:

user warning: MySQL server has gone away query: SELECT...

However, the report is complete and correct -surrended by error messages.
When I refresh the page, sometimes i receive a correct page, usually 1 in 10.

FYI, I copied the lang and lib directories from original awstats directory into the module directory.

Thank you in advance.

#1

farzan - April 11, 2009 - 12:34

I activated the Split page view option which splits the report in few small pages. Now the error raises rarely, but it still happens sometimes.
I think there is a memory leak -or something like that- in the report generating code that causes the error.

#2

egfrith - September 30, 2009 - 21:17
Status:active» closed

Hello farzan,

I think this is probably a more general problem with your MySQL setup; see
http://drupal.org/node/259580 for possible solutions.

 
 

Drupal is a registered trademark of Dries Buytaert.