FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » SQL Error when Updating Profiles
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
SQL Error when Updating Profiles [message #4309] Mon, 22 July 2002 21:27 Go to next message
derekg   Canada
Messages: 9
Registered: May 2002
Karma: 0
Junior Member
With version 2.0 we were having problems updating profiles for members. It was suggested to upgrade to 2.2 and we did so. We are still getting the same error as follows:

query failed: %( UPDATE fud2_users SET name='Derekg, alias='', email='derekg(at)cogeco(dot)ca', display_email='N', notify='Y', notify_method='EMAIL', ignore_admin='N', email_messages='Y', gender='UNSPECIFIED', icq=NULL, aim=NULL, yahoo=NULL, msnm=NULL, jabber=NULL, append_sig='Y', show_sigs='Y', show_avatars='Y', posts_ppg='0', time_zone='America/Montreal', invisible_mode='Y', bday=0000, user_image=NULL, location='', occupation='', interests='', avatar=0, theme=1, avatar_loc=NULL, avatar_approved='NO', sig=NULL, default_view='msg', home_page=NULL, bio=NULL WHERE id=20 )% because %( Duplicate entry '' for key 2 )%

We get the same problem for new and exisiting users (meaning new users since the upgrade and existing ones before the upgrade). Is there something we have done wrong, or a setting we need to check, or is this a bug?
Re: SQL Error when Updating Profiles [message #4310 is a reply to message #4309] Tue, 23 July 2002 00:35 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Are you running version 2.2.3 or earlier?

I see why the query would fail, the alias field is incorrectly to set '', however I cannot track down the error unless i know the exact version of the forum you are running.


FUDforum Core Developer
Re: SQL Error when Updating Profiles [message #4311 is a reply to message #4310] Tue, 23 July 2002 02:40 Go to previous messageGo to next message
derekg   Canada
Messages: 9
Registered: May 2002
Karma: 0
Junior Member
Version 2.2.2
Re: SQL Error when Updating Profiles [message #4315 is a reply to message #4311] Tue, 23 July 2002 11:36 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Aha, that was a bug in version 2.2.2, if you upgrade to 2.2.3 that problem will go away.

FUDforum Core Developer
Re: SQL Error when Updating Profiles [message #4317 is a reply to message #4315] Tue, 23 July 2002 12:53 Go to previous message
derekg   Canada
Messages: 9
Registered: May 2002
Karma: 0
Junior Member
thanks
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: percent numbers in admin control->forum statistics
Next Topic: FUDForum Header
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 03:28:46 GMT 2024

Total time taken to generate the page: 0.01827 seconds