top50servers
Active Member
Ok so,
 
I would consider this kind of urgent but I havent seen anyone else post about this, I may have edited something badly, don't know.
 
In the past 4 hours my site has flat lined twice, I have not edited ANYTHING other then create a 'cron job here'
 
Here is the error log.
 
This one occurred randomly once or twice.
	
	
	
		
These 2 are alternating in the log.
	
	
	
		
	
	
	
		
Any help would be much appreciated. I would like to iron out these things as my site is growing.
								I would consider this kind of urgent but I havent seen anyone else post about this, I may have edited something badly, don't know.
In the past 4 hours my site has flat lined twice, I have not edited ANYTHING other then create a 'cron job here'
Here is the error log.
This one occurred randomly once or twice.
		Code:
	
	[12-Nov-2013 07:10:15] PHP Warning:  mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in /home4/top50/public_html/sources/sql/mysql.php on line 48
[12-Nov-2013 07:10:15] PHP Fatal error:  Database error in "<b>/home4/top50/public_html/button.php</b>" on line <b>47</b><br /><br />
in /home4/top50/public_html/sources/sql/mysql.php on line 89
[12-Nov-2013 07:10:23] PHP Warning:  mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home4/top50/public_html/sources/sql/mysql.php on line 32
	
		Code:
	
	[12-Nov-2013 07:13:22] PHP Warning:  mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in /home4/top50/public_html/sources/sql/mysql.php on line 48
[12-Nov-2013 07:13:41] PHP Warning:  mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home4/top50/public_html/sources/sql/mysql.php on line 32
	
		Code:
	
	[12-Nov-2013 07:19:22] PHP Warning:  mysql_set_charset() expects parameter 2 to be resource, boolean given in /home4/top50/public_html/sources/sql/mysql.php on line 33
[12-Nov-2013 07:19:22] PHP Warning:  mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home4/top50/public_html/sources/sql/mysql.php on line 34
[12-Nov-2013 07:19:22] PHP Warning:  mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home4/top50/public_html/sources/sql/mysql.php on line 48
	Attachments
- 
		
			
		
		
		48.4 KB Views: 0