Jump to content

Cannot access the back office => bug when validating the login form


zebrenoir

Recommended Posts

Hello,

On my client's website, access to the back office is suddenly impossible. This has been going on for a while now, and it is very urgent that I help, but unfortunately, I haven't figured out what to do so far.

We can access the login page, but when we enter credentials (whether they are correct or incorrect), upon validation, we do not access the back office. The same page is simply reloaded, without the form elements (see attached image).

The project is on my VPS, so I have (almost) full control.

Below, I provide more information on the logs. Thank you very much in advance, as I am really in a tight spot, and it's very challenging (the client is a dear friend and is counting on me).

In the project logs, I see the following when I validate the form:

20240112_exception.log :

*ERROR*     v1.7.8.0    2024/01/12 - 17:53:59: The Employee does not exist, or the password provided is incorrect. at line 1182 in file classes/Tools.php

 

dev.log (the site is on dev mode) :

[2024-01-12 17:53:59] php.INFO: User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 at /var/www/jessicalisse/src/Adapter/Configuration.php:418)"} []
[2024-01-12 17:53:59] php.INFO: User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 at /var/www/jessicalisse/src/Adapter/Configuration.php:418)"} []
[2024-01-12 17:53:59] php.INFO: User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 at /var/www/jessicalisse/src/Adapter/Configuration.php:418)"} []
[2024-01-12 17:53:59] php.INFO: User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 at /var/www/jessicalisse/src/Adapter/Configuration.php:418)"} []
[2024-01-12 17:53:59] php.INFO: Deprecated: Function create_function() is deprecated {"exception":"[object] (ErrorException(code: 0): Deprecated: Function create_function() is deprecated at /var/www/jessicalisse/classes/Dispatcher.php:1239)"} []
[2024-01-12 17:53:59] php.INFO: Deprecated: Function create_function() is deprecated {"exception":"[object] (ErrorException(code: 0): Deprecated: Function create_function() is deprecated at /var/www/jessicalisse/classes/Hook.php:1273)"} []
[2024-01-12 17:53:59] php.INFO: User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 at /var/www/jessicalisse/src/Adapter/Configuration.php:418)"} []
[2024-01-12 17:53:59] php.INFO: User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 at /var/www/jessicalisse/src/Adapter/Configuration.php:418)"} []

 

And when I just arrive on the login page (before submitting the form) :


dev.log


[2024-01-12 17:52:04] php.INFO: User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 at /var/www/jessicalisse/src/Adapter/Configuration.php:418)"} []
[2024-01-12 17:52:04] php.INFO: User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 at /var/www/jessicalisse/src/Adapter/Configuration.php:418)"} []
[2024-01-12 17:52:04] php.INFO: User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 at /var/www/jessicalisse/src/Adapter/Configuration.php:418)"} []
[2024-01-12 17:52:04] php.INFO: User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 at /var/www/jessicalisse/src/Adapter/Configuration.php:418)"} []
[2024-01-12 17:52:04] php.INFO: Deprecated: Function create_function() is deprecated {"exception":"[object] (ErrorException(code: 0): Deprecated: Function create_function() is deprecated at /var/www/jessicalisse/classes/Dispatcher.php:1239)"} []
[2024-01-12 17:52:04] php.INFO: Deprecated: Function create_function() is deprecated {"exception":"[object] (ErrorException(code: 0): Deprecated: Function create_function() is deprecated at /var/www/jessicalisse/classes/Hook.php:1273)"} []
[2024-01-12 17:52:04] php.INFO: User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 at /var/www/jessicalisse/src/Adapter/Configuration.php:418)"} []
[2024-01-12 17:52:04] php.INFO: User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 at /var/www/jessicalisse/src/Adapter/Configuration.php:418)"} []
[2024-01-12 17:52:04] php.INFO: User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 at /var/www/jessicalisse/src/Adapter/Configuration.php:418)"} []
[2024-01-12 17:52:04] php.INFO: User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 at /var/www/jessicalisse/src/Adapter/Configuration.php:418)"} []
[2024-01-12 17:52:04] php.INFO: User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 at /var/www/jessicalisse/src/Adapter/Configuration.php:418)"} []
[2024-01-12 17:52:04] php.INFO: User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 at /var/www/jessicalisse/src/Adapter/Configuration.php:418)"} []
[2024-01-12 17:52:04] php.INFO: Deprecated: Function create_function() is deprecated {"exception":"[object] (ErrorException(code: 0): Deprecated: Function create_function() is deprecated at /var/www/jessicalisse/classes/Dispatcher.php:1239)"} []
[2024-01-12 17:52:04] php.INFO: Deprecated: Function create_function() is deprecated {"exception":"[object] (ErrorException(code: 0): Deprecated: Function create_function() is deprecated at /var/www/jessicalisse/classes/Hook.php:1273)"} []
[2024-01-12 17:52:04] php.INFO: User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 at /var/www/jessicalisse/src/Adapter/Configuration.php:418)"} []
[2024-01-12 17:52:04] php.INFO: User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 {"exception":"[object] (ErrorException(code: 0): User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 at /var/www/jessicalisse/src/Adapter/Configuration.php:418)"} []
[2024-01-12 17:52:04] translation.WARNING: Translation not found. {"id":"PrestaShop Marketplace in your Back Office","domain":"messages","locale":"fr-FR"} []
[2024-01-12 17:52:04] translation.WARNING: Translation not found. {"id":"Discover the best PrestaShop modules to optimize your online store.","domain":"messages","locale":"fr-FR"} []

Capturedcrandu2024-01-1218-45-55.png.b229887283b9d78a86fdc9a506bf9ac1.png

Link to comment
Share on other sites

  • 5 months later...

Hi,

Based on the information and logs you've provided, it seems there are a few key issues causing the problems with accessing the back office in Prestashop.

Make sure your server is running a compatible PHP version for Prestashop 1.7.8.0. You may need to downgrade or upgrade PHP accordingly.

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...