Post by bkpie » Tue Mar 14, 2017 1:37 am

HI, Have a weird problem. I can not edit orders when using Mozilla Firefox on opencart 2.0.3.1 It works fine on Chrome, IE, Safari. Reading the forums for the error I receive shows problems and fixes with API or Http vs Https but that is for not being able to edit on any browser. Anyone know why it would be just Firefox? Thanks in advance. This is the error but only on Firefox

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

OK

<b>Notice</b>: Undefined variable: json in <b>/home2/xxx/public_html/vqmod/vqcache/vq2-admin_controller_sale_order.php</b> on line <b>2623</b>

Newbie

Posts

Joined
Wed Apr 29, 2015 11:06 pm

Post by thekrotek » Tue Mar 14, 2017 1:49 am

Works perfectly on Firefox for me. Might be your local issue, especially considering that error is in modified version of the core file.

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 bkpie » Tue Mar 14, 2017 2:31 am

Thanks for response. It references the last line in that file which is $this->response->setOutput($json); } So you think it is maybe a setting in my browser on my local machine? I can use Chrome but I do most everything on Firefox so wanted to get that working

Newbie

Posts

Joined
Wed Apr 29, 2015 11:06 pm

Post by thekrotek » Tue Mar 14, 2017 2:38 am

Chrome can simply suppress the error (I don't use it, so not sure), but it's still out there. Firefox displays it to you and it's good, because you're aware, that something's not right. Now you just need to find out, what exactly is not right.

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 bkpie » Tue Mar 14, 2017 2:52 am

Thanks. I just did a beyond compare with the stock and the modded one. Most of the mods are made by ajax order editor contribution which works in Firefox for most things needed to edit ie quantities etc. Makes order editing easy other than adding different products or completely removing them . I think I will check through that first since that may be causing the issue. Will remove and see if problem goes away. Whatever it is also makes it so I cant delete orders in admin on Firefox but that does not throw an error it just says it did it and doesn't . But I Can delete on other browsers.

Newbie

Posts

Joined
Wed Apr 29, 2015 11:06 pm
Who is online

Users browsing this forum: No registered users and 44 guests