Kuroudu Posted March 31, 2014 Share Posted March 31, 2014 Hello all, Hope you all are having great time developing with Prestashop. I have a strange Language problem and I am really lost how to fix it. See the screenshot provided in this post. My first webshop language is English and has language id = 1 Second language is Azerbaijani and has language_id = 2 Whenever I select language Azerbaijani the DOCTYPE is omitted and the code that should be between the <head> tags are gone and moved down between the <body> tag. (see the screenshots). Anyone have any ideas where I should look at this problem? Is it the database, the theme I use or something else? Is there a proper way to debug this? Kuroudu Link to comment Share on other sites More sharing options...
PascalVG Posted March 31, 2014 Share Posted March 31, 2014 Hi kuroudu, Did you already change anything to the PS source code before or is it plain, original PrestaShop code without modifications? Does it happen with the default theme selected (as well), or can it be theme dependent? What version of PrestaShop do you use? Is there any (test) site where we can see the problem happen ourselves? pascal. Link to comment Share on other sites More sharing options...
Kuroudu Posted March 31, 2014 Author Share Posted March 31, 2014 Hi kuroudu, Did you already change anything to the PS source code before or is it plain, original PrestaShop code without modifications? Does it happen with the default theme selected (as well), or can it be theme dependent? What version of PrestaShop do you use? Is there any (test) site where we can see the problem happen ourselves? pascal. Hi Pascal, Thanks for the reply. I am running PrestaShop™ 1.5.6.2. There are some changes made in the PS source code. Not sure exactly what, I am helping fixing this problem actually. It is strange that the problem only occurs when Azerbaijani is selected, other languages are okay. It definitely has to do with the language, cause the theme is actually working good when I select English for example. I am testing it on my own server right now, and the changes are not online yet. I am sorry for that. You happen to have any idea which files I should look at? I looked at header.tpl but don't see any strange code there. Kuroudu Link to comment Share on other sites More sharing options...
PascalVG Posted March 31, 2014 Share Posted March 31, 2014 Just to make sure, can you still try one time to change the theme to default and see if it occurs there as well? Link to comment Share on other sites More sharing options...
Kuroudu Posted April 1, 2014 Author Share Posted April 1, 2014 (edited) Just to make sure, can you still try one time to change the theme to default and see if it occurs there as well? Thanks for your reply! I just updated the language in the back office and the problem is solved. Really strange, but at least it is solved now. Thanks! Edited April 1, 2014 by Kuroudu (see edit history) 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