database connect failed error message

Can anyone help fix this error message?

ERROR MESSAGE:

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

DB.INC.PHP CONTENTS:

line81:

line82: function getParam( $param_name, $use_cache = true ) {

line83:return $GLOBALS['MySQL']->getParam($param_name, $use_cache);

line84: }

Quote · 10 Dec 2011

try to clear the database cache.

so much to do....
Quote · 11 Dec 2011

All caches have been cleaned multiples times, I'm hosting with Arvixe, and the error log reports this same exact error multiple times a day.

Quote · 12 Dec 2011

The cause of that error is more than likley an indication that the database server is overloaded.

Happens most frequently on shared hosting with limits on the resources you are allowed to use.


Search forums for Call to a member function getParam() on a non-object in and you will find other topics on the subject.

This one specifically helps confirm the database overloaded is the most likely cause. http://www.boonex.com/forums/?action=goto&search=1#topic/How-do-i-fix-this--2010-11-18.htm


https://www.deanbassett.com
Quote · 12 Dec 2011

i compared boonex requirements to our server set up:

sql

query cache limit ~1.5gb, query cache size ~1.5gb, key buffer size ~1.2gb, max heap table size ~1.2gb, tmp table size ~1.2gb, thread cache ~5. 

php

running cgi, the only cache engine/accelerator available on my current server is file, and magic_quotes_gpc is on when it should be off.

---

would sql thread cache and php api, accelerator and magic quotes effect the site enough to cause database connection issues?

Quote · 13 Dec 2011

no i don't think so. its not possible due to php accelerator and i have used dolphin without thread cache but it didn't cause connection error but it can overload the database as deano has said and that can cause the error means your server database is overloaded.

so much to do....
Quote · 13 Dec 2011

so basically its impossible to run dolphin as a social network site on shared hosting with out problems. do you know how to disable that magic quotes gpc thing? under php info in the dolphin host tools panel it shows local value on master value on, can it even be disabled?

Quote · 13 Dec 2011

actually its possible to run dolphin on shared server but not everyone got that luck. It has to be configured as per dolphin requirement. And you can try this for magic quotes.

 http://stackoverflow.com/questions/517008/how-to-turn-off-magic-quotes-on-shared-hosting 

so much to do....
Quote · 14 Dec 2011
 
 
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.