Welcome i have error: SyntaxError: JSON.parse: unexpected character , I am from PoLAND and I use polish language which i translated from English. When I add polish language, I have error, choicing Flat Rate in Checkout >> Delivery ...I dont now why, because in English (language) when i choice in shop everything is ok in Polish not ;/ sory my English ist not good < Can someone help me ?
Hello,
I have website in 6 languages and I experience the same error in 4 langauges (Duetsch, French, Russian and Spanish) while English and Lithuanian works perfect.
Currently I am working on this issue but nothing comes to my mind. Does anybody else experienced the same issue ? Is there a solution for this error ?
I have website in 6 languages and I experience the same error in 4 langauges (Duetsch, French, Russian and Spanish) while English and Lithuanian works perfect.
Currently I am working on this issue but nothing comes to my mind. Does anybody else experienced the same issue ? Is there a solution for this error ?
I use 5 additional lang packs and all of them are downloaded from opencart.com website. Is there any way I could check them?Daniel wrote:which language pack did you use?
also if you did the translation your self which php editor did you use?
if its a .net editor sometimes Microsoft adds stuff to the header of files.
but which ones? which ones is this happening with.
any idea which characters are causing the problem?
try typing in your alaphabet and when you come to the one that stops working let me know.
any idea which characters are causing the problem?
try typing in your alaphabet and when you come to the one that stops working let me know.
OpenCart®
Project Owner & Developer.
Hi,Daniel wrote:but which ones? which ones is this happening with.
any idea which characters are causing the problem?
try typing in your alaphabet and when you come to the one that stops working let me know.
I have the same problem with English too. Do you have any idea?
ripper wrote:Hi,Daniel wrote:but which ones? which ones is this happening with.
any idea which characters are causing the problem?
try typing in your alaphabet and when you come to the one that stops working let me know.
I have the same problem with English too. Do you have any idea?
which character?
is it when you use " or ' or something?
OpenCart®
Project Owner & Developer.
ripper wrote:Hi,Daniel wrote:but which ones? which ones is this happening with.
any idea which characters are causing the problem?
try typing in your alaphabet and when you come to the one that stops working let me know.
I have the same problem with English too. Do you have any idea?
ok pm me access to your4 site and tell me how to produce the problem.
OpenCart®
Project Owner & Developer.
I have it in VmWare for testing. It doesn't write any character.Daniel wrote:ripper wrote:Hi,Daniel wrote:but which ones? which ones is this happening with.
any idea which characters are causing the problem?
try typing in your alaphabet and when you come to the one that stops working let me know.
I have the same problem with English too. Do you have any idea?
ok pm me access to your4 site and tell me how to produce the problem.
Having this problem as well, and looking for a way to solve it, I noticed this "$json = array();" in /catalog/controller/checkout/confirm.php (around line 50).
This seems a bit strange since there may be values assigned already to $json. Moving this declaration to the top doesn't solve the issue of the JSON error, but I thought it's worth mentioning it whatsoever.
This seems a bit strange since there may be values assigned already to $json. Moving this declaration to the top doesn't solve the issue of the JSON error, but I thought it's worth mentioning it whatsoever.
i have the same issue. i test one of my module is normal when i upload to server,it tips "SyntaxError: JSON.parse: unexpected character". i don't know why?
Yea this error is non-specific and can happen at any step in the checkout, most notably the shipping and payment selection steps.
It can happen for a number of reasons
- Bug in the code, making it very difficult to debug
- Missing a file
- Unexpected data
I hope we can find a better way to report the actual php error back to ajax.
It can happen for a number of reasons
- Bug in the code, making it very difficult to debug
- Missing a file
- Unexpected data
I hope we can find a better way to report the actual php error back to ajax.
Who is online
Users browsing this forum: No registered users and 38 guests