Cron Errors

Hi Everyone.

Would you mind assisting with getting cron working. I am running Dolphin 7.04 and have been doing so without any problems for 2 months.

I have just realised I need to set cron up. If I run cron.php either from cron or the command line I get this

Output from command cd /home/sites/dolphin/periodic; /usr/bin/php -q cron.php ..

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/sites/dolphin/inc/classes/BxDolSession.php on line 34

 

If i take a look at line 34 of BxDolSession.php its this

class BxDolSession extends BxDolMistake {
var $oDb;
var $sId;
var $iUserId;
var $aData;

=> HERE

private function BxDolSession() {
parent::BxDolMistake();
$this->oDb = new BxDolSessionQuery();
$this->sId = '';
$this->iUserId = 0;
$this->aData = array();
}

Thanks in advance

Quote · 13 Jan 2011

put a } in there.

Quote · 13 Jan 2011

actually, could you paste the whole file? i dont have 7.04

Quote · 13 Jan 2011

 

Hi Everyone.

Would you mind assisting with getting cron working. I am running Dolphin 7.04 and have been doing so without any problems for 2 months.

I have just realised I need to set cron up. If I run cron.php either from cron or the command line I get this

Output from command cd /home/sites/dolphin/periodic; /usr/bin/php -q cron.php ..

 

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/sites/dolphin/inc/classes/BxDolSession.php on line 34

 

If i take a look at line 34 of BxDolSession.php its this

 

class BxDolSession extends BxDolMistake {
var $oDb;
var $sId;
var $iUserId;
var $aData;

=> HERE

private function BxDolSession() {
parent::BxDolMistake();
$this->oDb = new BxDolSessionQuery();
$this->sId = '';
$this->iUserId = 0;
$this->aData = array();
}

Thanks in advance

Yes try to replace whole /inc/classes/BxDolSession.php file from track

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 14 Jan 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.