vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   MySQL Error : Duplicate entry '4294967295' for key 1 Error Number : 1062 (https://vborg.vbsupport.ru/showthread.php?t=188592)

Arman Dinarvand 08-19-2008 08:27 PM

MySQL Error : Duplicate entry '4294967295' for key 1 Error Number : 1062
 
Hi when i want to add a new user or one user want to register in my forum this message apear for me please help me how to solve it thank you
Code:

Database error in vBulletin 3.7.2:

Invalid SQL:
INSERT INTO user
        (salt, passworddate, password, options, adminoptions, usertitle, customtitle, username, email, languageid, homepage, birthday_search, birthday, showbirthday, icq, aim, yahoo, msn, skype, parentemail, referrerid, ipaddress, posts, usergroupid, reputationlevelid, reputation, warnings, infractions, ipoints, pmpopup, autosubscribe, threadedmode, showvbcode, styleid, timezoneoffset, daysprune, joindate, lastactivity, lastpost, membergroupids, displaygroupid, lastvisit, maxposts, startofweek)
VALUES
        ('b4<', FROM_UNIXTIME(1219180045), '567cec123cbad7cdfabb5cdc16626834', 11541879, 0, 'کاربر تازه وارد', 0, 'arman3', 'arman3@itech2.net', 0, '', '', '', 0, '', '', '', '', '', '', 0, '', 0, 2, 5, 10, 0, 0, 0, 1, 0, 0, 2, 0, '3.5', -1, 1219179960, 1219179960, 0, '', '', 1219180045, -1, -1);

MySQL Error  : Duplicate entry '4294967295' for key 1
Error Number  : 1062
Request Date  : Tuesday, August 19th 2008 @ 03:07:25 PM
Error Date    : Tuesday, August 19th 2008 @ 03:07:25 PM
Script        : http://www.itech2.net/admincp/user.php?do=update
Referrer      : http://www.itech2.net/admincp/user.php?do=add
IP Address    : 213.207.221.198
Username      : Arman
Classname    : vB_Database
MySQL Version : 5.0.45-community-log


Opserty 08-19-2008 08:48 PM

Check the manual in future, Duplicate entry 'XXX' ;)

Marco van Herwaarden 08-20-2008 06:05 AM

That will not solve this situation. I suggest that you open a support ticket regarding this issue as it will be easier to resolve if a technician has access to your database.

Opserty 08-20-2008 08:00 AM

:erm: Stoopid manual :mad: :D

Marco van Herwaarden 08-20-2008 08:44 AM

That part of the manual is usefull in most cases with this error, but not in this specific case. The "out of the ordinary" in this specific issue is that it looks like the maximum value for this field is already reached and the database must first be inspected to see if there are any large gaps in userid numbering, then the auto_increment value must be reset to a suitable value and possibly some higher number accounts need to be renumbered or removed & recreated.

Opserty 08-20-2008 11:52 AM

Oh I see. Makes sense ;)

So the "4294967295" is the next userid (I assume)? 4 billion users does seem a lot. :D

Marco van Herwaarden 08-20-2008 01:28 PM

Yes the '4294967295' is the new userid.

DanielMaidment 11-06-2010 11:31 PM

im having this problem with my forum currently - we dont know how to stop this happening ? - soooo annoying

BirdOPrey5 11-07-2010 12:28 AM

As Marco told the other guy you should open a support ticket if you can... for some reason your userid counter has reached the maximum allowed value but since you obviously don't have 4 billion users something went wrong... You (or someone qualified) will need to manually look at your users table in the database and see where your user id's jumped from normal values to the billions... The auto increment will need to be reset to the lower, correct value... Higher user ids, if they exist may have to be changed or deleted. How many users does your forum report you as having?


All times are GMT. The time now is 01:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00905 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete