Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Warning: strftime()


All over the site:


Warning: strftime() [function.strftime]: 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 'CEST/2.0/DST' instead in /usr/home/web/wno278986/maincore.php on line 796

What's this?

I added:



as line 19 in maincore.php (line 19 was empty).

Like this:


18 if (preg_match("/maincore.php/i", $_SERVER['PHP_SELF'])) { die(); }
19 date_default_timezone_set('UTC'wink;
20 error_reporting(E_ALL);

Guess I could placed it somewhere else too, but it works anyway.
Thread Information
3 posts
3,981 times
Last Post
Last updated on 10 years ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: Ken, WEC