Ashus.ashus.net
PHP Rcon - Printable Version

+- Ashus.ashus.net (https://ashus.ashus.net)
+-- Forum: Off-topic (https://ashus.ashus.net/forum-10.html)
+--- Forum: English (https://ashus.ashus.net/forum-12.html)
+--- Thread: PHP Rcon (/thread-130.html)



PHP Rcon - Gomerdeath - 21.1.2013

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


Re: PHP Rcon - Ashus - 21.1.2013

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 ?).


Re: PHP Rcon - Gomerdeath - 21.1.2013

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


Re: PHP Rcon - Ashus - 21.1.2013

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.


Re: PHP Rcon - Guest - 22.1.2013

thank you very much it is fixed now