Stitch_addict Posted February 12, 2018 Share Posted February 12, 2018 Bonsoir, J'ai installé Prestashop depuis mon espace Client 1and1, il s'agit de la version 1.7.2.4. Je n'ai fait aucune modification (template de base, etc) et pourtant j'ai l'erreur suivante : Mon site rencontre une erreur 500 lors de l'enregistrement d'une commande, au moment de saisir l'adresse, par défaut ce sont le prénom et le nom qui sont repris... c'est au moment où l'on fait continuer sur cette étape 2 qu'arrive l'erreur... J'ai cherché sur le forum et je n'ai pas l'impression d'être un cas isolé malheureusement je n'ai pas trouvé de solution dans les messages ci-joint : https://www.prestashop.com/forums/topic/658851-1and1-hosting-and-prestashop-do-not-work-together/ https://www.prestashop.com/forums/topic/663650-500-server-error-by-checkout/ https://www.prestashop.com/forums/topic/663444-problème-adresse-dans-la-création-de-compte-client/ En mode Debug, j'obtiens le détail ci-dessous, merci beaucoup pour votre aide ! ContextErrorException in 987cee3b398135653f002829af4c739040e25d52.file.address-form.tpl.php line 72:Notice: Undefined index: name in 987cee3b398135653f002829af4c739040e25d52.file.address-form.tpl.php line 72 at ErrorHandler->handleError('8', 'Undefined index: name', '/homepages/24/d661718993/htdocs/clickandbuilds/PrestaShop/Coxie17/app/cache/dev/smarty/compile/98/7c/ee/987cee3b398135653f002829af4c739040e25d52.file.address-form.tpl.php', '72', array('_smarty_tpl' => object(Smarty_Dev_Template), '_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' => '31dbda55541bdc904f1bd6872096c18b', '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' => 'Anne'), 'lastname' => array('value' => 'Onyme')))) in 987cee3b398135653f002829af4c739040e25d52.file.address-form.tpl.php line 72 at content_5a82132a44e3e5_91334928(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch(object(Smarty_Dev_Template), null, null, null, false, true, false) in SmartyDev.php line 60 at Smarty_Dev_Template->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(Smarty_Dev_Template)) 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(Smarty_Dev_Template))) in 60beb739f39765b121449bba9382cd26e78a630e.file.addresses.tpl.php line 90 at content_5a82132a4062f1_72173028(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch(object(Smarty_Dev_Template), null, null, null, false, true, false) in SmartyDev.php line 60 at Smarty_Dev_Template->fetch() in AbstractCheckoutStep.php line 94 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' => 'http://s661718998.onlinehome.fr/commande?use_same_address=0', 'new_address_delivery_url' => 'http://s661718998.onlinehome.fr/commande?newAddress=delivery', 'new_address_invoice_url' => 'http://s661718998.onlinehome.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)) in CheckoutAddressesStep.php line 223 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(Smarty_Dev_Template)) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyRender', array(array('identifier' => 'checkout-addresses-step', 'position' => '2', 'ui' => object(RenderableProxy)), object(Smarty_Dev_Template))) in d51ada15148314d14fa2e41c2170ac2529415098.file.checkout-process.tpl.php line 36 at content_5a82132a1783a6_55302141(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch(object(Smarty_Dev_Template), null, null, null, false, true, false) in SmartyDev.php line 60 at Smarty_Dev_Template->fetch() in CheckoutProcess.php line 110 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(Smarty_Dev_Template)) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyRender', array(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy)), object(Smarty_Dev_Template))) in 6de9dd42c41307ff498b7bead36dd4e68b5e4a72.file.checkout.tpl.php line 145 at content_5a821329f0bb06_22292664(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch('checkout/checkout.tpl', null, 'layouts/layout-full-width.tpl', object(SmartyDev), false, true, false) in SmartyDev.php line 41 at SmartyDev->fetch('checkout/checkout.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 671 at FrontControllerCore->smartyOutputContent('checkout/checkout.tpl') in FrontController.php line 655 at FrontControllerCore->display() in Controller.php line 225 at ControllerCore->run() in Dispatcher.php line 379 at DispatcherCore->dispatch() in index.php line 28 Link to comment Share on other sites More sharing options...
fortunapost Posted April 28, 2018 Share Posted April 28, 2018 Bonjour, Avez vous trouvé une solution depuis ? Je suis dans le meme cas que vous. Link to comment Share on other sites More sharing options...
Jeanwww Posted September 12, 2018 Share Posted September 12, 2018 Bonjour Avez-vous trouvé une solution ? Même problème... Link to comment Share on other sites More sharing options...
Sky Posted October 23, 2018 Share Posted October 23, 2018 Bonjour, Apparemment nous nous sommes pas les seuls à rencontrer ce problème ... Si cela peut aider, j'ai trouvé un tuto pour corriger le problème ici : https://www.matthieu-jalbert.fr/erreur-500-adresse-client-prestashop-1-7/ Link to comment Share on other sites More sharing options...
Sky Posted October 23, 2018 Share Posted October 23, 2018 Encore mieux !! Un grand MERCI à ITIS-Commerce.com pour sa solution TRES SIMPLE pour les marchands qui n'ont pas de développeurs ou de webmasters sous le coude :https://www.prestashop.com/forums/topic/619518-problème-prestashop-17-inscription-client/ 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