Posted on: 02/27/04 05:47pm
By: geKow
Since I upgraded to 1.3.9 RC1, my cronjob gives me an error:
Warning: set_time_limit(): Cannot set time limit in safe mode in
/usr/local/lib/php/Mail/RFC822.php on line 197
Warning: fopen(/home/xdykylfj/logs/error.log): failed to open stream: Keine Berechtigung
in /home/xdykylfj/public_html/lib-common.php on line 1499
(Keine Berechtigung means "Access denied") these lines are repeated 6 times...
My mail settings are:
$_CONF['have_pear'] = true;
$_CONF['mail_settings'] = array (
'backend' => 'smtp', ......
'sendmail_path' => '/usr/bin/sendmail',
'sendmail_args' => '',
and the smtp settings.
- Sending a mail using the user.php, works.
- Registration mails never arrive
- and cronjob doesn't work
any ideas?
RC1 cronjob and mail proble
Posted on: 02/27/04 06:11pm
By: Dirk
There shouldn't be a difference between sending an email through user.php (I assume you mean the option to email a user?) and getting a registration email. Both functions would now go through the same piece of code to send the emails.
I would assume that things (i.e. PHP settings) are different in a cronjob, or you would get the same error message when sending an email through, say, the "email user" function. The fact that you get the dreaded "failed to open stream" message for error.log in the cronjob but not in normal operation of your site seems to point in the same direction ...
bye, Dirk
RC1 cronjob and mail proble
Posted on: 02/27/04 07:20pm
By: geKow
[QUOTE BY= Dirk]
There shouldn't be a difference between sending an email through user.php (I assume you mean the option to email a user?) and getting a registration email. Both functions would now go through the same piece of code to send the emails.
[/QUOTE]
I tripple checked it. No registration mail. Even without any spamfilter. Usermail to the same adress works perfectly.
geKow