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/inquiry/header.mas:1
/var/www/html/www.sechang.com/inquiry/autohandler:68
/usr/share/perl5/HTML/Mason/Request.pm:948
/var/mason/www.sechang.com/obj/708173099/inquiry/autohandler.obj:8
/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(0x5622875aea00)') 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(0x562287212fe0)', 'method_login_status') called at /usr/share/perl5/HTML/Mason/Request.pm line 948
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x562287f18818)', '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(0x562287213250)') 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/inquiry/header.mas line 1
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x56228754d1b0)') 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/inquiry/autohandler line 68
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(0x562286c0a038)', 'method_page_top') called at /usr/share/perl5/HTML/Mason/Request.pm line 948
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x562287f18818)', 'method_page_top') called at /var/mason/www.sechang.com/obj/708173099/inquiry/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(0x562286e82050)') 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(0x562287212fe0)', 'subcomponent_.auto') called at /usr/share/perl5/HTML/Mason/Request.pm line 948
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x562287f18818)', '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(0x56228715ff20)') 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__('model', 'LM-OG-Ti', 'pdnm', 40, 'pdi', 1723) called at /usr/share/perl5/HTML/Mason/Component.pm line 157
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x562287212fe0)', 'main', 'model', 'LM-OG-Ti', 'pdnm', 40, 'pdi', 1723) called at /usr/share/perl5/HTML/Mason/Request.pm line 948
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x562287f18818)', 'main', 'model', 'LM-OG-Ti', 'pdnm', 40, 'pdi', 1723) called at /var/mason/www.sechang.com/obj/708173099/autohandler.obj line 91
HTML::Mason::Commands::__ANON__('model', 'LM-OG-Ti', 'pdnm', 40, 'pdi', 1723) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x562287212fe0)', 'model', 'LM-OG-Ti', 'pdnm', 40, 'pdi', 1723) 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, 'model', 'LM-OG-Ti', 'pdnm', 40, 'pdi', 1723) 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(0x562287f18818)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x562287f18818)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x562286970de8)', 'Apache2::RequestRec=SCALAR(0x562287f82188)') called at (eval 23) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x562287f82188)') called at -e line 0
eval {...} at -e line 0