[TYPO3] Re: [Typo3] Problem with directmail cronjob - non-existent class: t3lib_cs

Rolf Bartusel r.bartusel at trisinus.de
Fri Dec 23 11:28:53 CET 2005


Now the cronjob is working: You just have to include class.t3lib_cs.php, 
that's all... Don't know why it took so long, until I came to this idea, 
but here's the code:

require_once(PATH_t3lib.'class.t3lib_cs.php');

Merry christmas tomorrow,
Rolf

Rolf Bartusel wrote:
> Hi,
> 
> I have some problems in bringing the directmail dmailerd.phpcron to 
> work. The cronjob ist still not active, I start the file on the command 
> line.
> 
> The first error in the dmailerd.phpcron was, that the var
> 
> $dir = dirname($HTTP_ENV_VARS["_"]);
> 
> did not work. I got a message "Wrong path...", but found a solution in 
> the community and changed it to hard coded complete file path:
> 
> $dir = dirname('/usr/[...]/typo3/ext/direct_mail/mod/dmailerd.phpcron');
> 
> Now, when starting dmailerd.phpcron I get the error message
> 
> "Fatal error: Cannot instantiate non-existent class:  t3lib_cs in 
> /usr/[...]/typo3/t3lib/class.t3lib_div.php on line 3501"
> 
> The reason for this error comes from the last line in dmailerd.phpcron:
> 
> $htmlmail->runcron();
> 
> There is no class t3lib_cs in class.t3lib_div.php, but there is a file 
> with this class named class.t3lib_cs.php, but I can't find the place 
> where to fix this. Any idea?
> 
> My system:
> OS Linux
> Typo3 3.8.0
> PHP Version 4.3.3
> MySQL 3.23.49
> Apache 1.3.20
> 
> Regards, Rolf



More information about the TYPO3-english mailing list