the URLs of plugins are wrong

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
csalp
Posts: 2
Joined: Sat Mar 31, 2012 9:05 pm

the URLs of plugins are wrong

Post by csalp »

i install cacti-0.8.7h on Centos5.5, and i still install monitor, weathermap and settings plugins for this cacti, my weathermap's version is 0.97a and monitor's verions is 1.3, and setttings' version is 0.71. But, when i login and click weathermap tab, i get problem that all urls except Console are wrong. the url http://202.127.207.241/cacti/user_admin.php becomes http://202.127.207.241/cacti/plugins/we ... _admin.php after weathermap tab was clicked. i can't solve it, and want to known why it happens?

my weathermap's configure

Code: Select all

<?php
//$cacti_base = 'C:/httpd-.2_x64/htdocs/cacti';
// $cacti_base = "/var/www/html/cacti";
$cacti_base="/var/www/cacti-0.8.7h/";
$cacti_url = "http://202.127.207.241/cacti/";
 $mapdir= $cacti_base.'/plugins/weathermap/configs'; 
//$mapdir='configs';
$ignore_cacti = FALSE;
?>
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: the URLs of plugins are wrong

Post by gandalf »

Did you apply the required change to include/config.php regarding the $url_path?
R.
csalp
Posts: 2
Joined: Sat Mar 31, 2012 9:05 pm

Re: the URLs of plugins are wrong

Post by csalp »

gandalf wrote:Did you apply the required change to include/config.php regarding the $url_path?
R.
thanks, i set $url_path='/cacti/' in global.php and the problem is settled, thanks a lot!
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests