Hi,
I have just checked one of my customers sites and there is an error. The site does not display and it shows the following - HELP?
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server during query
Error type/ Nr.: Warning - 2
File: /var/www/vhosts/.co.uk/httpdocs/manager/includes/extenders/dbapi.mysql.class.inc.php
Line: 87
Line 87 source: if (!$this->conn = ($persist ? mysql_pconnect($host, $uid, $pwd) : mysql_connect($host, $uid, $pwd, true))) {
Parser timing
MySQL: 0.0000 s (0 Requests)
PHP: 0.0168 s
Total: 0.0168 s
Error while inserting event log into database.
This site and another was working so why would it suddendly not. If anyone can help me to sort this ASAP would be greatly appreciated.
Thanks
Just trying to get in touch with my host.
I can not imagine it can be something getting to big as I have a test website that noone sees really.
How would I do this anyway?
Claire
Glad it’s up again.
Maybe your host was upgrading/rebooting the server.
They don’t usually bother to tell you, just let you panic for a bit wondering what’s wrong, checking everything your end, only to find out later it was them.
You can tell I’ve wasted many hours chasing my tail!