Deprecated PHP Warnings after Confixx upgrade to 3.3.9

Written by - 1 comments

Published on December 15th 2011 - Listed in Linux PHP


I just made a test upgrade of Confixx from version 3.3.8 to 3.3.9. The update itself went smooth, but as soon as I tried to log in to the Confixx UI, it hit me:

Notice: Undefined variable: db_link_identifier in /var/www/confixx/html/include/mysql_client_encoding.php on line 13 Deprecated: Function session_is_registered() is deprecated in /var/www/confixx/html/sessions.inc.php on line 41 Deprecated: Function session_is_registered() is deprecated in /var/www/confixx/html/sessions.inc.php on line 47 Deprecated: Function session_is_registered() is deprecated in /var/www/confixx/html/sessions.inc.php on line 52 Deprecated: Function session_is_registered() is deprecated in /var/www/confixx/html/admin/auth.php on line 151 Notice: Undefined variable: ret_path in /var/www/confixx/html/admin/auth.php on line 270

These errors come from the PHP code from certain Confixx files which use old ways of declaring a variable.
To solve these problems, you have to open the following files:
/var/www/confixx/html/include/class.Mysql.php
/var/www/confixx/html/admin/auth.ph

Remove the ampersand (&) sign from all variable declarations:

= &

After this change and by setting display_errors to Off, the warnings will disappear and the login will work again.


Add a comment

Show form to leave a comment

Comments (newest first)

R from vie wrote on Mar 5th, 2015:

thanks so much for sharing this - indeed helped me to fix all those server errors!