vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Registration issue (https://vborg.vbsupport.ru/showthread.php?t=313876)

Lynne 08-24-2014 04:15 PM

Try it without the apostrophes.

CaptainAwesome 08-24-2014 10:58 PM

Quote:

Originally Posted by Lynne (Post 2512583)
Try it without the apostrophes.

No difference.

--------------- Added [DATE]1408926117[/DATE] at [TIME]1408926117[/TIME] ---------------

I think i have identified the problem. I just need some advice on how to clean up the database to avoid screwing things up.

I went into the userid table and it shows a total of 80953 results. It may ahve something to do with when i done a partial import and then an additional import. The error log shows:

MySQL Error : Duplicate entry '50966' for key 'PRIMARY'

I can't select all the rows in one go, and don't want to have to select 30,000 results one by one.

So what would be the best way to fix this? I'm thinking export it, delete it, and then import it. Being inexperienced, i thought i would check with you more experienced people and ask for some guidance on how to best do this. The number of users is very low so re-creating the database shouldn't be a big deal.

Lynne 08-25-2014 03:23 PM

Check the auto_increment for the user table and make sure it is set to a number greater than any userid in the table. Then make sure the userfield table doesn't have a row with a userid greater than the auto_increment either.

CaptainAwesome 08-28-2014 05:53 AM

How would i do that? Google didn't throw up anything useful.

Lynne 08-28-2014 04:12 PM

I use phpMyAdmin to access my database and check things like the auto_increment.

CaptainAwesome 08-29-2014 10:43 AM

After some stumbling around and googling, i found where i edited the auto_increment and it all works fine now.

Thanks for your help.


All times are GMT. The time now is 02:52 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.00947 seconds
  • Memory Usage 1,725KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete