| View previous topic :: View next topic |
| Author |
Message |
wisenuts New User
Joined: 26 Apr 2008 Posts: 2
|
Posted: Sat Apr 26, 2008 9:58 am Post subject: Plugin architecture problem |
|
|
HELP! just recently i learned about the plugin architecture that you can add to cacti. I am running 0.8.7.b. install went fine. When i ran the patch file now i get this error when loggin into my cacti server
Fatal error: Call to undefined function api_plugin_hook() in /usr/share/cacti/site/include/global_arrays.php on line 620
THanks in advance.
Running on 8.04 ubuntu
|
|
| Back to top |
|
 |
jimmy Site Admin
Joined: 11 Nov 2004 Posts: 1560
|
Posted: Sat Apr 26, 2008 10:03 pm Post subject: |
|
|
Were there any errors during patching?
Use the override files instead of the patch and see if that helps.
|
|
| Back to top |
|
 |
wisenuts New User
Joined: 26 Apr 2008 Posts: 2
|
Posted: Sun Apr 27, 2008 12:21 am Post subject: did that |
|
|
there were a couple of errors when i ran the patch. So then i ran the "pre patched" files and still getting the same errors.. from the looks of it it seems like a small snippet of code that i need to edit but i don't know php at all...
Thanks for the help!!!!
|
|
| Back to top |
|
 |
gtoruno New User
Joined: 31 Jul 2008 Posts: 2
|
Posted: Thu Jul 31, 2008 12:10 pm Post subject: Plugin architecture problem |
|
|
I got the same problem, does anybody have a solution for this.
Thanks
|
|
| Back to top |
|
 |
jimmy Site Admin
Joined: 11 Nov 2004 Posts: 1560
|
Posted: Thu Jul 31, 2008 5:25 pm Post subject: |
|
|
| You ran the prepatched files? You should override your current files with them.
|
|
| Back to top |
|
 |
gtoruno New User
Joined: 31 Jul 2008 Posts: 2
|
Posted: Fri Aug 01, 2008 8:09 am Post subject: Plugin architecture problem |
|
|
Iran the diff file and also the pre-patch, with the diff file I got the error:
Call to undefined function api_plugin_hook()
for the pre patch I got :
Invalid PHP_SELF Path
I'm not an expert, but I did the installation three times and I got the same results.
Thanks for your help
|
|
| Back to top |
|
 |
nationals New User
Joined: 25 Aug 2008 Posts: 8
|
Posted: Tue Sep 02, 2008 8:19 am Post subject: |
|
|
| http://forums.cacti.net/viewtopic.php?t=28848
|
|
| Back to top |
|
 |
|