[SOLVED] Graphs exist but cannot be viewed in tree view mode

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

rhart211
Posts: 25
Joined: Thu Jun 14, 2007 2:52 pm

Post by rhart211 »

Forgot page source.
Attachments
graph_view.txt
(22.69 KiB) Downloaded 77 times
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Edit include/global.php and initialize the variable $config["url_path"].

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
rhart211
Posts: 25
Joined: Thu Jun 14, 2007 2:52 pm

Post by rhart211 »

What do you mean by this?
initialize the variable $config["url_path"]
How do I initialize a variable?


I have the following in include/global.php:

Code: Select all

$config['url_path'] = '/';
Thanks.
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Well, if Cacti is installed in /var/www/html/cacti (RedHat), or /srv/www/htdocs/cacti (SUSE), you need to change to $config['url_path'] = "/cacti/";

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
rhart211
Posts: 25
Joined: Thu Jun 14, 2007 2:52 pm

Post by rhart211 »

well I don't see how this would fix the issue. I am running Ubuntu 8.04.2. I have cacti installed at /usr/share/cacti/ and I have apache2 setup so that the documentroot is /usr/share/cacti/. In the Browser all i have to do it enter http://localhost/ and it takes me to the cacti login.
rhart211
Posts: 25
Joined: Thu Jun 14, 2007 2:52 pm

Post by rhart211 »

I forgot to add..

That is why this is set the way it is.

Code: Select all

$config['url_path'] = '/';
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest