Database connect failed

Hey There:
Just Got A  New Install Done Of Dolphin 7.0.2 Everything Seems To Work Great But I Keep Getting An E-mail Saying


<div style="border:2px solid red;padding:4px;width:600px;margin:0px auto;">
<div style="text-align:center;background-color:red;color:white;font-weight:bold;">Error</div>
<div style="text-align:center;">Database connect failed</div>
</div>
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/beanfly/public_html/diamondvalleycafe.ca/inc/classes/BxDolDb.php on line 447
Fatal error: Call to a member function getParam() on a non-object in /home/beanfly/public_html/diamondvalleycafe.ca/inc/db.inc.php on line 83

I Get It About 4 Times A Day Now.. Also Every Now And Then I Get This One To

Database access error.
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/beanfly/public_html/diamondvalleycafe.ca/flash/modules/global/inc/db.inc.php on line 71
Description: Database access error.
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/beanfly/public_html/diamondvalleycafe.ca/flash/modules/global/inc/db.inc.php on line 71
Description: Database access error.
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/beanfly/public_html/diamondvalleycafe.ca/flash/modules/global/inc/db.inc.php on line 71
Description:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/beanfly/public_html/diamondvalleycafe.ca/flash/modules/video_comments/inc/classes/BxDolCronVideoComments.php on line 67

Any Idea Why? Any Help Would Be Great. Thank You

More Account Info:

Hosted With: Arvixe
URL: http://www.diamondvalleycafe.ca

 

 

Quote · 18 Aug 2010

this can happen for many reasons.  Most cases the server got restarted while someone was on the site and it went offline for 30 seconds or less

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 18 Aug 2010

Maybe your mysql server was overloaded ?

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

Would It Help If I Posted The Line Of Code Everywhere It Says there Is An Error? Like For

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/beanfly/public_html/diamondvalleycafe.ca/inc/classes/BxDolDb.php on line 447
Fatal error: Call to a member function getParam() on a non-object in /home/beanfly/public_html/diamondvalleycafe.ca/inc/db.inc.php on line 83

And So On? Or Should I Not Worry? Is It Most Likely That My Database Is Just Timing Out..
Just Want To Make Sure Everything Is Working Ok Before I Start Telling My Whole Town To Join

Thank You

 

Quote · 18 Aug 2010

Beanfly, I have the same problem.

Have you solved it?

Quote · 19 Aug 2010

I am getting a similar error:

 

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /var/www/clients/client0/web1/web/inc/classes/BxDolDb.php on line 447

Fatal error: Call to a member function getParam() on a non-object in /var/www/clients/client0/web1/web/inc/db.inc.php on line 83

Anyone have any ideas for that one?

Quote · 24 Aug 2010

I had the same problem until I uninstalled all the messenger modules.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 24 Aug 2010

How can we fix this without uninstalling the messenger modules?  I've gotten both of these warnings for about a month, so obviously it is a recurring bug, not an individual member's problemAny answers Boonex?  Here's another that's started showing up:

[23-Aug-2010 16:17:23] PHP Fatal error: Call to a member function MsgBox() on a non-object in /home/.../modules/boonex/ads/classes/BxAdsModule.php on line 268

Anybody else get this?

I was able to fix another non-object warning by finding a missing image, but that doesn't seem to be the case here.

 

Someday, Someway.
Quote · 25 Aug 2010

I got the same error after a massive upgrade to the server hosting the dolphin software.. actually I am getting that warning as an output of the cron jobs:

 

 

Database access error. Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in 
/flash/modules/global/inc/db.inc.php on line 71 
Description: Database access error. 
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /flash/modules/global/inc/db.inc.php on line 71 
Description: Database access error. 
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /flash/modules/global/inc/db.inc.php on line 71 
Description: 
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /flash/modules/video_comments/inc/classes/BxDolCronVideoComments.php on line 67

So I guess it must be something in newer mysql database functions support..

 

 

Quote · 24 Sep 2010

Same problem here:

PHP Warning:  mysql_error(): supplied argument is not a valid MySQL-Link resource in /var/www/htdocs//flash/modules/global/inc/db.inc.php on line 71, referer: http://www.domain.com/m/sites/browse/all

PHP Warning:  mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/htdocs/flash/modules/im/inc/customFunctions.inc.php on line 39


Regards

 

Quote · 13 Dec 2010
 
 
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.