Software error:

output::add_template:template error: undef error - Не могу выполнить: [select header, filename from attach where exhibition_id = 6155;key=photo;gallery=63;all=1] 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 'key=photo;gallery=63;all=1' at line 1
 at /www/expo/htdocs/builder.pl line 137

For help, please send mail to the webmaster (sv@trade.su), giving this error message and the time and date of the error.