Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Bug Links3.0.1.: adding links from admin-panel

Quote Reply
Bug Links3.0.1.: adding links from admin-panel
Hi I've detected a possible bug, when adding links from the admin panel (Database > Links Add).
This doesn't work but an error occurs:


A fatal error has occured:

Undefined subroutine &Links::User::Add::_category_list called at /var/www/cgi-bin/shop/admin/Plugins/DuplicateURL.pm line 58.

Please enable debugging in setup for more details.

Stack Trace

======================================
Links (29555): Links::environment called at /var/www/cgi-bin/shop/admin/Links.pm line 700 with no arguments.
Links (29555): Links::fatal called at /var/www/cgi-bin/shop/admin/Plugins/DuplicateURL.pm line 58 with arguments
(Undefined subroutine &Links::User::Add::_category_list called at /var/www/cgi-bin/shop/admin/Plugins/DuplicateURL.pm line 58.
).
Links (29555): Plugins::DuplicateURL::check called at /var/www/cgi-bin/shop/admin/GT/Plugins.pm line 121 with arguments
(HASH(0x846020c)).
Links (29555): GT::Plugins::dispatch called at /var/www/cgi-bin/shop/admin/Links/Table/Links.pm line 88 with arguments
(GT::Plugins=HASH(0x82a65f4), add_link, CODE(0x84f298c), HASH(0x846020c)).
Links (29555): Links::Table::Links::add called at GT::SQL::Admin::add_record line 456 with arguments
(Links::Table::Links=HASH(0x844dca4), HASH(0x846020c)).
Links (29555): GT::SQL::Admin::add_record called at /var/www/cgi-bin/shop/admin/GT/SQL/Admin.pm line 121 with arguments
(Links::Admin=HASH(0x8440bc0)).
Links (29555): GT::SQL::Admin::process called at /var/www/cgi-bin/shop/admin/admin.cgi line 78 with arguments
(Links::Admin=HASH(0x8440bc0), db, GT::SQL=HASH(0x82dd308), cgi, GT::CGI=HASH(0x82a511c)).
Links (29555): main::db_request called at /var/www/cgi-bin/shop/admin/admin.cgi line 56 with no arguments.
Links (29555): main::main called at /var/www/cgi-bin/shop/admin/admin.cgi line 24 with no arguments.
System Information

======================================
Current user: apache (48)
Perl version: 5.6.1
Gossamer Links version: 3.0.1
GT::SQL version: 1.111
GT::Template version: 2.140
DBI.pm Version: 1.37


Any solutions?

Regards,
Manu

Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.

Last edited by:

ManuGermany: Apr 20, 2005, 11:57 PM
Quote Reply
Re: [ManuGermany] Bug Links3.0.1.: adding links from admin-panel In reply to
The plugin needs updating to work with Gossamer Links 3.0. You need to update it to use Links::Tools::category_list instead of Links::User::Add::_category_list (it really shouldn't have used it in the first place since it's technically a 'private' method).

Adrian
Quote Reply
Re: [brewt] Bug Links3.0.1.: adding links from admin-panel In reply to
Oops, ... too much work ...

I didn't realize that the error was in reason of a plugin (had tomatos on my eyes ;)

Thanks.

Regards,
Manu

Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.