Header RSS Feed
 
If you only want to see the articles of a certain category, please click on the desired category below:
ALL Android Backup BSD Database Hacks Hardware Internet Linux Mail MySQL Monitoring Network Personal PHP Proxy Shell Solaris Unix Virtualization VMware Windows Wyse

Deprecated PHP Warnings after Confixx upgrade to 3.3.9
Thursday - Dec 15th 2011 - by - (1 comments)

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!


Go to Homepage home
Linux Howtos how to's
Monitoring Plugins monitoring plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

7573 Days
until Death of Computers
Why?