System error

error:  DBD::mysql::db selectall_arrayref failed: 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 '>Strauss (Strauß) family<)) AND comp.comp = c_g.comp AND c_g.`group` = groups.i' at line 1 at /var/www/mason/index.html line 391.
context: 
... 
387:  }
388: 
389:  elsif ($ARGS{'_type'} eq 'group') {
390:  my @groups = split '/', $ARGS{'_id'};
391:  $data = $dbh->selectall_arrayref(group_members(\@groups));
392:  $h1 = '';
393:  foreach (@groups) {
394:  my $group_data = $dbh->selectall_arrayref(group_data($_));
395:  $h1 .= @{$group_data->[0]}[0] . '. ';
... 
code stack:  /var/www/mason/index.html:391
raw error






























DBD::mysql::db selectall_arrayref failed: 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 '>Strauss (Strauß) family<)) AND comp.comp = c_g.comp AND c_g.`group` = groups.i' at line 1 at /var/www/mason/index.html line 391.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('DBD::mysql::db selectall_arrayref failed: 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 \'>Strauss (StrauM-CM-^_) family<)) AND comp.comp = c_g.comp AND c_g.`group` = groups.i\' at line 1 at /var/www/mason/index.html line 391.^J') called at /var/www/mason/index.html line 391
HTML::Mason::Commands::__ANON__('_id', '>Strauss (StrauM-CM-^_) family</a', '_type', 'group') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9ee44d0)', '_id', '>Strauss (StrauM-CM-^_) family</a', '_type', 'group') called at /usr/share/perl5/HTML/Mason/Request.pm line 1251
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef, undef, '_id', '>Strauss (StrauM-CM-^_) family</a', '_type', 'group') called at /usr/share/perl5/HTML/Mason/Request.pm line 460
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 460
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 412
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9d4e748)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9d4e748)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 832
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x9bda090)', 'Apache2::RequestRec=SCALAR(0x9d4e8a4)') called at (eval 32) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x9d4e8a4)') called at -e line 0
eval {...} at -e line 0