Post by jacgo » Mon Jun 18, 2018 11:52 pm

Hi All
Our OP version is 3.0.2
Got error when upload image via filemanager.

SyntaxError: Unexpected token < in JSON at position 0
Parser error
SyntaxError: JSON.parse Error : Invalid character at position:1 parsererror

Screenshot :

Is there any one who also got this error and solve this issue?

Many thanks!

New member


Thu Jun 09, 2011 12:41 am

Post by straightlight » Tue Jun 19, 2018 2:48 am

Ensure to use a proper image size before uploading. If the image is too big, you might receive error messages from the Image Manager tool. In addition, the permissions must be properly set on your FTP in order for the Image Manager tool to be able to successfully upload the images on your server. Refer to the install.txt file from your downloaded OC zip file from to know which permission settings are required with OC.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

Straightlight Administrator / Quality Assurance Analyst / Programmer / Opencart Tester

Legendary Member


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

Post by kslakhani » Thu Aug 16, 2018 7:34 pm

That is most probably you have messed with javascript syntax by using either third party mods or u have changed in yr common.js or may be in header.twig file



Wed Apr 05, 2017 11:33 pm
Who is online

Users browsing this forum: No registered users and 11 guests