CRON Error since 7.0.1 Patch

Throwing my hat into the CRON ERROR ring as well. Site seems to work, just every periodic cron (15min delay) is tossing me this email now. Considering there is little ot no real traffice could it be due something caused by a NON-Event when processing CRON? Just guessing because the error message doesn't point to anything specific enough to track down and I delete the 10+ MB Debug Emails is sends occasionally :)

 

Database connect failed           

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

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

Quote · 11 May 2010

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

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

 

BxDolDb.php (LINE 444 Error) was updated in the 7.0.1 Patch, db.inc.php (LINE 83) was not updated in the 7.0.1 Patch. I was wrong about it throwing the error every cron cycle .. but I did get three in a row.

While more frequent since the patch, the error has been around and I just ignored it like everyone else.

 

Quote · 11 May 2010

http://www.boonex.com/unity/forums/#topic/Anyone-know-what-causes-this-.htm might as well tie them together.........

Csampson
Quote · 11 May 2010

I am on shared hosting ... and if my site receives no traffic it takes a "long" time for the site to come up initially .. then things tend to run smoothly. Having only moved from Windows based hosting in which this behavior is normal and expected. Is this typical behavior in a linux shared environment? May explain the "error" if alloting startup resources consumes to much time and cron is timing out perhaps? Just looking for the one thing that binds us all.

Quote · 11 May 2010

hahaha ... well dabnabit :) I am actually having MySQL issues on my Hostgator account. So if you are on DINO that's the problem. So, when it says DATABASE CONNECTION FAILURE ... that's what it is I guess. Sheesh Foot in mouth

Quote · 11 May 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.