Hi all, this is a mini free extension, which we decided to post here and not in the free contributions since its under OpenCart 2.0 thread.
The issue:
Could not connect as opencart.opencartdemo.com:21
If you get an error below saying "Could not connect as ......" while uploading your zipped extensions via the Extension Installer, you probably have the FTP support disabled from your hosting.
This tiny ocmod extension code fixes this.
http://www.opencart.com/index.php?route ... n_id=18892
This is a mod for the new OCMOD modification system in OpenCart 2.0. It allows you to install zipped extensions without the need for FTP support on your server.
How to apply this fix?
You need to download and unzip this mod first. Then, to install this mod go to your OpenCart admin panel > Extensions > Extension Installer. Click the Upload button and select the .xml file that you previously unzipped. You should get a green message saying: "Success: You have installed your extension!”. Now navigate to Extensions > Modifications and click on the Refresh button at the top right corner of the screen. This is it.
The issue:
Could not connect as opencart.opencartdemo.com:21
If you get an error below saying "Could not connect as ......" while uploading your zipped extensions via the Extension Installer, you probably have the FTP support disabled from your hosting.
This tiny ocmod extension code fixes this.
http://www.opencart.com/index.php?route ... n_id=18892
This is a mod for the new OCMOD modification system in OpenCart 2.0. It allows you to install zipped extensions without the need for FTP support on your server.
How to apply this fix?
You need to download and unzip this mod first. Then, to install this mod go to your OpenCart admin panel > Extensions > Extension Installer. Click the Upload button and select the .xml file that you previously unzipped. You should get a green message saying: "Success: You have installed your extension!”. Now navigate to Extensions > Modifications and click on the Refresh button at the top right corner of the screen. This is it.
Last edited by iSenseLabs on Thu Oct 02, 2014 6:20 pm, edited 1 time in total.
I think the second search should be a replace from the looks of the add operation.
It isn't explained anywhere but to get the feature working you need to set up an FTP connection for your store in System -> Settings -> Edit -> FTP. The settings that are in there now are presumably from testing which is why the extension installer always throws a fit.
It isn't explained anywhere but to get the feature working you need to set up an FTP connection for your store in System -> Settings -> Edit -> FTP. The settings that are in there now are presumably from testing which is why the extension installer always throws a fit.
-Ryan
@rph The issue comes when the server (usually shared-hosting accounts) has the opening of FTP connections disabled.
And this IS a issue if it is a local installation (e.g. xampp) and no FTP server is running.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
I probably should have read the thread title closer.MStoychev wrote:@rph The issue comes when the server (usually shared-hosting accounts) has the opening of FTP connections disabled.

So I finally figured out why the mod was working with the fatal bug in it: the position attribute (replace, before, after) was moved from the <search> element in vQmod to the <add> element in OCMod. That's going to throw off a lot of developers used to vQmod. Not to mention all the fun repetition converting vQmod scripts.
I also just noticed that OCMods are loaded from the database. So if a mod hoses your admin good luck disabling it!

-Ryan
OCMod is still not ready for use, so is the installer feature
The manual upload using a FTP client and using vQmod is still the safer choice for everyone 
Having those comments under your extensions asking if OC 2.0 is supported for the extension is pretty crazy. They expect devs to release updates for a version that didn't give us enough time to patch things up


Having those comments under your extensions asking if OC 2.0 is supported for the extension is pretty crazy. They expect devs to release updates for a version that didn't give us enough time to patch things up

This mod didn't work for me.
It cycled around with a warning that there is an ID thats the same as OC has. So I couldn't install it. I solved this issue simply, by going to my FTP client and Unlocking the FTP primary account (it should be an option if you have acces to the administration).
Anyway. Cheers.

Anyway. Cheers.

If a warning about ' .. ID is already in use ..' (or similiar), the modification has in ID which is already used.imartin_1983 wrote:This mod didn't work for me.It cycled around with a warning that there is an ID thats the same as OC has. So I couldn't install it. I solved this issue simply, by going to my FTP client and Unlocking the FTP primary account (it should be an option if you have acces to the administration).
Anyway. Cheers.
Simply open the xml-file and change the term inside
Code: Select all
<id>..</id>
Code: Select all
<code>..</code>
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
hi, i tried to install extension through extension installer but every time i am getting an error as 'Could not login as admin' please guide me on thisand my cart verison is 2.3.0.2
Did you install the free extension from ......arjunmpgupta wrote:hi, i tried to install extension through extension installer but every time i am getting an error as 'Could not login as admin' please guide me on thisand my cart verison is 2.3.0.2
https://www.opencart.com/index.php?rout ... n_id=18892
Who is online
Users browsing this forum: No registered users and 18 guests