When a new member wants to log in the database query error appears, need some help....
INSERT INTO `Profiles` SET `NickName` = '', `Password` = '1qaz2wsx', `Email` = 'tisnetguides@gmail.com', `DateReg` = '2011-06-21 13:41:08', `DateLastEdit` = '0000-00-00', `Status` = 'Active', `DateLastLogin` = '0000-00-00', `Featured` = 0, `Sex` = 'male', `LookingFor` = '', `DescriptionMe` = '', `DateOfBirth` = '1978-08-18', `Headline` = '', `Country` = 'CH', `City` = 'zurich', `Couple` = 0, `Tags` = '', `zip` = '', `EmailNotify` = 1, `Height` = '', `Weight` = '', `Income` = '', `Occupation` = '', `Religion` = '', `Education` = '', `RelationshipStatus` = '', `Hobbies` = '', `Interests` = '', `Ethnicity` = '', `FavoriteSites` = '', `FavoriteMusic` = '', `FavoriteFilms` = '', `FavoriteBooks` = '', `FirstName` = 'tisnetguides', `LastName` = ''
Mysql error: Duplicate entry '' for key 2
Found error in the file '/var/www/vhosts/tourist20.com/httpdocs/inc/classes/BxDolProfilesController.php' at line 116.
Called 'db_res' function with erroneous argument #0.