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(0x7ff3ba6537c0)', '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(0x7ff3ba6537c0)', 'select name from qdata where qname=? and upload_date=?', 'illq', '2018-07-01') called at /home/www/secure/ill/comps/illcal.mas line 131
HTML::Mason::Commands::__ANON__('sqldate', '2018-07-04') called at /usr/local/share/perl/5.14.2/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7ff3ba6b7400)', 'sqldate', '2018-07-04') 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', '2018-07-04') called at /home/www/secure/ill/ill.html line 150
HTML::Mason::Commands::__ANON__('sqldate', '2018-07-04', 'illuminator', '^J^I^I^I<h1>July 4, 2018: A Gift From Our Military Service Members</h1>^J^I^I^I<p>^M^J^IOn this day celebrating American independence, we want to share something special sent to us from soldiers defending us overseas. We&#39;re honored to receive this combat-flown flag. It will be treasured at the office. Happy 4th of July; enjoy a game with your friends and family!</p>^M^J<p style="text-align: center;">^M^J^I<a href="http://www.sjgames.com/img/newsq/illq/2018/Flag.png" title=""><img alt="Flag" border="0" hspace="8" src="http://www.sjgames.com/img/newsq/illq/2018/Flag.png" vspace="6" /></a></p>^M^J<p>^M^J^I-- <a href="mailto:hunters@sjgames.com">Hunter Shelburne</a></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/July_04_2018/A_Gift_From_Our_Military_Service_Members" addthis:title="Daily Illuminator: A Gift From Our Military Service Members"></a>^J    <a class="addthis_button_twitter" addthis:url="http://secure.sjgames.com/ill/archive/July_04_2018/A_Gift_From_Our_Military_Service_Members" addthis:title="Daily Illuminator: A Gift From Our Military Service Members"></a>^J    <a class="addthis_button_reddit" addthis:url="http://secure.sjgames.com/ill/archive/July_04_2018/A_Gift_From_Our_Military_Service_Members" addthis:title="Daily Illuminator: A Gift From Our Military Service Members"></a>^J    <a class="addthis_button_tumblr" addthis:url="http://secure.sjgames.com/ill/archive/July_04_2018/A_Gift_From_Our_Military_Service_Members" addthis:title="Daily Illuminator: A Gift From Our Military Service Members"></a>^J    <a class="addthis_button_email" addthis:url="http://secure.sjgames.com/ill/archive/July_04_2018/A_Gift_From_Our_Military_Service_Members" addthis:title="Daily Illuminator: A Gift From Our Military Service Members"></a>^J    <span class="addthis_separator">|</span>^J    <a class="addthis_button_expanded" addthis:url="http://secure.sjgames.com/ill/archive/July_04_2018/A_Gift_From_Our_Military_Service_Members" addthis:title="Daily Illuminator: A Gift From Our Military Service Members">More</a>^J</div>^J^J<div style="margin: 5px 0; clear: left;">^J    <a href="http://secure.sjgames.com/ill/archive/July_04_2018/A_Gift_From_Our_Military_Service_Members" 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: A Gift From Our Military Service Members', 'mobile', 0, 'description', 'On this day celebrating American independence, we want to share something special sent to us from soldiers defending us overseas. We&#39;re honored to receive this combat-flown flag . . .') called at /usr/local/share/perl/5.14.2/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7ff3ba6531d8)', 'sqldate', '2018-07-04', 'illuminator', '^J^I^I^I<h1>July 4, 2018: A Gift From Our Military Service Members</h1>^J^I^I^I<p>^M^J^IOn this day celebrating American independence, we want to share something special sent to us from soldiers defending us overseas. We&#39;re honored to receive this combat-flown flag. It will be treasured at the office. Happy 4th of July; enjoy a game with your friends and family!</p>^M^J<p style="text-align: center;">^M^J^I<a href="http://www.sjgames.com/img/newsq/illq/2018/Flag.png" title=""><img alt="Flag" border="0" hspace="8" src="http://www.sjgames.com/img/newsq/illq/2018/Flag.png" vspace="6" /></a></p>^M^J<p>^M^J^I-- <a href="mailto:hunters@sjgames.com">Hunter Shelburne</a></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/July_04_2018/A_Gift_From_Our_Military_Service_Members" addthis:title="Daily Illuminator: A Gift From Our Military Service Members"></a>^J    <a class="addthis_button_twitter" addthis:url="http://secure.sjgames.com/ill/archive/July_04_2018/A_Gift_From_Our_Military_Service_Members" addthis:title="Daily Illuminator: A Gift From Our Military Service Members"></a>^J    <a class="addthis_button_reddit" addthis:url="http://secure.sjgames.com/ill/archive/July_04_2018/A_Gift_From_Our_Military_Service_Members" addthis:title="Daily Illuminator: A Gift From Our Military Service Members"></a>^J    <a class="addthis_button_tumblr" addthis:url="http://secure.sjgames.com/ill/archive/July_04_2018/A_Gift_From_Our_Military_Service_Members" addthis:title="Daily Illuminator: A Gift From Our Military Service Members"></a>^J    <a class="addthis_button_email" addthis:url="http://secure.sjgames.com/ill/archive/July_04_2018/A_Gift_From_Our_Military_Service_Members" addthis:title="Daily Illuminator: A Gift From Our Military Service Members"></a>^J    <span class="addthis_separator">|</span>^J    <a class="addthis_button_expanded" addthis:url="http://secure.sjgames.com/ill/archive/July_04_2018/A_Gift_From_Our_Military_Service_Members" addthis:title="Daily Illuminator: A Gift From Our Military Service Members">More</a>^J</div>^J^J<div style="margin: 5px 0; clear: left;">^J    <a href="http://secure.sjgames.com/ill/archive/July_04_2018/A_Gift_From_Our_Military_Service_Members" 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: A Gift From Our Military Service Members', 'mobile', 0, 'description', 'On this day celebrating American independence, we want to share something special sent to us from soldiers defending us overseas. We&#39;re honored to receive this combat-flown flag . . .') 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', '2018-07-04', 'illuminator', '^J^I^I^I<h1>July 4, 2018: A Gift From Our Military Service Members</h1>^J^I^I^I<p>^M^J^IOn this day celebrating American independence, we want to share something special sent to us from soldiers defending us overseas. We&#39;re honored to receive this combat-flown flag. It will be treasured at the office. Happy 4th of July; enjoy a game with your friends and family!</p>^M^J<p style="text-align: center;">^M^J^I<a href="http://www.sjgames.com/img/newsq/illq/2018/Flag.png" title=""><img alt="Flag" border="0" hspace="8" src="http://www.sjgames.com/img/newsq/illq/2018/Flag.png" vspace="6" /></a></p>^M^J<p>^M^J^I-- <a href="mailto:hunters@sjgames.com">Hunter Shelburne</a></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/July_04_2018/A_Gift_From_Our_Military_Service_Members" addthis:title="Daily Illuminator: A Gift From Our Military Service Members"></a>^J    <a class="addthis_button_twitter" addthis:url="http://secure.sjgames.com/ill/archive/July_04_2018/A_Gift_From_Our_Military_Service_Members" addthis:title="Daily Illuminator: A Gift From Our Military Service Members"></a>^J    <a class="addthis_button_reddit" addthis:url="http://secure.sjgames.com/ill/archive/July_04_2018/A_Gift_From_Our_Military_Service_Members" addthis:title="Daily Illuminator: A Gift From Our Military Service Members"></a>^J    <a class="addthis_button_tumblr" addthis:url="http://secure.sjgames.com/ill/archive/July_04_2018/A_Gift_From_Our_Military_Service_Members" addthis:title="Daily Illuminator: A Gift From Our Military Service Members"></a>^J    <a class="addthis_button_email" addthis:url="http://secure.sjgames.com/ill/archive/July_04_2018/A_Gift_From_Our_Military_Service_Members" addthis:title="Daily Illuminator: A Gift From Our Military Service Members"></a>^J    <span class="addthis_separator">|</span>^J    <a class="addthis_button_expanded" addthis:url="http://secure.sjgames.com/ill/archive/July_04_2018/A_Gift_From_Our_Military_Service_Members" addthis:title="Daily Illuminator: A Gift From Our Military Service Members">More</a>^J</div>^J^J<div style="margin: 5px 0; clear: left;">^J    <a href="http://secure.sjgames.com/ill/archive/July_04_2018/A_Gift_From_Our_Military_Service_Members" 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: A Gift From Our Military Service Members', 'mobile', 0, 'description', 'On this day celebrating American independence, we want to share something special sent to us from soldiers defending us overseas. We&#39;re honored to receive this combat-flown flag . . .') called at /home/www/secure/ill/index.html line 4
HTML::Mason::Commands::__ANON__('month', 'July', 'day', 04, 'year', 2018, '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(0x7ff3ba5f7bc8)', 'month', 'July', 'day', 04, 'year', 2018, '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', 'July', 'day', 04, 'year', 2018, '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(0x7ff3ba5f8150)') 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(0x7ff3ba575c28)') 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(0x7ff3ba575c28)') called at /usr/local/share/perl/5.14.2/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7ff3ba575b38)', 'Apache2::RequestRec=SCALAR(0x7ff3b78291e8)') called at (eval 29) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7ff3b78291e8)') called at -e line 0
eval {...} at -e line 0