Gossamer Forum
Quote Reply
GT::Plugins
Hi..I'm just working on the Add_Category plugin, but I'm having a problem with accessing the sub routines from within the pm file. The code in add-cat.cgi I am using is;


GT::Plugins->dispatch ($CFG->{admin_root_path} . '/Plugins', 'user_add_cat', \&Plugins::Add_Category::add);

I'm getting the error;

A fatal error has occured:

Undefined subroutine &Plugins::Add_Category::add called at /home/.vaccaro/aceinst/ace-host.com/cgi/admin/GT/Plugins.pm line 91.

Please enable debugging in setup for more details.


Any ideas?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread GT::Plugins Andy 1607 Sep 30, 2002, 4:15 AM
Thread Re: [Andy] GT::Plugins
Paul 1544 Sep 30, 2002, 4:28 AM
Post Re: [Paul] GT::Plugins
Andy 1547 Sep 30, 2002, 5:12 AM