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?
I had the same problem.
This happened cause I compressed the directory of the extension. The rigth way is compress the files of the extension.
Don't use the extension installer. Instead, unzip the downloaded package and upload the contents of the "upload" folder to your store's root directory via FTP. This will merge the files into your store.
Try Something Like this..
-------------------------------------------------------------------------------------
http://www.opencart.com/index.php?route=extension/extension/info&extension_id=18892 extension...
http://www.opencart.com/index.php?route=extension/extension/info&extension_id=20706&filter_search=Manufacturedescription.ocmod&filter_license=0&page=2
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