Post by Baski » Fri Mar 09, 2018 8:29 pm

Hi, in my OC 2.0.3.1 with Journal theme, i get the following error

syntax unexpected token < in JSON at position 0
parseerror

<b>Notice</b>:undefined variable;json in <b>/var/www/store/system/modification/admin/controller/sale/order.php</b> on line<b>2234</b>

when i try to edit any orders in the admin, can anyone help me please ??

New member

Posts

Joined
Fri Sep 11, 2015 6:29 pm

Post by straightlight » Fri Mar 09, 2018 8:34 pm

v2.0.3.1 is quite an old version. In order to avoid passed headaches that used to be reported a lot on the forum to rectify this issue, it would rather be suggested to upgrade to at least v2.3.0.2 release of OC.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by thekrotek » Fri Mar 09, 2018 10:39 pm

You have an error in modified file, which means one of your extensions is causing the issue. The only way to solve this is to look into this file. Or you can simply try to set Display Errors to No in store settings.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by Baski » Fri Mar 09, 2018 11:03 pm

Thanks i tried setting Display errors to no and i got the following error msg

SyntaxError: Unexpected end of JSON input
parseerror

New member

Posts

Joined
Fri Sep 11, 2015 6:29 pm

Post by straightlight » Fri Mar 09, 2018 11:25 pm

Alert messages ignores the display errors messages. Following my instructions above will save you lots of headaches since the alert JS function does not take PHP errors into considerations as the reported issue has been fixed since quite sometime.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 54 guests