Error Database connect failed

Hi all i need some help here, please, i install a mod and this is what i got,

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/hardtime/public_html/inc/classes/BxDolDb.php on line 453

Fatal error: Call to a member function getParam() on a non-object in /home/hardtime/public_html/inc/db.inc.php on line 83

 

i dont think the did it but i need help

Quote · 14 Nov 2010

T,

in the BxDoldb.php file you can enable Full_Debug_Mode, it will provide you with more information about the database error.

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 15 Nov 2010

where

in the BxDoldb.php file

Quote · 15 Nov 2010

ok this is what the error is

 

Database connect failed


Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/hardtime/public_html/inc/classes/BxDolDb.php on line 423

Mysql error:
Debug backtrace:
Array
(
[1] => Array
(
[file] => /home/hardtime/public_html/inc/classes/BxDolDb.php
[line] => 81
[function] => error
[class] => BxDolDb
[type] => ->
[object] => BxDolDb Object
(
[error_checking] => 1
[host] => localhost
[port] =>
[socket] =>
[dbname] => hardtime_sc2c
[user] => *****
[password] => *****
[link] =>
[current_res] =>
[current_arr_type] => 1
[oParams] =>
[oDbCacheObject] =>
[_error] =>
)

[args] => Array
(
[0] => Database connect failed
[1] => 1
)

)

[2] => Array
(
[file] => /home/hardtime/public_html/inc/classes/BxDolDb.php
[line] => 57
[function] => connect
[class] => BxDolDb
[type] => ->
[object] => BxDolDb Object
(
[error_checking] => 1
[host] => localhost
[port] =>
[socket] =>
[dbname] => hardtime_sc2c
[user] => *****
[password] => *****
[link] =>
[current_res] =>
[current_arr_type] => 1
[oParams] =>
[oDbCacheObject] =>
[_error] =>
)

[args] => Array
(
)

)

[3] => Array
(
[file] => /home/hardtime/public_html/inc/db.inc.php
[line] => 25
[function] => BxDolDb
[class] => BxDolDb
[type] => ->
[object] => BxDolDb Object
(
[error_checking] => 1
[host] => localhost
[port] =>
[socket] =>
[dbname] => hardtime_sc2c
[user] => *****
[password] => *****
[link] =>
[current_res] =>
[current_arr_type] => 1
[oParams] =>
[oDbCacheObject] =>
[_error] =>
)

[args] => Array
(
)

)

[4] => Array
(
[file] => /home/hardtime/public_html/inc/classes/BxDolAlerts.php
[line] => 20
[args] => Array
(
[0] => /home/hardtime/public_html/inc/db.inc.php
)

[function] => require_once
)

[5] => Array
(
[file] => /home/hardtime/public_html/inc/header.inc.php
[line] => 176
[args] => Array
(
[0] => /home/hardtime/public_html/inc/classes/BxDolAlerts.php
)

[function] => require_once
)

[6] => Array
(
[file] => /home/hardtime/public_html/index.php
[line] => 40
[args] => Array
(
[0] => /home/hardtime/public_html/inc/header.inc.php
)

[function] => require_once
)

)
Called script: /index.php
Request parameters:
Array
(
[__utma] => 208848656.1819231794.1262519558.1289429491.1289532073.253
[__utmz] => 1.1280274255.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
[VisitorID] => c89dec9e-e502-473b-9128-a9e1390cdacb&Exp=4/4/2013 12:11:19 PM
[lang] => en
[idRef] => 1
)
Quote · 15 Nov 2010

it did not all come up on here

Quote · 15 Nov 2010

if you uninstall the mod does this error go away? what is the mod you are installing?

 

yeah not seeing enough to tell you what is causing the dbase connect fail.

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 15 Nov 2010

It also happened to me. But mine is fresh installation no any additional mod.

Quote · 31 Dec 2010

 

Hi all i need some help here, please, i install a mod and this is what i got,

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/hardtime/public_html/inc/classes/BxDolDb.php on line 453

Fatal error: Call to a member function getParam() on a non-object in /home/hardtime/public_html/inc/db.inc.php on line 83

 

i dont think the did it but i need help

It's mean that your mysql server was overloaded with queries. You'll need increase some mysql params. More about this you can find here : http://www.boonex.com/trac/dolphin/wiki/HostingServerSetupRecommendations

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 31 Dec 2010

i found this problem and is happen in all Dolphin. 

 

first the problem is not the dolphin.

IS Resources or bad confiuration in Apache with the SpareServer if this is too high mysql can't handle the request even when is not user in the web site.

www.tumundo247.com - www.rampletea.com - www.clasificadosnetwork.com
Quote · 1 Dec 2012

 also if you increase the spareserver etc... in apache you need to increase some parms in mysql including maxconnection

i found this problem and is happen in all Dolphin. 

 

first the problem is not the dolphin.

IS Resources or bad confiuration in Apache with the SpareServer if this is too high mysql can't handle the request even when is not user in the web site.

 

www.tumundo247.com - www.rampletea.com - www.clasificadosnetwork.com
Quote · 3 Dec 2012
 
 
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.