(02-08-2010 06:17 AM)adam Wrote: Hi Aseques!
I have a little problem with your CLI script, because I can't create FTP account.
My system: Debian 5.0, ISPCP 1.0.3-1
Message:
host:/home/server3/cli# php domain.php --action create_ftp --domain "teszt.com" --password "vfmkr4321"
Creating the default FTP user for teszt.com
Fatal error: Call to undefined function chk_username() in /home/server3/cli/ftp_add.php on line 307
Thank you!
Ok, I just saw I forgot to attach the ftp_add in the tar.gz, I just added it with the current version of the script.
Please re-download it and tell me in case it's not working.
I am using it on a lenny + 1.0.3.1 version without problems.