System error

error:  Can't call method "do" on an undefined value at /srv/www/crosbi/bib/statistika line 48.
context: 
... 
44:  if ($lang =~ /^EN/i) { setlocale(LC_ALL,"en_US.UTF-8");}
45:  else { setlocale(LC_ALL,"hr_HR.UTF-8");}
46: 
47:  $pro = $m -> comp('_lib/_dbpro.x');
48:  $pro -> do("SET client_encoding TO UTF8");
49:  $bibx = $m -> comp('_lib/_dbbibx.x');
50:  $bibx -> do("SET client_encoding TO UTF8");
51:  </%init>
52:  <%perl>
... 
code stack:  /srv/www/crosbi/bib/statistika:48
/srv/www/crosbi/bib/autohandler:34
raw error






























Can't call method "do" on an undefined value at /srv/www/crosbi/bib/statistika line 48.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "do" on an undefined value at /srv/www/crosbi/bib/statistika line 48.^J') called at /srv/www/crosbi/bib/statistika line 48
HTML::Mason::Commands::__ANON__('period', 2007, 'sto', 'a', 's', 6.07) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f6cf21c1b50)', 'period', 2007, 'sto', 'a', 's', 6.07) called at /usr/share/perl5/HTML/Mason/Request.pm line 1297
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'period', 2007, 'sto', 'a', 's', 6.07) called at /usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7f6cf21c1cd0)') called at /srv/www/crosbi/bib/autohandler line 34
HTML::Mason::Commands::__ANON__('period', 2007, 'sto', 'a', 's', 6.07) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f6cf1d84b98)', 'period', 2007, 'sto', 'a', 's', 6.07) called at /usr/share/perl5/HTML/Mason/Request.pm line 1297
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'period', 2007, 'sto', 'a', 's', 6.07) 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(0x7f6cf21c1cd0)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f6cf21c1cd0)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f6cf1d78260)', 'Apache2::RequestRec=SCALAR(0x7f6cf0de0270)') called at (eval 31) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7f6cf0de0270)') called at -e line 0
eval {...} at -e line 0