Forums

Upload file error codes?

FaberM 25 Jan, 2010
Hello,
where may I find a error codes table for file upload?

I receive error => 6 when trying to upload files (debug enabled, see output).

$_FILES Array: Array ( [file_2] => Array ( [name] => yazf.zip [type] => [tmp_name] => [error] => 6 [size] => 0 ) ) 


File size to upload is 115 Kb, this is the entry in CF: file_2:zip|pdf{4096-0}

Mail is sent successfully, but no files are uploaded, not even in the destination folder

I double checked all usual settings (field name in html/file uploads tab, enable uploads yes, changes to php.ini for uploading and file size, destination folder is writeable, both size limits are present, form tag attachment is set to "enctype="multipart/form-data" etc.)

CF v. is 3.1_RC5.5, Joomla 1.5.15.

Thanks and best regards
GreyHead 25 Jan, 2010
Hi FaberM,

This is a PHP error before ChronoForms gets to see the file. Check the error code list here. It looks as though there is a problem with the site tmp folder - either it doesn't exist or it isn't writable.

Note. This isn't the uploads folder that you told ChronoForms about.

Bob
FaberM 26 Jan, 2010
Thanks Bob,
that was the problem: the upload dir was not set for some reason.

Thank you, I hope this will be useful to other users.

Best Regards
This topic is locked and no more replies can be posted.