Bad SQL arguments

robertDouglass - September 20, 2008 - 09:09
Project:Calais
Version:6.x-2.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

user warning: 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 ') ORDER BY v.weight, v.name' at line 4 query: SELECT v.vid, v.*, n.type FROM vocabulary v LEFT JOIN vocabulary_node_types n ON v.vid = n.vid WHERE n.type = 'video' and v.vid in () ORDER BY v.weight, v.name in /var/www/cmis-news.com/sites/all/modules/opencalais/calais.module on line 375.

and v.vid in () <-- always check that your array isn't empty =)

#1

febbraro - October 3, 2008 - 18:39
Status:active» fixed

All fixed, thanks Robert.

--project followup subject--

Anonymous (not verified) - October 17, 2008 - 18:44

Automatically closed -- issue fixed for two weeks with no activity.

#2

Anonymous (not verified) - October 17, 2008 - 18:52
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.