With PHP 5.4 onwards the session_unregister function is removed. This means that you will get a “Fatal error: Call to undefined function session_unregister()”
vTiger 5.4 (the version number is just happen stance and has no relation to the PHP version number) code needs the following cludge to get around this. In /modules/Users/Authenticate.php around about line 69 then do the following change,
//Security related entries end // TODO: session_unregister was removed in php 5.4.0 so must remove this backwards compatibility switch. if (function_exists('session_unregister')) { session_unregister('login_password'); session_unregister('login_error'); session_unregister('login_user_name'); } else { unset($_SESSION['login_password']); unset($_SESSION['login_error']); unset($_SESSION['login_user_name']); }