Errors...Hel

I have dolphin 6.14 with ray and ocra, site is working fine, does what its suppose to do, but I have been getting alot of these errors...can anybody shed some light on how to fix these issues.

 

Database error in Entertainment Social
Mysql error:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Debug backtrace:
Array
(
[1] => Array
(
[file] => /home/repursel/public_html/periodic/cupid.php
[line] => 22
[args] => Array
(
[0] => /home/repursel/public_html/inc/db.inc.php
)

[function] => require_once
)

)


Called script:

Request parameters:
Array
(
)


--
Auto-report system

I also get alot of these errors

 

Mysql error:
Lost connection to MySQL server during query

My host is hostforweb

Quote · 25 Sep 2008

This is a 'timeout' error. Do a search on this forum and you will see other posts on what to do.

Stuart

There are none so blind as those that will not see.
Quote · 25 Sep 2008

Try this:

 

Add or change the following to your PHP.ini or create the file if you don't have one  ..... 

; Maximum time (in seconds) for connect timeout. -1 means no limit
mysql.connect_timeout = 60


I changed mine to 80 and this seems to have done the trick. You may have to play around with it thought, different hosts etc.

Stuart

thanks to Rumpy Bumpy for the above.

There are none so blind as those that will not see.
Quote · 25 Sep 2008

I added the code as is to my htaccess file and i got a 500 error..so took it out..thanks for your help but i need to figure out to fix this because i get too many of those emails.

Quote · 25 Sep 2008
 Read the above post, it says to create a php.ini file (which you put in the root of your Dolphin install). Most servers these days do not allow php instructions in the ,htaccess file. to create a php.ini file use a text editor and change the .txt extension to .ini Stuart
There are none so blind as those that will not see.
Quote · 25 Sep 2008

Sorry about that didnt read clearly, I have created the file and copied to root folder, I guess I have to wait to see if I get those errors now. Do I have to do anything to make the changes take effect.

Quote · 25 Sep 2008

Sorry about that didnt read clearly, I have created the file and copied to root folder, I guess I have to wait to see if I get those errors now. Do I have to do anything to make the changes take effect.

Ideally restart the server to reload the php.ini file..

There are none so blind as those that will not see.
Quote · 25 Sep 2008

Yes. It can help of course.

So, or expand timeout time

or, expand - max allowed connections :)

Quote · 25 Sep 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.