Jump to content

Unexpected T_IF error


Recommended Posts

Recently reinstalled prestashop and reconnected to my old database. At first, I was just getting a blank page on the front end - so I enabled debugging and see that I get the following message:

Parse error: syntax error, unexpected T_IF in /home/anything/public_html/tools/smarty/compile/b573d75aa3d2e3019809f1e4a1a1578dc73778c9.file.blockcart.tpl.php on line 21

I've looked at the code there and it appears fine. If I disable the cart block module - the error goes away - but then I find another one just like it when I look at products:

Parse error: syntax error, unexpected T_IF in /home/anything/public_html/tools/smarty/compile/a457cd12fd5c1cbf413ec080645ff94d3ae42cd8.file.product.tpl.php on line 21

I'm using php 5, I'm forcing smarty compile, I'm not using caching. I've generated a new .htaccess file.

Suggestions?

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