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 |
Jump to:
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
All fixed, thanks Robert.
--project followup subject--
Automatically closed -- issue fixed for two weeks with no activity.
#2
Automatically closed -- issue fixed for two weeks with no activity.