vTiger CRM Support

Deprecated: Function session_unregister() is deprecated in /modules/Users/Authenticate.php on line 70, 71, 72

July 18, 2013
Article
The errors below most likely are caused by the PHP5.3, you might get something like below if you upgrade to PHP5.3 Deprecated: Function session_unregister() is deprecated in /modules/Users/Authenticate.php on line 70 Deprecated: Function session_unregister() is deprecated in /modules/Users/Authenticate.php on line 71 Deprecated: Function session_unregister() is deprecated in /modules/Users/Authenticate.php on line 72 In order to fix it, you will need to replace lines 70,71,72 from: session_unregister(‘login_password’); session_unregister(‘login_error’); session_unregister(‘login_user_name’); To: unset($_SESSION[‘login_password’]); unset($_SESSION[‘login_error’]); unset($_SESSION[‘login_user_name’]);

Deprecated: Assigning the return value of new by reference is deprecated in /adodb/adodb-xmlschema.inc.php on line 373, 385

July 18, 2013
Article
The errors below most likely are caused by the PHP5.3, you might get something like below if you upgrade to PHP5.3 Deprecated: Assigning the return value of new by reference is deprecated in /adodb/adodb-xmlschema.inc.php on line 373 Deprecated: Assigning the return value of new by reference is deprecated in /adodb/adodb-xmlschema.inc.php on line 385 Add ini_set(‘display_errors’,0); error_reporting(0); to index.php in vtigercrm root directory. This will suppress the errors. Go to the lines 373, 385 and replace “=&” with “=” (removed &). It should fix the errors.