Opencart syntax error JSON.parse unexpected end of data at line 1 column 1 of the JSON data-[SOLVED]

Tips
  • 1
  •  
  •  
  •  
  •  
  •  
How to increase Max file upload size in WordPress for an Addon domain - SOLVED
If you are using a smart phone, you should read this

Hi all,

After upgrading Shop.wayanad.co.in from Opencart 1.5.6.4 to 2.0.1.1, I found lot of errors/bugs which needs minor changes in config files, vqmod re-install etc. and was fixed.

But an error which stalled me from editing/updating orders killed my time a lot. It was “syntax error JSON.parse unexpected end of data at line 1 column 1 of the JSON data”

After googling and wandering opencart forums, i found the post http://www.viethemes.com/how-to-fix-error-syntaxerror-unexpected-end-of-input-ok-when-editing-order-in-opencart-2/ which helped me to fix this error.

  1. I added an API user with username “admin”
  2. Generated a password.
  3. Went to Store settings and selected the API user as “admin”

Really it helped me..With courtesy, I am sharing the link to above post here.

But today, the problem didn’t get solved even after removing old API user and adding a new one. Tried several times and no solution. Atlast, I understood that its the SMTP config causes JSON EOF error. I have changed the port to 465 before 2 days and it started throwing this error. After changing the SMTP port to old one, the JSON error disappeared.

Earn Free Bitcoin

Like?
Wayanad.co.in Admin

Webmaster of Wayanad.net, Wayanad.co.in, Ethwebs.net etc. Hailing from Wayanad, Kerala, India.

https://wayanad.co.in