[TYPO3-dev] anybody using "Gabriel" to schedule events? PHP error...
Mario Matzulla
mario.melanie at arcor.de
Tue Jul 17 18:04:27 CEST 2007
Hi Stefano,
you have to define an absolute path:
change define('PATH_thisScript',$_ENV['_']?$_ENV['_']:$_SERVER['_']);
to something like:
define('PATH_thisScript','/home/httpd/vhosts/something/httpdocs/typo3conf/ext/gabriel/cli/gabriel_cron.phpsh');
Regards,
Mario
stefano cecere schrieb:
> i just re-tried to configure Gabriel ext to schedule some actions after
> DB operations.
>
> system: PHP 5.1.6 with Typo3 4.2 (trunk) and Gabriel 1.0.0
>
> after having configured it all,
> when i run the php script via CLI i get this error:
>
> Fatal error: Call to a member function executenextDueEvent() on a
> non-object in
> /home/httpd/t3site/typo3conf/ext/gabriel/cli/gabriel_cron.phpsh on line 53
>
>
> it seems that the script can't initialize $gabriel =
> t3lib_div::getUserObj('EXT:gabriel/class.tx_gabriel.php:&tx_gabriel');
>
> i tried other ways to do that, like:
>
> require_once(PATH_site.'typo3conf/ext/gabriel/class.tx_gabriel.php');
> $gabriel = t3lib_div::makeInstance('tx_gabriel');
>
> or
>
> $gabriel =
> t3lib_div::getUserObj(PATH_site.'typo3conf/ext/gabriel/class.tx_gabriel.php:&tx_gabriel');
>
>
> but no result..
>
> any idea/tip?
>
> many thanks
> stefano
More information about the TYPO3-dev
mailing list