Jump to content

Problème d'accés après migration vers nouvel hébergeur


Recommended Posts

Bonjour, j'ai migrer mon site vers un nouvel hébergeur,

j'ai un Prestashop 1.7.4.2 qui fonctionnait bien avec php 5.6 et depuis la migration plus d'accés au backoffice et certains liens sur le front office.

Sur le nouvel hébergeur, j'ai essayé différentes version de php: 5.6 j'ai une erreur 503 sur le backoffice, 7.0 et 7.1 page blanche et erreur 500.

Les étapes pour la migration ont été respectés, la copie, les droits des fichiers et dossier, renseignements de connexion a la base, les liens en base, supprimer le dossier var/cache etc ..

Impossible d'accéder.

auriez-vous une idée svp? merci

Edited by jimix974 (see edit history)
Link to comment
Share on other sites

il y a 17 minutes, jimix974 a dit :

j'ai essayé différentes version de php: 5.6 j'ai une erreur 503 sur le backoffice, 7.0 et 7.1 page blanche et erreur 500.

Bonjour

Voici le Tableau de compatibilité PHP

https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/#php-requirements

Avez vous tenter de régénérer votre .htaccess 

https://matricule1902.com/regenerer-htaccess-prestashop-1-6/

Activer aussi le  mode debug

https://www.prestasafe.com/mettre-prestashop-1-7-1-3-mode-debug

 

Link to comment
Share on other sites

16 minutes ago, solsol69 said:

Voici le Tableau de compatibilité PHP

justement, j'ai essayé les 3 versions qui sont disponible pour ma version.

 

16 minutes ago, solsol69 said:

Avez vous tenter de régénérer votre .htaccess 

comment le regénérer si pas d’accès au backoffice ?

déja fait, ca me sort beaucoup de chose

Sur le backoffice:

Quote

 

  Quote

(1/1) RuntimeException

The autoloader expected class "PrestaShop\PrestaShop\Adapter\Security\Admin" to be defined in file "/htdocs/vendor/composer/../../src/Adapter/Security/Admin.php". The file was found but the class was not in it, the class name or namespace probably has a typo.

in DebugClassLoader.php line 293

at DebugClassLoader->checkClass('PrestaShop\\PrestaShop\\Adapter\\Security\\Admin', '/htdocs/vendor/composer/../../src/Adapter/Security/Admin.php')in DebugClassLoader.php line 160

at DebugClassLoader->loadClass('PrestaShop\\PrestaShop\\Adapter\\Security\\Admin')

at spl_autoload_call('PrestaShop\\PrestaShop\\Adapter\\Security\\Admin')in appDevDebugProjectContainer.php line 1190

at appDevDebugProjectContainer->getPrestashop_Adapter_Security_AdminService()in appDevDebugProjectContainer.php line 1814

at appDevDebugProjectContainer->ContainerWwxyl8z\{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 250

at TraceableEventDispatcher->preProcess('kernel.request')in TraceableEventDispatcher.php line 134

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 88

 

 

Sur le front:

  Quote

Quote

 

(1/1) ContextErrorException

Notice: Trying to get property of non-object

in custompopup.php line 386

at CustomPopup->functionHook(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2))in custompopup.php line 83

at CustomPopup->__call('hooktmMegaLayoutHome', array(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2)))in Hook.php line 924

at HookCore::coreCallHook(object(CustomPopup), 'hooktmMegaLayoutHome', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2))in Hook.php line 328

at HookCore::callHookOn(object(CustomPopup), 'tmMegaLayoutHome', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2))in Hook.php line 860

at HookCore::exec('tmMegaLayoutHome', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2), null)in smarty.config.inc.php line 165

at smartyHook(array('h' => 'tmMegaLayoutHome'), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83

at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'tmMegaLayoutHome'), object(SmartyDevTemplate)))in 84967f057eae9bb6ddcff8741dc1e839bcef4b2c_2.file.index.tpl.php line 49

at Block_697300000601985e1329e63_59036326->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 247

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_697300000601985e1329e63_59036326), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 183

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_697300000601985e1329e63_59036326))in smarty_internal_runtime_inheritance.php line 157

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_697300000601985e1329e63_59036326', 'hook_home', 0)in 84967f057eae9bb6ddcff8741dc1e839bcef4b2c_2.file.index.tpl.php line 70

at Block_1323906860601985e13290c5_65217656->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 247

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_1323906860601985e13290c5_65217656), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 183

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_1323906860601985e13290c5_65217656))in smarty_internal_runtime_inheritance.php line 157

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_1323906860601985e13290c5_65217656', 'page_content', 0)in 84967f057eae9bb6ddcff8741dc1e839bcef4b2c_2.file.index.tpl.php line 121

at Block_1358784196601985e1321bf4_23879437->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 247

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_1358784196601985e1321bf4_23879437), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 183

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_1358784196601985e1321bf4_23879437), object(Block_1069646475601985e134ee81_57083040))in smarty_internal_runtime_inheritance.php line 185

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_1069646475601985e134ee81_57083040))in smarty_internal_runtime_inheritance.php line 157

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_1069646475601985e134ee81_57083040', 'page_content_container', 1)in db91e41497707c07fab0dc72dbbcc11c965cac48_2.file.page.tpl.php line 181

at Block_1554444316601985e1346365_11647663->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 247

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_1554444316601985e1346365_11647663), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 183

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_1554444316601985e1346365_11647663), object(Block_9443859601985e1370bc9_49894924))in smarty_internal_runtime_inheritance.php line 185

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_9443859601985e1370bc9_49894924))in smarty_internal_runtime_inheritance.php line 157

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_9443859601985e1370bc9_49894924', 'content', 2)in 04e83b1d1498f760fcfcd599a3eb4974ec20c5dd_2.file.layout-full-width.tpl.php line 99

at Block_1409344966601985e136c8e9_63555149->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 247

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_1409344966601985e136c8e9_63555149), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 183

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_1409344966601985e136c8e9_63555149), object(Block_1975488298601985e139ef33_73982954))in smarty_internal_runtime_inheritance.php line 185

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_1975488298601985e139ef33_73982954))in smarty_internal_runtime_inheritance.php line 157

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_1975488298601985e139ef33_73982954', 'content_wrapper')in 5d376e2ab22a4bbba8c39d644672d4e2bd0caadb_2.file.layout-both-columns.tpl.php line 86

at content_601985e13b4a77_03211153(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 206

at Smarty_Internal_Template->render()in smarty_internal_template.php line 365

at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 127

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')in 04e83b1d1498f760fcfcd599a3eb4974ec20c5dd_2.file.layout-full-width.tpl.php line 40

at content_601985e1373687_53865519(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 206

at Smarty_Internal_Template->render()in smarty_internal_template.php line 365

at Smarty_Internal_Template->_subTemplateRender('layouts/layout-full-width.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 127

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')in db91e41497707c07fab0dc72dbbcc11c965cac48_2.file.page.tpl.php line 33

at content_601985e1355c09_24873554(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 206

at Smarty_Internal_Template->render()in smarty_internal_template.php line 365

at Smarty_Internal_Template->_subTemplateRender('page.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 127

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')in 84967f057eae9bb6ddcff8741dc1e839bcef4b2c_2.file.index.tpl.php line 33

at content_601985e13312c1_44604267(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 206

at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232

at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, 'layouts/layout-full-width.tpl', null, 0)in smarty_internal_templatebase.php line 116

at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)in SmartyDev.php line 41

at SmartyDev->fetch('index.tpl', null, 'layouts/layout-full-width.tpl')in FrontController.php line 679

at FrontControllerCore->smartyOutputContent('index.tpl')in FrontController.php line 663

at FrontControllerCore->display()in Controller.php line 275

at ControllerCore->run()in Dispatcher.php line 428

at DispatcherCore->dispatch()in index.php line 28

 

 

Ca vous dit quelques chose ?

merci beaucoup

Edited by Jamesx (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...