PIA seems to be doubling the path for some reason

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
cdooer
Posts: 6
Joined: Wed Oct 06, 2010 10:07 am

PIA seems to be doubling the path for some reason

Post by cdooer »

Hello. I recently updated my Cacti installation to 0.8.7h, and the PIA to 3.0. There seem to be some strange things going on, namely the doubling up of the path in the browser for most plug-ins. See the attached pic. Anyone ever seen this before? Its causing all of the images to stop working within the plug-in areas as well, since its looking for them in /pluginname/images/ instead of /cacti/images.
Attachments
Addressbar2.png
Addressbar2.png (9.66 KiB) Viewed 2933 times
Addressbar.png
Addressbar.png (9.49 KiB) Viewed 2933 times
Last edited by cdooer on Mon Dec 12, 2011 10:38 am, edited 2 times in total.
cdooer
Posts: 6
Joined: Wed Oct 06, 2010 10:07 am

Re: PIA seems to be doubling the path for some reason

Post by cdooer »

Sorry, figured it out. Forgot to change the $url_path = "/"; setting to reflect the proper path.
cdooer
Posts: 6
Joined: Wed Oct 06, 2010 10:07 am

Re: PIA seems to be doubling the path for some reason

Post by cdooer »

It looks a lot better now, but I'm getting "Error: Save Failed: Field Input Error (Check Red Fields)." when I try and create a new report, and the browser is telling me the following;

Message: 'cformat' is null or not an object
Line: 83
Char: 3
Code: 0
URI: http://cactiservername/cacti/plugins/ne ... =edit&id=0

Any ideas?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: PIA seems to be doubling the path for some reason

Post by TheWitness »

Which Nectar version?
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?
cdooer
Posts: 6
Joined: Wed Oct 06, 2010 10:07 am

Re: PIA seems to be doubling the path for some reason

Post by cdooer »

The latest, 0.35a.
Attachments
Version.png
Version.png (9.04 KiB) Viewed 2923 times
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: PIA seems to be doubling the path for some reason

Post by TheWitness »

What browser and version?
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?
cdooer
Posts: 6
Joined: Wed Oct 06, 2010 10:07 am

Re: PIA seems to be doubling the path for some reason

Post by cdooer »

It happens with both browsers I've tried, Chrome and IE.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: PIA seems to be doubling the path for some reason

Post by TheWitness »

Open a plugin bug at http://bugs.cacti.net. Include the details.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest