Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-1.x-dev
Component:
content.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Mar 2006 at 06:07 UTC
Updated:
9 Apr 2006 at 16:00 UTC
Just downloaded, on enabling the module I get this error:
Query failed: ERROR: argument of WHERE must be type boolean, not type integer in /home/nesta/public_html/drupal/includes/database.pgsql.inc on line 84.
query: SELECT * FROM node_type nt WHERE 1 ORDER BY nt.type_name ASC in /home/nesta/public_html/drupal/includes/database.pgsql.inc on line 103.
This is from the _content_types function. Changing the query to:
SELECT * FROM node_type nt WHERE TRUE ORDER BY nt.type_name ASC seems to work for both postgresql and mysql.
Comments
Comment #1
jonbob commentedRemoved the where clause entirely.
Comment #2
(not verified) commented