zebrenoir Posted January 12, 2024 Share Posted January 12, 2024 (edited) Bonjour, Sur le site de ma cliente, d'un coup l'accès au backoffice est impossible. Cela fait maintenant longtemps et il est très urgent que je l'aide mais je n'ai malheureusement pas su quoi faire pour l'instant. On peut accéder à la page de login mais lorsqu'on entre des identifiants (qu'ils soient bons ou mauvais), à la validation on n'accède pas au BO. On a juste la même page qui est rechargée, sans les éléments de formulaire (voir image jointe). Le projet est sur mon VPS j'ai donc (quasi) tous les contrôles. Ci-dessous je vous mets plus d'infos sur les logs, merci énormément par avance car je suis vraiment dans la mouise et c'est très compliqué (la cliente est une amie chère et compte sur moi...). Dans les logs du projet, j'ai ça lorsque je valide le formulaire : 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 (le site est en mode dev) : [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)"} [] Et sinon avant ça quand j'arrive juste sur la page de login : 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"} [] Edited January 12, 2024 by zebrenoir (see edit history) Link to comment Share on other sites More sharing options...
Eolia Posted January 12, 2024 Share Posted January 12, 2024 Vous avez un module qui n'est pas compatible ou mal écrit. Link to comment Share on other sites More sharing options...
zebrenoir Posted January 15, 2024 Author Share Posted January 15, 2024 (edited) Bonjour @Eolia, merci pour ton retour. Pour info, le shop est up depuis novembre 2021, j'avais installé un thème payant et pas grand chose de plus de souvenir. Le site fonctionnait sans problème depuis, et là le problème est apparu du jour au lendemain sans modification de quoi que ce soit de mon côté. Saurais-tu comment je pourrais mieux diagnostiquer ? Je n'ai toujours pas de piste malheureusement Merci Edited January 15, 2024 by zebrenoir (see edit history) Link to comment Share on other sites More sharing options...
Eolia Posted January 15, 2024 Share Posted January 15, 2024 On 1/12/2024 at 5:46 PM, zebrenoir said: *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 Expand En même temps ce message me semble assez clair. Vous êtes sûr du mot de passe ? Vous avez fait "Mot de passe oublié" ? Link to comment Share on other sites More sharing options...
zebrenoir Posted January 15, 2024 Author Share Posted January 15, 2024 (edited) @Eolia J'ai vérifié dans la base de données (MySQL) j'ai bien les employees qui y sont toujours, ils existent bien. Et le comportement est le même que l'on mette un bon user, un mauvais user, idem avec les mots de passe. Oui j'ai fait "mot de passe oublié", cela m'envoie bien un lien de réinitialisation sur mon mail mais du coup le problème reste le même. Edited January 15, 2024 by zebrenoir (see edit history) Link to comment Share on other sites More sharing options...
Eolia Posted January 15, 2024 Share Posted January 15, 2024 Alors remontez votre problème sur Github, parce qu'il semblerait que l'id_employee ne s'enregistre pas dans le contexte. Link to comment Share on other sites More sharing options...
zebrenoir Posted January 15, 2024 Author Share Posted January 15, 2024 Je viens de lire ce chapitre dans la doc sur le Context : Quote How is the Context initialized? The context is initialized with data coming from the cookie or from the database. For example, to create the Language object, the context looks for an id_lang value in the cookie. If it doesn’t find one, it will retrieve the default language id from the database. Expand Du coup je me demande s'il n'y a pas un lien ? Sachant que dans mes logs il y a ce genre de choses : Quote [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"} [] Expand Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now