![]() |
can't registered
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? |
RE: can't registered
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. |
RE: can't registered
ok tnc
|
RE: can't registered
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?
|
RE: can't registered
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 |
RE: can't registered
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','','','','')"); |
RE: can't registered
change it already to
mysql_query("INSERT INTO ".$prefix."users VALUES ('', '$username', '$pass1', '$email', '3', '1', '$date', '0', '')"); |
RE: can't registered
Quote:
|
RE: can't registered
Quote:
|
RE: can't registered
how many fields do you have in your adopts_users table in your database?
|
All times are GMT -5. The time now is 01:43 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.