System error

error:  Can't call method "rows" on an undefined value at /var/www/html/www.sechang.com/layout/include/login_check.xhtml line 29.
context: 
... 
25: 
26:  # 현재 카트 번호에 해당하는 레코드가 있는 지 확인 합니다.
27:  my $sth_ct = &execsql("select row_id from sechang.shopcart_file where shopcart_no = '$o_cart_no'",__FILE__,__LINE__);
28: 
29:  if($sth_ct->rows){
30:  $o_shopcart_id = $sth_ct->fetchrow;
31:  }else{
32:  # 카트번호를 입력합니다.
33:  my $sth_cart = &execsql("insert into sechang.shopcart_file set shopcart_no='$o_cart_no', created_at=now(),ip_address='$ip_address'",__FILE__,__LINE__);
... 
code stack:  /var/www/html/www.sechang.com/layout/include/login_check.xhtml:29
/var/www/html/www.sechang.com/autohandler:206
/usr/share/perl5/HTML/Mason/Request.pm:948
/var/mason/www.sechang.com/obj/708173099/autohandler.obj:75
/var/www/html/www.sechang.com/product/header.mas:2
/var/www/html/www.sechang.com/search/model/autohandler:22
/var/www/html/www.sechang.com/autohandler:84
/usr/share/perl5/HTML/Mason/Request.pm:948
/var/mason/www.sechang.com/obj/708173099/autohandler.obj:8
/var/www/html/www.sechang.com/autohandler:53
/usr/share/perl5/HTML/Mason/Request.pm:948
/var/mason/www.sechang.com/obj/708173099/autohandler.obj:91
raw error






























Can't call method "rows" on an undefined value at /var/www/html/www.sechang.com/layout/include/login_check.xhtml line 29.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "rows" on an undefined value at /var/www/html/www.sechang.com/layout/include/login_check.xhtml line 29.^J') called at /var/www/html/www.sechang.com/layout/include/login_check.xhtml line 29
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x56228766b7d8)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef) called at /var/www/html/www.sechang.com/autohandler line 206
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 157
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x562286edceb0)', 'method_login_status') called at /usr/share/perl5/HTML/Mason/Request.pm line 948
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x562287e27c98)', 'method_login_status') called at /var/mason/www.sechang.com/obj/708173099/autohandler.obj line 75
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x562286edcf10)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef) called at /var/www/html/www.sechang.com/product/header.mas line 2
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x56228765d960)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef) called at /var/www/html/www.sechang.com/search/model/autohandler line 22
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x562286e9f188)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef) called at /var/www/html/www.sechang.com/autohandler line 84
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 157
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x562286edceb0)', 'subcomponent_.auto') called at /usr/share/perl5/HTML/Mason/Request.pm line 948
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x562287e27c98)', 'subcomponent_.auto') called at /var/mason/www.sechang.com/obj/708173099/autohandler.obj line 8
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x56228719b2b8)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef) called at /var/www/html/www.sechang.com/autohandler line 53
HTML::Mason::Commands::__ANON__('ctg', 'flowmeter', 'pdi', 1609, 'pdnm', 13) called at /usr/share/perl5/HTML/Mason/Component.pm line 157
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x562286edceb0)', 'main', 'ctg', 'flowmeter', 'pdi', 1609, 'pdnm', 13) called at /usr/share/perl5/HTML/Mason/Request.pm line 948
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x562287e27c98)', 'main', 'ctg', 'flowmeter', 'pdi', 1609, 'pdnm', 13) called at /var/mason/www.sechang.com/obj/708173099/autohandler.obj line 91
HTML::Mason::Commands::__ANON__('ctg', 'flowmeter', 'pdi', 1609, 'pdnm', 13) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x562286edceb0)', 'ctg', 'flowmeter', 'pdi', 1609, 'pdnm', 13) called at /usr/share/perl5/HTML/Mason/Request.pm line 1300
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'ctg', 'flowmeter', 'pdi', 1609, 'pdnm', 13) called at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x562287e27c98)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x562287e27c98)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x562286924d20)', 'Apache2::RequestRec=SCALAR(0x562287e1d470)') called at (eval 23) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x562287e1d470)') called at -e line 0
eval {...} at -e line 0