System error

error:  Can't call method "prepare" without a package or object reference at /export/home/Webfin/Prod/mod-bin/Webfin/Nouvelles.pm line 75.
context: 
... 
71:  )
72:  WHERE rec_id > $params->{'debut'}
73:  ORDER BY rec_id |;
74: 
75:  $sth=$dbh->prepare($sql) || die ($dbh->errstr());
76: 
77:  unless ($sth->execute) {
78:  $data->{'error'}=1; # l'execute n'a pas fonctionné
79:  return $data;
... 
code stack:  /export/home/Webfin/Prod/mod-bin/Webfin/Nouvelles.pm:75
/export/home/Webfin/Prod/mbin/cotes/include_argent_cote_news.html:24
/export/home/Webfin/Prod/mbin/cotes/index.html:77
/export/home/Webfin/Prod/mbin/cotes/autohandler:7
/export/home/Webfin/Prod/mbin/autohandler:4
raw error






























Can't call method "prepare" without a package or object reference at /export/home/Webfin/Prod/mod-bin/Webfin/Nouvelles.pm line 75.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "prepare" without a package or object reference at /export/home/Webfin/Prod/mod-bin/Webfin/Nouvelles.pm line 75.^J') called at /export/home/Webfin/Prod/mod-bin/Webfin/Nouvelles.pm line 75
Webfin::Nouvelles::get_data_from_symbol('HASH(0x7f2b00eecf70)') called at /export/home/Webfin/Prod/mbin/cotes/include_argent_cote_news.html line 24
HTML::Mason::Commands::__ANON__('n', 'Webfin::Format::Number=HASH(0x7f2b00eecf40)', 'title', 'HASH(0x7f2b00ee8da0)', 'marketsymbol', 'ca;CL', 'lang', 'fr') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x2e44610)', 'n', 'Webfin::Format::Number=HASH(0x7f2b00eecf40)', 'title', 'HASH(0x7f2b00ee8da0)', 'marketsymbol', 'ca;CL', 'lang', 'fr') called at /usr/share/perl5/HTML/Mason/Request.pm line 1251
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef, 'n', 'Webfin::Format::Number=HASH(0x7f2b00eecf40)', 'title', 'HASH(0x7f2b00ee8da0)', 'marketsymbol', 'ca;CL', 'lang', 'fr') called at /export/home/Webfin/Prod/mbin/cotes/index.html line 77
HTML::Mason::Commands::__ANON__('symbol', 'CL', 'marche', 'ca', 'lang', 'fr', 'server_images', 'http://argent.canoe.com') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x29635f0)', 'symbol', 'CL', 'marche', 'ca', 'lang', 'fr', 'server_images', 'http://argent.canoe.com') called at /usr/share/perl5/HTML/Mason/Request.pm line 1246
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef, 'symbol', 'CL', 'marche', 'ca', 'lang', 'fr', 'server_images', 'http://argent.canoe.com') called at /usr/share/perl5/HTML/Mason/Request.pm line 914
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7f2b00eed910)') called at /export/home/Webfin/Prod/mbin/cotes/autohandler line 7
HTML::Mason::Commands::__ANON__('symbol', 'CL', 'marche', 'ca', 'lang', 'fr', 'server_images', 'http://argent.canoe.com') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x2963bb0)', 'symbol', 'CL', 'marche', 'ca', 'lang', 'fr', 'server_images', 'http://argent.canoe.com') called at /usr/share/perl5/HTML/Mason/Request.pm line 1246
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef, 'symbol', 'CL', 'marche', 'ca', 'lang', 'fr', 'server_images', 'http://argent.canoe.com') called at /usr/share/perl5/HTML/Mason/Request.pm line 914
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7f2b00eed910)', 'lang', 'fr', 'server_images', 'http://argent.canoe.com') called at /export/home/Webfin/Prod/mbin/autohandler line 4
HTML::Mason::Commands::__ANON__('symbol', 'CL', 'marche', 'ca') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x2964760)', 'symbol', 'CL', 'marche', 'ca') called at /usr/share/perl5/HTML/Mason/Request.pm line 1246
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef, undef, 'symbol', 'CL', 'marche', 'ca') called at /usr/share/perl5/HTML/Mason/Request.pm line 459
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 459
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 411
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f2b00eed910)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f2b00eed910)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 832
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x2939380)', 'Apache=SCALAR(0x7f2b00ee42f0)') called at (eval 292) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache=SCALAR(0x7f2b00ee42f0)') called at /dev/null line 0
eval {...} at /dev/null line 0