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(0x7fa8897f9888)', '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(0x7fa8897f9888)', 'select name from qdata where qname=? and upload_date=?', 'illq', '2012-06-01') called at /home/www/secure/ill/comps/illcal.mas line 131
HTML::Mason::Commands::__ANON__('sqldate', '2012-06-17') called at /usr/local/share/perl/5.14.2/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fa88bbac810)', 'sqldate', '2012-06-17') 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', '2012-06-17') called at /home/www/secure/ill/ill.html line 150
HTML::Mason::Commands::__ANON__('sqldate', '2012-06-17', 'illuminator', '^J^I^I^I<h1>June 17, 2012: <B><I>Cthulhu Dice</I></B>, Now With More MetM-dl</h1>^J^I^I^I    <p>^M^J^I<a href="http://www.sjgames.com/ill/img/2012/heavy.jpg" title="Heavy Cthulhu Dice"><img align="right" alt="Heavy Cthulhu Dice" border="1" hspace="8" src="http://www.sjgames.com/ill/img/2012/heavy_sm.jpg" vspace="6" /></a><a href="http://www.sjgames.com/dice/cthulhudice/"><i><b>Cthulhu Dice&nbsp;Met&auml;l</b></i></a> is on schedule for release in August. More than a few people have asked, &quot;Cool, but what&#39;s it made of?&quot; As you can see in the photo, <a href="http://www.sjgames.com/dice/cthulhudice/"><i><b>Cthulhu Dice&nbsp;Met&auml;l</b></i></a> is made of pure&nbsp;<i>Met&auml;l</i> awesome! These diecast metal dice -- available in three finishes -- were the result of brainstorming sessions with our friends at <a href="http://grandprixintl.com/">Grand Prix International</a>&nbsp;discussing manufacturing options. The dice turned out far more impressive than I had expected . . . I can&#39;t wait to try creating more metal dice! And now I really want to tackle a giant glass version of the die . . . for decoration only, of course.</p>^M^J<p>^M^J^IWith any luck, we&#39;ll have <a href="http://www.sjgames.com/dice/cthulhudice/metal.html"><i><b>Cthulhu Dice&nbsp;Met&auml;l</b></i></a> with us at GenCon in August. And shortly after that, the game will be in stores, so get out there and tell your favorite local retailer that you want some&nbsp;Met&auml;l in your life. <a href="http://www.sjgames.com/dice/cthulhudice/metal.html"><i><b>Cthulhu Dice&nbsp;Met&auml;l</b></i></a>!</p>^M^J<p>^M^J^I-- <a href="mailto:phil@sjgames.com">Phil Reed</a></p>^M^J^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/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" addthis:title="Daily Illuminator: Cthulhu Dice, Now With More MetM-dl"></a>^J    <a class="addthis_button_twitter" addthis:url="http://secure.sjgames.com/ill/archive/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" addthis:title="Daily Illuminator: Cthulhu Dice, Now With More MetM-dl"></a>^J    <a class="addthis_button_reddit" addthis:url="http://secure.sjgames.com/ill/archive/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" addthis:title="Daily Illuminator: Cthulhu Dice, Now With More MetM-dl"></a>^J    <a class="addthis_button_tumblr" addthis:url="http://secure.sjgames.com/ill/archive/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" addthis:title="Daily Illuminator: Cthulhu Dice, Now With More MetM-dl"></a>^J    <a class="addthis_button_email" addthis:url="http://secure.sjgames.com/ill/archive/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" addthis:title="Daily Illuminator: Cthulhu Dice, Now With More MetM-dl"></a>^J    <span class="addthis_separator">|</span>^J    <a class="addthis_button_expanded" addthis:url="http://secure.sjgames.com/ill/archive/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" addthis:title="Daily Illuminator: Cthulhu Dice, Now With More MetM-dl">More</a>^J</div>^J^J<div style="margin: 5px 0; clear: left;">^J    <a href="http://secure.sjgames.com/ill/archive/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" 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: Cthulhu Dice, Now With More MetM-dl', 'mobile', 0, 'description', 'Cthulhu Dice&nbsp;Met&auml;l is on schedule for release in August. More than a few people have asked, &quot;Cool, but what&#39;s it made of?&quot; As you can see in the photo, Cthulhu Dice&nbsp;Met&auml;l is made of pure&nbsp;Met&auml;l awesome!') called at /usr/local/share/perl/5.14.2/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fa88bb76560)', 'sqldate', '2012-06-17', 'illuminator', '^J^I^I^I<h1>June 17, 2012: <B><I>Cthulhu Dice</I></B>, Now With More MetM-dl</h1>^J^I^I^I    <p>^M^J^I<a href="http://www.sjgames.com/ill/img/2012/heavy.jpg" title="Heavy Cthulhu Dice"><img align="right" alt="Heavy Cthulhu Dice" border="1" hspace="8" src="http://www.sjgames.com/ill/img/2012/heavy_sm.jpg" vspace="6" /></a><a href="http://www.sjgames.com/dice/cthulhudice/"><i><b>Cthulhu Dice&nbsp;Met&auml;l</b></i></a> is on schedule for release in August. More than a few people have asked, &quot;Cool, but what&#39;s it made of?&quot; As you can see in the photo, <a href="http://www.sjgames.com/dice/cthulhudice/"><i><b>Cthulhu Dice&nbsp;Met&auml;l</b></i></a> is made of pure&nbsp;<i>Met&auml;l</i> awesome! These diecast metal dice -- available in three finishes -- were the result of brainstorming sessions with our friends at <a href="http://grandprixintl.com/">Grand Prix International</a>&nbsp;discussing manufacturing options. The dice turned out far more impressive than I had expected . . . I can&#39;t wait to try creating more metal dice! And now I really want to tackle a giant glass version of the die . . . for decoration only, of course.</p>^M^J<p>^M^J^IWith any luck, we&#39;ll have <a href="http://www.sjgames.com/dice/cthulhudice/metal.html"><i><b>Cthulhu Dice&nbsp;Met&auml;l</b></i></a> with us at GenCon in August. And shortly after that, the game will be in stores, so get out there and tell your favorite local retailer that you want some&nbsp;Met&auml;l in your life. <a href="http://www.sjgames.com/dice/cthulhudice/metal.html"><i><b>Cthulhu Dice&nbsp;Met&auml;l</b></i></a>!</p>^M^J<p>^M^J^I-- <a href="mailto:phil@sjgames.com">Phil Reed</a></p>^M^J^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/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" addthis:title="Daily Illuminator: Cthulhu Dice, Now With More MetM-dl"></a>^J    <a class="addthis_button_twitter" addthis:url="http://secure.sjgames.com/ill/archive/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" addthis:title="Daily Illuminator: Cthulhu Dice, Now With More MetM-dl"></a>^J    <a class="addthis_button_reddit" addthis:url="http://secure.sjgames.com/ill/archive/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" addthis:title="Daily Illuminator: Cthulhu Dice, Now With More MetM-dl"></a>^J    <a class="addthis_button_tumblr" addthis:url="http://secure.sjgames.com/ill/archive/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" addthis:title="Daily Illuminator: Cthulhu Dice, Now With More MetM-dl"></a>^J    <a class="addthis_button_email" addthis:url="http://secure.sjgames.com/ill/archive/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" addthis:title="Daily Illuminator: Cthulhu Dice, Now With More MetM-dl"></a>^J    <span class="addthis_separator">|</span>^J    <a class="addthis_button_expanded" addthis:url="http://secure.sjgames.com/ill/archive/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" addthis:title="Daily Illuminator: Cthulhu Dice, Now With More MetM-dl">More</a>^J</div>^J^J<div style="margin: 5px 0; clear: left;">^J    <a href="http://secure.sjgames.com/ill/archive/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" 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: Cthulhu Dice, Now With More MetM-dl', 'mobile', 0, 'description', 'Cthulhu Dice&nbsp;Met&auml;l is on schedule for release in August. More than a few people have asked, &quot;Cool, but what&#39;s it made of?&quot; As you can see in the photo, Cthulhu Dice&nbsp;Met&auml;l is made of pure&nbsp;Met&auml;l awesome!') 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', '2012-06-17', 'illuminator', '^J^I^I^I<h1>June 17, 2012: <B><I>Cthulhu Dice</I></B>, Now With More MetM-dl</h1>^J^I^I^I    <p>^M^J^I<a href="http://www.sjgames.com/ill/img/2012/heavy.jpg" title="Heavy Cthulhu Dice"><img align="right" alt="Heavy Cthulhu Dice" border="1" hspace="8" src="http://www.sjgames.com/ill/img/2012/heavy_sm.jpg" vspace="6" /></a><a href="http://www.sjgames.com/dice/cthulhudice/"><i><b>Cthulhu Dice&nbsp;Met&auml;l</b></i></a> is on schedule for release in August. More than a few people have asked, &quot;Cool, but what&#39;s it made of?&quot; As you can see in the photo, <a href="http://www.sjgames.com/dice/cthulhudice/"><i><b>Cthulhu Dice&nbsp;Met&auml;l</b></i></a> is made of pure&nbsp;<i>Met&auml;l</i> awesome! These diecast metal dice -- available in three finishes -- were the result of brainstorming sessions with our friends at <a href="http://grandprixintl.com/">Grand Prix International</a>&nbsp;discussing manufacturing options. The dice turned out far more impressive than I had expected . . . I can&#39;t wait to try creating more metal dice! And now I really want to tackle a giant glass version of the die . . . for decoration only, of course.</p>^M^J<p>^M^J^IWith any luck, we&#39;ll have <a href="http://www.sjgames.com/dice/cthulhudice/metal.html"><i><b>Cthulhu Dice&nbsp;Met&auml;l</b></i></a> with us at GenCon in August. And shortly after that, the game will be in stores, so get out there and tell your favorite local retailer that you want some&nbsp;Met&auml;l in your life. <a href="http://www.sjgames.com/dice/cthulhudice/metal.html"><i><b>Cthulhu Dice&nbsp;Met&auml;l</b></i></a>!</p>^M^J<p>^M^J^I-- <a href="mailto:phil@sjgames.com">Phil Reed</a></p>^M^J^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/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" addthis:title="Daily Illuminator: Cthulhu Dice, Now With More MetM-dl"></a>^J    <a class="addthis_button_twitter" addthis:url="http://secure.sjgames.com/ill/archive/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" addthis:title="Daily Illuminator: Cthulhu Dice, Now With More MetM-dl"></a>^J    <a class="addthis_button_reddit" addthis:url="http://secure.sjgames.com/ill/archive/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" addthis:title="Daily Illuminator: Cthulhu Dice, Now With More MetM-dl"></a>^J    <a class="addthis_button_tumblr" addthis:url="http://secure.sjgames.com/ill/archive/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" addthis:title="Daily Illuminator: Cthulhu Dice, Now With More MetM-dl"></a>^J    <a class="addthis_button_email" addthis:url="http://secure.sjgames.com/ill/archive/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" addthis:title="Daily Illuminator: Cthulhu Dice, Now With More MetM-dl"></a>^J    <span class="addthis_separator">|</span>^J    <a class="addthis_button_expanded" addthis:url="http://secure.sjgames.com/ill/archive/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" addthis:title="Daily Illuminator: Cthulhu Dice, Now With More MetM-dl">More</a>^J</div>^J^J<div style="margin: 5px 0; clear: left;">^J    <a href="http://secure.sjgames.com/ill/archive/June_17_2012/Cthulhu_Dice_Now_With_More_Metl" 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: Cthulhu Dice, Now With More MetM-dl', 'mobile', 0, 'description', 'Cthulhu Dice&nbsp;Met&auml;l is on schedule for release in August. More than a few people have asked, &quot;Cool, but what&#39;s it made of?&quot; As you can see in the photo, Cthulhu Dice&nbsp;Met&auml;l is made of pure&nbsp;Met&auml;l awesome!') called at /home/www/secure/ill/index.html line 4
HTML::Mason::Commands::__ANON__('month', 'June', 'day', 17, 'year', 2012, '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(0x7fa88bb449a0)', 'month', 'June', 'day', 17, 'year', 2012, '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', 'June', 'day', 17, 'year', 2012, '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(0x7fa88bb0bd78)') 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(0x7fa88bace9d8)') 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(0x7fa88bace9d8)') called at /usr/local/share/perl/5.14.2/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7fa88baa37d8)', 'Apache2::RequestRec=SCALAR(0x7fa88bb48d00)') called at (eval 29) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7fa88bb48d00)') called at -e line 0
eval {...} at -e line 0