Hi, I have a problem when users try and confirm email address. It warns me that the email could not be sent even though it was sent fine. After a bit of searching I found a recommended bug fix. I tried this by editing the UserMailer file to ignore the error this worked but I noticed i only fixed that particular error message the same error seems to manifest in different places.
Apparently this can be caused by a sever time stamp issue. I tryed to correct the servers time but can't quite figure out how. The server is running ubuntu Feisty Fawn and is based in Auckland NZ the same place as all of my clients. The server shows the correct time in the top right conner of the ubuntu toolbar. Originally the time shown in wiki "my preferences->Date and Time" was 13 hours out for both Server time and local time.
I added the following lines to my php.ini file date.timezone = Pacific/Auckland date.default_latitude = -36.52 date.default_longitude = 195 (Also tried 174)
And the following lines in my LocalSetting.php (Don't have a clue what these mean but they seem to work) $wgLocalTZoffset = date("Z") / 60; $wgLocalTZoffset = 13 * 60;
Now the local time is correct but the server is still out by 1 hour 12:30 instead of 1:30 (I assume this is a daylight savings problem).
So does anyone know how I can correct my time problem? And also how to stop the error/warning messages from appearing when emails are sent.
P.S. Hope this doesn't get sent two times. Thanks
mediawiki-l@lists.wikimedia.org