MyBB Community Forums

Full Version: Can't login on my mybb test installation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2020-05-08, 04:14 PM)8guawong Wrote: [ -> ]
(2020-05-08, 03:25 PM)noyle Wrote: [ -> ]
(2020-05-08, 02:56 PM)8guawong se Wrote: [ -> ]změnil na  „$ settings ['nocacheheaders'] =" 1 ";" a stále se nemůžu přihlásit pomocí administrátorského nebo testovacího účtu, protože se
mi  neshoduje autorizační kód. Máte přístup k této funkci správně? Vraťte se a zkuste to znovu.

Chcete mi poslat účet správce a heslo pro vyšetřování?

PMed 
díky  Big Grin
H. I was have to this problem. You maybe dont have responsible template design.i was reinstall mybb forum and disable autorization code
I didn't have the authorization code mismatch error on http://www.testmybb.blackmarke7.com/ until I accidentally visited OP's main board http://www.blackmarke7.com/ before visiting http://www.testmybb.blackmarke7.com/ .

The full explanation is a bit complex but the main reason here is the two sites have cookies with same names (such as sid) from two boards and in certain circumstances that'll result in wrong cookies being sent to one of the sites then finally an authorization code mismatch error.

The fix is pretty simple, just set a different cookie prefix for one of the boards or set different cookie prefixes for all of the boards, for sites whose domains or sub-domains match the domain of one of them.
(2020-05-10, 06:34 AM)noyle Wrote: [ -> ]I didn't have the authorization code mismatch error on http://www.testmybb.blackmarke7.com/ until I accidentally visited OP's main board http://www.blackmarke7.com/ before visiting http://www.testmybb.blackmarke7.com/ .

The full explanation is a bit complex but the main reason here is the two sites have cookies with same names (such as sid) from two boards and in certain circumstances that'll result in wrong cookies being sent to one of the sites then finally an authorization code mismatch error.

The fix is pretty simple, just set a different cookie prefix for one of the boards or set different cookie prefixes for all of the boards, for sites whose domains or sub-domains match the domain of one of them.

this solved it :-)
Pages: 1 2