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!
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!