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 images as i,company_resources as cr,resources as r WHER' at line 1 at /var/www/db/companies/view.mhtml line 338 |
||||||||||||||||||||||
| context: |
|
||||||||||||||||||||||
| 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:402 /var/www/db/companies/view.mhtml:338 /var/www/db/companies/autohandler:98 /var/www/db/autohandler:2 |
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 images as i,company_resources as cr,resources as r
WHER' at line 1 at /var/www/db/companies/view.mhtml line 338
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 %>^JFROM images as i,company_resources as cr,resources as r^JWHER\' at line 1 at /var/www/db/companies/view.mhtml line 338^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 %>^JFROM images as i,company_resources as cr,resources as r^JWHER\' 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 402
HKMDB::Database::select_rows('HKMDB::Database=HASH(0x273f200)', 'sql', 'SELECT i.id,i.thumbnail_path,i.thumbnail_height,i.thumbnail_width,i.description_<% $display_set %>^JFROM images as i,company_resources as cr,resources as r^JWHERE cr.company_id = ?^J AND r.id = cr.resource_id^J AND r.table_name = \'images\'^J AND r.table_id = i.id^J LIMIT 5^J', 'bind', 'ARRAY(0x278a640)', 'hashref', 1) called at /var/www/db/companies/view.mhtml line 338
HTML::Mason::Commands::__ANON__('display_set', '<% $display_set %>', 'id', '<% $d_id %>', 'display_set', '<% $display_set %>', 'id', '<% $d_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(0x277d2f0)', 'display_set', '<% $display_set %>', 'id', '<% $d_id %>', 'display_set', '<% $display_set %>', 'id', '<% $d_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 %>', 'id', '<% $d_id %>', 'display_set', '<% $display_set %>', 'id', '<% $d_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(0x7f6c2efa0020)') called at /var/www/db/companies/autohandler line 98
HTML::Mason::Commands::__ANON__('display_set', '<% $display_set %>', 'id', '<% $d_id %>', 'display_set', '<% $display_set %>', 'id', '<% $d_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(0x2070820)', 'display_set', '<% $display_set %>', 'id', '<% $d_id %>', 'display_set', '<% $display_set %>', 'id', '<% $d_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 %>', 'id', '<% $d_id %>', 'display_set', '<% $display_set %>', 'id', '<% $d_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(0x7f6c2efa0020)', 'display_set', '<% $display_set %>', 'id', '<% $d_id %>') called at /var/www/db/autohandler line 2
HTML::Mason::Commands::__ANON__('display_set', '<% $display_set %>', 'id', '<% $d_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(0x1c41f30)', 'display_set', '<% $display_set %>', 'id', '<% $d_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 %>', 'id', '<% $d_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(0x7f6c2efa0020)') 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(0x7f6c2efa0020)') 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(0x1b4a5a0)', 'Apache2::RequestRec=SCALAR(0x27a77f0)') called at (eval 30) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x27a77f0)') called at -e line 0
eval {...} at -e line 0