News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

User registration error ?

Started by seba222, May 16, 2019, 11:37:42 PM

Previous topic - Next topic

seba222

Hi everyone


I have just changed the forum engine for SMF 2.1 RC2 and I have a problem with the registration of new users.

1. If the user wants to register an account, fill in the form and enter the token, he will receive the following message:

array(13) { [0]=> array(3) { ["file"]=> string(56) "/home/szymczyk/pozytywni/forum/Sources/Subs-Db-mysql.php" ["line"]=> int(585) ["function"]=> string(9) "log_error" } [1]=> array(3) { ["file"]=> string(56) "/home/szymczyk/pozytywni/forum/Sources/Subs-Db-mysql.php" ["line"]=> int(489) ["function"]=> string(12) "smf_db_error" } [2]=> array(3) { ["file"]=> string(49) "/home/szymczyk/pozytywni/forum/Sources/Errors.php" ["line"]=> int(138) ["function"]=> string(12) "smf_db_query" } [3]=> array(3) { ["file"]=> string(49) "/home/szymczyk/pozytywni/forum/Sources/Errors.php" ["line"]=> int(290) ["function"]=> string(9) "log_error" } [4]=> array(1) { ["function"]=> string(17) "smf_error_handler" } [5]=> array(3) { ["file"]=> string(56) "/home/szymczyk/pozytywni/forum/Sources/Subs-Db-mysql.php" ["line"]=> int(1013) ["function"]=> string(22) "mysqli_stmt_bind_param" } [6]=> array(3) { ["file"]=> string(49) "/home/szymczyk/pozytywni/forum/Sources/Errors.php" ["line"]=> int(129) ["function"]=> string(19) "smf_db_error_insert" } [7]=> array(3) { ["file"]=> string(56) "/home/szymczyk/pozytywni/forum/Sources/Subs-Db-mysql.php" ["line"]=> int(585) ["function"]=> string(9) "log_error" } [8]=> array(3) { ["file"]=> string(56) "/home/szymczyk/pozytywni/forum/Sources/Subs-Db-mysql.php" ["line"]=> int(489) ["function"]=> string(12) "smf_db_error" } [9]=> array(3) { ["file"]=> string(56) "/home/szymczyk/pozytywni/forum/Sources/Subs-Db-mysql.php" ["line"]=> int(788) ["function"]=> string(12) "smf_db_query" } [10]=> array(3) { ["file"]=> string(55) "/home/szymczyk/pozytywni/forum/Sources/Subs-Members.php" ["line"]=> int(715) ["function"]=> string(13) "smf_db_insert" } [11]=> array(3) { ["file"]=> string(51) "/home/szymczyk/pozytywni/forum/Sources/Register.php" ["line"]=> int(496) ["function"]=> string(14) "registerMember" } [12]=> array(3) { ["file"]=> string(40) "/home/szymczyk/pozytywni/forum/index.php" ["line"]=> int(151) ["function"]=> string(9) "Register2" } } Error loop.


After that, if it refreshes the page, it will display the message:

Verification via token failed, please go back and try again.


The same happens if I try to register the user as an admin.

Maybe someone has any idea why this is happening? No new user can register on the forum.

m4z

Maybe a cookie issue? Try "Admin" -> "Maintenance" -> "Server Settings" -> "Cookies and Sessions".

What's the setting of:

  • Enable local storage of cookies
  • Use subdomain independent cookies

Depending on the type of your forum URL ("example.org/forum" vs. "forum.example.org/"), you might need to adjust that.
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!

seba222

Quote from: m4z on May 17, 2019, 03:07:35 AM
Maybe a cookie issue? Try "Admin" -> "Maintenance" -> "Server Settings" -> "Cookies and Sessions".

What's the setting of:

  • Enable local storage of cookies
  • Use subdomain independent cookies

Depending on the type of your forum URL ("hxxp:example.org/forum [nonactive]" vs. "hxxp:forum.example.org/ [nonactive]"), you might need to adjust that.

Unfortunately, it does not help. The problem still occurs :(

Arantor

Did you upgrade from 2.0 with mods installed? Is there anything in the error log?
Holder of controversial views, all of which my own.


seba222

Upgrade was from 2.15. In the "old" forum we had a problem with Polish characters and that's why we made the upgrade. There were no mods except Tapatalk.

When the ERROR LOG is opened, the following message is displayed:


Unknown column 'id_error' in 'field list'
File: /home/szymczyk/pozytywni/forum/Sources/ManageErrors.php
Line: 159

Arantor

Holder of controversial views, all of which my own.


seba222

Download LargeUpdate from: http://download.simplemachines.org

upgrade.php + enter, enter, enter  ;D

There were no errors during upgrade.

Advertisement: