Please help to solve the problem

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

100matolog
Posts: 41
Joined: Sun Dec 20, 2009 3:15 am
Location: Kiev

Please help to solve the problem

Post by 100matolog »

Please help
Every time, when I add new plug-in - I see the following error

Code: Select all

Notice: Undefined index: action in /usr/local/share/cacti/include/top_graph_header.php on line 151
Cacti version - Version 0.8.7e
Attachments
Picture 1.png
Picture 1.png (107 KiB) Viewed 6854 times
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

First, the value of "$config["url_path"]" in your global.php is wrong. Second, you need to provide more details about this "plugin".

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?
100matolog
Posts: 41
Joined: Sun Dec 20, 2009 3:15 am
Location: Kiev

Post by 100matolog »

TheWitness wrote:First, the value of "$config["url_path"]" in your global.php is wrong. Second, you need to provide more details about this "plugin".

TheWitness
1.It's a THOLD plugin
2.I have Apache with virtual hosts. Cacti one of them
3. Value of "$config["url_path"]" is - $config['url_path'] = 'http://cacti.site.com/';
4. Cacti virtual host config

Code: Select all

<VirtualHost *>
    ServerName cacti.site.com
    ServerAdmin webmaster@site.com
    DocumentRoot /usr/local/share/cacti/
    DirectoryIndex index.html index.phtml index.php
    #SuexecUserGroup m6p m6p

    <Directory "/usr/local/share/cacti/">
        Options FollowSymLinks
        #Options ExecCGI
        #AllowOverride AuthConfig Limit
        AllowOverride all
        Order allow,deny
        Allow from all
    </Directory>


    ErrorLog /var/log/apache2/cacti/error_log
</VirtualHost>
100matolog
Posts: 41
Joined: Sun Dec 20, 2009 3:15 am
Location: Kiev

Post by 100matolog »

Any idea?
changht
Posts: 1
Joined: Mon Dec 28, 2009 3:36 am

Post by changht »

I had the same problem either, but when I changed the value in "utilities->user management->admin->graph settings->tree view mode->default tree view mode" from "dual pane" to "single pane", I found the problem dispeared. Hope the method can help you. :D
100matolog
Posts: 41
Joined: Sun Dec 20, 2009 3:15 am
Location: Kiev

Post by 100matolog »

changht wrote:I had the same problem either, but when I changed the value in "utilities->user management->admin->graph settings->tree view mode->default tree view mode" from "dual pane" to "single pane", I found the problem dispeared. Hope the method can help you. :D
Thanks - but it's not help
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Maybe you should change the url_path to:

Code: Select all

$config['url_path'] = '/';
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
100matolog
Posts: 41
Joined: Sun Dec 20, 2009 3:15 am
Location: Kiev

Post by 100matolog »

phalek wrote:Maybe you should change the url_path to:

Code: Select all

$config['url_path'] = '/';
this method does not work.
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If you web site is at http://somewhereinttimeandspace/cacti/index.php, then your config["url_path"] needs to be "/cacti/". Then your problem is solved.

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?
100matolog
Posts: 41
Joined: Sun Dec 20, 2009 3:15 am
Location: Kiev

Post by 100matolog »

TheWitness wrote:If you web site is at http://somewhereinttimeandspace/cacti/index.php, then your config["url_path"] needs to be "/cacti/". Then your problem is solved.

TheWitness
Comrade, you read my config host and properly understood? I gave a direct domain name for this service(cacti). www.cacti.site.com without any /cacti/ or share/cacti/
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Yes, doubling back on the post, I see that you attempted this. Please use Firefox and install Firebug to investigate why your CSS is not properly being loaded. Firebug will help you very much, once you understand it's use.

The setting of

Code: Select all

config["url_path"] = '/';
Should have solved your problem.

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?
100matolog
Posts: 41
Joined: Sun Dec 20, 2009 3:15 am
Location: Kiev

Post by 100matolog »

TheWitness wrote:Yes, doubling back on the post, I see that you attempted this. Please use Firefox and install Firebug to investigate why your CSS is not properly being loaded. Firebug will help you very much, once you understand it's use.

The setting of

Code: Select all

config["url_path"] = '/';
Should have solved your problem.

TheWitness
Ok. I'll try to install firefox plugin. And also I tried use the "/" -it's not help's
tripxie
Posts: 5
Joined: Thu Jun 11, 2009 3:20 am

Post by tripxie »

Same problem.
urban
Posts: 29
Joined: Thu Aug 04, 2005 6:33 am

Post by urban »

same problem here.

the normal cacti interface works fine, only the plugins have this problem[/code]
urban
Posts: 29
Joined: Thu Aug 04, 2005 6:33 am

Post by urban »

Code: Select all

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /cacti/plugins/thold/include/main.css was not found on this server.</p>
<hr>
<address>Apache/2.2.12 (Ubuntu) Server at xxx Port 80</address>
</body></html>
a special ubuntu problem?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests