MyBB Community Forums
[Error Message] Authorization code mismatch - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [Error Message] Authorization code mismatch (/thread-219017.html)



Authorization code mismatch - combocenter - 2018-07-30

Hello

My forum https://combocenter.com

I am getting the folowing error whenever someone tries to login. 

Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.


I have already tried the fix that was mentioned in various threads. I pasted the code in the mentioned templates but it did not do anything. 


I did the upgrade recently. I am using the theme bootBB responsive. 

im use also this thread but not working https://community.mybb.com/thread-218862.html

thanks 


RE: Authorization code mismatch - Serpius - 2018-07-30

(2018-07-30, 10:49 AM)combocenter Wrote: Hello

My forum https://combocenter.com

I am getting the folowing error whenever someone tries to login. 

Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.


I have already tried the fix that was mentioned in various threads. I pasted the code in the mentioned templates but it did not do anything. 


I did the upgrade recently. I am using the theme bootBB responsive. 

im use also this thread but not working https://community.mybb.com/thread-218862.html

thanks 

Have you tried logging in using the default MyBB theme?

Report back to us after you have tried the default theme.


RE: Authorization code mismatch - combocenter - 2018-07-30

(2018-07-30, 10:53 AM)Serpius Wrote:
(2018-07-30, 10:49 AM)combocenter Wrote: Hello

My forum https://combocenter.com

I am getting the folowing error whenever someone tries to login. 

Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.


I have already tried the fix that was mentioned in various threads. I pasted the code in the mentioned templates but it did not do anything. 


I did the upgrade recently. I am using the theme bootBB responsive. 

im use also this thread but not working https://community.mybb.com/thread-218862.html

thanks 

Have you tried logging in using the default MyBB theme?

Report back to us after you have tried the default theme.

i can loggin in defult theme not probleme .
but cant in my custome theme.


RE: Authorization code mismatch - Serpius - 2018-07-30

(2018-07-30, 11:34 AM)combocenter Wrote:
(2018-07-30, 10:53 AM)Serpius Wrote:
(2018-07-30, 10:49 AM)combocenter Wrote: Hello

My forum https://combocenter.com

I am getting the folowing error whenever someone tries to login. 

Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.


I have already tried the fix that was mentioned in various threads. I pasted the code in the mentioned templates but it did not do anything. 


I did the upgrade recently. I am using the theme bootBB responsive. 

im use also this thread but not working https://community.mybb.com/thread-218862.html

thanks 

Have you tried logging in using the default MyBB theme?

Report back to us after you have tried the default theme.

i can loggin in defult theme not probleme .
but cant in my custome theme.

Look at the screenshot. You still need to fix your custom theme.

[Image: d067177a56c14f5b7931e73689ce0fc4.png]


RE: Authorization code mismatch - combocenter - 2018-07-30

thank you for answering but not working yet :-(


RE: Authorization code mismatch - iAndrew - 2018-07-30

Your current theme is not showing the new my_post_key form code. Open header_welcomeblock_guest

Replace this
<form method="post" action="{$mybb->settings['bburl']}/member.php">
						<input name="action" type="hidden" value="do_login" />
						<input name="url" type="hidden" value="" />
						<input name="quick_login" type="hidden" value="1" />

with this
		<form method="post" action="{$mybb->settings['bburl']}/member.php">
						<input name="action" type="hidden" value="do_login" />
						<input name="url" type="hidden" value="" />
						<input name="quick_login" type="hidden" value="1" />
						<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />



RE: Authorization code mismatch - combocenter - 2018-07-31

(2018-07-30, 09:51 PM)iAndrew Wrote: Your current theme is not showing the new my_post_key form code. Open header_welcomeblock_guest

Replace this
<form method="post" action="{$mybb->settings['bburl']}/member.php">
						<input name="action" type="hidden" value="do_login" />
						<input name="url" type="hidden" value="" />
						<input name="quick_login" type="hidden" value="1" />

with this
		<form method="post" action="{$mybb->settings['bburl']}/member.php">
						<input name="action" type="hidden" value="do_login" />
						<input name="url" type="hidden" value="" />
						<input name="quick_login" type="hidden" value="1" />
						<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />

thank you dear , worked. :X