I've upgraded everything on my server : cacti, PIA and plugins
Cacti : from 0.8.7f to 0.8.7g
PIA : from 2.7 to 2.8
and many plugins : settings, aggregate, threshold, autom8, flowviewer
Since that, I've got a display issue : when I go to a plugin section, 'Threshold Templates' for example, i've got a 404 Not found error for all items of the page : main.css, all gif files etc., except the page first concerned : thold_templates.php.
For the main.css, for example, it tries to find it to http://cacti.odiso.com/plugins/thold/include/main.css instead of http://cacti.odiso.com/plugins/thold/include/main.css.
It's the same for every images, and even for every links in the page. Therefore, if I then try to return back on the graph management page for example, it tries to go to http://cacti.odiso.com/plugins/thold/graphs.php instead of http://cacti.odiso.com/graphs.php
I've got this issue for every plugins pages
Anyone has an idea ? Thank you.
Screenshot to illustrate the issue :
404 not found on items after upgrading Cacti, PIA & Plugins
Moderators: Developers, Moderators
Re: 404 not found on items after upgrading Cacti, PIA & Plug
Problem solved : the variable $url_path was not defined in the conf.php...
Server1
Cacti : 0.8.7h | Architecture : 3.0
autom8 : 0.35 | aggregate : 0.75 | settings : 0.71 | thold : 0.4.7 | weathermap : 0.97a
Server2
Cacti : 0.8.7g | Architecture : 2.8
autom8 : 0.35 | aggregate : 0.75 | settings : 0.7 | thold : 0.4.3 | weathermap : 0.97a | flowview : 0.6
Cacti : 0.8.7h | Architecture : 3.0
autom8 : 0.35 | aggregate : 0.75 | settings : 0.71 | thold : 0.4.7 | weathermap : 0.97a
Server2
Cacti : 0.8.7g | Architecture : 2.8
autom8 : 0.35 | aggregate : 0.75 | settings : 0.7 | thold : 0.4.3 | weathermap : 0.97a | flowview : 0.6
Re: 404 not found on items after upgrading Cacti, PIA & Plug
Where is the conf.php file located? I have searched my entire /usr/share/cacti/site directory to no avail.
Thanks!
Thanks!
Re: 404 not found on items after upgrading Cacti, PIA & Plug
Ah, you must be referring to /usr/share/cacti/site/include/config.php, correct?
Re: 404 not found on items after upgrading Cacti, PIA & Plug
Hah, got it
What needed to be changed is the global.php file located in /usr/share/cacti/site/include.
Change from:
/* set URL path */
if (! isset($url_path)) {
$url_path = "";
}
To:
/* set URL path */
if (! isset($url_path)) {
$url_path = "/cacti/";
}
What needed to be changed is the global.php file located in /usr/share/cacti/site/include.
Change from:
/* set URL path */
if (! isset($url_path)) {
$url_path = "";
}
To:
/* set URL path */
if (! isset($url_path)) {
$url_path = "/cacti/";
}
Re: 404 not found on items after upgrading Cacti, PIA & Plug
Correct
Server1
Cacti : 0.8.7h | Architecture : 3.0
autom8 : 0.35 | aggregate : 0.75 | settings : 0.71 | thold : 0.4.7 | weathermap : 0.97a
Server2
Cacti : 0.8.7g | Architecture : 2.8
autom8 : 0.35 | aggregate : 0.75 | settings : 0.7 | thold : 0.4.3 | weathermap : 0.97a | flowview : 0.6
Cacti : 0.8.7h | Architecture : 3.0
autom8 : 0.35 | aggregate : 0.75 | settings : 0.71 | thold : 0.4.7 | weathermap : 0.97a
Server2
Cacti : 0.8.7g | Architecture : 2.8
autom8 : 0.35 | aggregate : 0.75 | settings : 0.7 | thold : 0.4.3 | weathermap : 0.97a | flowview : 0.6
Who is online
Users browsing this forum: No registered users and 3 guests