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:
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.
R from vie wrote on Mar 5th, 2015:
thanks so much for sharing this - indeed helped me to fix all those server errors!
Personal Internet VMware PHP Linux Shell Bluecoat Proxy Windows Hardware Virtualization Nagios MySQL DB Monitoring Mail Android Network Wyse Hacks Tomcat Postgres Apple Mac Backup BSD ZFS Solaris SmartOS Unix Multimedia Perl Database MongoDB CMS OTRS FreeBSD Wordpress LXC Nginx Proxmox DNS Graphics GlusterFS Security Chef HAProxy Icinga Ansible HTML MariaDB Containers Rancher Docker AWS ELK Kibana Logstash Filebeat Varnish PGSQL PostgreSQL ElasticSearch CouchDB Bash Macintosh Container Minio Grafana InfluxDB Databases NFS OSSEC SystemD Java Zoneminder Surveillance Elasticsearch SSL TLS Icingaweb2 Cloud Wireless Kubernetes Ubuntu