In the following example, the FTP link of the website will be as: ftp.example.com, and the website link will bs as: http://www.example.com
Login to your website FTP and start editing the configuration.php file.
You will need to edit the following variables to:
var $ftp_root = 'public_html';
Don’t leave it empty and don’t type the “/” mark at the end of the folder name, otherwise the error will continue to appear.
If the program was installed on an internal folder, the two variables would be as follows:
var $ftp_root = 'public_html/subDirectory';
Don’t type the “/” mark at the end of the path, otherwise the error will continue to appear.
The following variables will also be set as:
var $ftp_host = 'ftp.example.com';
var $ftp_port = '21';
var $ftp_user = 'ftpuser';
var $ftp_pass = 'ftppass';
var $ftp_enable = '1';