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

PHP Rcon

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() []: 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

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

enter a supported value ( ) into the quotes and restart your webserver (apache2 ?).

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

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

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!

thank you very much it is fixed now
New Reply

Quick Reply
Type your reply to this message here.

Users browsing this thread: 1 Guest(s)