[TYPO3] Direct mail - windows scheduled task

Brian Bendtsen nightowl at galnet.dk
Wed Oct 3 12:20:55 CEST 2007


Brian Bendtsen skrev:
> 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
Ok, so I tried creating a scheduled task with the task: C:\PHP\php.exe 
pathToDmailerd.php - and I created a direct mail from my TYPO3 site.

It works! but a single line is added to my php error log:
[03-Oct-2007 11:32:58] PHP Warning: 
parse_url(http://D:\Domains\xxx\typo3conf\ext\direct_mail\res\scripts\dmailerd.php): 
Unable to parse url in D:\Domains\xxx\t3lib\class.t3lib_div.php on line 2955

Any clues on why this error appears?

/Brian


More information about the TYPO3-english mailing list