I tried to install extension using extension installer in opencart 2.0.1.1 but I get error message like
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Warning</b>: ftp_login(): Sorry, cleartext sessions are not accepted on this server. in <b>/mystore.com/admin/controller/extension/installer.php</b> on line <b>295</b>{"error":"Could not login as mystore"}
But the FTP details are correct.
Please help.
Hi I think this could be the way the password is maybe being passed. If you install via the extensions installer the QickFix-1.1.1 (current version) and then disable the ftp in your systems settings it will allow you to upload extensions. Also means one less ftp account password floating around.
I just had this problem and resolved it with above thanks to QuickFix.
I just had this problem and resolved it with above thanks to QuickFix.
go to:
admin/controller/extension/installer.php
change:
to:
or make a vqmod/ocmod to do this change
admin/controller/extension/installer.php
change:
Code: Select all
$connection = ftp_connect($this->config->get('config_ftp_hostname'), $this->config->get('config_ftp_port'));
Code: Select all
$connection = ftp_ssl_connect($this->config->get('config_ftp_hostname'), $this->config->get('config_ftp_port'));
Who is online
Users browsing this forum: No registered users and 11 guests