I also had this problem, for me has the config.php file that had the "HTTPS_SERVER" defined with https://... but I wasn't using https in my website, so curl was trying to comunicate with https with the catalog.

I had change the value of "HTTPS_SERVER" to http://... and now is working fine

Last edited by dragoncorp on Fri Jun 12, 2015 4:11 pm, edited 1 time in total.

"The 'Checking your browser before accessing (insertsite.com)' occurs when the site owner has turned on a DDoS protection and mitigation tool called "I'm Under Attack". The page will generally go away and grant you access to the site after 5 seconds."

dragoncorp wrote:I also had this problem, for me has the config.php file that had the "HTTPS_SERVER" defined with https://... but I wasn't using https in my website, so curl was trying to comunicate with https with the catalog.

I had change the value of "HTTPS_SERVER" to http://... and now is working fine

Fatal error: Cannot redeclare ModelCatalogProduct::editProductFee() in /home1/casys123/public_html/system/modification/admin/model/catalog/product.php on line 352

Please let me knwo how to fix it...Thanks

I experienced the same with the latest vqmod 2.5.1 but only on certain hostings.
For whatever the reason vqmod applied every modification twice for random extension.
To fix the issue I had to roll back to the vqmod 2.4.1.

I have tried all the other suggested fix's I could find (including curl with another domain) and same issue.

I then tried to also remove my ssl cert and re-edit my config files for non ssl and it did not revert back to a functioning state. I was getting the same error as when the ssl was installed. So if I now want to have it functioning without ssl, it seems I require to do a fresh install.

So at this stage I have 2 options. Reinstall opencart and do not install ssl, or use it in its current state and not have the function to edit and delete orders, and do so manually through the database.

I hope a fix for this comes soon with the next version. Seems like the biggest issue with OC 2. atm.

Now i have tried a lot. I have done everything i could find on this forum and Stackoverflow. Nothing helps. I tried the HTTPS in Config.php. Api user etc. etc.

I have discovered something and i would like to share that with you, maybe you can help me and maybe it will bring us closer to a solution. Correct me if i'm wrong but i'm not the only one struggling with this problem.

I'm running a multistore configuration > works like a charm. When i sell a product that is active in more then one shop i get the Json error stuff. A order with one or more products that are in one shop only. NO PROLEM.

No, i'm not running SSL at the moment. Honestly i'm not sure how this is related. Could you fill me in?

deepvision wrote:....

Does it make any difference if a product was sold in one shop or another? Or always the same error regardless of the shop it was sold in?

Yes it does! When a product is sold in the default shop there is no problem at all! It's only when a product is sold in the second store. I found out that it doesn't matter if a product is active in more than one store.. If any product is sold in the second store you won't be ably to edit the order.

Detail: When a order is placed in the second store you cannot edit the order. You directly get the "SyntaxError: Unexpected end of input. OK". You have to press a button to dismiss the Chrome error message. And you can see the first tab of the edit screen you just can't press next/continue. You will get the error message again. What you can do is change the store. When you do thta everything works again! You can push next/continue en edit the order. You can delete the order everything. But when you change to second store. The problem is back!

I hope you can follow me, i'm dutch so my english could be a bit weak. I could make a recording of my screen if you like??

I might have found the problem! When you create a second store you have to fill in the shop URL. Below that you can fill in shop SSL URL but that is not a required field. I did not fill that in because i don't have my ssl stuff ready.

So i just filled in the same shop URL as above and now everything seems to work!