Prestashop login error: "Details: Error thrown: [object Object]" - authentication

In Prestashop backend login page, when I try to login I get the following message:
TECHNICAL ERROR:
Details: Error thrown: [object Object]
Text status: parsererror
Screen Picture:

When the admin login form is submitted an ajax request is sent to the server, please take a look at the response of that ajax request after enabling error debugging, there must be an error shown there. Share the details of that error with us so that we guide you better.
FYI, to enable error debugging in PrestaShop you can follow the steps below.
open file: config/defines.inc.php (using FTP or hosting control panel)
change false-->true:
define('_PS_MODE_DEV_', false);
define('_PS_MODE_DEV_', true);

Related

When i enable npm Two-Factor Authentication, something unexpected occurred

Something unexpected occurred with diagnostics id: 734bedf92bb700cb_1f7a.
The authenticator and appsix-digit code all right, bug got error with 503 , then click submit button got 500.
why is it?
enter image description here

"The requested operation is invalid. Server Response: Something went wrong" on Custom Page after SubmitForm Issued by InvalidPluginExecution

In my form of CRM i call a custom page by a dialog. On custom page i save a form by SubmitForm but it go in trown by a plugin validation. I want to show a error message of invalidPluginException on my custom page. I try preview on PowerApps and i see correct error message, but on dialog i see The requested operation is invalid. Server Response: Something went wrong" and lose the error message.
Dialog Error
Preview PowerApps Error

Tried logging to auth0 i got invalid state error

I have a problem with auth0.
There are two auth0 Applications in the project that I am working on right now. One is in PHP other one is WordPress. Both use auth0 Hosted Page.
First I opened my WordPress site in a tab in my web browser. Then I opened the same in another tab. Then tried logging in from the first tab by entering the email and the password and got the below error message:
wordpress error msg "There was a problem with your log in:
Invalid state [error code: unknown]"
If it is a PHP site got the below error message:
php error msg "Fatal error: Uncaught
Auth0\SDK\Exception\CoreException: Invalid state in
C:\xampp\htdocs\uat.sso\sso\vendor\auth0\auth0-php\src\Auth0.php:511
Stack trace: #0
C:\xampp\htdocs\uat.sso\sso\vendor\auth0\auth0-php\src\Auth0.php(434):
Auth0\SDK\Auth0->exchange() #1
C:\xampp\htdocs\uat.sso\sso\callback.php(8):
Auth0\SDK\Auth0->getUser() #2 {main} thrown in
C:\xampp\htdocs\uat.sso\sso\vendor\auth0\auth0-php\src\Auth0.php on
line 511"
Auth0 have a comprehensive guide on dealing with Invalid State errors in WordPress. You can check it out here.
Basically the most common causes are:
Cached Auth0 Callback URL, some hosting provider do this by default and they should be contacted to not cache this.
Cached Cookies and URL parameters
Cookie name requirements for certain hosting providers like Pantheon.
See the complete list here.

Stormpath custom template error handling

So I have a custom login template setup to render my login page. I need to know how a login error message should be handled. What error data is sent to the client on an error and how do I access it?

Prestashop 1.6.0.9 Error sign up user

I'm creating my first e commerce using prestashop 1.6.0.9 but when I try to register one user i obtain the error:
"TECHNICAL ERROR: unable to load form. Details: Error thrown: [object
Object] Text status: parsererror"
Anyone knows how can i fix it?
My website is: http://www.studio10-ecommerce.es/
Thank you so much.
Your JSON object syntax is broken by a PHP error. You can either:
Check your PHP error log;
Add a console.log(data); to the JavaScript file to see the actual response