Jump to content

Errors on page when using v1.1 compatibility


Recommended Posts

Hi Guys,

When i click on v1.1 theme compatability it shows the following errors on the front page.


Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6.3; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.30618; .NET CLR 3.5.30729)
Timestamp: Fri, 15 Jan 2010 16:17:25 UTC


Message: Syntax error
Line: 119
Char: 39
Code: 0
URI: http://stagefx.co.uk/


I have not uploaded my old theme from 1.1 yet, so i know it has nothing to do with that.


Thanks

Massimo

Link to comment
Share on other sites

The problem is that on line 34 of modules/blocksearch/blocksearch-top.tpl, {$cookie.id_lang} is return an empty value. I've seen this happen on dozens of site now, but I'm not exactly sure why I happens. I think it has been fixed in the next version of Prestashop, though I can't find the bug report. In the meantime, you can change this line from:

extraParams:{ajaxSearch:1,id_lang:{/literal}{$cookie->id_lang}{literal[spam-filter]



to:

extraParams:{ajaxSearch:1,id_lang:1}



This will set the language to English. I'm not sure whether this will work when you change the change to French though.

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