[EventCalendar] timezone and "safe mode"
Alex Tingle
alex at firetree.net
Tue Mar 6 09:03:17 UTC 2007
Hi Oz,
On 6 Mar 2007, at 05:35, Oz Poker wrote:
> No sure what the problem is here seems to be working ok except it
> is showing the wrong date as current day.
>
> running 3.1.1rc on K2 and WP 2.1
>
> My wp is set to UTC + 11
>
> My events calendar seems stuck on UTC or EST I can't tell but it's
> not UTC + 11
>
> Under "events calendar option" I've got this :
>
> Timezone:
> You cannot change your timezone. Turn off PHP's 'safe mode' or
> upgrade to PHP5.
>
> My server is php5.2 so how do I get around this ?
The code in tz.php looks for a function called
"date_default_timezone_get()", which is available in PHP>=5.1. You
set-up is failing this test. Are you sure that you are running PHP
5.2? Is there some setting that you need to change to enable this
function?
-Alex
--
More information about the EventCalendar
mailing list