FAQFAQ   SearchSearch   RegisterRegister   ProfileProfile   Log inLog in 

Plugin architecture problem

 
Post new topic   Reply to topic    CactiUsers.org Forum Index -> General
View previous topic :: View next topic  
Author Message
wisenuts
New User


Joined: 26 Apr 2008
Posts: 2

PostPosted: Sat Apr 26, 2008 9:58 am    Post subject: Plugin architecture problem Reply with quote

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
View user's profile
jimmy
Site Admin


Joined: 11 Nov 2004
Posts: 1560

PostPosted: Sat Apr 26, 2008 10:03 pm    Post subject: Reply with quote

Were there any errors during patching?

Use the override files instead of the patch and see if that helps.
Back to top
View user's profile Visit poster's website
wisenuts
New User


Joined: 26 Apr 2008
Posts: 2

PostPosted: Sun Apr 27, 2008 12:21 am    Post subject: did that Reply with quote

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
View user's profile
gtoruno
New User


Joined: 31 Jul 2008
Posts: 2

PostPosted: Thu Jul 31, 2008 12:10 pm    Post subject: Plugin architecture problem Reply with quote

I got the same problem, does anybody have a solution for this.

Thanks
Back to top
View user's profile
jimmy
Site Admin


Joined: 11 Nov 2004
Posts: 1560

PostPosted: Thu Jul 31, 2008 5:25 pm    Post subject: Reply with quote

You ran the prepatched files? You should override your current files with them.
Back to top
View user's profile Visit poster's website
gtoruno
New User


Joined: 31 Jul 2008
Posts: 2

PostPosted: Fri Aug 01, 2008 8:09 am    Post subject: Plugin architecture problem Reply with quote

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
View user's profile
nationals
New User


Joined: 25 Aug 2008
Posts: 8

PostPosted: Tue Sep 02, 2008 8:19 am    Post subject: Reply with quote

http://forums.cacti.net/viewtopic.php?t=28848
Back to top
View user's profile Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    CactiUsers.org Forum Index -> General All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Forums Sitemap