HomeBreadcrumb ArrowModulesBreadcrumb ArrowOpenCartBreadcrumb ArrowErrorLog ManagerBreadcrumb ArrowJSON Parse error
New Discussion

JSON Parse error

User Image
member
#1 posted on 28/2/16

I tried installing the extension: ExtensionUninstaller (Purchase ID #33321) But get the following error (I am using an add-on domain which is located in the root - the same location as the public_html folder, and I have recently installed vQmod there): === SyntaxError: JSON Parse error: Unrecognized token '<' OK <b>Warning</b>: mkdir(): No such file or directory in <b>/home/micromil/mydomain.com.au/vqmod/vqcache/vq2-admin_controller_extension_installer.php</b> on line <b>82</b><b>Warning</b>: move_uploaded_file(/home/micromil/mydomain.com.au/system/upload/temp-ZDQxOiQSGxImJPLNbzM1lDKFiomS5WNe/install.xml): failed to open stream: No such file or directory in <b>/home/micromil/mydomain.com.au/vqmod/vqcache/vq2-a === Can you please help?

0
User Image
Teya Veselinova member
#2 posted on 19/4/16

Hello Sarah,

It looks like the error is not caused by the module itself, but by the installer and your OpenCart installation.

Can you please make sure that in your config.php file in admin and in the root folders you have defined the upload folder in this way:

 define('DIR_UPLOAD', '/***/***/***/***/***/***/***/'); where '/***/***/***/***/***/***/***/' is the path to your upload folder, which will be either in system/storate/upload OR sytem/upload (depending on your OpenCart version). 

This issue is usually caused by an improper update of OpenCart 2.x to a newer OC 2.x version.

0