PDA

View Full Version : Annoying Error!


sjsteve33171
09-22-2011, 09:46 PM
Please help. Everytime someone registers and follows the activation link ( yes i do want this feature enabled! ) they get this error:

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, 10:59 PM
When you register a new user, does the activation link have "u=0" in it?

sjsteve33171
09-23-2011, 05: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 1316803785 at 1316803785 ---------------

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