Jaack Posted November 15, 2019 Share Posted November 15, 2019 I'm trying to convert my site in German. I followed the steps but when I click on Modify button in International->Translations, it gives me following error Failed to load resource: the server responded with a status of 500 () translations.bundle.js?1.7.0:185 Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse (<anonymous>) at translations.bundle.js?1.7.0:185 How can I resolve this I'm using Prestashop 1.7.3 and PHP 7.1 Link to comment Share on other sites More sharing options...
lototo Posted November 16, 2019 Share Posted November 16, 2019 Is problemo in english language? Link to comment Share on other sites More sharing options...
PCQUATRO Posted November 16, 2019 Share Posted November 16, 2019 On 11/15/2019 at 11:37 AM, Jaack said: How can I resolve this I'm using Prestashop 1.7.3 and PHP 7.1 You could try to update your store to the latest version! Remember ALLWAYS BACKUP FIRST Best Regards Link to comment Share on other sites More sharing options...
Jaack Posted November 28, 2019 Author Share Posted November 28, 2019 On 11/17/2019 at 4:28 AM, PCQUATRO said: You could try to update your store to the latest version! Remember ALLWAYS BACKUP FIRST Best Regards I've updated my version but still same issue. Link to comment Share on other sites More sharing options...
Jaack Posted November 28, 2019 Author Share Posted November 28, 2019 On 11/16/2019 at 9:51 PM, lototo said: Is problemo in english language? Yes I've this issue in all languages. Link to comment Share on other sites More sharing options...
PCQUATRO Posted November 28, 2019 Share Posted November 28, 2019 10 hours ago, Jaack said: I've updated my version but still same issue. I supose you upgraded to 1.7.6.1! Did you change the PHP version to 7.2? What is the servers MySql Version? Best Regards Link to comment Share on other sites More sharing options...
Jaack Posted November 29, 2019 Author Share Posted November 29, 2019 5 hours ago, PCQUATRO said: I supose you upgraded to 1.7.6.1! Did you change the PHP version to 7.2? What is the servers MySql Version? Best Regards No, my PHP version is 7.1.12 and MySQL is 5.5.41 Link to comment Share on other sites More sharing options...
tuk66 Posted November 29, 2019 Share Posted November 29, 2019 Can you post your /admin_directory/themes/new-theme/public/translations.bundle.js file to check? Link to comment Share on other sites More sharing options...
Jaack Posted November 29, 2019 Author Share Posted November 29, 2019 2 minutes ago, tuk66 said: Can you post your /admin_directory/themes/new-theme/public/translations.bundle.js file to check? Here is the file. translations.bundle.js Link to comment Share on other sites More sharing options...
tuk66 Posted November 29, 2019 Share Posted November 29, 2019 This file isn't packed (why?), but looks right. So the question is why it is called "translations.bundle.js?1.7.0" when your PS version is 1.7.3? Can be loaded an old cached version in your browser? Link to comment Share on other sites More sharing options...
PCQUATRO Posted November 29, 2019 Share Posted November 29, 2019 (edited) 4 hours ago, Jaack said: No, my PHP version is 7.1.12 and MySQL is 5.5.41 Check this out -> https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/ It for PS 1.7.6.1 it is recommended PHP 7.2 and MySql 5.6, if your server allows it try to use those versions... Best Regards Edited November 29, 2019 by PCQUATRO (see edit history) Link to comment Share on other sites More sharing options...
Jaack Posted November 29, 2019 Author Share Posted November 29, 2019 38 minutes ago, PCQUATRO said: Check this out -> https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/ It for PS 1.7.6.1 it is recommended PHP 7.2 and MySql 5.6, if your server allows it try to use those versions... Best Regards No I'm on shared hosting so can't change it. Link to comment Share on other sites More sharing options...
Jaack Posted November 29, 2019 Author Share Posted November 29, 2019 2 hours ago, tuk66 said: This file isn't packed (why?), but looks right. So the question is why it is called "translations.bundle.js?1.7.0" when your PS version is 1.7.3? Can be loaded an old cached version in your browser? Where does it says 1.7.0? Please explain a bit more. I'm a newbie to Prestashop. Link to comment Share on other sites More sharing options...
egrzesiek Posted January 13, 2021 Share Posted January 13, 2021 Im my case problem was wrong country iso code. Link to comment Share on other sites More sharing options...
lussaa Posted March 29, 2021 Share Posted March 29, 2021 (edited) Thanks @egrzesiek, my error was also that some field of the language was not defined - changed it in the back office in Localization -> Languages and the error disappeared. Edited March 29, 2021 by lussaa (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