EllisLab text mark
Advanced Search
     
“Error Number: 2006 MySQL server has gone away”
Posted: 21 June 2012 12:56 PM   [ Ignore ]
Joined: 2008-08-29
76 posts

Just started getting this out of nowhere. The full error reads:

“Error Number: 2006

MySQL server has gone away

SELECT `variable_name`, `variable_data` FROM (`exp_global_variables`) WHERE `site_id` = ‘1’

Filename: libraries/Template.php

Line Number: 2675”

help would be awesome!

 
Posted: 21 June 2012 12:57 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Joined: 2008-08-29
76 posts

this is only happening in one template. all my other EE driven pages seem to be working fine

 
Posted: 22 June 2012 01:29 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hello liberty79,

I am sorry to hear you are running into this problem.

Can you please post the template code for that page?

Thank you,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade

 
Posted: 26 June 2012 12:48 PM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Joined: 2008-08-29
76 posts

sorry for not replying sooner. my host solved the problem and i had to move on from it quickly.

for future users: i simply had to repair my database. Apparently it’s something I should be doing weekly, according to my host. I don’t know why that is or how to automate that process.

 
Posted: 26 June 2012 04:50 PM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hey liberty79,

Thank you for letting me know! Glad this is resolved.

If you need anything else, please just let me know by opening a new thread.

Cheers,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade