CRE Loaded Community

Banner


Board index » CRE Loaded Support » CRE Loaded 6.4

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Critical store error.
PostPosted: Tue Aug 31, 2010 10:39 am 
Offline
CRE Newbie

Joined: Tue Aug 31, 2010 10:35 am
Posts: 2
Good afternoon,

I receive several critical store errors from or website by email, but i got no clue where the error could be.

This is the error message,

Query Error reported on page /index.php
MySQL error: 2006 - MySQL server has gone away

SELECT infobox_id, display_in_column as cfgcol, infobox_file_name as cfgtitle, infobox_display as cfgvalue, infobox_define as cfgkey, box_template, box_heading_font_color
FROM infobox_configuration
WHERE template_id = 9
and infobox_display = 'yes'
and display_in_column = 'right'
ORDER BY location


This error came when we changed some text on the home page, so we did changed the text back to the orginal. But the error kept coming.


Top
 Profile  
 
 Post subject: Re: Critical store error.
PostPosted: Wed Sep 01, 2010 6:16 pm 
Offline
CRE Talented

Joined: Thu Dec 25, 2008 5:09 pm
Posts: 459
Location: CO
It is what you think it is... your mysql server has gone away. Your shopping cart couldn't communicate with the mysql server so it gave this error.

Usually happens on a well used shared webhost.


Top
 Profile  
 
 Post subject: Re: Critical store error.
PostPosted: Thu Sep 02, 2010 1:31 am 
Offline
CRE Newbie

Joined: Tue Aug 31, 2010 10:35 am
Posts: 2
We are on a shared server, your correct about that. I made alot of phone calls to the hosting company, to explain the error. But they are saying that there mysql server didn't went down or having any troubles.

They told me that there was some kind of bug within the software, but that's not true ?

Because there isn't a way to resolve this problem by editing something in de code ?


Top
 Profile  
 
 Post subject: Re: Critical store error.
PostPosted: Thu Sep 02, 2010 1:40 pm 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2211
Location: New Zealand
You can get this error if the query you're trying to run is too large or takes too long to execute.
Mysql just disconnects cos it's given up (or thinks you have.)

Ask your host to:
1. check the max_allowed_packet value in the configuration file (16M +)
2. check the wait_timeout (600 seconds+)
3. restart the mysql server for you

Probably the only other move after that is to shorten the query (employ a coder.)
Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: Critical store error.
PostPosted: Tue Feb 15, 2011 6:53 am 
Offline
CRE Addict

Joined: Wed Sep 23, 2009 7:02 pm
Posts: 181
soundzgood2 wrote:
You can get this error if the query you're trying to run is too large or takes too long to execute.
Mysql just disconnects cos it's given up (or thinks you have.)

Ask your host to:
1. check the max_allowed_packet value in the configuration file (16M +)
2. check the wait_timeout (600 seconds+)
3. restart the mysql server for you

Probably the only other move after that is to shorten the query (employ a coder.)
Simon


For the 1st item, I added the line: max_allowed_packet=16M in my php5.ini file (previously there was no such line addressing maximum packet allowed). For the 2nd item, I do see a line that says: max_input_time = 60 Is that the line we should edit? Or did you mean to add a line called wait_time=600 (I don't see an existing line with a wait_time variable).

Either way, isn't 600 seconds (10 minutes) a long time to be waiting for a web page to load? Is it even worth the bother to change this, hoping there is someone who would actually wait that long?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

Board index » CRE Loaded Support » CRE Loaded 6.4

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Tue Feb 07, 2012 11:12 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy