System error

error:  Can't call method "prepare" on an undefined value at /www/sites/sflindyhop/live/shared.natedigital.com/mason-lib/db_single_item.m line 56.
context: 
... 
52:  $args => []
53:  $db => $dbh
54:  </%args>
55:  <%init>
56:  warn "query: $query" if $DEBUG;
57:  my $sth = $db->prepare( $query );
58:  die( "args => must be an array reference or a simple scalar, not $args" )
59:  unless( ref( $args ) eq 'ARRAY' || !ref($args) );
60: 
... 
code stack:  /www/sites/sflindyhop/live/shared.natedigital.com/mason-lib/db_single_item.m:56
/www/sites/sflindyhop/live/calendar.natedigital.com/calendar/fetch_events.m:107
/usr/share/perl5/HTML/Mason/Cache/BaseCache.pm:24
/usr/share/perl5/HTML/Mason/Request.pm:636
/www/sites/sflindyhop/live/calendar.natedigital.com/calendar/fetch_events.m:113
/www/sites/sflindyhop/live/calendar.natedigital.com/calendar/week.m:66
/usr/share/perl5/HTML/Mason/Request.pm:753
/www/sites/sflindyhop/live/calendar.natedigital.com/calendar/week.m:48
/www/sites/sflindyhop/live/calendar.natedigital.com/calendar/week.m:134
/usr/share/perl5/HTML/Mason/Request.pm:753
/www/sites/sflindyhop/live/calendar.natedigital.com/calendar/week.m:28
/www/sites/sflindyhop/live/calendar.natedigital.com/calendar/week_print.html:7
raw error






























Can't call method "prepare" on an undefined value at /www/sites/sflindyhop/live/shared.natedigital.com/mason-lib/db_single_item.m line 56.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "prepare" on an undefined value at /www/sites/sflindyhop/live/shared.natedigital.com/mason-lib/db_single_item.m line 56.^J') called at /www/sites/sflindyhop/live/shared.natedigital.com/mason-lib/db_single_item.m line 56
HTML::Mason::Commands::__ANON__('query', 'SELECT MAX(updated) FROM event') called at /usr/share/perl5/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x91b4e4c)', 'query', 'SELECT MAX(updated) FROM event') called at /usr/share/perl5/HTML/Mason/Request.pm line 1069
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, 'query', 'SELECT MAX(updated) FROM event') called at /www/sites/sflindyhop/live/calendar.natedigital.com/calendar/fetch_events.m line 107
HTML::Mason::Commands::__ANON__('Cache::Object=HASH(0x917e06c)') called at /usr/share/perl5/HTML/Mason/Cache/BaseCache.pm line 65
HTML::Mason::Cache::BaseCache::expire_if('HTML::Mason::Cache::FileCache=HASH(0x90a3a24)', '2010-W36-1#2010091300:00:00#0#default#0#performer##location#location.area in (\'city\',\'city_south\',\'peninsula\',\'east_bay\',\'south_bay\',\'santa_cruz\',\'marin\')^J#instructor#', 'CODE(0x83c6584)') called at /usr/share/perl5/HTML/Mason/Cache/BaseCache.pm line 24
HTML::Mason::Cache::BaseCache::get('HTML::Mason::Cache::FileCache=HASH(0x90a3a24)', '2010-W36-1#2010091300:00:00#0#default#0#performer##location#location.area in (\'city\',\'city_south\',\'peninsula\',\'east_bay\',\'south_bay\',\'santa_cruz\',\'marin\')^J#instructor#', 'expire_if', 'CODE(0x83c6584)') called at /usr/share/perl5/HTML/Mason/Request.pm line 636
HTML::Mason::Request::cache_self('HTML::Mason::Request::ApacheHandler=HASH(0x8fab988)', 'expire_in', '1 hours', 'key', '2010-W36-1#2010091300:00:00#0#default#0#performer##location#location.area in (\'city\',\'city_south\',\'peninsula\',\'east_bay\',\'south_bay\',\'santa_cruz\',\'marin\')^J#instructor#', 'expire_if', 'CODE(0x83c6584)') called at /www/sites/sflindyhop/live/calendar.natedigital.com/calendar/fetch_events.m line 113
HTML::Mason::Commands::__ANON__('start', '2010-W36-1', 'end', '2010091300:00:00', 'cal', 'default', 'with_filter', 1, 'DEBUG', 0) called at /usr/share/perl5/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x83c944c)', 'start', '2010-W36-1', 'end', '2010091300:00:00', 'cal', 'default', 'with_filter', 1, 'DEBUG', 0) called at /usr/share/perl5/HTML/Mason/Request.pm line 1069
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, 'start', '2010-W36-1', 'end', '2010091300:00:00', 'cal', 'default', 'with_filter', 1, 'DEBUG', 0) called at /www/sites/sflindyhop/live/calendar.natedigital.com/calendar/week.m line 66
HTML::Mason::Commands::__ANON__('url', '/calendar/week_print.html') called at /usr/share/perl5/HTML/Mason/Component.pm line 156
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x8fc1fc8)', 'main', 'url', '/calendar/week_print.html') called at /usr/share/perl5/HTML/Mason/Request.pm line 753
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x8fab988)', 'main', 'url', '/calendar/week_print.html') called at /www/sites/sflindyhop/live/calendar.natedigital.com/calendar/week.m line 48
HTML::Mason::Commands::__ANON__('url', '/calendar/week_print.html') called at /usr/share/perl5/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8fc1fc8)', 'url', '/calendar/week_print.html') called at /usr/share/perl5/HTML/Mason/Request.pm line 1074
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, 'url', '/calendar/week_print.html') called at /www/sites/sflindyhop/live/calendar.natedigital.com/calendar/week.m line 134
HTML::Mason::Commands::__ANON__('url', '/calendar/week_print.html') called at /usr/share/perl5/HTML/Mason/Component.pm line 156
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x8fc1fc8)', 'method_show', 'url', '/calendar/week_print.html') called at /usr/share/perl5/HTML/Mason/Request.pm line 753
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x8fab988)', 'method_show', 'url', '/calendar/week_print.html') called at /www/sites/sflindyhop/live/calendar.natedigital.com/calendar/week.m line 28
HTML::Mason::Commands::__ANON__('url', '/calendar/week_print.html') called at /usr/share/perl5/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x8fabb08)', 'url', '/calendar/week_print.html') called at /usr/share/perl5/HTML/Mason/Request.pm line 1074
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, 'url', '/calendar/week_print.html') called at /www/sites/sflindyhop/live/calendar.natedigital.com/calendar/week_print.html line 7
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8f7eab0)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1069
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 338
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 338
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x8fab988)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 134
eval {...} at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x8fab988)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 793
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x8cf4cb4)', 'Apache=SCALAR(0x8f7c55c)') called at (eval 83) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache=SCALAR(0x8f7c55c)') called at /dev/null line 0
eval {...} at /dev/null line 0