- Code: Select all
[Sat Dec 28 23:27:10 2013] [error] [client 172.16.3.210] ojs2 has produced an error\n Message: WARNING: strtotime(): 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 'Asia/Tehran' for 'IRST/3.0/no DST' instead\n In file: /usr/local/www/apache22/data/ojs23/lib/pkp/classes/announcement/PKPAnnouncement.inc.php\n At line: 244\n Stacktrace: \n Server info:\n OS: FreeBSD\n PHP Version: 5.3.27\n Apache Version: Apache/2.2.25 (FreeBSD) PHP/5.3.27 with Suhosin-Patch mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2\n DB Driver: mysql\n DB server version: 5.5.33, referer: http://172.16.5.248/index.php?journal=site
How do I fix this error?