Mason error

error in file:   /usr/local/share/perl/5.8.8/HTML/Mason/Interp.pm
 
line 522:  WHERE id = '57330'' at line 1
context:  
... 
54:  current_time => 'real',
55:  data_cache_dir => '',
56:  data_dir => undef,
57:  dhandler_name => 'dhandler',
58:  die_handler => sub { Carp::confess($_[0]) },
59:  die_handler_overridden => 0,
60:  system_log_file => undef,
61:  system_log_separator => "\cA",
62:  max_recurse => 32,
... 
518:  }
519: 
520:  #
521:  # Determine if the specified event should be logged.
522:  #
523:  sub system_log_event_check
524:  {
525:  my ($self,$flag) = @_;
526:  return ($self->{system_log_fh} && $self->{system_log_events_hash}->{$flag});
... 
component stack:   /db/common/navbar.mhtml:.person
/db/common/navbar.mhtml
/db/people/autohandler
/db/autohandler
code stack:   /usr/local/share/perl/5.8.8/HKMDB/Database.pm:423
/var/lib/mason/obj/db/common/navbar.mhtml:522
/var/lib/mason/obj/db/common/navbar.mhtml:775
/var/lib/mason/obj/db/people/autohandler:88
/var/lib/mason/obj/db/people/autohandler:16
/var/lib/mason/obj/db/autohandler:14


raw_error




























raw error:
 






























error while executing /db/common/navbar.mhtml:.person:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
    FROM   people
    WHERE  id = '57330'' at line 1 at /var/lib/mason/obj/db/common/navbar.mhtml line 522
 at /usr/local/share/perl/5.8.8/HTML/Mason/Interp.pm line 58
HTML::Mason::Interp::__ANON__('You have an error in your SQL syntax; check the manual that c...') called at /usr/share/perl/5.8/Carp.pm line 102
Carp::croak('You have an error in your SQL syntax; check the manual that c...') called at /usr/local/share/perl/5.8.8/HKMDB/Database.pm line 423
HKMDB::Database::select_column('HKMDB::Database=HASH(0x9bab6d0)', 'sql', '\x{a}    SELECT LENGTH(bio_eng/)\x{a}    FROM   people\x{a}    WHERE  id ...', 'bind', 'ARRAY(0x9b9f9e0)') called at /var/lib/mason/obj/db/common/navbar.mhtml line 522
HTML::Mason::Commands::__ANON__('id', 57330, 'display_set', 'eng/') called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x97438dc)', 'id', 57330, 'display_set', 'eng/') called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x9cd5f40)', '.person', 'id', 57330, 'display_set', 'eng/') called at /var/lib/mason/obj/db/common/navbar.mhtml line 775
HTML::Mason::Commands::__ANON__('mode', 'person', 'id', 57330, 'display_set', 'eng/') called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x97439e4)', 'mode', 'person', 'id', 57330, 'display_set', 'eng/') called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x9cd5f40)', '/db/common/navbar.mhtml', 'mode', 'person', 'id', 57330, 'display_set', 'eng/') called at /var/lib/mason/obj/db/people/autohandler line 88
HTML::Mason::Commands::__ANON__('display_set', 'eng/', 'id', 57330, 'display_set', 'eng/', 'id', 57330) called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x96c1738)', 'display_set', 'eng/', 'id', 57330, 'display_set', 'eng/', 'id', 57330, ...) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 376
HTML::Mason::Request::call_self('HTML::Mason::Request::ApacheHandler=HASH(0x9cd5f40)', 'SCALAR(0x9b9c0f4)', 'SCALAR(0x9b9f290)') called at /var/lib/mason/obj/db/people/autohandler line 16
HTML::Mason::Commands::__ANON__('display_set', 'eng/', 'id', 57330, 'display_set', 'eng/', 'id', 57330) called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x96c1738)', 'display_set', 'eng/', 'id', 57330, 'display_set', 'eng/', 'id', 57330, ...) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x9cd5f40)', 'HTML::Mason::Component::FileBased=HASH(0x96c1738)', 'display_set', 'eng/', 'id', 57330, 'display_set', 'eng/', 'id', ...) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 317
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x9cd5f40)', 'display_set', 'eng/', 'id', 57330) called at /var/lib/mason/obj/db/autohandler line 14
HTML::Mason::Commands::__ANON__('display_set', 'eng/', 'id', 57330) called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x96c6b84)', 'display_set', 'eng/', 'id', 57330) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x9cd5f40)', 'HASH(0x9cd5c70)', 'HTML::Mason::Component::FileBased=HASH(0x96c6b84)', 'display_set', 'eng/', 'id', 57330) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 160
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 160
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9cd5f40)', '/db/people/view.mhtml', 'display_set', 'eng/', 'id', 57330) called at /usr/local/share/perl/5.8.8/HTML/Mason/ApacheHandler.pm line 914
HTML::Mason::ApacheHandler::handle_request_1('HTML::Mason::ApacheHandler=HASH(0x96715c4)', 'Apache=SCALAR(0x9c86d3c)', 'HTML::Mason::Request::ApacheHandler=HASH(0x9cd5f40)', 'undef') called at /usr/local/share/perl/5.8.8/HTML/Mason/ApacheHandler.pm line 560
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/ApacheHandler.pm line 560
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x96715c4)', 'Apache=SCALAR(0x9c86d3c)') called at /etc/apache-perl//mason_handler.pl line 48
HTML::Mason::handler('Apache=SCALAR(0x9c86d3c)') called at /dev/null line 0
eval {...} called at /dev/null line 0