D&D Forums - MyBB Plugins & Themes
LOGIN ERROR FROM EMERALD - Printable Version

+- D&D Forums - MyBB Plugins & Themes (https://developement.design/forum)
+-- Forum: MyBB Ressources (https://developement.design/forum/forumdisplay.php?fid=5)
+--- Forum: Free MyBB Themes (https://developement.design/forum/forumdisplay.php?fid=7)
+---- Forum: Support (https://developement.design/forum/forumdisplay.php?fid=12)
+---- Thread: LOGIN ERROR FROM EMERALD (/showthread.php?tid=650)



LOGIN ERROR FROM EMERALD - BlazeMC - 10-22-2018

Hello. Before I start to write, I would like to point out that I am from Germany and therefore can not speak English so well. Sorry about my mistakes!

I have the problem, if I want to log in to the website, the following text is there:
Wrong authorization code! Do you access this feature in the usual way? Please go back and try again.

I use version 1.5.

I never get an e-mail either. Do you know why that could be?

Sincerely: Jojo


RE: LOGIN ERROR FROM EMERALD - AmazOuz - 10-23-2018

Hello,
This error is not due to the theme, maybe it's a plugin you're using which is not compatible with Emerald.


RE: LOGIN ERROR FROM EMERALD - BlazeMC - 10-24-2018

Oh well, okay. I thank you for your answer and help. I'll see if I can find the mistake. but still a praise to them and the developern clean work!

I just do not have any plugins on it. So it must be something else!
Yours sincerely: Jojo


RE: LOGIN ERROR FROM EMERALD - AmazOuz - 10-24-2018

Can you try another theme and see if the error keeps showing (not default MyBB theme) and give me the list of plugins you use and also your MyBB version.


RE: LOGIN ERROR FROM EMERALD - BlazeMC - 10-25-2018

Hello! I have the MyBB version 1.8.19. I used the theme "Flatty". there is not the error. There are currently no plugins available.

an account can be created. but when logging out, it is not possible to log in again.



Sincerely: Jojo


RE: LOGIN ERROR FROM EMERALD - AmazOuz - 10-26-2018

Please give me your forum link


RE: LOGIN ERROR FROM EMERALD - OnlyTechNation - 10-26-2018

(10-22-2018, 01:39 AM)BlazeMC Wrote: Hello. Before I start to write, I would like to point out that I am from Germany and therefore can not speak English so well. Sorry about my mistakes!

I have the problem, if I want to log in to the website, the following text is there:
Wrong authorization code! Do you access this feature in the usual way? Please go back and try again.

I use version 1.5.

I never get an e-mail either. Do you know why that could be?

Sincerely: Jojo

Quote:Shade (MyBB Former Staff) Wrote

MyBB 1.8.16 introduces some crucial changes aimed towards better security regarding users authentication. Templates containing login forms must be updated in order to comply with these changes; otherwise, you will stumble upon the following error:

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

If you have upgraded to 1.8.16 or above, please read the following instructions carefully.

Templates requiring changes:
  • error_nopermission
  • header_welcomeblock_guest
  • member_login
  • portal_welcome_guesttext
1. 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.

2. Add token
Add after <form action="member.php"> the following piece of code:

Code:
<input name="my_post_key" type="hidden" value="{$mybb->post_code}" />

None
Select All

It's that simple. Your users will now be able to login again. my_post_key input is in fact now mandatory to be sent alongside other form parameters in order to reduce potential malicious attacks.

Note that upgrade scripts will revert naïve templates and will handle the change automatically. This guide is aimed at all who have custom themes with these templates customized.
You must edit this in ALL your installed themes if the code is not in your templates already. Some custom themes DO NOT have the <form action="member.php"> or are differently named, just put the new code underneath the code that looks similar to the code.

This is the only fix right now for this issue. Just follow the steps and you will fix your issue.


RE: LOGIN ERROR FROM EMERALD - BlazeMC - 10-26-2018

(10-26-2018, 02:54 AM)AmazOuz Wrote: Please give me your forum link

I would like to point out that my forum contains German setze.

That is the link:
http://212.224.88.209/Forum/

Sincerely: Jojo


RE: LOGIN ERROR FROM EMERALD - Lewis-H - 10-23-2020

We have identified some common issues with authentication, for which resolutions are available. The following information resolves 90% of access issues and we would be grateful if you could cross-check each element to ensure access is available for your patrons. If you continue having access issues having followed the below checks, please do not hesitate to contact Emerald Customer Support.