[TYPO3] Direct mail - windows scheduled task

Ivan Kartolo ivan.kartolo at dkd.de
Wed Oct 3 12:25:37 CEST 2007


Hi Brian,

the problem is: the path to typo3 source in Windows.
In Windows all the TYPO3 source folder are placed directly under htdocs, 
in Linux (Unix) we make a link from htdocs to any folder containing 
TYPO3 source.

Fix:
open dmailerd.phpcron. in line 46 there is a line defining PATH_site. 
You'll find 6 dirname-function. remove one of those. (be careful with 
the parentheses).

I haven't test this fix. please report back whether it's working or not.

Please put this on the bugtracker [1], so that I won't forget to fix 
this bug.

[1]http://bugs.typo3.org


Greeting,

Ivan

Brian Bendtsen wrote:
> Hi
> 
> I want to set up a windows scheduled task for Direct Mail.
> 
> First I have tried to execute the dmailerd.phpcron from a command line 
> on the webserver but I get this error message:
> 
> #!C:/PHP/
> Warning: main(\/t3lib/class.t3lib_div.php) [function.main]: failed to 
> open stream: No such file or directory in 
> D:\Domains\xxx\typo3conf\ext\direct_mail\res\scripts\dmailerd.php on 
> line 61
> 
> Fatal error: main() [function.require]: Failed opening required 
> '\/t3lib/class.t3lib_div.php' (include_path='.;C:\php5\pear') in 
> D:\Domains\xxx\typo3conf\ext\direct_mail\res\scripts\dmailerd.php on 
> line 61
> 
> Im not sure about the first line, which is the path to the php on the 
> webserver.
> 
> Anyone who has experience with this can give me a few pointers?
> 
> /Brian Bendtsen


More information about the TYPO3-english mailing list