MyBB Community Forums

Full Version: MyBB 1.8.22 Error after autorization
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
After authorization using the username and password, it generates an error ['invalid_post_code'] = 'Invalid authorization code. Please come back and try again. ';
If you open member.php, then line 1883 contains code that was not in version 1.8.7:

verify_post_check ($ mybb-> get_input ('my_post_key'));
$ errors = array ();

I took and deleted it and it worked for me
I think a lot of lines are in 1.8.22 and not in 1.8.7. Removes them, or modify them to match the 1.8.7 version, and you'll have... a MyBB 1.8.7...

Not really sure of what you wanted to explain us, you'd better check your themes/templates and verify they are 1.8.22 compatible.
(2020-03-25, 10:54 PM)Crazycat Wrote: [ -> ]you'd better check your themes/templates and verify they are 1.8.22 compatible.

IMO that is the most important thing. Make sure to check your theme and templates for the latest MyBB updates. You should touch core files unless you plan to make manual changes for MyBB upgrades in core files.