vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Annoying Error! (https://vborg.vbsupport.ru/showthread.php?t=270758)

sjsteve33171 09-22-2011 08:46 PM

Annoying Error!
 
Please help. Everytime someone registers and follows the activation link ( yes i do want this feature enabled! ) they get this error:

Code:

Fatal error:

    * A required field called userid is missing or has an invalid value.

Unable to proceed with save while $errors array is not empty in class vB_DataManager_User in [path]/includes/class_dm.php on line 849

But the forum works fine... I tired disabling all mods and still had the issue.

Also if i search for a user and click edit, it takes me to a blank user edit screen....

Thanks and sorry if its in the wrong forum!


UPDATE: Seems any OLD user has userid fine, but any new people registering get assigned a userid of 0...

kh99 09-22-2011 09:59 PM

When you register a new user, does the activation link have "u=0" in it?

sjsteve33171 09-23-2011 04:29 PM

I don't know, doesn't go that far, its literally over the registration page you fill out, as soon as you click the agree to forum rules then press register the error comes up

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

Ok i've managed to fix it with a Techie where I work. Basically the issue with userid been assigned 0 is because the userid table was not set to autoincriment. So, he set 'userid' table as the primary key, then he added the auto incriment to that table. Now registration works and so does activation!

Hopefully someone else might come accross this page and it will help them.

Thanks


All times are GMT. The time now is 07:47 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.01387 seconds
  • Memory Usage 1,709KB
  • 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
  • (3)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