I already searched the forums and read all the threads referencing the problem, but found no solution yet.
I did a manual installation of Cacti on Ubuntu 16.04, since the apt-get version is 0.8.8f with some things not working.
Infos:
apache 2, php7, mysql 5.7, snmp, snmpd and rrdtools 1.5.x installed with apt-get.
Followed the installationguide from cacti website. Installpath is /var/www/html/cacti
Skipped the database user step and used the mysql root user for connection to cacti database. Imported the cacti.sql without any problems after I fixed the sql-mode bug.
Now when I call the http://localhost/cacti there is only an empty page with no html source.
Did I miss anything?
EDIT:
Apache2 access log throws this
Code: Select all
127.0.0.1 - - [15/Jun/2016:19:58:42 +0200] "GET / HTTP/1.1" 500 364 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0"
127.0.0.1 - - [15/Jun/2016:19:58:42 +0200] "GET /favicon.ico HTTP/1.1" 404 501 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0"
127.0.0.1 - - [15/Jun/2016:19:58:42 +0200] "GET /favicon.ico HTTP/1.1" 404 500 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0"
Code: Select all
[Wed Jun 15 19:58:42.022393 2016] [:error] [pid 1568] [client 127.0.0.1:43918] PHP Parse error: syntax error, unexpected 'new' (T_NEW) in /var/www/html/cacti/lib/adodb/adodb.inc.php on line 866
Okay, solution was to downgrade PHP from 7.0 down to 5.6. I used this guide: http://askubuntu.com/questions/109404/h ... -supported
Be sure to uninstall PHP and PHP7 completly before you install the 5.6 version or you have to play around a bit before everything works.
Now I have another problem: No graphs, File not found, but I may find a solution for that or not.