System error

error:  Can't call method "prepare" on an undefined value at /var/www/html/supct/inclusions/offcite.mas line 10.
context: 
... 
6: 
7:  # db connection stuff
8:  # run queries to get basic information about docket number
9:  my $dbh = dbconfig::lii_connect('supct', 'show_production_web_pages');
10:  my $sth = $dbh -> prepare(qq{
11:  SELECT OffCite.OffCite
12:  FROM CaseID, OffCite
13:  WHERE OffCite.CASEID=CaseID.CASEID
14:  AND CaseID.DocketNumber='$docket'
... 
code stack:  /var/www/html/supct/inclusions/offcite.mas:10
/var/www/html/supct/html/06-1164.ZD1.html:22
raw error






























Can't call method "prepare" on an undefined value at /var/www/html/supct/inclusions/offcite.mas line 10.


Trace begun at /usr/local/share/perl/5.14.2/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "prepare" on an undefined value at /var/www/html/supct/inclusions/offcite.mas line 10.^J') called at /var/www/html/supct/inclusions/offcite.mas line 10
HTML::Mason::Commands::__ANON__('docket', 'No. 06-1164') called at /usr/local/share/perl/5.14.2/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fe6e4bb9ec0)', 'docket', 'No. 06-1164') called at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 1305
eval {...} at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, 'docket', 'No. 06-1164') called at /var/www/html/supct/html/06-1164.ZD1.html line 22
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.14.2/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fe6e4570120)') called at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 1300
eval {...} at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 484
eval {...} at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 484
eval {...} at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 436
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7fe6e45722a8)') called at /usr/local/share/perl/5.14.2/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7fe6e45722a8)') called at /usr/local/share/perl/5.14.2/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7fe6e45a3120)', 'Apache2::RequestRec=SCALAR(0x7fe6e3de9320)') called at (eval 30) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7fe6e3de9320)') called at -e line 0
eval {...} at -e line 0