System error

error:  You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '% $display_set %>)
FROM people
WHERE id = '<% $id %>'' at line 1 at /var/www/db/common/navbar.mhtml line 453
context: 
... 
265:  # whether they should generate a full stack trace (confess() and cluck())
266:  # or simply report the caller's package (croak() and carp()), respectively.
267:  # confess() and croak() die, carp() and cluck() warn.
268: 
269:  sub croak { die shortmess @_ }
270:  sub confess { die longmess @_ }
271:  sub carp { warn shortmess @_ }
272:  sub cluck { warn longmess @_ }
273: 
... 
code stack:  /opt/perl-5.8.8/lib/5.8.8/Carp.pm:269
/opt/perl-5.8.8/lib/site_perl/5.8.8/x86_64-linux-thread-multi/HKMDB/Database.pm:463
/var/www/db/common/navbar.mhtml:453
/var/www/db/common/navbar.mhtml:49
/var/www/db/people/autohandler:15
/var/www/db/autohandler:2
raw error






























You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '% $display_set %>)
    FROM   people
    WHERE  id = '<% $id %>'' at line 1 at /var/www/db/common/navbar.mhtml line 453


Trace begun at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near \'% $display_set %>)^J    FROM   people^J    WHERE  id = \'<% $id %>\'\' at line 1 at /var/www/db/common/navbar.mhtml line 453^J') called at /opt/perl-5.8.8/lib/5.8.8/Carp.pm line 269
Carp::croak('You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near \'% $display_set %>)^J    FROM   people^J    WHERE  id = \'<% $id %>\'\' at line 1') called at /opt/perl-5.8.8/lib/site_perl/5.8.8/x86_64-linux-thread-multi/HKMDB/Database.pm line 463
HKMDB::Database::select_column('HKMDB::Database=HASH(0x38612f0)', 'sql', '^J    SELECT LENGTH(bio_<% $display_set %>)^J    FROM   people^J    WHERE  id = ?^J', 'bind', 'ARRAY(0x37a3f10)') called at /var/www/db/common/navbar.mhtml line 453
HTML::Mason::Commands::__ANON__('id', '<% $id %>', 'display_set', '<% $display_set %>') called at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x3610820)', 'id', '<% $id %>', 'display_set', '<% $display_set %>') called at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 1302
eval {...} at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'id', '<% $id %>', 'display_set', '<% $display_set %>') called at /var/www/db/common/navbar.mhtml line 49
HTML::Mason::Commands::__ANON__('mode', 'person', 'id', '<% $id %>', 'display_set', '<% $display_set %>') called at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x3610d30)', 'mode', 'person', 'id', '<% $id %>', 'display_set', '<% $display_set %>') called at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 1302
eval {...} at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'mode', 'person', 'id', '<% $id %>', 'display_set', '<% $display_set %>') called at /var/www/db/people/autohandler line 15
HTML::Mason::Commands::__ANON__('display_set', '<% $display_set %>', 'image_id', '<% $person_image->{image_id} %>', 'id', '<% $id %>', 'image_id', '<% $person_image->{image_id} %>', 'display_set', '<% $display_set %>', 'id', '<% $id %>') called at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fecb31d5c50)', 'display_set', '<% $display_set %>', 'image_id', '<% $person_image->{image_id} %>', 'id', '<% $id %>', 'image_id', '<% $person_image->{image_id} %>', 'display_set', '<% $display_set %>', 'id', '<% $id %>') called at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 1302
eval {...} at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'display_set', '<% $display_set %>', 'image_id', '<% $person_image->{image_id} %>', 'id', '<% $id %>', 'image_id', '<% $person_image->{image_id} %>', 'display_set', '<% $display_set %>', 'id', '<% $id %>') called at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x39a45c0)', 'image_id', '<% $person_image->{image_id} %>', 'display_set', '<% $display_set %>', 'id', '<% $id %>') called at /var/www/db/autohandler line 2
HTML::Mason::Commands::__ANON__('display_set', '<% $display_set %>', 'image_id', '<% $person_image->{image_id} %>', 'id', '<% $id %>') called at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x34acb10)', 'display_set', '<% $display_set %>', 'image_id', '<% $person_image->{image_id} %>', 'id', '<% $id %>') called at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 1297
eval {...} at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'display_set', '<% $display_set %>', 'image_id', '<% $person_image->{image_id} %>', 'id', '<% $id %>') called at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 481
eval {...} at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 481
eval {...} at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x39a45c0)') called at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x39a45c0)') called at /opt/perl-5.8.8/lib/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x33992d0)', 'Apache2::RequestRec=SCALAR(0x36531b0)') called at (eval 30) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x36531b0)') called at -e line 0
eval {...} at -e line 0