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
/home/www/secure/ill/comps/illcal.mas:131
/home/www/secure/ill/ill.html:150
/home/www/secure/ill/index.html:4
/home/www/secure/ill/archive/dhandler:3
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(0x7f93c8e75b48)', 'RESERVED', 'select name from qdata where qname=? and upload_date=?') called at /usr/local/lib/site_perl/SJG/Configuration/DB.pm line 89
SJG::Configuration::DB::sql('SJG::Configuration::DB=HASH(0x7f93c8e75b48)', 'select name from qdata where qname=? and upload_date=?', 'illq', '2013-12-01') called at /home/www/secure/ill/comps/illcal.mas line 131
HTML::Mason::Commands::__ANON__('sqldate', '2013-12-06') called at /usr/local/share/perl/5.14.2/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f93c8eb2950)', 'sqldate', '2013-12-06') called at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'sqldate', '2013-12-06') called at /home/www/secure/ill/ill.html line 150
HTML::Mason::Commands::__ANON__('sqldate', '2013-12-06', 'illuminator', '^J^I^I^I<h1>December 6, 2013: Free <I>Ogre Pocket Edition!</I></h1>^J^I^I^I<p>^M^J^I<img align="left" alt="Ogre Pocket Edition" hspace="8" src="http://www.sjgames.com/img/newsq/illq/2013/ogrepocketpocket.jpg" vspace="6" /></p>^M^J<p>^M^J^IIf you&#39;re an&nbsp;<a href="http://www.sjgames.com/ogre/"><i><b>Ogre</b></i></a>&nbsp;Kickstarter backer and you purchase $50 or more of&nbsp;<i><b>Ogre</b></i>&nbsp;extras on W23 between December 6th and 8th, you&#39;ll get a free&nbsp;<a href="http://www.sjgames.com/ogre/products/pocketogre/"><i><b>Ogre Pocket Edition</b></i></a>! Qualifying products are on <a href="http://www.sjgames.com/ogre/products/ogre6e/extras.html">this page</a>. Anyone else can get a free <i><b>Ogre Pocket Edition</b></i>&nbsp;by buying $150 or more of merchandise on W23! Go get yours!</p>^M^J<p>^M^J^I-- <a href="mailto:brian@sjgames.com">Brian Engard</a></p>^M^J<p>^M^J^I&nbsp;</p>^M^J^J^I^I^I<br clear="all">^J^I^I^I^J^I^I^I<p id="discussForum" style="float: right;"><a href="http://forums.sjgames.com/forumdisplay.php?f=92"><img src="http://www.sjgames.com/img/discuss-on-forums.png" alt="Discuss this post on the forums!" /></a></p>^J^I        ^J<!-- addthis -->^J^J<b><span style="float:left; padding:0 1%;">Share this post!</span></b>^J<div class="addthis_toolbox addthis_default_style" style="float:left;">^J    <a class="addthis_button_facebook" addthis:url="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" addthis:title="Daily Illuminator: Free Ogre Pocket Edition!"></a>^J    <a class="addthis_button_twitter" addthis:url="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" addthis:title="Daily Illuminator: Free Ogre Pocket Edition!"></a>^J    <a class="addthis_button_reddit" addthis:url="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" addthis:title="Daily Illuminator: Free Ogre Pocket Edition!"></a>^J    <a class="addthis_button_tumblr" addthis:url="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" addthis:title="Daily Illuminator: Free Ogre Pocket Edition!"></a>^J    <a class="addthis_button_email" addthis:url="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" addthis:title="Daily Illuminator: Free Ogre Pocket Edition!"></a>^J    <span class="addthis_separator">|</span>^J    <a class="addthis_button_expanded" addthis:url="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" addthis:title="Daily Illuminator: Free Ogre Pocket Edition!">More</a>^J</div>^J^J<div style="margin: 5px 0; clear: left;">^J    <a href="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" class="small">Permalink</a> &bull;^J    <a href="/ill/archive/" class="small">Archive</a> &bull;^J    <a href="/ill/illsotw/" class="small">Illuminated&nbsp;Site&nbsp;of&nbsp;the&nbsp;Week</a>^J</div>^J', 'pagetitle', 'Daily Illuminator: Free Ogre Pocket Edition!', 'mobile', 0, 'description', 'If you&#39;re an&nbsp;Ogre&nbsp;Kickstarter backer and you purchase $50 or more of&nbsp;Ogre&nbsp;extras on W23 between December 6th and 8th, you&#39;ll get a free&nbsp;Ogre Pocket Edition! Qualifying products are on this page . . .') called at /usr/local/share/perl/5.14.2/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f93c8e6a418)', 'sqldate', '2013-12-06', 'illuminator', '^J^I^I^I<h1>December 6, 2013: Free <I>Ogre Pocket Edition!</I></h1>^J^I^I^I<p>^M^J^I<img align="left" alt="Ogre Pocket Edition" hspace="8" src="http://www.sjgames.com/img/newsq/illq/2013/ogrepocketpocket.jpg" vspace="6" /></p>^M^J<p>^M^J^IIf you&#39;re an&nbsp;<a href="http://www.sjgames.com/ogre/"><i><b>Ogre</b></i></a>&nbsp;Kickstarter backer and you purchase $50 or more of&nbsp;<i><b>Ogre</b></i>&nbsp;extras on W23 between December 6th and 8th, you&#39;ll get a free&nbsp;<a href="http://www.sjgames.com/ogre/products/pocketogre/"><i><b>Ogre Pocket Edition</b></i></a>! Qualifying products are on <a href="http://www.sjgames.com/ogre/products/ogre6e/extras.html">this page</a>. Anyone else can get a free <i><b>Ogre Pocket Edition</b></i>&nbsp;by buying $150 or more of merchandise on W23! Go get yours!</p>^M^J<p>^M^J^I-- <a href="mailto:brian@sjgames.com">Brian Engard</a></p>^M^J<p>^M^J^I&nbsp;</p>^M^J^J^I^I^I<br clear="all">^J^I^I^I^J^I^I^I<p id="discussForum" style="float: right;"><a href="http://forums.sjgames.com/forumdisplay.php?f=92"><img src="http://www.sjgames.com/img/discuss-on-forums.png" alt="Discuss this post on the forums!" /></a></p>^J^I        ^J<!-- addthis -->^J^J<b><span style="float:left; padding:0 1%;">Share this post!</span></b>^J<div class="addthis_toolbox addthis_default_style" style="float:left;">^J    <a class="addthis_button_facebook" addthis:url="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" addthis:title="Daily Illuminator: Free Ogre Pocket Edition!"></a>^J    <a class="addthis_button_twitter" addthis:url="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" addthis:title="Daily Illuminator: Free Ogre Pocket Edition!"></a>^J    <a class="addthis_button_reddit" addthis:url="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" addthis:title="Daily Illuminator: Free Ogre Pocket Edition!"></a>^J    <a class="addthis_button_tumblr" addthis:url="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" addthis:title="Daily Illuminator: Free Ogre Pocket Edition!"></a>^J    <a class="addthis_button_email" addthis:url="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" addthis:title="Daily Illuminator: Free Ogre Pocket Edition!"></a>^J    <span class="addthis_separator">|</span>^J    <a class="addthis_button_expanded" addthis:url="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" addthis:title="Daily Illuminator: Free Ogre Pocket Edition!">More</a>^J</div>^J^J<div style="margin: 5px 0; clear: left;">^J    <a href="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" class="small">Permalink</a> &bull;^J    <a href="/ill/archive/" class="small">Archive</a> &bull;^J    <a href="/ill/illsotw/" class="small">Illuminated&nbsp;Site&nbsp;of&nbsp;the&nbsp;Week</a>^J</div>^J', 'pagetitle', 'Daily Illuminator: Free Ogre Pocket Edition!', 'mobile', 0, 'description', 'If you&#39;re an&nbsp;Ogre&nbsp;Kickstarter backer and you purchase $50 or more of&nbsp;Ogre&nbsp;extras on W23 between December 6th and 8th, you&#39;ll get a free&nbsp;Ogre Pocket Edition! Qualifying products are on this page . . .') called at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'sqldate', '2013-12-06', 'illuminator', '^J^I^I^I<h1>December 6, 2013: Free <I>Ogre Pocket Edition!</I></h1>^J^I^I^I<p>^M^J^I<img align="left" alt="Ogre Pocket Edition" hspace="8" src="http://www.sjgames.com/img/newsq/illq/2013/ogrepocketpocket.jpg" vspace="6" /></p>^M^J<p>^M^J^IIf you&#39;re an&nbsp;<a href="http://www.sjgames.com/ogre/"><i><b>Ogre</b></i></a>&nbsp;Kickstarter backer and you purchase $50 or more of&nbsp;<i><b>Ogre</b></i>&nbsp;extras on W23 between December 6th and 8th, you&#39;ll get a free&nbsp;<a href="http://www.sjgames.com/ogre/products/pocketogre/"><i><b>Ogre Pocket Edition</b></i></a>! Qualifying products are on <a href="http://www.sjgames.com/ogre/products/ogre6e/extras.html">this page</a>. Anyone else can get a free <i><b>Ogre Pocket Edition</b></i>&nbsp;by buying $150 or more of merchandise on W23! Go get yours!</p>^M^J<p>^M^J^I-- <a href="mailto:brian@sjgames.com">Brian Engard</a></p>^M^J<p>^M^J^I&nbsp;</p>^M^J^J^I^I^I<br clear="all">^J^I^I^I^J^I^I^I<p id="discussForum" style="float: right;"><a href="http://forums.sjgames.com/forumdisplay.php?f=92"><img src="http://www.sjgames.com/img/discuss-on-forums.png" alt="Discuss this post on the forums!" /></a></p>^J^I        ^J<!-- addthis -->^J^J<b><span style="float:left; padding:0 1%;">Share this post!</span></b>^J<div class="addthis_toolbox addthis_default_style" style="float:left;">^J    <a class="addthis_button_facebook" addthis:url="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" addthis:title="Daily Illuminator: Free Ogre Pocket Edition!"></a>^J    <a class="addthis_button_twitter" addthis:url="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" addthis:title="Daily Illuminator: Free Ogre Pocket Edition!"></a>^J    <a class="addthis_button_reddit" addthis:url="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" addthis:title="Daily Illuminator: Free Ogre Pocket Edition!"></a>^J    <a class="addthis_button_tumblr" addthis:url="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" addthis:title="Daily Illuminator: Free Ogre Pocket Edition!"></a>^J    <a class="addthis_button_email" addthis:url="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" addthis:title="Daily Illuminator: Free Ogre Pocket Edition!"></a>^J    <span class="addthis_separator">|</span>^J    <a class="addthis_button_expanded" addthis:url="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" addthis:title="Daily Illuminator: Free Ogre Pocket Edition!">More</a>^J</div>^J^J<div style="margin: 5px 0; clear: left;">^J    <a href="http://secure.sjgames.com/ill/archive/December_06_2013/Free_Ogre_Pocket_Edition" class="small">Permalink</a> &bull;^J    <a href="/ill/archive/" class="small">Archive</a> &bull;^J    <a href="/ill/illsotw/" class="small">Illuminated&nbsp;Site&nbsp;of&nbsp;the&nbsp;Week</a>^J</div>^J', 'pagetitle', 'Daily Illuminator: Free Ogre Pocket Edition!', 'mobile', 0, 'description', 'If you&#39;re an&nbsp;Ogre&nbsp;Kickstarter backer and you purchase $50 or more of&nbsp;Ogre&nbsp;extras on W23 between December 6th and 8th, you&#39;ll get a free&nbsp;Ogre Pocket Edition! Qualifying products are on this page . . .') called at /home/www/secure/ill/index.html line 4
HTML::Mason::Commands::__ANON__('month', 'December', 'day', 06, 'year', 2013, 'u', 'Free_Ogre_Pocket_Edition.html') called at /usr/local/share/perl/5.14.2/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f93c8e3ed30)', 'month', 'December', 'day', 06, 'year', 2013, 'u', 'Free_Ogre_Pocket_Edition.html') called at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.14.2/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'month', 'December', 'day', 06, 'year', 2013, 'u', 'Free_Ogre_Pocket_Edition.html') called at /home/www/secure/ill/archive/dhandler line 3
HTML::Mason::Commands::__ANON__('u', 'Free_Ogre_Pocket_Edition.html') called at /usr/local/share/perl/5.14.2/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f93c8e31bf0)', 'u', 'Free_Ogre_Pocket_Edition.html') 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, 'u', 'Free_Ogre_Pocket_Edition.html') 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(0x7f93c8caa9d0)') 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(0x7f93c8caa9d0)') called at /usr/local/share/perl/5.14.2/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f93c8caa088)', 'Apache2::RequestRec=SCALAR(0x7f93c8c08c88)') called at (eval 29) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7f93c8c08c88)') called at -e line 0
eval {...} at -e line 0