Jump to content

Undefined index: home_default


Recommended Posts

Bonjour,

 

Je viens de migrer mon site d'un local vers ovh. Lorsque je vais sur une catégorie j'ai l'erreur suivant:

 

ContextErrorException in 008d691a274e56f2643fde608ba8b53fdb917560.file.category.tpl.php line 944:Notice: Undefined index: home_default
  1. in 008d691a274e56f2643fde608ba8b53fdb917560.file.category.tpl.php line 944
  2. at ErrorHandler->handleError('8', 'Undefined index: home_default', '/home/papadrinzb/www/app/cache/dev/smarty/compile/layouts_layout_left_column_tpl/00/8d/69/008d691a274e56f2643fde608ba8b53fdb917560.file.category.tpl.php', '944', array('_smarty_tpl' => object(Smarty_Dev_Template))) in 008d691a274e56f2643fde608ba8b53fdb917560.file.category.tpl.php line 944
  3. at content_59707fbca98025_17490374(object(Smarty_Dev_Template)) in 008d691a274e56f2643fde608ba8b53fdb917560.file.category.tpl.php line 910
  4. at content_59707fbca87ba8_85686547(object(Smarty_Dev_Template)) in 008d691a274e56f2643fde608ba8b53fdb917560.file.category.tpl.php line 308
  5. at content_59707fbcbee142_42984556(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188
  6. at Smarty_Internal_TemplateBase->fetch('catalog/listing/category.tpl', null, 'layouts/layout-left-column.tpl', nullfalsetruefalse) in SmartyDev.php line 41
  7. at SmartyDev->fetch('catalog/listing/category.tpl', null, 'layouts/layout-left-column.tpl') in FrontController.php line 660
  8. at FrontControllerCore->smartyOutputContent('catalog/listing/category.tpl') in FrontController.php line 644
  9. at FrontControllerCore->display() in Controller.php line 225
  10. at ControllerCore->run() in Dispatcher.php line 369
  11. at DispatcherCore->dispatch() in index.php line 28

 

Est-ce que vous avez une idée svp? :(

 

Link to comment
Share on other sites

J'ai le même problème lorsque j'essaye de cherche un produit sur la barre de recherche

 

1/1ContextErrorException in 272a44bf02685f522448c0ce585fdbec3ba233c2.file.search.tpl.php line 866:Notice: Undefined index: home_default
  1. in 272a44bf02685f522448c0ce585fdbec3ba233c2.file.search.tpl.php line 866
  2. at ErrorHandler->handleError('8', 'Undefined index: home_default', '/home/papadrinzb/www/app/cache/dev/smarty/compile/layouts_layout_left_column_tpl/27/2a/44/272a44bf02685f522448c0ce585fdbec3ba233c2.file.search.tpl.php', '866', array('_smarty_tpl' => object(Smarty_Dev_Template))) in 272a44bf02685f522448c0ce585fdbec3ba233c2.file.search.tpl.php line 866
  3. at content_5970b126d1ac96_82995999(object(Smarty_Dev_Template)) in 272a44bf02685f522448c0ce585fdbec3ba233c2.file.search.tpl.php line 832
  4. at content_5970b126d0bb02_00757779(object(Smarty_Dev_Template)) in 272a44bf02685f522448c0ce585fdbec3ba233c2.file.search.tpl.php line 258
  5. at content_5970b126e6b5d1_44623717(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188
  6. at Smarty_Internal_TemplateBase->fetch('catalog/listing/search.tpl', null, 'layouts/layout-left-column.tpl', nullfalsetruefalse) in SmartyDev.php line 41
  7. at SmartyDev->fetch('catalog/listing/search.tpl', null, 'layouts/layout-left-column.tpl') in FrontController.php line 660
  8. at FrontControllerCore->smartyOutputContent('catalog/listing/search.tpl') in FrontController.php line 644
  9. at FrontControllerCore->display() in Controller.php line 225
  10. at ControllerCore->run() in Dispatcher.php line 369
  11. at DispatcherCore->dispatch() in index.php line 28
Link to comment
Share on other sites

regarde dans la configuration de tes images, apparemment home_default est absent. ( preferences > images  sur la 1.6 ).

Merci beaucoup! C'est sous 1.7. Quand tu dis regarde la configuration? Je vais dans apparence puis images? Mais c'est quoi le lien?

Link to comment
Share on other sites

Merci beaucoup! C'est sous 1.7. Quand tu dis regarde la configuration? Je vais dans apparence puis images? Mais c'est quoi le lien?

Bonjour

 

Lisez et ouvrez vos menus dans le back office ce n'est que comme cela que vous apprenez a connaitre votre prestashop !

Link to comment
Share on other sites

dans "Apparence > images" tu regardes si "home_default" est bien présent avec la cache coché pour produit. C'est un début, si c'est ok, est ce que c'est le thème par défaut ?

Merci, non ce n'est pas le thème par defaut. Je pensais qu'on pouvait changer les accès aux images sans problèmes. Je viens de le rajouter et cela semble fonctionner mais du coup c'est impossible de mettre ce qu'on veut sans error? :s ENcore merci!

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...