2019-05-21, 09:40 PM
I have searched this forum for answers but they do not work for me. Whenever I try to log in, I get this error:
Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.
(Error label: 'invalid_post_code')
I tried the following:
-------
1. Templates requiring changes:
error_nopermission
header_welcomeblock_guest
member_login
portal_welcome_guesttext
Localize form tag
Open each template and look for <form action="member.php" *>. They are the forms you use when logging in. The form tag will likely include other attributes, which you can ignore.
Add token
Add after <form action="member.php"> the following piece of code:
<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />
------'
I checked and saw that all those templates contain the code, but not directly below <form action="member.php"> . Does it matter?
2. Suggestion 2:
--------
Using www for the url could be a problem - removing it might help
first edit ~/inc/settings.php file using editor like notepad++ or editor at web host panel
change value of $settings['bburl'] to http://farmersjoint.com
then login to forum admin panel & edit value of board url
(remove www) at Site Details page of Configuration section
----------
This did not work also. What else should I do? It seemed like this problem have been there for a long time because my members hardly post again. THANKS.
Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.
(Error label: 'invalid_post_code')
I tried the following:
-------
1. Templates requiring changes:
error_nopermission
header_welcomeblock_guest
member_login
portal_welcome_guesttext
Localize form tag
Open each template and look for <form action="member.php" *>. They are the forms you use when logging in. The form tag will likely include other attributes, which you can ignore.
Add token
Add after <form action="member.php"> the following piece of code:
<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />
------'
I checked and saw that all those templates contain the code, but not directly below <form action="member.php"> . Does it matter?
2. Suggestion 2:
--------
Using www for the url could be a problem - removing it might help
first edit ~/inc/settings.php file using editor like notepad++ or editor at web host panel
change value of $settings['bburl'] to http://farmersjoint.com
then login to forum admin panel & edit value of board url
(remove www) at Site Details page of Configuration section
----------
This did not work also. What else should I do? It seemed like this problem have been there for a long time because my members hardly post again. THANKS.