New Reply
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

PHP Rcon
#1

I use the php rcon for my cod4 server and have been using it for years but today for some reason i keep getting this error and im not sure how to fix it:

Warning: date() [function.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 'America/Los_Angeles' for 'PST/-8.0/no DST' instead in /home/thgamerz/public_html/rcon/action.php on line 173
OK
Reply
#2

This line is missing in your php.ini:
date.timezone = "Europe/Prague"

enter a supported value ( http://php.net/manual/en/timezones.php ) into the quotes and restart your webserver (apache2 ?).

[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!
Reply
#3

where do i find the php.ini it isnt in my rcon folder
Reply
#4

It is your webserver's global php.ini config file. It may be in /etc/php/apache2/php.ini , /etc/php/apache2filter/php.ini , c:\Program Files\Wamp\bin\apache\Apache2.2.17\bin\php.ini or in similar location.
Search for it.

[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!
Reply
#5

thank you very much it is fixed now
Reply
New Reply


[-]
Quick Reply
Message
Type your reply to this message here.

Human Verification
Please tick the checkbox that you see below. This process is used to prevent automated spam bots.



Users browsing this thread: 1 Guest(s)