warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\wamp\www\D5\sites\all\modules\unique_field\unique_field.module on line 206.

Comments

dalcorta’s picture

Same here, not only does that warning appear, the field is not unique. I was able to create 2 nodes with same field value

arithmetric’s picture

Assigned: Unassigned » arithmetric
Status: Active » Fixed

This likely had to do with my use of the database-specific function mysql_fetch_object instead of Drupal's abstraction layer function db_fetch_object. This is changed in the latest version (dated 2008-October-25).

Anonymous’s picture

Status: Fixed » Closed (fixed)

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