Jump to content

Smarty gives 500 error ?


Recommended Posts

Hello,

 

I upgraded from Presta 1.4 to Presta 1.5.4, the admin section seems to work perfect; all data is still there. But in the frontend I get immediately a blank page.

 

I did some debugging, and I come to the following code in classes/controller/FrontController.php on lines 428 and further:

 

echo "ic5<br>";
  $this->context->smarty->assign(array(
   'HOOK_HEADER' => Hook::exec('displayHeader'),
   'HOOK_TOP' => Hook::exec('displayTop'),
   'HOOK_LEFT_COLUMN' => ($this->display_column_left ? Hook::exec('displayLeftColumn') : ''),
   'HOOK_RIGHT_COLUMN' => ($this->display_column_right ? Hook::exec('displayRightColumn', array('cart' => $this->context->cart)) : ''),
  ));
				    echo "ic6<br>";

 

as you see, I added 2 echo statements. the "ic5" is visible on my screen, the "ic6" isn't. So I think that the error (or at least one of the errors) is in this part of code. Anyone any clue what might be wrong here ?

Link to comment
Share on other sites

×
×
  • Create New...