Deprecated PHP Warnings after Confixx upgrade to 3.3.9

Written by - 1 comments

Published on - 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!


RSS feed

Blog Tags:

  AWS   Android   Ansible   Apache   Apple   Atlassian   BSD   Backup   Bash   Bluecoat   CMS   Chef   Cloud   Coding   Consul   Containers   CouchDB   DB   DNS   Database   Databases   Docker   ELK   Elasticsearch   Filebeat   FreeBSD   Galera   Git   GlusterFS   Grafana   Graphics   HAProxy   HTML   Hacks   Hardware   Icinga   Icingaweb   Icingaweb2   Influx   Internet   Java   KVM   Kibana   Kodi   Kubernetes   LVM   LXC   Linux   Logstash   Mac   Macintosh   Mail   MariaDB   Minio   MongoDB   Monitoring   Multimedia   MySQL   NFS   Nagios   Network   Nginx   OSSEC   OTRS   Office   PGSQL   PHP   Perl   Personal   PostgreSQL   Postgres   PowerDNS   Proxmox   Proxy   Python   Rancher   Rant   Redis   Roundcube   SSL   Samba   Seafile   Security   Shell   SmartOS   Solaris   Surveillance   Systemd   TLS   Tomcat   Ubuntu   Unix   VMWare   VMware   Varnish   Virtualization   Windows   Wireless   Wordpress   Wyse   ZFS   Zoneminder   


Update cookies preferences