System error

error:  Died at /usr/local/apache-bohnsack/perl_modules/Photos.pm line 1011.
context: 
... 
1007:  }
1008:  #print "$sql\n";
1009: 
1010:  my $sth = $dbh->prepare($sql) or die "$!";
1011:  $sth->execute() or die "$!";
1012: 
1013:  my @results;#= undef;
1014:  my $row;
1015:  while( ($row = $sth->fetchrow_hashref()) )
... 
code stack:  /usr/local/apache-bohnsack/perl_modules/Photos.pm:1011
/usr/local/apache-bohnsack/perl_modules/Photos.pm:753
/usr/local/apache-bohnsack/htdocs/photos/detail/detail.html:122
/usr/local/apache-bohnsack/htdocs/photos/dhandler:8
raw error






























Died at /usr/local/apache-bohnsack/perl_modules/Photos.pm line 1011.


Trace begun at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Died at /usr/local/apache-bohnsack/perl_modules/Photos.pm line 1011.^J') called at /usr/local/apache-bohnsack/perl_modules/Photos.pm line 1011
Photos::get('Photos=HASH(0xa2b8e78)', 'group_id', undef) called at /usr/local/apache-bohnsack/perl_modules/Photos.pm line 753
Photos::get_current_and_total_pages('Photos=HASH(0xa2b8e78)', 'photo_id', 2754, 'group', undef, 'num_columns', 4, 'num_rows', 6) called at /usr/local/apache-bohnsack/htdocs/photos/detail/detail.html line 122
HTML::Mason::Commands::__ANON__('p', 'Photos=HASH(0xa2b8e78)', 'photo_id', 2754, 'group_info', 'HASH(0xa283024)', 'base_url', '/photos', 'res', 0) called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa2787fc)', 'p', 'Photos=HASH(0xa2b8e78)', 'photo_id', 2754, 'group_info', 'HASH(0xa283024)', 'base_url', '/photos', 'res', 0) called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1262
eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1252
HTML::Mason::Request::comp(undef, undef, 'p', 'Photos=HASH(0xa2b8e78)', 'photo_id', 2754, 'group_info', 'HASH(0xa283024)', 'base_url', '/photos', 'res', 0) called at /usr/local/apache-bohnsack/htdocs/photos/dhandler line 8
HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa22428c)') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1257
eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1252
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 466
eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 466
eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 418
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa2858f8)') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa2858f8)') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x9b72148)', 'Apache=SCALAR(0x98dde58)') called at /usr/local/apache-bohnsack/mason/handler.pl line 44
MyMason::MyApp::handler('Apache=SCALAR(0x98dde58)') called at /dev/null line 0
eval {...} at /dev/null line 0