Belle Extension de c Posted January 16, 2019 Share Posted January 16, 2019 suite à une erreur de position du panier je l'ai modifié et là grosse erreur ... Erreur 500 , impossible de rentrer dans mon site , on à donc du effacer le module shopping cart 😞 Comment retrouver ce module pour le réinstaller comme il était ?? Cordialement Laetitia www.belle-extension.fr Link to comment Share on other sites More sharing options...
Eolia Posted January 16, 2019 Share Posted January 16, 2019 (edited) hum... un changement de position ou dégreffage de hook ne supprime pas un module. Comme toujours en cas d'erreur 500 et pour en savoir plus, il faut modifier cette ligne au début du fichier config/defines.inc.php : define('_PS_MODE_DEV_', false); par define('_PS_MODE_DEV_', true); et rafraichir la page. Et il semblerait que vous avez toujours accès au BO, donc rien de dramatique véritablement. Edited January 16, 2019 by Eolia (see edit history) Link to comment Share on other sites More sharing options...
Belle Extension de c Posted January 16, 2019 Author Share Posted January 16, 2019 celui là on à effacer : ps_shoppingcart Link to comment Share on other sites More sharing options...
Belle Extension de c Posted January 16, 2019 Author Share Posted January 16, 2019 <?xml version="1.0" encoding="UTF-8" ?> <module> <name>ps_shoppingcart</name> <displayName><![CDATA[Sopping cart]]></displayName> <version><![CDATA[2.0.2]]></version> <description><![CDATA[Adds a block containing the customer's shopping cart.]]></description> <author><![CDATA[PrestaShop]]></author> <tab><![CDATA[front_office_features]]></tab> <is_configurable>1</is_configurable> <need_instance>0</need_instance> <limited_countries></limited_countries> </module> Link to comment Share on other sites More sharing options...
Belle Extension de c Posted January 16, 2019 Author Share Posted January 16, 2019 j'ai éffacé le module c'est pour cela que cela fonctionne suaf que plus de panier 😞 Link to comment Share on other sites More sharing options...
Belle Extension de c Posted January 16, 2019 Author Share Posted January 16, 2019 Si je réactive le module >>> https://belle-extension.fr/admin6608v8rg1/index.php?controller=AdminDashboard&token=81ad81767b1964fc3ddd1a7c506893f7 in src/Adapter/Cart/CartPresenter.php (line 272) * @throws \Exception */ public function present($cart, $shouldSeparateGifts = false) { if (!is_a($cart, 'Cart')) { throw new \Exception('CartPresenter can only present instance of Cart'); } if ($shouldSeparateGifts) { $rawProducts = $cart->getProductsWithSeparatedGifts(); } else { CartPresenter->present(null) in modules/ps_shoppingcart/ps_shoppingcart.php (line 85) Ps_Shoppingcart->getWidgetVariables('displayDashboardToolbarTopMenu', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => null)) in modules/ps_shoppingcart/ps_shoppingcart.php (line 97) Ps_Shoppingcart->renderWidget('displayDashboardToolbarTopMenu', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => null)) in classes/Hook.php (line 929) HookCore::coreRenderWidget(object(Ps_Shoppingcart), 'displayDashboardToolbarTopMenu', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => null)) in classes/Hook.php (line 881) HookCore::exec('displayDashboardToolbarTopMenu', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => null), null) in config/smarty.config.inc.php (line 165) smartyHook(array('h' => 'displayDashboardToolbarTopMenu'), object(SmartyCustomTemplate)) in classes/Smarty/SmartyLazyRegister.php (line 83) SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayDashboardToolbarTopMenu'), object(SmartyCustomTemplate))) in var/cache/dev/smarty/compile/79/fd/ec/79fdec4f8b6c3423b2342217c405cc20ff85070d_0.file.page_header_toolbar.tpl.php (line 191) Block_19063846855c1a97793f8ec5_72415466->callBlock(object(SmartyCustomTemplate)) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php (line 247) Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_19063846855c1a97793f8ec5_72415466), object(SmartyCustomTemplate)) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php (line 183) Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_19063846855c1a97793f8ec5_72415466)) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php (line 157) Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_19063846855c1a97793f8ec5_72415466', 'toolbarBox') in var/cache/dev/smarty/compile/79/fd/ec/79fdec4f8b6c3423b2342217c405cc20ff85070d_0.file.page_header_toolbar.tpl.php (line 49) content_5c1a9779419478_42862524(object(SmartyCustomTemplate)) in vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php (line 123) Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate)) in vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php (line 114) Smarty_Template_Compiled->render(object(SmartyCustomTemplate)) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php (line 206) Smarty_Internal_Template->render(false, 0) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php (line 232) Smarty_Internal_TemplateBase->_execute(object(SmartyCustomTemplate), null, null, null, 0) in vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php (line 116) Smarty_Internal_TemplateBase->fetch('page_header_toolbar.tpl', null, null, null, false, true, false) in classes/Smarty/SmartyCustom.php (line 110) SmartyCustomCore->fetch('page_header_toolbar.tpl') in classes/controller/AdminController.php (line 1815) AdminControllerCore->display() in classes/controller/Controller.php (line 275) ControllerCore->run() in classes/Dispatcher.php (line 428) DispatcherCore->dispatch() in admin6608v8rg1/index.php (line 99) Link to comment Share on other sites More sharing options...
Eolia Posted January 16, 2019 Share Posted January 16, 2019 Ah, on efface les modules pour s'amuser ? Curieux... Il ne vous reste plus qu'à le récupérer sur github: https://github.com/PrestaShop/ps_shoppingcart Link to comment Share on other sites More sharing options...
Belle Extension de c Posted January 16, 2019 Author Share Posted January 16, 2019 Je suis novice 😞 Merci Link to comment Share on other sites More sharing options...
Eolia Posted January 16, 2019 Share Posted January 16, 2019 Ben justement, quand on est novice, on n’exécute pas les actions "EFFACER", "SUPPRIMER" ou "DELETE" sans poser la question avant... Link to comment Share on other sites More sharing options...
Belle Extension de c Posted January 16, 2019 Author Share Posted January 16, 2019 C'est pas faux ! j'éspère faire correctement la réinstallation , en tout cas je ne le ferais plus c'est sûre Bien cordialement Laetitia Link to comment Share on other sites More sharing options...
Eolia Posted January 16, 2019 Share Posted January 16, 2019 Ok, vous évitez la fessée de peu^^ Attention dans le zip, il faut renommer le répertoire ps_shoppingcart-master en ps_shoppingcart autrement ça ne fonctionnera pas. Link to comment Share on other sites More sharing options...
Belle Extension de c Posted January 16, 2019 Author Share Posted January 16, 2019 Lol , aprés avoir renommer le dossier il n'en veut pas error Aïe... le chargement a échoué. Que s'est-il passé ? Server responded with 0 code. Link to comment Share on other sites More sharing options...
Eolia Posted January 16, 2019 Share Posted January 16, 2019 envoyez le répertoire ps_shoppingcart directement dans le répertoire /modules de votre ftp Link to comment Share on other sites More sharing options...
Belle Extension de c Posted January 16, 2019 Author Share Posted January 16, 2019 C'est ce que j'ai fait 😞 J'ai décidément pas de chance Link to comment Share on other sites More sharing options...
Eolia Posted January 16, 2019 Share Posted January 16, 2019 cette erreur apparait où ? Link to comment Share on other sites More sharing options...
Belle Extension de c Posted January 16, 2019 Author Share Posted January 16, 2019 Modules et services Modules installés Gérer les modules installés >>> Probléme Dans installer Module Link to comment Share on other sites More sharing options...
Eolia Posted January 16, 2019 Share Posted January 16, 2019 Ben il n'y a pas de chargement à cet endroit. - Soit vous chargez le zip (en ayant renommé le répertoire à l'intérieur) depuis la page "Modules" du BO - Soit vous chargez le répertoire directement dans le ftp avec FileZilla et dans la page modules, vous cliquez sur "installer" en face du nom de ce module Link to comment Share on other sites More sharing options...
Eolia Posted January 17, 2019 Share Posted January 17, 2019 Super... donc les modules natifs écrits par Prestashop ne sont plus compatibles avec leur propre version... de plus en plus fort. A remonter sur la forge ou github... 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