Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 08:42 am EST

Geeklog Forums

RC1 cronjob and mail proble


Status: offline

geKow

Forum User
Full Member
Registered: 01/12/03
Posts: 445
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?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

Status: offline

geKow

Forum User
Full Member
Registered: 01/12/03
Posts: 445
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.


I tripple checked it. No registration mail. Even without any spamfilter. Frown Usermail to the same adress works perfectly.

geKow
 Quote

All times are EST. The time is now 08:42 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content