Hi there,
Ubuntu 17.10 uses PHP 7.1 (therefore I had to activate PHP7.1 manually (a2enmod php7.1) for my mediawiki installation and stuff) and cacti was upgraded automatically to 1.1.8 (from the old 0.8.x). Great!
I can log in cacti and see the frameset. But clicking on "Graphs" results in downloadung the php-source-file instead of showing the graphs.
At the moment I have no clue where to look, can anyone help?
Thx,
Sven
SOLVED Trouble after Upgrade from Ubuntu 17.04 to 17.10
Moderators: Developers, Moderators
SOLVED Trouble after Upgrade from Ubuntu 17.04 to 17.10
Last edited by seveny13 on Mon Oct 30, 2017 2:47 am, edited 1 time in total.
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Trouble after Upgrade from Ubuntu 17.04 to 17.10
Do you see sensible configuration in /etc/apache2/conf-available/cacti.conf ? Is that configuration enabled?seveny13 wrote:I can log in cacti and see the frameset. But clicking on "Graphs" results in downloadung the php-source-file instead of showing the graphs.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
SOLVED Re: Trouble after Upgrade from Ubuntu 17.04 to 17.10
Hi Paul,
UPDATE It works now, with changing anything... Maybe a cache thingy? Strange, but I am happy now.
The strange thing is, that the other *.php files (and graphs in the diagram section) are showing correctly in the browser (firefox 56.0.2 on MacOSx) just not the graphs_view.php.
The file is there, wasn' t change since march 2016, as it seems:
UPDATE It works now, with changing anything... Maybe a cache thingy? Strange, but I am happy now.
The strange thing is, that the other *.php files (and graphs in the diagram section) are showing correctly in the browser (firefox 56.0.2 on MacOSx) just not the graphs_view.php.
The file is there, wasn' t change since march 2016, as it seems:
Code: Select all
Alias /cacti /usr/share/cacti/site
<Directory /usr/share/cacti/site>
Options +FollowSymLinks
AllowOverride None
<IfVersion >= 2.3>
Require all granted
</IfVersion>
<IfVersion < 2.3>
Order Allow,Deny
Allow from all
</IfVersion>
AddType application/x-httpd-php .php
<IfModule mod_php.c>
php_flag magic_quotes_gpc Off
php_flag short_open_tag On
php_flag register_globals Off
php_flag register_argc_argv On
php_flag track_vars On
# this setting is necessary for some locales
php_value mbstring.func_overload 0
php_value include_path .
</IfModule>
DirectoryIndex index.php
</Directory>
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: SOLVED Re: Trouble after Upgrade from Ubuntu 17.04 to 17
I experienced something similar the other day with another website I control. Using a different browser (at the same time) did not show the issue, so in my case I was convinced that my local browser cache was playing tricks on me.seveny13 wrote:The strange thing is, that the other *.php files (and graphs in the diagram section) are showing correctly in the browser (firefox 56.0.2 on MacOSx) just not the graphs_view.php.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Who is online
Users browsing this forum: No registered users and 5 guests