Help with an error Mysql

Permalink
Hi I recently started getting error messages when trying to edit the website and adding new lightbox to a new page.
Website ecommerce was working fine until now.

Could someone help with the codes screen shots attached, unexpected is this a server issue or a conflict of files?

Any help will be appreciated!

Cheers Guys

1 Attachment

mmdan
 
mmdan replied on at Permalink Reply
mmdan
Just realised this also happens when I try to add a new page or edit a page, it just constantly pops up, have tried from different computers and no luck.

Anyone can help with this?

Cheers

Dan
goutnet replied on at Permalink Reply
Sounds like your server is not responding correclty (or not within the timeout).

Try to access your mysql server with another client to see if the problem does not come from here (it might be overloaded as well).

if your server is ok, but slow, you then have three solutions :

- configure MySQL so that the server does not "go away" by increasing its timeout (not sure it would help) ...
- configure your php mysql extension to increase the timeout, in your php.ini add the following:

mysql.connect_timeout = 60


(change the 60 to your needs)

or

- add a simple code to increase concrete5 db timeout :

Loader::db().ConnectionTimeout = 60; # change the 60 by something bigger


as for now, I don't see any way to customize that timeout in concrete5
mmdan replied on at Permalink Reply 1 Attachment
mmdan
Hi
Thank you for your suggestion and help.
I raised issue with host and they installed a fresh copy of latest C5 and it worked fine, my mysql data base is quiet large.

Website ishttp://www.sapienter.co.nz
If you can determine what issue might be, I can pay to resolve.


attached is the latest error I get.
mmdan replied on at Permalink Reply
mmdan
http://forums.kiwihosting.net.nz/index.php?/topic/1317-mysql-server-hardware-upgrade/page__gopid__5138#entry5138

This is the upgrade the host has undergone