[support] SQL warnings after registration

Daniel leva at az.isten.hu
Mon Apr 23 09:55:59 UTC 2007


Hi!

When trying to register on my site (Drupal 5.1), I get a succesful 
registration, but with these warning messages:

1. warning: pg_query() [function.pg-query]: Query failed: ERROR: 
argument of OR must be type boolean, not type integer 
in /site/includes/database.pgsql.inc on line 125.
2. user warning: query: SELECT u.mail, u.name FROM users u LEFT JOIN 
users_roles ur on u.uid = ur.uid WHERE 0 OR ur.rid = 3 
in /site/includes/database.pgsql.inc on line 144.

I'm using postgresql-8.1.8.

Any help would be appreciated,

Thank!

Daniel


More information about the support mailing list