[SOLVED] Timezone errors

14 years 2 weeks ago #126154 by rouven
[SOLVED] Timezone errors was created by rouven
Hi,
getting a full page with those errors at a profile after upgrading to 1.2.2:

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /mydir/components/com_comprofiler/plugin/user/plug_cbmamboauthortab/cb.authortab.php on line 32 Warning: mktime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /mydir/administrator/components/com_comprofiler/comprofiler.class.php on line 1108 Warning: strftime(): It is not safe to rely on the system's timezone settings


Regards,

Rouven

Post edited by: krileon, at: 2010/03/08 21:34

Please Log in to join the conversation.

14 years 2 weeks ago #126156 by beat
Replied by beat on topic Re:Timezone errors
Your server's and/or PHP timezone is not set correctly, that's why you have this warning in first place.

Please ask your hoster to set the timezone for server and php in particular:

You are *required* to use the date.timezone setting


That is missing in your php settings.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

14 years 2 weeks ago #126157 by rouven
Replied by rouven on topic Re:Timezone errors
Thx Beat,

in fact the settings were commented out in the php.ini.

Thanks for your answer and your awesome job,

Regards,

Rouven

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.599 seconds

Facebook Twitter LinkedIn