Post by blmg911 » Mon Feb 08, 2016 4:07 am

Hello,

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?

New member

Posts

Joined
Fri Oct 10, 2014 10:36 pm

User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by 3zzy » Wed Aug 24, 2016 7:34 pm

Uploaded via FTP, now? How to enable it?

Newbie

Posts

Joined
Thu Aug 11, 2016 12:56 pm

Post by AlexDW » Thu Aug 25, 2016 2:16 am

If you don't set up FTP to upload archives ocmod.zip in Extension Installer - just use this patch:
http://www.opencart.com/index.php?route ... n_id=18892

Useful Opencart extensions


User avatar
New member

Posts

Joined
Sun Jun 05, 2016 3:32 am

Post by MarketInSG » Sat Aug 27, 2016 4:41 pm

After uploading, you should see the module in extensions > Modules, or wherever it is supposed to be, depending on the extension.


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore
Who is online

Users browsing this forum: No registered users and 31 guests