Database error

I'm getting this error in my Cron job

<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/artisti2/public_html/inc/classes/BxDolDb.php on line 431

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

has anyone else run into this error

and how can I fix it

thanks for your help

Mike

Quote · 26 Nov 2009

By the description, this is a connection problem to the database.

Line 431 in BxDolDb.php

$sMailBody .= "Mysql error: " . mysql_error($this->link) . "<br /><br /> ";

Line 83 in db.inc.php

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

Check you header.inc.php file and make sure your database settings are correct. Are you getting any other errors on your site?

Chris

Nothing to see here
Quote · 26 Nov 2009

I think your mysql server was overloaded ! Install more better server configuration

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 26 Nov 2009

I don't appear to be getting any other database problems on the website everything appears to be running properly

I get this error to her three times a day I think it's  my host

thanks for your help

mike

Quote · 26 Nov 2009

I submitted a ticket to my hosting  tech support  concerning  the error and of course they said it is not their fault  the problem lies with  the script  and pointed me back to Dolphin what concerns me at this point is something needs to be done and it isn't  because of the error  I currently only have one  Cron job  running  in some of the documentation  I've looked at it indicates there should be more than one running

the documentation indicates  the following

/periodic/cmd.php
/periodic/notifies.php
/periodic/cupid.php
/periodic/tags.php

I have two files in my periodic  directory

.htaccess and cron.php    so that's an area of confusion for me I am running D7 rc  so I take it there has been a structure change of course

what should I be doing to resolve this error

thank you once again for your help

Mike

Quote · 26 Nov 2009
 
 
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.