Benjamin Grolleau Posted July 13, 2018 Share Posted July 13, 2018 Bonjour à tous, Petit problème pour ma part, lorsque je souhaite effectuer une commande, une Erreur500 apparaît. En Mode debug j'ai pu obtenir le code suivant mais je n'arrive pas à trouver le problème ... J'ai essayé de remettre le thème par défaut et toujours le même soucis ... J'ai bien évidemment testé de vider le cache, etc. Ma config est tout en bas ! D'avance merci pour votre précieuse aide ! ContextErrorException in b34fac43037e094bcc113402985e67c6961ade76.file.address-form.tpl.php line 72: Notice: Undefined index: name in b34fac43037e094bcc113402985e67c6961ade76.file.address-form.tpl.php line 72 at ErrorHandler->handleError('8', 'Undefined index: name', '/home/clients/2b7fa4dfd75c66629938b98df2f07c55/skillsshop/app/cache/dev/smarty/compile/b3/4f/ac/b34fac43037e094bcc113402985e67c6961ade76.file.address-form.tpl.php', '72', array('_smarty_tpl' => object(SmartyCustomTemplate), '_tpl_stack' => array(), '_from' => array('id_address' => array('name' => 'id_address', 'type' => 'hidden', 'required' => false, 'label' => '', 'value' => null, 'availableValues' => array(), 'maxLength' => null, 'errors' => array()), 'id_customer' => array('name' => 'id_customer', 'type' => 'hidden', 'required' => false, 'label' => '', 'value' => null, 'availableValues' => array(), 'maxLength' => null, 'errors' => array()), 'back' => array('name' => 'back', 'type' => 'hidden', 'required' => false, 'label' => '', 'value' => null, 'availableValues' => array(), 'maxLength' => null, 'errors' => array()), 'token' => array('name' => 'token', 'type' => 'hidden', 'required' => false, 'label' => '', 'value' => '8639ca6503cd485176161845f820d930', 'availableValues' => array(), 'maxLength' => null, 'errors' => array()), 'alias' => array('name' => 'alias', 'type' => 'text', 'required' => false, 'label' => 'Alias', 'value' => null, 'availableValues' => array(), 'maxLength' => '32', 'errors' => array()), 'firstname' => array('value' => 'Benjamin'), 'lastname' => array('value' => 'Grolleau')))) in b34fac43037e094bcc113402985e67c6961ade76.file.address-form.tpl.php line 72 at content_5b486d080042b9_10784322(object(SmartyCustomTemplate)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch(object(SmartyCustomTemplate), null, null, null, false, true, false) in SmartyCustomTemplate.php line 44 at SmartyCustomTemplateCore->fetch() in AbstractForm.php line 119 at AbstractFormCore->render(array('file' => 'checkout/_partials/address-form.tpl', 'ui' => object(RenderableProxy), 'use_same_address' => true, 'type' => 'delivery', 'form_has_continue_button' => true)) in RenderableProxy.php line 52 at RenderableProxy->render(array('file' => 'checkout/_partials/address-form.tpl', 'ui' => object(RenderableProxy), 'use_same_address' => true, 'type' => 'delivery', 'form_has_continue_button' => true)) in smartyfront.config.inc.php line 94 at smartyRender(array('file' => 'checkout/_partials/address-form.tpl', 'ui' => object(RenderableProxy), 'use_same_address' => true, 'type' => 'delivery', 'form_has_continue_button' => true), object(SmartyCustomTemplate)) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyRender', array(array('file' => 'checkout/_partials/address-form.tpl', 'ui' => object(RenderableProxy), 'use_same_address' => true, 'type' => 'delivery', 'form_has_continue_button' => true), object(SmartyCustomTemplate))) in 4cffcade48ed7f6679381863ee2636ff4e21053e.file.addresses.tpl.php line 90 at content_5b486d07eff571_05625276(object(SmartyCustomTemplate)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch(object(SmartyCustomTemplate), null, null, null, false, true, false) in SmartyCustomTemplate.php line 44 at SmartyCustomTemplateCore->fetch() in AbstractCheckoutStep.php line 98 at AbstractCheckoutStepCore->renderTemplate('checkout/_partials/steps/addresses.tpl', array('identifier' => 'checkout-addresses-step', 'position' => '2', 'ui' => object(RenderableProxy)), array('address_form' => object(RenderableProxy), 'use_same_address' => true, 'use_different_address_url' => 'https://dev.skills-sport.fr/commande?use_same_address=0', 'new_address_delivery_url' => 'https://dev.skills-sport.fr/commande?newAddress=delivery', 'new_address_invoice_url' => 'https://dev.skills-sport.fr/commande?newAddress=invoice', 'id_address_delivery' => '0', 'id_address_invoice' => '0', 'show_delivery_address_form' => true, 'show_invoice_address_form' => false, 'form_has_continue_button' => true, 'not_valid_addresses' => '')) in CheckoutAddressesStep.php line 293 at CheckoutAddressesStepCore->render(array('identifier' => 'checkout-addresses-step', 'position' => '2', 'ui' => object(RenderableProxy))) in RenderableProxy.php line 52 at RenderableProxy->render(array('identifier' => 'checkout-addresses-step', 'position' => '2', 'ui' => object(RenderableProxy))) in smartyfront.config.inc.php line 94 at smartyRender(array('identifier' => 'checkout-addresses-step', 'position' => '2', 'ui' => object(RenderableProxy)), object(SmartyCustomTemplate)) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyRender', array(array('identifier' => 'checkout-addresses-step', 'position' => '2', 'ui' => object(RenderableProxy)), object(SmartyCustomTemplate))) in 343990b2afc1cbcd42c46f96a42b4604823c578c.file.checkout-process.tpl.php line 36 at content_5b486cfb628700_38685343(object(SmartyCustomTemplate)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch(object(SmartyCustomTemplate), null, null, null, false, true, false) in SmartyCustomTemplate.php line 44 at SmartyCustomTemplateCore->fetch() in CheckoutProcess.php line 114 at CheckoutProcessCore->render(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy))) in RenderableProxy.php line 52 at RenderableProxy->render(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy))) in smartyfront.config.inc.php line 94 at smartyRender(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy)), object(SmartyCustomTemplate)) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyRender', array(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy)), object(SmartyCustomTemplate))) in d394682c840fe5319863a1ebacf961ae65a24bc3.file.checkout.tpl.php line 145 at content_5b486cfb5da4c4_44840866(object(SmartyCustomTemplate)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch('checkout/checkout.tpl', null, 'layouts/layout-full-width.tpl', object(SmartyCustom), false, true, false) in SmartyCustom.php line 110 at SmartyCustomCore->fetch('checkout/checkout.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 684 at FrontControllerCore->smartyOutputContent('checkout/checkout.tpl') in FrontController.php line 668 at FrontControllerCore->display() in Controller.php line 273 at ControllerCore->run() in Dispatcher.php line 428 at DispatcherCore->dispatch() in index.php line 28 Ci dessous ma configuration comme conseillé : Type d’install (nouvelle/MàJ) : Via Infomaniak. Essayé en manuel et même pb...Version de PS : 1.7.3.3URL du site concerné : dev.skills-sport.frThème (défaut/perso) : défautCode (original/modifié) : originalHébergement : InfomaniakVersion de PHP : 7.0.24Version de MySQL : 5.7.20-logNavigateur(s) concerné(s) : Tous (testé sous Chrome, Mozilla ...) Link to comment Share on other sites More sharing options...
Dib Sarah Posted July 25, 2018 Share Posted July 25, 2018 Bonjour Benjamin,Afin de corriger ce problème, il faut aller dans International > Localisation et mettre en pays par défaut la France.L’équipe PrestaShop te souhaite une bonne journée Link to comment Share on other sites More sharing options...
Benjamin Grolleau Posted July 25, 2018 Author Share Posted July 25, 2018 Vous êtes des grands princes ! Sujet résolu ! 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