Not Receiving File Attachment

LikeStuff 28 Aug, 2015
I'm not receiving the files that I uploaded. These are the settings that I have. I am not sure what I am missing😟

Field names:
Publication_Upload
and Publication_Upload2

Files Config: Publication_Upload:pdf,Publication_Upload2:pdf

Array Fields: Publication_Upload,Publication_Upload2

After the form is submitted I get this:

Errors

Array
(
)

Thank you in advance!
GreyHead 29 Aug, 2015
Hi LikeStuff,

Are they not being uploaded at all?

Why do you have the names in the Array Fields box - they aren't arrays as far as I can see?

Bob
LikeStuff 31 Aug, 2015
Hi Greyhead,

No they are not been uploaded. Now I am getting this message:

Sorry, your uploaded file type is not allowed.



I removed the names in the Array Fields box. Not sure what the issue is now though.

Thanks!
GreyHead 01 Sep, 2015
Hi LikeStuff,

You settings should upload pdfs OK

Please add a Debugger action and a Custom Code action with this code
<?php
echo'<div>$_FILES: '.print_r($_FILES, true).'</div>';
?>
and copy and post the output here,

Bob
LikeStuff 01 Sep, 2015
Is this what you need?

$_FILES: Array ( [Publication_Upload] => Array ( [name] => PDF-Form-Test-1.pdf [type] => application/pdf [tmp_name] => /home/hosting/chroot/devt.xxxx.com/home/hosting/devt.xxxx.com/tmp/phpNsoQMw [error] => 0 [size] => 8911 ) [Publication_Upload2] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) ) 


Thank you.
GreyHead 02 Sep, 2015
Hi LikeStuff,

The PHP File Error 4 shown there is 'No File uploaded' - so please check your PHP settings to see what is blocking the upload (this is happening before ChronoForms sees the upload info.

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