Page 1 of 1

What's the meaning of this Warning?

Posted: Mon Oct 12, 2009 3:58 am
by revbackup
Hi,

I always get this error whenever I upload some files in my server.
This is the error:

Warning: ftp_mkdir() [function.ftp-mkdir]: 6156 Kbytes used (6%) - authorized: 102400 Kb in /home/ryan/www/www/student/upload/scripts/php/inc/jupload.inc.php on line 35

What could be the reason for this warning?
This is line 35 of jupload.inc.php : ftp_mkdir($conn_id,$base);

Please give me some ideas how to solve this problem... Thanks ;D

Re: What's the meaning of this Warning?

Posted: Mon Oct 12, 2009 4:28 am
by onion2k
It's your FTP server. When you create a directory it's supposed (according to the RFC spec for FTP) to return the name of the directory. It's returning some information about the user's quota - PHP is assuming that it's an error from the FTP server and throwing it out as a warning. The solution will be to turn off warnings on your web server I imagine.

Re: What's the meaning of this Warning?

Posted: Mon Oct 12, 2009 5:41 am
by jackpf
or use error suppression.