System error
error: |
Can't call method "disconnect" on unblessed reference at /mnt/data/www/centrogas.ru/root/cgimg/dhandler line 23.
|
context: |
... |
|
19: |
$dbhOra = undef; |
20: |
$dbhOra = $m->comp('/dbi_conn.mas:view_ora_conn'); |
21: |
my $img = $m->comp('/cache.mas:getCgImg', name => $name, type => $type); |
22: |
if ($dbhOra) { |
23: |
$dbhOra->disconnect; |
24: |
$dbhOra = undef; |
25: |
} |
26: |
|
27: |
if ($img == 404) { |
... |
|
|
code stack: |
/mnt/data/www/centrogas.ru/root/cgimg/dhandler:23
|
raw error
Can't call method "disconnect" on unblessed reference at /mnt/data/www/centrogas.ru/root/cgimg/dhandler line 23.
Trace begun at /usr/local/lib/perl5/site_perl/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "disconnect" on unblessed reference at /mnt/data/www/centrogas.ru/root/cgimg/dhandler line 23.^J') called at /mnt/data/www/centrogas.ru/root/cgimg/dhandler line 23
HTML::Mason::Commands::__ANON__ at /usr/local/lib/perl5/site_perl/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x237d72d0)') called at /usr/local/lib/perl5/site_perl/HTML/Mason/Request.pm line 1300
eval {...} at /usr/local/lib/perl5/site_perl/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/lib/perl5/site_perl/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/lib/perl5/site_perl/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/lib/perl5/site_perl/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x215b2aa0)') called at /usr/local/lib/perl5/site_perl/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x215b2aa0)') called at /usr/local/lib/perl5/site_perl/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x222c10c8)', 'Apache2::RequestRec=SCALAR(0x2358f26c)') called at /usr/local/etc/apache24/handler.pl line 104
MyMason::MyApp::handler('Apache2::RequestRec=SCALAR(0x2358f26c)') called at -e line 0
eval {...} at -e line 0