Forum Search:
FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.
Calendar
Search
Help
Members
Control Panel
Logout [ CommonCrawl [Bot] ]
Home
Post Form
Logged in user:
CommonCrawl [Bot] [
logout
]
Forum:
Bug Reports
Title:
Poll:
[CREATE POLL]
Message Icon:
No Icon
Smiley Shortcuts:
[
list all smilies
]
Formatting Tools:
Size
1
2
3
4
5
6
7
Color
Sky Blue
Royal Blue
Blue
Dark Blue
Orange
Orange Red
Crimson
Red
Firebrick
Dark Red
Green
Lime Green
Sea Green
Deep Pink
Tomato
Coral
Purple
Indigo
Burly Wood
Sandy Brown
Sienna
Chocolate
Teal
Silver
Font
Arial
Times
Courier
Century
Body:
Forum Options:
HTML
code is
off
BBcode
is
on
Images
are
on
Smilies
are
on
Editing Time Limit
: Unlimited
File Attachments:
Allowed File Extensions:
jpg jpeg png gif txt doc gz bz2 inc php zip diff
Maximum File Size:
1024KB
Maximum Files Per Message:
5
Options:
Post Notification
Notify me when someone replies to this message.
Include Signature
Include your profile signature.
Disable smilies in this message
Topic View
Re: tz variable generates php warning
Wed, 13 March 2002 23:34
Ilia
Karma:
To solve the warning problem, simply put @ before the putenv() call inside time.inc
Re: tz variable generates php warning
Wed, 13 March 2002 15:59
Ilia
Karma:
djupsjob wrote on Wed, 13 March 2002 2:41 PM
More safe_mode troubles for you. This warning gets spit out every time someone visits the forum:
PHP Warning: Safe Mode: Cannot set environment variable 'TZ' - it's not in the allowed list in /some/path/forum_data/include/time.inc on line 24
This seems to lead to the time always beeing displayed as GMT instead of local time zone.
Well I will eliminate the warning, however for the timezone you'll be stuck with GMT because of the rather Nazi php settings. You can solve this problem by adding TZ to safe_mode_allowed_env_vars parameter in your php.ini or your virtual host entry inside httpd.conf.
tz variable generates php warning
Wed, 13 March 2002 14:41
basse
Karma:
More safe_mode troubles for you. This warning gets spit out every time someone visits the forum:
PHP Warning: Safe Mode: Cannot set environment variable 'TZ' - it's not in the allowed list in /some/path/forum_data/include/time.inc on line 24
This seems to lead to the time always beeing displayed as GMT instead of local time zone.
Current Time:
Sun Oct 13 06:02:52 EDT 2024
Total time taken to generate the page: 0.06057 seconds