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
<b>Warning</b>: move_uploaded_file(/var/www/html/opencart/upload/system/storage/upload/temp-T0Zt6TkUG2t3oNwuH0espTRVDIsPJVvD/ 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/' 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.



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/ :)


I am no longer active at the Forum. Please do NOT send me Personal Mails,
they will no longer be replied to.
My Github OC Site:
3'870 + FREE OC Extensions, on the World's largest Github OC Repository Archive Site.

User avatar
Legendary Member


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

Users browsing this forum: No registered users and 7 guests