Opencart 2.1.0.2 Getting error from installing ocmod.zip

ACKA picture ACKA · Feb 7, 2016 · Viewed 7.3k times · Source

I've just started to use 2.1.0.2 and I'm trying to convert over some of my own extensions I built for my 1.5.6.4 store.

I have started with a fresh install of 2.1.0.2 and I built a very basic extension, I'm wanting to move over to the extension installer to install my future additions to my store instead of using vqmod.

I have made my testerextension.ocmod.zip, inside this is:

install.xml 
/upload/
/admin/
/catalog/

However when I use the installer to upload testerextension.ocmod.zip I'm getting the following error:

Directory containing files to be uploaded could not be found

I have tracked this down to the ftp() class as I can see this error can be trigged in another class.

I've also looked into the storage temp folder to find a folder unzipped called: testerextension.ocmod NOT upload.

To rule out if there was an issue with OC system I have uploaded another extension from the extension store with the similar directory structure and similar ocmod.zip name only for it to correctly install.

Therefore i'm unsure as to why this would be happening, I understand the system is looking for the upload folder in the temp folder but it's not there as it's one level deeper in the testerextension.ocmod - but as you can see from the directory structure above this shouldn't be happening.

Does anyone have any idea where I could be going wrong?

Answer

amisha picture amisha · Feb 9, 2016

i have a solution

1.Download LocalCopy.zip

Note:in case you get error of ftp than set ftp from store->setting->ftp and uninstall LocalCopy extenstion and install again extenstion installer

if you still get problem contact me