header images/links not work from plugin pages

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
krypsys
Posts: 44
Joined: Thu Jul 06, 2006 4:30 pm

header images/links not work from plugin pages

Post by krypsys »

Hello...been researching the forums, but have not found a similar issue...running version h Cacti code on FC3, graphs working, plugin architecture installed, Monitor & Weathmap installed and functioning, however, the images & links of the header frame do not appear because 'whatever generates the page' is apparently looking for http://server/cacti/plugins/weathermap/ ... eathermap/[/b]images/<filename>.png.

I have the same issue with the Monitor plugin.

Similarly, if I click the plugin tab, it fails because it's going to the same incorrect path (the additional /plugins/<plugin-name>/).

I am guessing something is getting 'passed' to the top_header.php file when that is created, but I'm having a difficult time 'reading' the php code...

Hope to find some help here. I am definitely impressed with this community from all the help I've already found just reading.
Attachments
notice the additional /plugins/weathermap in the URL...where is this coming from?
notice the additional /plugins/weathermap in the URL...where is this coming from?
weathermap.png (30.83 KiB) Viewed 2914 times
krypsys
Posts: 44
Joined: Thu Jul 06, 2006 4:30 pm

Post by krypsys »

me, again...just realized I should have probably posted this in the 'addons' section and not the '*nix' section...sorry for the misplacement...
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Have a look in the config.php

There's a line added by the Plugin Architecture that allows (requires) you to specify the URI for your Cacti install. This sounds like a problem with that.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
krypsys
Posts: 44
Joined: Thu Jul 06, 2006 4:30 pm

another thought?

Post by krypsys »

I definitely thought that might be it (from reading about how to install the plugin architecture, that line is definitely important).

The URL I go to (in the web browser) is
http://hostname/cacti

so in my include/config.php, I set it to:

$config["url_path"] = '/cacti/';

Is there another place I need it?

Is there some way to 'reload' the config.php file, or does it do it everytime the page is loaded?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest