Htmlarea causes the following mysl error when users try to create new images with the image module:

Fatal 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 'FROM locales WHERE string = '%error: %message in %file on line query: SELECT lid, FROM locales WHERE string = '%error: %message in %file on line %line.' in /home/woorg/public_html/includes/database.mysql.inc on line 125

if htmlarea is disalbed this works fine. Yet, it also works for admin regardless, which is strange.

Comments

Eric Scouten’s picture

Note. This was also posted as a bug against image.module (bug# 9962). For now, I'll consider it more likely that image.module is at fault and mark this one as a duplicate. If it looks like the fix needs to be made in htmlarea.module, I'll reawaken this bug.