Page 1 of 1

usermanagement import users csv file not working.

Posted: Wed Apr 27, 2022 8:58 pm
by chysti
Hi,
Our lms system cannot load csv file to ftp.When trying to import users importusers.php
ftp settings in config.php is correct.

$cfg['uploadType'] = 'ftp';

$cfg['ftphost'] = 'ourhost';
$cfg['ftpport'] = '21';
$cfg['ftpuser'] = 'user';
$cfg['ftppass'] = '***';
$cfg['ftppath'] = '/subdomains/learning/httpdocs/';

By Filezilla we can connect to ftp but only if we selecting Encryption "Only use Plain Ftp (insecure)".
Where can add encryption settings in the config.php ? How to resolve the issue?

Re: usermanagement import users csv file not working.

Posted: Thu Apr 28, 2022 5:30 am
by alfa24
If you're able to use Fs upload (no FTP) its's a server issue.
Anyway, advanced options for configuring FTP connection are not available in Forma. If you absolutely need to use FTP (I'm wondering why) I can write an advanced layer for you.

Re: usermanagement import users csv file not working.

Posted: Sun May 29, 2022 10:05 am
by chysti
Its not must to work by FTP.
Now it's not working not by FTP and not by FS (HTTP)...
Getting ..../usermanagement/show&err=no_upload . like file is not uploaded...
ANd we don't know what is happened.

Re: usermanagement import users csv file not working.

Posted: Sun May 29, 2022 10:20 am
by alfa24
In order to find out what is happening, one should be on your instance and debug deeply.
No luck to solve by discussing here.