I just transfer my cms to new os server which as below:
Apache24 PHP5.5.14 MySql
When I login to management area with username and password on /index.php I press submit the page redirect to same page with blank page with showing number '1' on that page. Basicly it will redirect to main/manage.php .
I check php error log and found as below:
PHP Notice: Use of undefined constant TIME_LOCAL_TIME - assumed 'TIME_LOCAL_TIME' in J:\WebDocs\gad\manage\index.php on line 15
Here is php code start with line 10 to 17
{
$userId = getSessionArrayValue('UserId');
$ip = getServerArrayValue('REMOTE_ADDR');
$action = "Logged in user name: $username";
$db->addlog($userId, $ip, $action, TIME_LOCAL_TIME);
redirect("main/manage.php");
}
Is this issues relate to php version? what should I do to fix this.