Mason error

error in file:   /usr/local/share/perl/5.8.8/HTML/Mason/Interp.pm
 
line 522:  WHERE id = '27639'' 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 = '27639'' 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(0x8f8a288)', 'sql', '\x{a}    SELECT LENGTH(bio_big5/)\x{a}    FROM   people\x{a}    WHERE  id...', 'bind', 'ARRAY(0x8f1c9f8)') called at /var/lib/mason/obj/db/common/navbar.mhtml line 522
HTML::Mason::Commands::__ANON__('id', 27639, 'display_set', 'big5/') called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x8e2489c)', 'id', 27639, 'display_set', 'big5/') 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(0x8f50b00)', '.person', 'id', 27639, 'display_set', 'big5/') called at /var/lib/mason/obj/db/common/navbar.mhtml line 775
HTML::Mason::Commands::__ANON__('mode', 'person', 'id', 27639, 'display_set', 'big5/') called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8e249a4)', 'mode', 'person', 'id', 27639, 'display_set', 'big5/') 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(0x8f50b00)', '/db/common/navbar.mhtml', 'mode', 'person', 'id', 27639, 'display_set', 'big5/') called at /var/lib/mason/obj/db/people/autohandler line 88
HTML::Mason::Commands::__ANON__('display_set', 'big5/', 'id', 27639, 'display_set', 'big5/', 'id', 27639) called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8da68a0)', 'display_set', 'big5/', 'id', 27639, 'display_set', 'big5/', 'id', 27639, ...) 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(0x8f50b00)', 'SCALAR(0x8f515b0)', 'SCALAR(0x8f5fc9c)') called at /var/lib/mason/obj/db/people/autohandler line 16
HTML::Mason::Commands::__ANON__('display_set', 'big5/', 'id', 27639, 'display_set', 'big5/', 'id', 27639) called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8da68a0)', 'display_set', 'big5/', 'id', 27639, 'display_set', 'big5/', 'id', 27639, ...) 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(0x8f50b00)', 'HTML::Mason::Component::FileBased=HASH(0x8da68a0)', 'display_set', 'big5/', 'id', 27639, 'display_set', 'big5/', '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(0x8f50b00)', 'display_set', 'big5/', 'id', 27639) called at /var/lib/mason/obj/db/autohandler line 14
HTML::Mason::Commands::__ANON__('display_set', 'big5/', 'id', 27639) called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8d939c4)', 'display_set', 'big5/', 'id', 27639) 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(0x8f50b00)', 'HASH(0x8f5c528)', 'HTML::Mason::Component::FileBased=HASH(0x8d939c4)', 'display_set', 'big5/', 'id', 27639) 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(0x8f50b00)', '/db/people/view.mhtml', 'display_set', 'big5/', 'id', 27639) 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(0x8d695c4)', 'Apache=SCALAR(0x8f83dd4)', 'HTML::Mason::Request::ApacheHandler=HASH(0x8f50b00)', '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(0x8d695c4)', 'Apache=SCALAR(0x8f83dd4)') called at /etc/apache-perl//mason_handler.pl line 48
HTML::Mason::handler('Apache=SCALAR(0x8f83dd4)') called at /dev/null line 0
eval {...} called at /dev/null line 0