BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Age of Conan Archive => AoC 0.6 support => Topic started by: Athalwulf on October 30, 2011, 11:54:06 pm
-
Here are the issues I'm experiencing:
(http://img543.imageshack.us/img543/255/bebot.png)
I'm playing on the Wiccana server, all directions were followed as explained in the read me/wiki page.
-
that would be a php config error, your php time isn't set properly.
-
Any suggestions on how to fix it?
I am using the default AOChat.php as I assumed it would have no errors.
-
its actually not bebot that needs fixed, its the php version your using.
-
I'm using the latest version. Should I revert to a later one?
-
Warning: trigger_error(): It is not safe to rely on the system's timezone settings.
You are *required* to use date.timezone settings or the date_default_timezone_set() function.
In case you used any of those methods and youa re still getting this warning, you most likely misspelled the timezone identifier.
We selected "America/Los_Angeles" for "-7.0/DST" instead inf C:\BeBot\Sources\AOChat.php on line 204
This error is PHP related.
Fix your "date.timezone" settings in php.ini or "date_default_timezone_set" in "BeBot/Main.php" line 54
More about timezone in php: http://php.net/manual/en/function.date-default-timezone-set.php
And supported timezones: http://www.php.net/manual/en/timezones.php
You may have two problems, but start with fixing your time error.
-
There is no timezone in either of those files.
-
are you using the standard documentation php setup?
I personally don't have much experience with php on windows, I will go over the documentation and try and give you a better response.
edit:
Something looks strange.. Is your bebot download recent? try re-downloading the latest version.
In my version I see nothing in AOChat.php about timezones, rather in Main.php on like 54-55 I have this:
// Set the time zone to UTC
date_default_timezone_set('UTC');