![]() |
|
#1
|
|||
|
|||
![]()
can't register a new account on my site it says:
Something is Wrong! Something is very, very wrong. Please contact Rusnak PHP Scripts about this error. my last registered user is bloodrun =.=" any help? |
#2
|
||||
|
||||
![]()
Then, go to your register.php file, find where it says:
PHP Code:
PHP Code:
PHP Code:
Let's let BMR777 explain that one: Adding an extra field onto the users table requires you to edit register.php so the SQL query for creating a new user matches with the new database table structure. Failure to do this will BREAK the user registration system. |
#3
|
|||
|
|||
![]()
ok tnc
|
#4
|
|||
|
|||
![]()
That error occurs only if the system cannot automatically log in the new user after registration, which normally should never happen. What modifications have you made to register.php or to the script in general?
|
#5
|
|||
|
|||
![]()
i cant find that..
only this : Code:
mysql_query("INSERT INTO ".$prefix."users VALUES ('', '$username', '$pass1','$email','3','1', '$date', '0',''),''),''),'')"); i didnt do anything on register.php |
#6
|
||||
|
||||
![]() Quote:
You only need the two parenthesis at the end, it should look like this: mysql_query("INSERT INTO ".$prefix."users VALUES ('', '$username', '$pass1','$email','3','1', '$date', '0','','','','')"); |
#7
|
|||
|
|||
![]() Quote:
|
#8
|
|||
|
|||
![]()
change it already to
mysql_query("INSERT INTO ".$prefix."users VALUES ('', '$username', '$pass1', '$email', '3', '1', '$date', '0', '')"); |
#9
|
||||
|
||||
![]() Quote:
|
#10
|
|||
|
|||
![]()
how many fields do you have in your adopts_users table in your database?
|
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
A way to show newest registered member? | Xius | Questions and Supports | 3 | 04-15-2009 07:36 PM |
1,021 Registered Users | kab012345 | Other Chat | 1 | 03-22-2009 05:38 PM |
What's New? |
What's Hot? |
What's Popular? |