MyBB Community Forums

Full Version: Authorization code mismatch. Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
(2018-09-19, 11:18 AM)iKsu Wrote: [ -> ]I tried all this and no way fixed it....
Please guys give me any solution and thank you all

From view sourcing your web page it does not look like you have done as suggested. Your website still contains the 1813, 1817 and a No option for cookie secure flag.

I am unable to help any further if my suggestions are not being done. I do hope you get this problem fixed. Smile
(2018-09-18, 11:00 PM)isoldehn Wrote: [ -> ]Just to see if it works....

Ungrouped Templates --> headerinclude where you have:
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1813"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1813"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1817"></script>

Replace with this (assuming you are running 1.8.19?):
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1819"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1819"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1819"></script>



I can also see that your cookie secure flag is not proper, thus meaning the https:// is not configured completely. In Admin CP --> Configuration -->  Site Details --> Secure Cookie Flag set the option to Yes

@isoldehn

The version numbers are not meant to work like that. The version number reflects when last the file was changed. So for mybb 1.8.19 it would be correct to have:


<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1813"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1813"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1817"></script>
That is my mistake then, it seemed to have worked for someone else with similar issues.
Dude i tried it and it didn't work then i back the old one that's all so if you have any other solution please tell me
Hi, don't mean to hijack the thread, but I'm having the same issue as well with one of my members. They're unable to log on the first time, getting an Authorization code mismatch, then after refreshing, it logs them in: she even explain that it works like normal after the second time. Yet, if she goes another website, then go back to the forum, it gives her the error:

Screenshot

I followed the instructions provided by .m., but the problem still persists. Any way to resolved it?

I'm using the latest version: https://boogaloocrews.com/



EDIT: HOLD UP. I found the issue. It seems that a member trying to log on, was getting onto the site without the "https://", but instead the http one, so when they tried to log on, it gives out that error, redirect them to the https one, which they can get on just fine. That's an oops on my part! XD

(hope this gives out some advice to the OP)
can you post your htaccess contents?

Actually before you do that...i asked the op to post his theme listing because a likely explanation for this is that one or some users may be on a theme that does not have converted templates. In which case you should force all users onto the selected default theme.
(2018-09-19, 08:35 PM)Ashley1 Wrote: [ -> ]can you post your htaccess contents?

Actually before you do that...i asked the op to post his theme listing because a likely explanation for this is that one or some users may be on a theme that does not have converted templates. In which case you should force all users onto the selected default theme.

That's most likely the case. Once a member got on the right url, which includes the https, she doesn't have that error anymore. The OP needs to check to see if those templates out.
Here's the guidance for https redirection: about half way down the page

https://docs.mybb.com/1.8/administration...ity/https/
(2018-09-19, 08:26 PM)ShineCero Wrote: [ -> ]Hi, don't mean to hijack the thread, but I'm having the same issue as well with one of my members. They're unable to log on the first time, getting an Authorization code mismatch, then after refreshing, it logs them in: she even explain that it works like normal after the second time. Yet, if she goes another website, then go back to the forum, it gives her the error:

Screenshot

I followed the instructions provided by .m., but the problem still persists. Any way to resolved it?

I'm using the latest version: https://boogaloocrews.com/



EDIT: HOLD UP. I found the issue. It seems that a member trying to log on, was getting onto the site without the "https://", but instead the http one, so when they tried to log on, it gives out that error, redirect them to the https one, which they can get on just fine. That's an oops on my part! XD

(hope this gives out some advice to the OP)
as @ShineCero said i have same problem but only after registration, and it seems no one able to help.... all are saying fixes not related and some other don't know anything and saying anything...
anyway thanks for no helping**
They just gave you another probable solution. Have you tried everything on the link that Ashley1 gave?
Pages: 1 2 3 4 5