Jump to content

[SOLUCIONADO] Error 500 despues de activar smarty


kyr2912

Recommended Posts

Buenas en mi pagina ha aparecido un error 500 despues de activar el smarty, ya esta desactivado pero el error persiste, he activado el modo debug y me ha salido esto:

Whoops, looks like something went wrong.

1/1ContextErrorException in smarty_internal_templatebase.php(157) : eval()'d code line 39:Notice: Undefined index: page_name

  1. in smarty_internal_templatebase.php(157) : eval()'d code line 39
  2. at ErrorHandler->handleError('8', 'Undefined index: page_name', '/var/www/vhosts/temptationjewellery.com/shop.temptationjewellery.com/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code', '39', array('_smarty_tpl' => object(SmartyDevTemplate))) in smarty_internal_templatebase.php(157) : eval()'d code line 39
  3. at content_5ace2f84e0d226_60404081(object(SmartyDevTemplate)) in smarty_internal_templatebase.php line 188
  4. at Smarty_Internal_TemplateBase->fetch(object(SmartyDevTemplate), null, null, null, false, true, false) in SmartyDevTemplate.php line 41
  5. at SmartyDevTemplateCore->fetch() in Module.php line 2244
  6. at ModuleCore->display('/var/www/vhosts/temptationjewellery.com/shop.temptationjewellery.com/modules/belvg_backgroundpages/belvg_backgroundpages.php', 'views/templates/front/themesettings.tpl') in belvg_backgroundpages.php line 341
  7. at Belvg_BackgroundPages->hookHeader(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '4')) in Hook.php line 924
  8. at HookCore::coreCallHook(object(Belvg_BackgroundPages), 'hookHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '4')) in Hook.php line 332
  9. at HookCore::callHookOn(object(Belvg_BackgroundPages), 'displayHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '4')) in Hook.php line 860
  10. at HookCore::exec('displayHeader') in FrontController.php line 542
  11. at FrontControllerCore->initContent() in IndexController.php line 37
  12. at IndexControllerCore->initContent() in Controller.php line 205
  13. at ControllerCore->run() in Dispatcher.php line 428
  14. at DispatcherCore->dispatch() in index.php line 28
Edited by kyr2912 (see edit history)
Link to comment
Share on other sites

3 minutes ago, kyr2912 said:

Buenas en mi pagina ha aparecido un error 500 despues de activar el smarty, ya esta desactivado pero el error persiste, he activado el modo debug y me ha salido esto:

Whoops, looks like something went wrong.

1/1ContextErrorException in smarty_internal_templatebase.php(157) : eval()'d code line 39:Notice: Undefined index: page_name

  1. in smarty_internal_templatebase.php(157) : eval()'d code line 39
  2. at ErrorHandler->handleError('8', 'Undefined index: page_name', '/var/www/vhosts/temptationjewellery.com/shop.temptationjewellery.com/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code', '39', array('_smarty_tpl' => object(SmartyDevTemplate))) in smarty_internal_templatebase.php(157) : eval()'d code line 39
  3. at content_5ace2f84e0d226_60404081(object(SmartyDevTemplate)) in smarty_internal_templatebase.php line 188
  4. at Smarty_Internal_TemplateBase->fetch(object(SmartyDevTemplate), null, null, null, false, true, false) in SmartyDevTemplate.php line 41
  5. at SmartyDevTemplateCore->fetch() in Module.php line 2244
  6. at ModuleCore->display('/var/www/vhosts/temptationjewellery.com/shop.temptationjewellery.com/modules/belvg_backgroundpages/belvg_backgroundpages.php', 'views/templates/front/themesettings.tpl') in belvg_backgroundpages.php line 341
  7. at Belvg_BackgroundPages->hookHeader(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '4')) in Hook.php line 924
  8. at HookCore::coreCallHook(object(Belvg_BackgroundPages), 'hookHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '4')) in Hook.php line 332
  9. at HookCore::callHookOn(object(Belvg_BackgroundPages), 'displayHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '4')) in Hook.php line 860
  10. at HookCore::exec('displayHeader') in FrontController.php line 542
  11. at FrontControllerCore->initContent() in IndexController.php line 37
  12. at IndexControllerCore->initContent() in Controller.php line 205
  13. at ControllerCore->run() in Dispatcher.php line 428
  14. at DispatcherCore->dispatch() in index.php line 28

Tienes problemas con el modulo: belvg_backgroundpages por lo que veo en el mensaje de error que muestras. Desinstalalo o desactivarlo

Link to comment
Share on other sites

hace 28 minutos, Sergio Ruiz dijo:

Tienes problemas con el modulo: belvg_backgroundpages por lo que veo en el mensaje de error que muestras. Desinstalalo o desactivarlo

 

Ese modulo es el demonio de prestashop, muchas gracias funciono.

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