MarieNIAP Posted November 4, 2024 Share Posted November 4, 2024 (edited) Bonjour, Ce matin, j'essaye de me connecter sur mon backoffice et là, surprise, ERREUR 500 ! J'active le mode débug, ça m'affiche les erreurs suivantes. Citation Notice: tempnam(): file created in the system's temporary directory in /homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/classes/PrestaShopAutoload.php on line 258 Warning: rename(/tmp/class_index.phpndhtJ4,/homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/var/cache/dev/class_index.php): No such file or directory in /homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/classes/PrestaShopAutoload.php on line 264 Notice: tempnam(): file created in the system's temporary directory in /homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/classes/PrestaShopAutoload.php on line 258 Warning: rename(/tmp/class_stub.php4VLLr0,/homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/var/cache/dev/class_stub.php): No such file or directory in /homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/classes/PrestaShopAutoload.php on line 264 Notice: tempnam(): file created in the system's temporary directory in /homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/classes/PrestaShopAutoload.php on line 258 Warning: rename(/tmp/namespaced_class_stub.phpFo7ZL4,/homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/var/cache/dev/namespaced_class_stub.php): No such file or directory in /homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/classes/PrestaShopAutoload.php on line 264 Warning: require_once(/homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/var/cache/dev/appParameters.php): failed to open stream: No such file or directory in /homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/config/bootstrap.php on line 87 Fatal error: require_once(): Failed opening required '/homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/var/cache/dev/appParameters.php' (include_path='/homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/vendor/pear/pear_exception:/homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/vendor/pear/console_getopt:/homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/vendor/pear/pear-core-minimal/src:/homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/vendor/pear/archive_tar:.:/usr/lib/php7.3') in /homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/config/bootstrap.php on line 87 Quelqu'un peut m'aider à y voir plus clair siouplaît ? Merci, belle journée à tous Edited November 4, 2024 by MarieNIAP (see edit history) Link to comment Share on other sites More sharing options...
Mediacom87 Posted November 4, 2024 Share Posted November 4, 2024 Bonjour, avez-vous essayé de vider manuellement le cache ? Link to comment Share on other sites More sharing options...
Eolia Posted November 4, 2024 Share Posted November 4, 2024 Vérifiez que le fichier /homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/app/config/Parameters.php existe bien sur votre hébergement. Si c'est le cas il faut vider votre cache manuellement: - Connectez-vous à votre serveur via FTP ou Gestionnaire de fichiers dans cPanel. - Accédez aux dossiers du cache : /homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/var/cache/prod et /homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/var/cache/ - Supprimez tout leurs contenus. Link to comment Share on other sites More sharing options...
MarieNIAP Posted November 4, 2024 Author Share Posted November 4, 2024 Bonjour Mediacom87 et Eolia, merci pour votre réactivité. Je viens de vider le cache manuellement grâce aux instructions d'Eolia. Voici le nouveau message qui apparaît. Citation (1/1) ContextErrorException Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in UnitOfWork.php line 2636 at ErrorHandler->handleError(2, '"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?', '/homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php', 2636, array('class' => 'Doctrine\\ORM\\UnitOfWork', 'e' => 32767, 'file' => '/homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/vendor/composer/../doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php'))in DebugClassLoader.php line 156 at require()in DebugClassLoader.php line 156 at DebugClassLoader->loadClass('Doctrine\\ORM\\UnitOfWork') at spl_autoload_call('Doctrine\\ORM\\UnitOfWork')in EntityManager.php line 160 at EntityManager->__construct(object(Connection), object(Configuration), object(ContainerAwareEventManager))in EntityManager.php line 850 at EntityManager::create(object(Connection), object(Configuration))in appDevDebugProjectContainer.php line 2135 at appDevDebugProjectContainer->getDoctrine_Orm_DefaultEntityManagerService()in getPrestashop_Translation_DatabaseLoaderService.php line 8 at require('/homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/var/cache/dev/ContainerCf4daqh/getPrestashop_Translation_DatabaseLoaderService.php')in appDevDebugProjectContainer.php line 2016 at appDevDebugProjectContainer->load('getPrestashop_Translation_DatabaseLoaderService.php')in appDevDebugProjectContainer.php line 4059 at appDevDebugProjectContainer->ContainerCf4daqh\{closure}()in ServiceLocator.php line 64 at ServiceLocator->get('prestashop.translation.database_loader')in Translator.php line 141 at Translator->initialize()in Translator.php line 127 at Translator->initializeCatalogue('fr-FR')in Translator.php line 314 at Translator->dumpCatalogue('fr-FR', object(ResourceCheckerConfigCache))in Translator.php line 299 at Translator->Symfony\Component\Translation\{closure}(object(ResourceCheckerConfigCache))in ResourceCheckerConfigCacheFactory.php line 43 at ResourceCheckerConfigCacheFactory->cache('/homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/var/cache/dev/translations/catalogue.fr-FR.L8dqxxF.php', object(Closure))in Translator.php line 300 at Translator->initializeCacheCatalogue('fr-FR')in Translator.php line 265 at Translator->loadCatalogue('fr-FR')in Translator.php line 241 at Translator->getCatalogue('fr-FR')in Translator.php line 198 at Translator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in PrestaShopTranslatorTrait.php line 57 at Translator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in LoggingTranslator.php line 48 at LoggingTranslator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in DataCollectorTranslator.php line 50 at DataCollectorTranslator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in PrestaShopTranslatorTrait.php line 57 at DataCollectorTranslator->trans('Successful deletion.', array(), 'Admin.Notifications.Success', null)in Controller.php line 324 at ControllerCore->trans('Successful deletion.', array('legacy' => 'htmlspecialchars'), 'Admin.Notifications.Success')in AdminController.php line 466 at AdminControllerCore->__construct()in LegacyContext.php line 85 at LegacyContext->getContext()in UserLocaleListener.php line 39 at UserLocaleListener->__construct(object(LegacyContext))in appDevDebugProjectContainer.php line 2705 at appDevDebugProjectContainer->getPrestashop_UserLocale_ListenerService()in appDevDebugProjectContainer.php line 3192 at appDevDebugProjectContainer->ContainerCf4daqh\{closure}()in EventDispatcher.php line 229 at EventDispatcher->sortListeners('kernel.request')in EventDispatcher.php line 61 at EventDispatcher->getListeners('kernel.request')in ContainerAwareEventDispatcher.php line 128 at ContainerAwareEventDispatcher->getListeners('kernel.request')in TraceableEventDispatcher.php line 262 at TraceableEventDispatcher->preProcess('kernel.request')in TraceableEventDispatcher.php line 137 at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in HttpKernel.php line 127 at HttpKernel->handleRaw(object(Request), 1)in HttpKernel.php line 68 at HttpKernel->handle(object(Request), 1, false)in Kernel.php line 200 at Kernel->handle(object(Request), 1, false)in index.php line 86 Est-ce que je dois re modifier le fichier 'define ps mode dev "true" en "false" ? Link to comment Share on other sites More sharing options...
MarieNIAP Posted November 4, 2024 Author Share Posted November 4, 2024 il y a 28 minutes, Eolia a dit : Vérifiez que le fichier /homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/app/config/Parameters.php existe bien sur votre hébergement. Si c'est le cas il faut vider votre cache manuellement: - Connectez-vous à votre serveur via FTP ou Gestionnaire de fichiers dans cPanel. - Accédez aux dossiers du cache : /homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/var/cache/prod et /homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/var/cache/ - Supprimez tout leurs contenus. J'ai vérifié, il y a bien le fichier /homepages/30/d838573560/htdocs/clickandbuilds/PrestaShop/monprestashop/app/config/Parameters.php, alors j'ai vidé le cache comme indiqué Link to comment Share on other sites More sharing options...
MarieNIAP Posted November 4, 2024 Author Share Posted November 4, 2024 MISE À JOUR : ça fonctionne à nouveau grâce à vous ! Merci beaucoup , vous êtes top 😁 Link to comment Share on other sites More sharing options...
Divine Posted November 4, 2024 Share Posted November 4, 2024 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