System error

error:  Can't call method "prepare" on an undefined value at /usr/local/lib/site_perl/SJG/Configuration/DB.pm line 117.
context: 
... 
113:  my $self = shift(@_);
114:  my $query_nickname = shift(@_);
115:  my $query = shift(@_);
116: 
117:  $self->{"queries"}->{$query_nickname} = $self->{"db"}->prepare($query);
118: 
119:  return 1;
120:  }
121: 
... 
code stack:  /usr/local/lib/site_perl/SJG/Configuration/DB.pm:117
/usr/local/lib/site_perl/SJG/Configuration/DB.pm:89
/usr/local/lib/site_perl/SJG/People/Authorization.pm:606
/usr/local/lib/site_perl/SJG/People/Authorization.pm:564
/home/www/secure/login/login.html:151
raw error






























Can't call method "prepare" on an undefined value at /usr/local/lib/site_perl/SJG/Configuration/DB.pm line 117.


Trace begun at /usr/local/share/perl/5.14.2/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "prepare" on an undefined value at /usr/local/lib/site_perl/SJG/Configuration/DB.pm line 117.^J') called at /usr/local/lib/site_perl/SJG/Configuration/DB.pm line 117
SJG::Configuration::DB::prepare('SJG::Configuration::DB=HASH(0x7fa88b8c5ff8)', 'RESERVED', 'DELETE FROM attempts WHERE atime < date_sub(current_timestamp(), INTERVAL 6 HOUR)') called at /usr/local/lib/site_perl/SJG/Configuration/DB.pm line 89
SJG::Configuration::DB::sql('SJG::Configuration::DB=HASH(0x7fa88b8c5ff8)', 'DELETE FROM attempts WHERE atime < date_sub(current_timestamp(), INTERVAL 6 HOUR)') called at /usr/local/lib/site_perl/SJG/People/Authorization.pm line 606
SJG::People::Authorization::_clean_attempts at /usr/local/lib/site_perl/SJG/People/Authorization.pm line 564
SJG::People::Authorization::failed_logins(3.16.160.142) called at /home/www/secure/login/login.html line 151
HTML::Mason::Commands::__ANON__('url', 'https://secure.sjgames.com/errata/gurps') called at /usr/local/share/perl/5.14.2/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fa88b918f10)', 'url', 'https://secure.sjgames.com/errata/gurps') called at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 1297
eval {...} at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'url', 'https://secure.sjgames.com/errata/gurps') called at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7fa88b8b8098)') 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(0x7fa88b8b8098)') called at /usr/local/share/perl/5.14.2/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7fa88b8ba3a0)', 'Apache2::RequestRec=SCALAR(0x7fa88b8ae448)') called at (eval 29) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7fa88b8ae448)') called at -e line 0
eval {...} at -e line 0