asipto / siremis

Web Admin Interface for Kamailio
http://www.siremis.org
98 stars 47 forks source link

UCT date error #13

Closed block0xhash closed 7 years ago

block0xhash commented 7 years ago

Hi

I have set my system date to UCT but I am getting this error while trying to login for the first time with user admn and password admin:

[{"target":"ERROR","content":" \n[2017-04-02 22:10:13 (GMT)] An exception occurred while executing this script: \nError message: #2, 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone.<\/font> \nScript name and line number of error: \/var\/www\/siremis\/openbiz\/bin\/service\/logService.php:160<\/font> \n

function:<\/b> errorHandler ( 2, \"date(): It is not safe to rely on the system's timezone settings...\", \"\/var\/www\/siremis\/openbiz\/bin\/service\/logService.php\", 160, Array(8) ) @ \/var\/www\/siremis\/openbiz\/bin\/sysheader.inc 117\n function:<\/b> userErrorHandler ( 2, \"date(): It is not safe to rely on the system's timezone settings...\", \"\/var\/www\/siremis\/openbiz\/bin\/service\/logService.php\", 160, Array(8) ) @ \n function:<\/b> date ( \"m\/d\/Y\" ) @ \/var\/www\/siremis\/openbiz\/bin\/service\/logService.php 160\n function:<\/b> log ( 7, \"DATAOBJ\", \"Query Sql = SELECT T0.id, T0.username, T0.password, T0.enctype, ...\" ) @ \/var\/www\/siremis\/openbiz\/bin\/BizSystem.php 508\n function:<\/b> log ( 7, \"DATAOBJ\", \"Query Sql = SELECT T0.id, T0.username, T0.password, T0.enctype, ...\" ) @ \/var\/www\/siremis\/openbiz\/bin\/data\/BizDataObj_Lite.php 438\n function:<\/b> _run_search ( Array(2) ) @ \/var\/www\/siremis\/openbiz\/bin\/data\/BizDataObj_Lite.php 345\n function:<\/b> fetchRecords ( \"[username]='admin' and status='1'\", Array(0), 1 ) @ \/var\/www\/siremis\/siremis\/modules\/service\/authService.php 98\n function:<\/b> authDBUser ( \"admin\", \"admin\" ) @ \/var\/www\/siremis\/siremis\/modules\/service\/authService.php 66\n function:<\/b> authenticateUser ( \"admin\", \"admin\" ) @ \/var\/www\/siremis\/siremis\/modules\/user\/form\/LoginForm.php 92\n function:<\/b> Login ( ) @ \/var\/www\/siremis\/openbiz\/bin\/BizController.php 310\n function:<\/b> invoke ( ) @ \/var\/www\/siremis\/openbiz\/bin\/BizController.php 110\n function:<\/b> dispatchRequest ( ) @ \/var\/www\/siremis\/openbiz\/bin\/BizController.php 32\n function:<\/b> include_once ( \"\/var\/www\/siremis\/openbiz\/bin\/BizController.php\" ) @ \/var\/www\/siremis\/siremis\/bin\/controller.php 6<\/div>\nPlease ask system administrator for help...<\/div>\n"}]

block0xhash commented 7 years ago

resolved by using Debian 8