| Author |
Message |
|
Iceman
|
 Plugin Architecture
Hi all,
I've just installed Plugin Architecture and nothing happened!!
I have Cacti 0.8.6g (updated from other old versions)
I used prepatched files 0.8.6g:
"cp -r files-0.8.6g/* /to/my/cactidir/"
After this, i extracted monitor and thold in plugins subdir.
Edited include/config.php and modified:
$plugins = array();
$plugins[] = 'thold';
$plugins[] = 'monitor';
Nothing happened!!
Cacti works like if i have done anything!!
What to do?
|
| Mon Nov 14, 2005 11:07 am |
|
 |
|
jimmy
Site Admin
Joined: Thu Nov 11, 2004 11:12 am Posts: 2007
|
 Re: Plugin Architecture
Iceman wrote: Hi all, I've just installed Plugin Architecture and nothing happened!! I have Cacti 0.8.6g (updated from other old versions) I used prepatched files 0.8.6g: "cp -r files-0.8.6g/* /to/my/cactidir/"
After this, i extracted monitor and thold in plugins subdir. Edited include/config.php and modified: $plugins = array(); $plugins[] = 'thold'; $plugins[] = 'monitor';
Nothing happened!! Cacti works like if i have done anything!! What to do?
First question, have you added yourself to the permissions for these Plugins?
|
| Mon Nov 14, 2005 11:38 am |
|
 |
|
Guest
|
I can't see any permissions in user manager...
It seems that it is not installed
|
| Mon Nov 14, 2005 11:58 am |
|
 |
|
jimmy
Site Admin
Joined: Thu Nov 11, 2004 11:12 am Posts: 2007
|
Anonymous wrote: I can't see any permissions in user manager... It seems that it is not installed
What does the contents of your Plugins folder look like, are there directories like
\cact\plugins\thold\
or did it extract and extra directory under them like
\cacti\plugins\thold\thold\
As that has happened to several people before. One way or the other, we will get to the bottom of it.
|
| Mon Nov 14, 2005 12:08 pm |
|
 |
|
Iceman
|
obviously /cacti/plugins/thold
|
| Mon Nov 14, 2005 12:16 pm |
|
 |
|
Iceman
|
No one else can help me?
Sigh!
|
| Tue Nov 15, 2005 8:30 am |
|
 |
|
jimmy
Site Admin
Joined: Thu Nov 11, 2004 11:12 am Posts: 2007
|
Iceman wrote: No one else can help me? Sigh!
The hard thing is being able to figure out what is actually happening, when you can't look or touch the files. From the short description you gave, everything should be working perfectly, but its not.
If you editted config.php and it already had the proper places to modify. You could start off by double checking each file to ensure that they properly moved over. You could also try a little debug code to see if the plugins are even being included.
Try opening plugins/thold/setup.php and this code right after the <?php
Code: print "Thold is being included!<br><br>"; exit;
Once you save that, go browse through a few pages in Cacti, if nothing happens then the plugins aren't being loaded. If that is the case, we will try debugging include/plugins.php
|
| Tue Nov 15, 2005 9:47 am |
|
 |
|
Guest
|
Ok, i tried to include your two lines in different files.
In plugins folder, nothing happen if i try in setup.php of each thold or monitor folder.
Same thing in index.php of plugins folder.
In include folder both config.php and plugins.php returns white page with two lines.
I don't know what to do...
|
| Tue Nov 15, 2005 12:13 pm |
|
 |
|
evilgrin
New User
Joined: Wed Oct 12, 2005 10:53 am Posts: 12
|
Have you checked the permissions on the files themselves, perhaps they're owned by the wrong user and group?
|
| Tue Nov 15, 2005 2:02 pm |
|
 |
|
iceman
New User
Joined: Tue Nov 15, 2005 12:38 pm Posts: 2
|
:D ... do you think i am newbie?! :D
It was the first thing i checked
I will try to give chmod 777 to all files/folders...
|
| Tue Nov 15, 2005 2:38 pm |
|
 |
|
iceman
New User
Joined: Tue Nov 15, 2005 12:38 pm Posts: 2
|
I resolved.
It was the plugins directory that had "only" 604. I put it in 755 and now everything works!
I am pretty sure i put it in 644 in the past... can't understand who changed it...
|
| Wed Nov 16, 2005 5:40 am |
|
 |
|
evilgrin
New User
Joined: Wed Oct 12, 2005 10:53 am Posts: 12
|
Glad it worked out for you, I have had similar problems with other apps in the past, so I figured it couldn't hurt to suggest.
|
| Wed Nov 16, 2005 2:14 pm |
|
|