* warning: Invalid argument supplied for foreach() in /var/www/modules/opencalais/calais.module on line 405.
* warning: implode() [function.implode]: Bad arguments. in /var/www/modules/opencalais/calais.module on line 431.
* 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 = 'page' and v.vid in () ORDER BY v.weight, v.name in /var/www/modules/opencalais/calais.module on line 440.

hi,

i am seeming to get this error when i try to create any type of content. i've installed the opencalais module, and all dependancies, and all seemed to checkout just fine. i also inputted the api code from calais.

drupal 6.2
ubuntu 8.04, Kernel 2.4.26
Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.1 with Suhosin-Patch
PHP 5.2.4-2ubuntu5.1
MySQL 5.0.51a

any help would be really appreciated.

thank you,

ephman

Comments

ephman’s picture

i fixed this by actually enabling the service.

comfycat’s picture

i had the same problem, because I overlooked the "calais node settings" tab in the Calais Configuration