MyBB Community Forums

Full Version: Authorization code mismatch. Are you accessing this function correctly?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey all, i have an error code when attempting to login.

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

I know the question has been asked before but i cannot find a situation the same as i have with a solved explaination.
I don't know if it happens in any other area because i cannot login to see.
Only does it on the front end, Admin side is fine.
I have created new users of every type with no success.


Thanks in advance to anyone that can help or figure it.

Ade.
(2019-07-29, 09:05 PM)sandman76 Wrote: [ -> ][...]
Only does it on the front end, Admin side is fine.
[...]

You have to update all the changes for every login form in any templates.
Make these changes, clear Cookies then and try again...

[ExiTuS]
SO would you use the footer one or this one?

<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />
None
will need to be added between <form... and </form> tags in the following templates:

error_nopermission
header_welcomeblock_guest (change included in 1.8.16)
member_login (change included in 1.8.16)
portal_welcome_guesttext

Hmm i cant find any of the mentioned templates in my install, which file will i find the footer in so i can try that one?
Ok so i have tried all of the above to no avail, i was completely out of options so i removed myBB and clean installed from scratch.
It's STILL doing it from a clean install!

What on earth is going on?
Anyone help?

Thanks,
Ade.



Problem solved.

I have uninstalled myBB again, this time i have cleared the mysql.
Re-Installed it, got the same problem but implemented the template changes and this time it worked.

No idea what was causing it but it seems clearing the mysql and creating a new database did something.

Ok it's back. 

Driving me mad now, what could be causing it?!