Technology Tools for Ministry

Community

Web-Empowered Church User Community
All Categories > Ministry Tools > Other TYPO3 Extensions > direct_mail cronjob with PHP 5.2.5
Total Posts: 4 - Pages (1): [1]
Author: Manfred Hungerland
Posted: Apr 21 2008 - 01:30 PM
Subject: direct_mail cronjob with PHP 5.2.5
I use:

TYPO3 4.1.5
direct_mail 2.5.3

in my Typo3 inst i would like to use direct_mail with a cronjob.
Somehow this is not working, i get following Error message:

X-Powered-By: PHP/5.2.5

Content-type: text/html

<br />
<b>Parse error</b>: syntax error, unexpected T_REQUIRE_ONCE in <b>/home/MYACCOUNT/public/www/typo3conf/ext/direct_mail/res/scripts/dmailerd.phpcron</b> on line <b>69</b><br />

(

If i run the script from tho command line, there is the same Problem.

/home/MYACCOUNT/public/www/typo3conf/ext/direct_mail/res/scripts/dmailerd.phpcron

In the Typo3-directmail Newsgroup i got the Tip:
just checked with the source code of direct_mail. You get this error directly after including your localconf.php.

Either rebuild your localconf.php (BE: Clear Configuration Cache) or if this is of no help, try investigating in other extensions that are installed and do some magic within localconf.php

Since there are "many" WEC Ext. installed i thougt maybe this is a known Problem?
Manfred
Author: Jeff Segars
Posted: Apr 21 2008 - 02:14 PM
Subject: re: direct_mail cronjob with PHP 5.2.5
Manfred,
I can think of a couple extensions that might be causing problems due to the way they use ext_localconf.php. Calendar Base and date2cal both do more extensive things in ext_localconf.php than many others. You might try temporarily uninstalling them to see if that helps any.

There was also a bug in previous versions of wec_config that caused a localconf syntax error with TYPO3 4.2. This has been fixed in the most recent versions so you might try upgrading wec_config also.

Thanks,
Jeff
Author: Manfred Hungerland
Posted: Apr 21 2008 - 02:17 PM
Subject: re: direct_mail cronjob with PHP 5.2.5
Thank's for your fast Answer Jeff !!
Will try this.

Manfred
Author: Manfred Hungerland
Posted: May 24 2008 - 12:30 PM
Subject: re: direct_mail cronjob with PHP 5.2.5
Hi Jeff

it seams i found the Problem.
It is in the /typo3conf/ext/direct_mail/res/scripts/dmailerd.phpcron File.
I changed Line 46 to the following:


if (!defined('PATH_site')) define('PATH_site', '/home/myaccount/public/subdomains/test/');


Shalom
Manfred
Total Posts: 4 - Pages (1): [1]
You must login to post a message to this conference.