ndrouard Posted July 10, 2018 Share Posted July 10, 2018 Bonjour, J'ai transféré le site prestashop (1.7.3) d'un client vers un hébergement 1and1, et il y a des comportements étranges. - En mode normal (non debug), certaines pages de l'admin, dans "paramètres avancés" renvoient une page blanche (erreur 500) - En mode debug, le front affiche une erreur (du genre Undefined index), et les pages de l'admin en question s'affiche normaement, sans erreur. J'ai à moitié résolu le problème avec un petit hack : j'ai mis l'admin en mode debug (dans /admin/index.php) et pas le front. Ça semblait fonctionner, sauf que certaines pages liées à des modules m'affichent à nouveaux une erreur. Quote ContextErrorException in d2ebadee3138c039a6dde028791dc931e55c40dc.file.form.tpl.php line 853: Notice: Undefined index: category in d2ebadee3138c039a6dde028791dc931e55c40dc.file.form.tpl.php line 853 at ErrorHandler->handleError('8', 'Undefined index: category', '/homepages/2/d567068914/htdocs/prestashop/app/cache/dev/smarty/compile/d2/eb/ad/d2ebadee3138c039a6dde028791dc931e55c40dc.file.form.tpl.php', '853', array('_smarty_tpl' => object(Smarty_Internal_Template), '_capture_buffer' => 'fieldset_name', '_capture_assign' => null, '_capture_append' => null, '_from' => array(array('name' => '3_Ly Adams'), array('name' => '4_Adidas'), array('name' => '10_A.P.C.'), array('name' => '13_Asics'), array('name' => '21_Church's'), array('name' => '25_Études'), array('name' => '26_Filling Pieces'), array('name' => '28_Herno'), array('name' => '34_LA NOTE PARISIENNE'), array('name' => '45_Marni'), array('name' => '63_Yves Salomon'), array('name' => '66_IMPOSSIBLE'), array('name' => '75_TASCHEN'), array('name' => '77_IPS'), array('name' => '99_NATIVE UNION'), array('name' => '102_JBL'), array('name' => '108_BE-POLES'), array('name' => '115_Reebok'), array('name' => '127_Dr. Martens'), array('name' => '147_WOMBAT'), array('name' => '148_Attachment'), array('name' => '149_Adidas x Raf Simons'), array('name' => '155_Comme des Garçons Shirt'), array('name' => '159_Les Benjamins'), array('name' => '162_Undercover'), array('name' => '163_Veja'), array('name' => '164_Futuro'), array('name' => '208_MARSHALL'), array('name' => '209_URBANEARS'), array('name' => '212_Soulland'), array('name' => '217_Paraboot'), array('name' => '218_Saturdays NYC'), array('name' => '219_BLK DNM'), array('name' => '226_Vans'), array('name' => '228_Converse'), array('name' => '229_AQUA DI PARMA'), array('name' => '236_Aimé Leon Dore'), array('name' => '237_Champion'), array('name' => '238_Damir Doma'), array('name' => '244_Y-3'), array('name' => '245_Dsquared2'), array('name' => '246_YMC'), array('name' => '247_Patagonia'), array('name' => '248_Zespa'), array('name' => '253_Schott'), array('name' => '257_KAPPA'), array('name' => '259_NEW BALANCE'), array('name' => '260_STONE ISLAND'), array('name' => '263_SECRETS D\'APOTHICAIRE'), array('name' => '275_L10 TRADING'), array('name' => '276_MAISON NERIE'), array('name' => '279_EDIE & WATSON'), array('name' => '287_APNEE')))) in d2ebadee3138c039a6dde028791dc931e55c40dc.file.form.tpl.php line 853 at content_5b449bec3f95e5_95405626(object(Smarty_Internal_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch() in Helper.php line 113 at HelperCore->generate() in HelperForm.php line 272 at HelperFormCore->generate() in HelperForm.php line 67 at HelperFormCore->generateForm(array(array('form' => array('input' => array(array('type' => 'export_form', 'name' => 'title', 'color_attr' => '0', 'url_link' => 'https://archive1820.com/', 'ajax_link' => 'https://archive1820.com/admin1820/index.php?controller=AdminHlsolsysAjax&token=84f34f1ebfc01b6d3c23b6aebedb4341', 'token' => '080a0ed05fc4539784a47bfbe0146a35', 'import_link' => 'https://archive1820.com/admin1820/index.php?controller=AdminImport&token=ba630e5da490f08623cc0ee2916fda02', 'manufacturer_filter' => array(array('name' => '3_Ly Adams'), array('name' => '4_Adidas'), array('name' => '10_A.P.C.'), array('name' => '13_Asics'), array('name' => '21_Church's'), array('name' => '25_Études'), array('name' => '26_Filling Pieces'), array('name' => '28_Herno'), array('name' => '34_LA NOTE PARISIENNE'), array('name' => '45_Marni'), array('name' => '63_Yves Salomon'), array('name' => '66_IMPOSSIBLE'), array('name' => '75_TASCHEN'), array('name' => '77_IPS'), array('name' => '99_NATIVE UNION'), array('name' => '102_JBL'), array('name' => '108_BE-POLES'), array('name' => '115_Reebok'), array('name' => '127_Dr. Martens'), array('name' => '147_WOMBAT'), array('name' => '148_Attachment'), array('name' => '149_Adidas x Raf Simons'), array('name' => '155_Comme des Garçons Shirt'), array('name' => '159_Les Benjamins'), array('name' => '162_Undercover'), array('name' => '163_Veja'), array('name' => '164_Futuro'), array('name' => '208_MARSHALL'), array('name' => '209_URBANEARS'), array('name' => '212_Soulland'), array('name' => '217_Paraboot'), array('name' => '218_Saturdays NYC'), array('name' => '219_BLK DNM'), array('name' => '226_Vans'), array('name' => '228_Converse'), array('name' => '229_AQUA DI PARMA'), array('name' => '236_Aimé Leon Dore'), array('name' => '237_Champion'), array('name' => '238_Damir Doma'), array('name' => '244_Y-3'), array('name' => '245_Dsquared2'), array('name' => '246_YMC'), array('name' => '247_Patagonia'), array('name' => '248_Zespa'), array('name' => '253_Schott'), array('name' => '257_KAPPA'), array('name' => '259_NEW BALANCE'), array('name' => '260_STONE ISLAND'), array('name' => '263_SECRETS D\'APOTHICAIRE'), array('name' => '275_L10 TRADING'), array('name' => '276_MAISON NERIE'), array('name' => '279_EDIE & WATSON'), array('name' => '287_APNEE')))))))) in AdminController.php line 2563 at AdminControllerCore->renderForm() in AdminHLsolsys.php line 83 at AdminHlsolsysController->renderAddProf() in AdminHLsolsys.php line 33 at AdminHlsolsysController->renderList() in AdminController.php line 2100 at AdminControllerCore->initContent() in Controller.php line 205 at ControllerCore->run() in Dispatcher.php line 428 at DispatcherCore->dispatch() in index.php line 100 Je ne vais pas débuguer un module, alors quelqu'un connait ce problème d'erreur 500 chez 1and1 ? En plus on n'a pas accès aux logs d'erreurs apparement.... Merci beaucoup ! 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