If extra spaces or * characters are in the search it fails.
Code:
Database error in vBulletin 4.2.2:
Invalid SQL:
SELECT
COUNT(imageid) AS imagecount
FROM dbtech_gallery_images
WHERE
instanceid = 1 &&
approved = 1 &&
deleted = 0 &&
MATCH
(title, text, tagging, username)
AGAINST
('+jewellery* +jewel* +crystal* +fashion* +* +abstract* ' IN BOOLEAN MODE);
MySQL Error : syntax error, unexpected '+', expecting FTS_TERM or FTS_NUMB or '*'
Error Number : 1064
Request Date : Monday, May 5th 2014 @ 05:04:21 PM
Error Date : Monday, May 5th 2014 @ 05:04:21 PM