Error upon creation of node

Amitaibu - March 16, 2008 - 08:16
Project:Unique field
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:detour
Status:closed
Description

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.

#1

dalcorta - March 24, 2008 - 12:17

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

#2

detour - October 25, 2008 - 23:51
Assigned to:Anonymous» detour
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).

#3

Anonymous (not verified) - November 8, 2008 - 23:51
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.