Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Category Add in admin panel fails: Edit Log

Here is the list of edits for this post
Category Add in admin panel fails
I get the following error message when I try to add a category in the Links Admin Panel.

Under "Editor"
Category
Add
id

Click on Add button and I get the following.

==========
A fatal error has occured:

Links::Admin (13937): Wrong argument passed to this subroutine. Usage: The 'def_path' argument to $admin->process is deprecated. You should pass in a GT::SQL object using 'db' instead. at GT::Base::_format_err line 5.

Please enable debugging in setup for more details.

Stack Trace
======================================
Links (13937): Links::environment called at /home/nri/www/cgi/admin/Links.pm line 418 with no arguments.
Links (13937): Links::fatal called at GT::Base::error line 80 with arguments
(Links::Admin (13937): Wrong argument passed to this subroutine. Usage: The 'def_path' argument to $admin->process is deprecated. You should pass in a GT::SQL object using 'db' instead. at GT::Base::_format_err line 5.
).
Links (13937): GT::Base::error called at /home2/nriforum/www/cgi/admin/GT/SQL/Admin.pm line 102 with arguments
(Links::Admin=HASH(0x9719164), BADARGS, FATAL, The 'def_path' argument to $admin->process is deprecated. You should pass in a GT::SQL object using 'db' instead.).
Links (13937): GT::SQL::Admin::initialize called at /home2/nriforum/www/cgi/admin/GT/SQL/Admin.pm line 77 with arguments
(Links::Admin=HASH(0x9719164), def_path, /home/nri/www/cgi/admin/defs, cgi, GT::CGI=HASH(0x9750e98)).
Links (13937): GT::SQL::Admin::process called at /home/nri/www/cgi/admin/admin.cgi line 78 with arguments
(Links::Admin=HASH(0x9719164), def_path, /home/nri/www/cgi/admin/defs, cgi, GT::CGI=HASH(0x9750e98)).
Links (13937): Apache::ROOTnri_2ebiz::cgi::admin::admin_2ecgi::db_request called at /home/nri/www/cgi/admin/admin.cgi line 56 with no arguments.
Links (13937): Apache::ROOTnri_2ebiz::cgi::admin::admin_2ecgi::main called at /home/nri/www/cgi/admin/admin.cgi line 24 with no arguments.
Links (13937): (eval) called at /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Apache/PerlRun.pm line 115 with no arguments.
Links (13937): Apache::PerlRun::compile called at /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Apache/PerlRun.pm line 291 with arguments
(Apache::PerlRun=HASH(0x8e2e394), SCALAR(0x8dd4248)).
Links (13937): Apache::PerlRun::handler called at /home/nri/www/cgi/admin/admin.cgi line 0 with arguments
(Apache::PerlRun, Apache=SCALAR(0x839ccd4)).
Links (13937): (eval) called at /home/nri/www/cgi/admin/admin.cgi line 0 with arguments
(Apache::PerlRun, Apache=SCALAR(0x839ccd4)).


System Information
======================================
Perl Version: 5.006001
Links SQL Version: 2.1.0
DBI.pm Version: 1.21
Persistant Env: mod_perl (1) SpeedyCGI (0)
Mod Perl Version: 1.26
GT::SQL::error = Links::Admin (13937): Wrong argument passed to this subroutine. Usage: The 'def_path' argument to $admin->process is deprecated. You should pass in a GT::SQL object using 'db' instead. at GT::Base::_format_err line 5.

@INC =
/home/nri/www/cgi/admin
/home/jagerman/projects/gforum/cgi/admin
/home2/nriforum/www/cgi/admin
/usr/local/lib/perl5/5.6.1/i686-linux
/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl
.
/usr/local/apache/
/usr/local/apache/lib/perl

CGI INPUT
======================================
ID =>
ID-opt => =
Username =>
Username-opt => =
db => Category
do => add_form
keyid =>
keyword =>
todo => add_form


CGI Cookies
======================================

ENVIRONMENT
======================================
DOCUMENT_ROOT => /home/nri/www
GATEWAY_INTERFACE => CGI-Perl/1.1
GT_TMPDIR => /home/nri/www/cgi/admin/tmp
HTTP_ACCEPT => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
HTTP_ACCEPT_ENCODING => gzip, deflate
HTTP_ACCEPT_LANGUAGE => en-us
HTTP_CONNECTION => Keep-Alive
HTTP_HOST => www.nri.biz
HTTP_REFERER => http://www.nri.biz/cgi/admin/admin.cgi?page=db_nav.html
HTTP_USER_AGENT => Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
MOD_PERL => mod_perl/1.26
PATH => /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
PERL_SEND_HEADER => On
QUERY_STRING => keyword=&Username=&ID=&do=add_form&ID-opt=%3D&Username-opt=%3D&db=Category&todo=add_form&keyid=
REDIRECT_QUERY_STRING => keyword=&Username=&ID=&do=add_form&ID-opt=%3D&Username-opt=%3D&db=Category&todo=add_form&keyid=
REDIRECT_STATUS => 200
REDIRECT_URL => /cgi/admin/admin.cgi
REMOTE_ADDR => 202.81.247.76
REMOTE_PORT => 38774
REQUEST_METHOD => GET
REQUEST_URI => /cgi/admin/admin.cgi?keyword=&Username=&ID=&do=add_form&ID-opt=%3D&Username-opt=%3D&db=Category&todo=add_form&keyid=
SCRIPT_FILENAME => /home/nri/www/cgi/admin/admin.cgi
SCRIPT_NAME => /cgi/admin/admin.cgi
SERVER_ADDR => 64.119.167.52
SERVER_ADMIN => root@dns1.asiansweb.org
SERVER_NAME => nri.biz
SERVER_PORT => 80
SERVER_PROTOCOL => HTTP/1.1
SERVER_SIGNATURE => Apache/1.3.24 Server at nri.biz Port 80

SERVER_SOFTWARE => Apache/1.3.24 (Unix) mod_perl/1.26 mod_gzip/1.3.19.1a PHP/4.3.0-dev

Last edited by:

shriram: May 9, 2002, 6:14 PM

Edit Log: