Thread: Failed Login
View Single Post
  #4  
Old 04-11-2009, 11:09 AM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 17,456
BMR777 is on a distinguished road
Default RE: Failed Login

Yep, the problem is that you added that items field. Find:

PHP Code:
mysql_query("INSERT INTO users VALUES ('', '$username', '$pass1','$email','free','0')"); 
Replace With:

PHP Code:
mysql_query("INSERT INTO users VALUES ('', '$username', '$pass1','$email','free','0','0')"); 
Every time you add a field to the users table you also have to make a space for that field in the register2.php file. This is one of the reasons I discourage mods modifying existing tables and encourage them to create new tables of their own. :)

Those users will need to re-register as they were never inserted into the users table.
Reply With Quote