I received this error when attempting to use the image import feature in Gallery Pro. I Just realized that it is probably due to the apostrophe in the file name, but I thought I'd report it anyway so a fix might be possible in future. Are there any other characters that may be in a file name on a Linux server that I should watch for?
Database Error
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 's Day at Bartimaeus (2).jpg', 1,1217368951,1,
1)' at line 3
File: /home/preacher/public_html/smf/Sources/Gallery.php
Line: 3853