Error with Opencart Exstension Installer


I am completely new to opencart and not technically experienced. I have searched for an answer everywhere I know.
I have installed Opencart2 on my local machine and want to use the Exstension installer.
The system uses FTP, so I created a Local FTP using Filezilla Server. No problems.
I then set the Opencart system FTP setting with the FTP credentials. The FTP root is set as localhost/mydomain
On running the extension installer I get the following error:
"SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
<Warning: ftp_chdir(): CWD failed. "/:/localhost/mydomain": directory not found. in C:\xampp\htdocs\mydomain\admin\controller\extension\installer.php on line 228{"error":"Could not set root directory as "}"]

I have tried various combinations of the FTP root folder i.e. Localhost, , but nothing seems to get rid of the error. I would be very grateful if anyone could guide me.

Thank you

Best Solution

I know it's a old question but if anyone are having the same problem you can use the the mod made by Manoel Vidal, they will allow you to use the OC installer without FTP, just dowload and instll it with the OC installer then go to Extensions->Modifications and hit refresh and that is it, you can use OC installer now.

Download link ->

Sorry for my english...

Related Question