Jump to content
tigran96

При русской версии сайта ajax бьет json parse error

Recommended Posts

Добрый день! Столкнулся с проблемой при добавлении в корзину(и вообще все в common.js) 

ajax бьет

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
{"success":"\u0423\u0441\u043f\u0435\u0445: \u0412\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 <a href=\"http:\/\/gala.ttweb.org\/index.php?route=product\/product&amp;product_id=78\">\u0411\u0440\u044e\u043a\u0438<\/a> \u0432 \u0432\u0430\u0448\u0443 <a href=\"http:\/\/gala.ttweb.org\/korzina\">\u043a\u043e\u0440\u0437\u0438\u043d\u0443<\/a>!","total":1}

 

вот сайт gala.ttweb.org 

 

подскажите пожалуйста в чем может быть проблема

Share this post


Link to post
Share on other sites

А вы изменяли файл caalog/controller/checkout/cart.php ?

Share this post


Link to post
Share on other sites

скорей уж тогда в языковом покопались

Share this post


Link to post
Share on other sites
21 час назад, n3bo сказал:

А вы изменяли файл caalog/controller/checkout/cart.php ?

нет 

Share this post


Link to post
Share on other sites
20 часов назад, AlexDW сказал:

скорей уж тогда в языковом покопались

Да скорее всего заменил оригиналами, пока все работает

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.