Errors on all plugins
Moderators: Developers, Moderators
Errors on all plugins
hi to all,
i have installed cacti 0.8.7g on Centos 5.6 with Plugin Architecture Version: 2.8.
Now everything seems to be working ok but when I try to access my plugin tabs ( NPC, Thold, Discovery ) I get errors like :
The requested URL /cacti/plugins/npc/plugins/npc/npc.php was not found on this server.
The requested URL /cacti/plugins/thold/plugins/thold/thold_graph.php was not found on this server.
The requested URL /cacti/plugins/discovery/plugins/discovery/discover.php was not found on this server.
The apache logs show errors like:
File does not exist: /var/www/cacti/plugins/discovery/images/button_go.gif, referer: http://X.X.X.X/cacti/plugins/discovery/discover.php
Cacti is working fine an graphs are generated correctly. The issue seems to be relevant to the plugins. Some sort of configuration as if somehow the base directory is not recognized.
This is very frustrating and I can't solve it.
Any help will be appreciated.
bb
i have installed cacti 0.8.7g on Centos 5.6 with Plugin Architecture Version: 2.8.
Now everything seems to be working ok but when I try to access my plugin tabs ( NPC, Thold, Discovery ) I get errors like :
The requested URL /cacti/plugins/npc/plugins/npc/npc.php was not found on this server.
The requested URL /cacti/plugins/thold/plugins/thold/thold_graph.php was not found on this server.
The requested URL /cacti/plugins/discovery/plugins/discovery/discover.php was not found on this server.
The apache logs show errors like:
File does not exist: /var/www/cacti/plugins/discovery/images/button_go.gif, referer: http://X.X.X.X/cacti/plugins/discovery/discover.php
Cacti is working fine an graphs are generated correctly. The issue seems to be relevant to the plugins. Some sort of configuration as if somehow the base directory is not recognized.
This is very frustrating and I can't solve it.
Any help will be appreciated.
bb
SOLVED Re: Errors on all plugins
just had to apply patches!!
Re: Errors on all plugins
Can you describe how you applied the patches? I've tried before and every time I run into errors.
-
- Posts: 1
- Joined: Tue May 03, 2011 6:19 pm
Re: Errors on all plugins
I have applied the latest patches successfully as suggested and I am still having the same issue as mentioned above. Any other suggestions?
Re: Errors on all plugins
I'm having the same error here too. Just set it up today and none of the plugins work.
Fresh install of 0.8.7g and PA 2.8
Thold, monitor, nectar, RRDclean, etc.
For those plugins with tabs, the tabs seem to point to /cacti/plugins/<plugin name>/plugins/<plugin name>/xxx.php
which doesn't exist so obviously we get an error.
/includes/config.php doesn't contain any links to point to the cacti base install directory in apache2
patched the system but except for these two that fail, everything else patched OK.
graph_list_view.patch
html_output.patch
Fresh install of 0.8.7g and PA 2.8
Thold, monitor, nectar, RRDclean, etc.
For those plugins with tabs, the tabs seem to point to /cacti/plugins/<plugin name>/plugins/<plugin name>/xxx.php
which doesn't exist so obviously we get an error.
/includes/config.php doesn't contain any links to point to the cacti base install directory in apache2
Code: Select all
*/
/* make sure these values refect your actual database/host/user/password */
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cacti";
$database_port = "3306";
/* Default session name - Session name must contain alpha characters */
#$cacti_session_name = "Cacti";
?>
graph_list_view.patch
html_output.patch
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Errors on all plugins
First of all, PIA 2.9 has been released quite a while ago: http://forums.cacti.net/viewtopic.php?f=19&t=40385
Second, you should try adding the following to your config.php file
Second, you should try adding the following to your config.php file
Code: Select all
/*
Edit this to point to the default URL of your Cacti install
ex: if your cacti install as at http://serverip/cacti/ this
would be set to /cacti/
*/
$url_path = "/cacti/";
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
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
Re: Errors on all plugins
Thanks Phalek,phalek wrote:First of all, PIA 2.9 has been released quite a while ago: http://forums.cacti.net/viewtopic.php?f=19&t=40385
Second, you should try adding the following to your config.php file
Code: Select all
/* Edit this to point to the default URL of your Cacti install ex: if your cacti install as at http://serverip/cacti/ this would be set to /cacti/ */ $url_path = "/cacti/";
That piece of code solved the issue.
Who is online
Users browsing this forum: No registered users and 4 guests