Forums

Files upload does not work...

doromi 26 Jun, 2014
Hi,

there are plenty of threads in this forum, and I have tried lots of things, but still...

In my form the Files Upload routine nicely asks for the file to be uploaded, but the files aren't uploaded.
The debugger tells /var/www/xxx/components/com_chronoforms5/chronoforms/uploads/jobportal/Nikon.jpg could not be uploaded!!

The $_Files Array says
$_FILES: Array ( [input_bild] => Array ( [name] => Nikon.jpg [type] => image/jpeg [tmp_name] => /tmp/phpMLszXj [error] => 0 [size] => 33331 ) )

And on top:
When the file size is bigger than noted in the Files Upload settings, I don't get the message I put in there,
but I get $_FILES: Array ( )
and most of the Form Array fields are empty as well.

What am I doing wrong ?

Thanks for any idea...

doromi
GreyHead 27 Jun, 2014
Answer
HI doromi,

Please drag a Debugger action into the On Submit event, then submit the form and post all of the debug results here.

It looks as though the file is being uploaded to the site tmp folder but ChronoForms is then unable to copy it over to the folder you have specified. Does that folder exist and is it writable?

Bob
doromi 01 Jul, 2014
Hi Bob,

thanks for your reply. And thanks for pushing me in the right direction.
The priviledges of the folder weren't correct.
Now the file is nicely uploaded into the specified folder.

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