1
Older versions / Re: OG refuses to send notification to one user
« on: May 07, 2010, 07:41:44 am »
hmmm. strangely my user gets email now too. But I found a different problem (that might be related to this):
Time/date setting of Server.
I made an event and set notification 30 min before. The notification email reads
The server is in Germany (GMT+2), I am in UK (GMT+1)
In ..environment/environment.php the following is set
I tried to change the GMT to Europe/Berlin, but then feng completely screwed the current time and date. A `date` on my server yields
My questions:
1) What is the correct setting in the environment.php for my server location
2) Is it possible in feng to always show the timezone belonging to a date/time? Both in the notification email but also when setting up the event? Or at least put a label visible all the time in which timezone you are at the moment. Otherwise its very difficult to debug such problems.
Time/date setting of Server.
I made an event and set notification 30 min before. The notification email reads
Code: [Select]
From - Fri May 7 10:40:39 2010
...
Received: (qmail invoked by alias); 07 May 2010 09:05:04 -0000
Received: from unknown (EHLO localhost) [xxx.xxx.xxx.xxx]
by mail.gmx.net (mp013) with SMTP; 07 May 2010 11:05:04 +0200
...
Subject: Event reminder
Date: Fri, 07 May 2010 09:05:01 +0000
....
------------------------------------------------------------
THIS IS A SYSTEM NOTIFICATION. DO NOT REPLY TO THIS EMAIL!
------------------------------------------------------------
Event "notificationtest" starts on "2010/05/07 09:30:00".
....
So I received the notificiation "after" the event. The server is in Germany (GMT+2), I am in UK (GMT+1)
In ..environment/environment.php the following is set
Code: [Select]
ini_set('date.timezone', 'GMT');
if(function_exists('date_default_timezone_set')) {
date_default_timezone_set('GMT');
} else {
putenv('TZ=GMT');
} // if
I tried to change the GMT to Europe/Berlin, but then feng completely screwed the current time and date. A `date` on my server yields
Code: [Select]
Fr 7. Mai 12:28:51 CEST 2010
but the cron.php throwsCode: [Select]
2010-05-07 10:30:01 - Sending notifications...
2010-05-07 10:30:01 - notifications sent.
(same moment)My questions:
1) What is the correct setting in the environment.php for my server location
2) Is it possible in feng to always show the timezone belonging to a date/time? Both in the notification email but also when setting up the event? Or at least put a label visible all the time in which timezone you are at the moment. Otherwise its very difficult to debug such problems.