Post by stefanos23 » Fri Jan 26, 2018 6:48 pm

I'm using Extension Installer in order to install a module locally on my computer. I've set all permissions to 0777 and when trying to upload the Extension I get this error:

Code: Select all

SyntaxError: Unexpected token < in JSON at position 0
OK
<b>Warning</b>: move_uploaded_file(/var/www/html/opencart/upload/system/storage/upload/temp-T0Zt6TkUG2t3oNwuH0espTRVDIsPJVvD/upload.zip): failed to open stream: Permission denied in <b>/var/www/html/opecart/upload/admin/controller/extension/installer.php</b> on line <b>132</b><b>Warning</b>: move_uploaded_file(): Unable to move '/tmp/phpIfPHoO' to '/var/www/html/opecart/upload/system/storage/upload/temp-T0Zt6TkUG2t3oNwuH0espTRVDIsPJVvD/upload.zip' in <b>/var/www/html/opecart/upload/admin/controller/extension/installer.php</b> on line <b>132</b>{"step":[],"overwrite":[],"error":"File could not be found!"}
I've been trying since yesterday to solve this but not luck so far.

I would like some help if possible. Thank you in advance.

P.S.: I'm doing it through vagrant.

Newbie

Posts

Joined
Fri Jan 26, 2018 6:40 pm

Post by IP_CAM » Sat Jan 27, 2018 8:35 am

Well, you seem to be in a hurry, to get rich quick. Otherwise, you would not
have uploaded your software into the http-shopsite/upload/... Directory, but
in a specifically named one, like /shop/....
And second, if you don't make sure, to have entered correct Code, or you cannot
expect it to work.
var/www/html/opecart/ :-\
var/www/html/opencart/ :)

Ernie

For Sale: Top URL's, including an OpenCart V-Pro Shop!
A wide range of matching Designs can be seen here: http://www.opencart.li
For Information on URL's offered, please contact me at: jti@jacob.ch
Hundreds of Mods in 380+ Repositories for OC v.1.5.x - v.2.3.x
to be found on my Github Site: https://github.com/IP-CAM
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 8 guests