BartV Posted November 22, 2019 Share Posted November 22, 2019 After update with 1-click upgrade i see error on console: Uncaught SyntaxError: Unexpected token ';' So both at the front office and back office values for variables like baseAdminDir, prestashop etc. are empty. Output looks like: var prestashop = ; I figured out that there is a problem with return values but that's all. Any ideas? Link to comment Share on other sites More sharing options...
tuk66 Posted November 24, 2019 Share Posted November 24, 2019 Any errors when enabling Debug mode? Link to comment Share on other sites More sharing options...
BartV Posted November 25, 2019 Author Share Posted November 25, 2019 On 11/24/2019 at 10:44 AM, tuk66 said: Any errors when enabling Debug mode? Right, that's good point top start with. But sadly i see no error. Not a single. However i don't even see the debuger bar on frontend. Sometimes i don't see it on backend. And yes, debugging mode is enabled both in defines file and prestashop settings. Link to comment Share on other sites More sharing options...
tuk66 Posted November 25, 2019 Share Posted November 25, 2019 So I only know one way to solve it. Try to log variables in important places in the code and try to find a place where it fails. Link to comment Share on other sites More sharing options...
BartV Posted November 25, 2019 Author Share Posted November 25, 2019 I found out that there was a problem with currency - was faulty stored in DB so nothing was returned to JS. Updating value through admin panel helped. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now