Full Version: PHP Rcon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 ?).
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.


thank you very much it is fixed now