Jump to content

[Solved] Blank screen in FO and BO


Recommended Posts

Yesterday all of the pages in my store dissapeard and left a blank white screen.

After editing /config/defines.inc.php and enabled debug mode I got error message.

 

 

Fatal error: Uncaught exception 'SmartyException' with message 'Invalid compiled template for modules/favoriteproducts/views/templates/hook/favoriteproducts-header.tpl'' in tools/smarty/sysplugins/smarty_internal_templatebase.php:174 Stack trace: #0 classes/module/Module.php(1599): Smarty_Internal_TemplateBase->fetch() #1 modules/favoriteproducts/favoriteproducts.php(105): ModuleCore->display.', 'favoriteproduct...') #2 shop/classes/Hook.php(417): FavoriteProducts->hookDisplayHeader(Array) #3 classes/controller/FrontController.php(441): HookCore::exec('displayHeader') #4 controllers/front/IndexController.php(37): FrontControllerCore->initContent() #5 classes/controller/Controller.php(167): IndexControllerCore->initContent() #6 classes/Dispatcher.php(348): Cont in tools/smarty/sysplugins/smarty_internal_templatebase.php on line 174

 

All changes in default theme so far is to remove som registration fields and border around images.

Those changes was made over a week ago and it have worked fine with these changes.

 

The last changes that was made was to remove all countries, states and countys that is not in use.

 

I am running PS 1.5.3.0 upgraded with 1-click upgrade from 1.5.2

The upgrade was made in December 2012.

 

Does anyone have a solution for this problem?

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

Hello,

 

I think you removed too much code from this file.

 

modules/favoriteproducts/views/templates/hook/favoriteproducts-header.tpl

 

My solution:

try brink back complete backup file and remove part by part every function, every statement or whatever you want to remove. By take a look about tags: ";, }"

After each change check what happening with your site.

 

Or you are out of space.

Edited by m.andrzejak (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...