Gossamer Forum
Quote Reply
Unable to validate
Hello

We are using Glinks 3.1.
While validating new links, we are unable to Delete without reason or Delete and e-mail reason ..
when we check either option and hit validate, nothing happens to the link and it reappears as needing validation.


Any ideas?
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] Unable to validate In reply to
Anyone?
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] Unable to validate In reply to
This sounds like it might be related to your other delete issue. Have you tried disabling all the plugins that hook into the delete?

Adrian
Quote Reply
Re: [brewt] Unable to validate In reply to
Thank you

Yes I have..I disabled all hooks with the editor monitor and still had the same problem.
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] Unable to validate In reply to
Can you enable debugging, tail your errorlog and delete a category and send me the resulting log output? Thanks.

Adrian
Quote Reply
Re: [brewt] Unable to validate In reply to
Here it is

A fatal error has occured:GT::SQL::Table (1836): Wrong argument passed to this subroutine. Could not create a condition object out of arguments. at /path/var/www/cgi-bin/links/admin/Links/Table/Links.pm line 204.
Please enable debugging in setup for more details.Stack Trace======================================Links (1836): Links::environment called at /path/var/www/cgi-bin/links/admin/Links.pm line 712 with no arguments.Links (1836): Links::fatal called at GT::Base::error line 378 with arguments (GT::SQL::Table (1836): Wrong argument passed to this subroutine. Could not create a condition object out of arguments. at /path/var/www/cgi-bin/links/admin/Links/Table/Links.pm line 204. ).Links (1836): GT::Base::error called at GT::Base::fatal line 290 with arguments (GT::SQL::Table=HASH(0x88a0338), BADARGS, FATAL, Could not create a condition object out of arguments.).Links (1836): GT::Base::fatal called at /path/var/www/cgi-bin/links/admin/GT/SQL/Table.pm line 696 with arguments (GT::SQL::Table=HASH(0x88a0338), BADARGS, Could not create a condition object out of arguments.).Links (1836): GT::SQL::Table::delete called at GT::SQL::Table::_do_opt line 2203 with arguments (GT::SQL::Table=HASH(0x88a0338), HASH(0x88b23fc)).Links (1836): GT::SQL::Table::_do_opt called at GT::SQL::Table::_delete_cond line 2228 with arguments (Links::Table::Links=HASH(0x863ea98), cascade, HASH(0x88b23fc), links_Bad_Link).Links (1836): GT::SQL::Table::_delete_cond called at /path/var/www/cgi-bin/links/admin/GT/SQL/Table.pm line 717 with arguments (Links::Table::Links=HASH(0x863ea98), GT::SQL::Condition=HASH(0x8888690), cascade).Links (1836): GT::SQL::Table::delete called at /path/var/www/cgi-bin/links/admin/Links/Table/Links.pm line 204 with arguments (Links::Table::Links=HASH(0x863ea98), HASH(0x888860c)).Links (1836): Links::Table::Links::delete called at /path/var/www/cgi-bin/links/admin/Links/Tools.pm line 1466 with arguments (Links::Table::Links=HASH(0x863ea98), HASH(0x87470b0)).Links (1836): Links::Tools::_delete_record called at /path/var/www/cgi-bin/links/admin/GT/Plugins.pm line 133 with arguments (Links::Table::Links=HASH(0x863ea98), 227531).Links (1836): GT::Plugins::dispatch called at /path/var/www/cgi-bin/links/admin/Links/Tools.pm line 1329 with arguments (GT::Plugins=HASH(0x8420b30), validate_delete, CODE(0x85419e8), Links::Table::Links=HASH(0x863ea98), 227531).Links (1836): Links::Tools::_validate called at /path/var/www/cgi-bin/links/admin/Links/Tools.pm line 886 with arguments (Links::Table::Links=HASH(0x863ea98)).Links (1836): Links::Tools::validate_links called at GT::Template::_call_func line 766 with no arguments.Links (1836): GT::Template::_call_func called at /path/var/www/cgi-bin/links/admin/templates/admin/compiled/tools_validate.html.compiled line 22 with arguments (GT::Template=HASH(0x8462c54), Links::Tools::validate_links, 1).Links (1836): GT::Template::parsed_template called at /path/var/www/cgi-bin/links/admin/GT/Template.pm line 552 with arguments (GT::Template=HASH(0x8462c54)).Links (1836): GT::Template::_parse called at /path/cgi-bin/links/admin/GT/Template.pm line 141 with arguments (GT::Template=HASH(0x8462c54), tools_validate.html, HASH(0x84629e0)).Links (1836): GT::Template::parse called at Links::admin_page line 305 with arguments (GT::Template, tools_validate.html, ARRAY(0x8460ba8), HASH(0x84629e0)).Links (1836): Links::admin_page called at admin.cgi line 50 with no arguments.Links (1836): main::main called at admin.cgi line 24 with no arguments.


Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] Unable to validate In reply to
Your category def file is probably referencing an invalid foreign key table (the fk_table hash key). Edit your category def file and remove the invalid foreign key and it should fix that problem.

Adrian
Quote Reply
Re: [brewt] Unable to validate In reply to
thank you.

It was the links def file referrencing to claimlink and bad_link tables that no longer exist.
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory