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(0x7faf8af84478)', '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(0x7faf8af84478)', 'select name from qdata where qname=? and upload_date=?', 'illq', '2010-01-01') called at /home/www/secure/ill/comps/illcal.mas line 131
HTML::Mason::Commands::__ANON__('sqldate', '2010-01-02') called at /usr/local/share/perl/5.14.2/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7faf8afba390)', 'sqldate', '2010-01-02') 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', '2010-01-02') called at /home/www/secure/ill/ill.html line 150
HTML::Mason::Commands::__ANON__('sqldate', '2010-01-02', 'illuminator', '^J^I^I^I<h1>January 2, 2010: <i>Zombie Dice</i> . . . Dice</h1>^J^I^I^I<p><a href="http://www.sjgames.com/ill/img/2009/zombiedice.jpg"><img width="150" vspace="6" hspace="8" border="1" align="left" src="http://www.sjgames.com/ill/img/2009/zombiedice_sm.jpg" alt="The three types of dice from Zombie dice" /></a></p>^M^J<p>You\'ve played the <a href="http://www.sjgames.com/dice/zombiedice/demo.html">Flash demo</a>. You\'ve seen the <a href="http://www.sjgames.com/ill/a/2009-12-30">dice cup</a>. But what about the dice?</p>^M^J<p>Well there they are. The final package will include 13 dice -- six green, four yellow, and three red. The colors indicate the "danger" of the die. Green dice are the safest to roll; you\'re likelier to eat a brain than roll a shotgun. The yellow dice are middle-of-the-road, with equal chances to roll brains, feet, or shotgun. The red dice are dangerous! Half the faces are shotguns, so the odds are not in your favor when you roll one.</p>^M^J<p>-- <a href="mailto:paul@sjgames.com">Paul Chapman</a></p>^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/January_02_2010/Zombie_Dice_Dice" addthis:title="Daily Illuminator: Zombie Dice . . . Dice"></a>^J    <a class="addthis_button_twitter" addthis:url="http://secure.sjgames.com/ill/archive/January_02_2010/Zombie_Dice_Dice" addthis:title="Daily Illuminator: Zombie Dice . . . Dice"></a>^J    <a class="addthis_button_reddit" addthis:url="http://secure.sjgames.com/ill/archive/January_02_2010/Zombie_Dice_Dice" addthis:title="Daily Illuminator: Zombie Dice . . . Dice"></a>^J    <a class="addthis_button_tumblr" addthis:url="http://secure.sjgames.com/ill/archive/January_02_2010/Zombie_Dice_Dice" addthis:title="Daily Illuminator: Zombie Dice . . . Dice"></a>^J    <a class="addthis_button_email" addthis:url="http://secure.sjgames.com/ill/archive/January_02_2010/Zombie_Dice_Dice" addthis:title="Daily Illuminator: Zombie Dice . . . Dice"></a>^J    <span class="addthis_separator">|</span>^J    <a class="addthis_button_expanded" addthis:url="http://secure.sjgames.com/ill/archive/January_02_2010/Zombie_Dice_Dice" addthis:title="Daily Illuminator: Zombie Dice . . . Dice">More</a>^J</div>^J^J<div style="margin: 5px 0; clear: left;">^J    <a href="http://secure.sjgames.com/ill/archive/January_02_2010/Zombie_Dice_Dice" 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: Zombie Dice . . . Dice', 'mobile', 0, 'description', 'You&#39;ve played the Flash demo. You&#39;ve seen the dice cup . . .') called at /usr/local/share/perl/5.14.2/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7faf8af570c8)', 'sqldate', '2010-01-02', 'illuminator', '^J^I^I^I<h1>January 2, 2010: <i>Zombie Dice</i> . . . Dice</h1>^J^I^I^I<p><a href="http://www.sjgames.com/ill/img/2009/zombiedice.jpg"><img width="150" vspace="6" hspace="8" border="1" align="left" src="http://www.sjgames.com/ill/img/2009/zombiedice_sm.jpg" alt="The three types of dice from Zombie dice" /></a></p>^M^J<p>You\'ve played the <a href="http://www.sjgames.com/dice/zombiedice/demo.html">Flash demo</a>. You\'ve seen the <a href="http://www.sjgames.com/ill/a/2009-12-30">dice cup</a>. But what about the dice?</p>^M^J<p>Well there they are. The final package will include 13 dice -- six green, four yellow, and three red. The colors indicate the "danger" of the die. Green dice are the safest to roll; you\'re likelier to eat a brain than roll a shotgun. The yellow dice are middle-of-the-road, with equal chances to roll brains, feet, or shotgun. The red dice are dangerous! Half the faces are shotguns, so the odds are not in your favor when you roll one.</p>^M^J<p>-- <a href="mailto:paul@sjgames.com">Paul Chapman</a></p>^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/January_02_2010/Zombie_Dice_Dice" addthis:title="Daily Illuminator: Zombie Dice . . . Dice"></a>^J    <a class="addthis_button_twitter" addthis:url="http://secure.sjgames.com/ill/archive/January_02_2010/Zombie_Dice_Dice" addthis:title="Daily Illuminator: Zombie Dice . . . Dice"></a>^J    <a class="addthis_button_reddit" addthis:url="http://secure.sjgames.com/ill/archive/January_02_2010/Zombie_Dice_Dice" addthis:title="Daily Illuminator: Zombie Dice . . . Dice"></a>^J    <a class="addthis_button_tumblr" addthis:url="http://secure.sjgames.com/ill/archive/January_02_2010/Zombie_Dice_Dice" addthis:title="Daily Illuminator: Zombie Dice . . . Dice"></a>^J    <a class="addthis_button_email" addthis:url="http://secure.sjgames.com/ill/archive/January_02_2010/Zombie_Dice_Dice" addthis:title="Daily Illuminator: Zombie Dice . . . Dice"></a>^J    <span class="addthis_separator">|</span>^J    <a class="addthis_button_expanded" addthis:url="http://secure.sjgames.com/ill/archive/January_02_2010/Zombie_Dice_Dice" addthis:title="Daily Illuminator: Zombie Dice . . . Dice">More</a>^J</div>^J^J<div style="margin: 5px 0; clear: left;">^J    <a href="http://secure.sjgames.com/ill/archive/January_02_2010/Zombie_Dice_Dice" 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: Zombie Dice . . . Dice', 'mobile', 0, 'description', 'You&#39;ve played the Flash demo. You&#39;ve seen the dice cup . . .') 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', '2010-01-02', 'illuminator', '^J^I^I^I<h1>January 2, 2010: <i>Zombie Dice</i> . . . Dice</h1>^J^I^I^I<p><a href="http://www.sjgames.com/ill/img/2009/zombiedice.jpg"><img width="150" vspace="6" hspace="8" border="1" align="left" src="http://www.sjgames.com/ill/img/2009/zombiedice_sm.jpg" alt="The three types of dice from Zombie dice" /></a></p>^M^J<p>You\'ve played the <a href="http://www.sjgames.com/dice/zombiedice/demo.html">Flash demo</a>. You\'ve seen the <a href="http://www.sjgames.com/ill/a/2009-12-30">dice cup</a>. But what about the dice?</p>^M^J<p>Well there they are. The final package will include 13 dice -- six green, four yellow, and three red. The colors indicate the "danger" of the die. Green dice are the safest to roll; you\'re likelier to eat a brain than roll a shotgun. The yellow dice are middle-of-the-road, with equal chances to roll brains, feet, or shotgun. The red dice are dangerous! Half the faces are shotguns, so the odds are not in your favor when you roll one.</p>^M^J<p>-- <a href="mailto:paul@sjgames.com">Paul Chapman</a></p>^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/January_02_2010/Zombie_Dice_Dice" addthis:title="Daily Illuminator: Zombie Dice . . . Dice"></a>^J    <a class="addthis_button_twitter" addthis:url="http://secure.sjgames.com/ill/archive/January_02_2010/Zombie_Dice_Dice" addthis:title="Daily Illuminator: Zombie Dice . . . Dice"></a>^J    <a class="addthis_button_reddit" addthis:url="http://secure.sjgames.com/ill/archive/January_02_2010/Zombie_Dice_Dice" addthis:title="Daily Illuminator: Zombie Dice . . . Dice"></a>^J    <a class="addthis_button_tumblr" addthis:url="http://secure.sjgames.com/ill/archive/January_02_2010/Zombie_Dice_Dice" addthis:title="Daily Illuminator: Zombie Dice . . . Dice"></a>^J    <a class="addthis_button_email" addthis:url="http://secure.sjgames.com/ill/archive/January_02_2010/Zombie_Dice_Dice" addthis:title="Daily Illuminator: Zombie Dice . . . Dice"></a>^J    <span class="addthis_separator">|</span>^J    <a class="addthis_button_expanded" addthis:url="http://secure.sjgames.com/ill/archive/January_02_2010/Zombie_Dice_Dice" addthis:title="Daily Illuminator: Zombie Dice . . . Dice">More</a>^J</div>^J^J<div style="margin: 5px 0; clear: left;">^J    <a href="http://secure.sjgames.com/ill/archive/January_02_2010/Zombie_Dice_Dice" 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: Zombie Dice . . . Dice', 'mobile', 0, 'description', 'You&#39;ve played the Flash demo. You&#39;ve seen the dice cup . . .') called at /home/www/secure/ill/index.html line 4
HTML::Mason::Commands::__ANON__('month', 'January', 'day', 02, 'year', 2010, 'u', undef) called at /usr/local/share/perl/5.14.2/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7faf8af21bd8)', 'month', 'January', 'day', 02, 'year', 2010, 'u', undef) 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', 'January', 'day', 02, 'year', 2010, 'u', undef) called at /home/www/secure/ill/archive/dhandler line 3
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.14.2/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7faf8aef1ef0)') 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) 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(0x7faf8abd9bd8)') 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(0x7faf8abd9bd8)') called at /usr/local/share/perl/5.14.2/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7faf8908e980)', 'Apache2::RequestRec=SCALAR(0x7faf8a136468)') called at (eval 29) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7faf8a136468)') called at -e line 0
eval {...} at -e line 0