Forums

CF V4: multiple uploads in one form [Solved]

tibi38 18 Jan, 2012
Dear,
I had add 3 upload files elements in one form.
Calling the forms show me 3 selection / browsing elements.
I can select in each a different file.
But only the first one will be add to the data array (checked with debugger) and uploaded is only this first file.
Whats going wrong?
best regards
GreyHead 19 Jan, 2012
Hi Thomas,

What do you have in the Upload Files action? The Files box needs to contain entries for all three uploaders.

Bob
tibi38 19 Jan, 2012
Dear Bob,
attached you can find the file.

It would be nice if you have time to analyze it.

Best regards

[attachment=0]CFV4_FormsBackup_ON_wwwde_19_Jan_2012_10_43_02.zip[/attachment]
GreyHead 19 Jan, 2012
Hi Thomas,

Please remove the spaces between the entries in the Files box.

Bob

PS I think this is really a bug and I'll got and fix it after lunch.
tibi38 19 Jan, 2012
Dear Bob,
trying to get the file I filled in my information on your page and then I got a screen displaying:
Error: headers already sent in on line .
Stopped at line 1396 in uri.php

best regards
tibi38 19 Jan, 2012
Dear Bob,
I used the IE6 and that was the reason for not getting your update, with mozilla I could download the file now.
I will test your update now.
Bets regards
tibi38 19 Jan, 2012
Dear Bob,
now I got the problem that following path
xxx/images/stories/{user_id}
does not work. It creates instead of the number a directory with the name {user_id}.

I attached the actual form as a backup file.

Best regards
tibi38 23 Jan, 2012
Dear Bob,
I found the problem now: It is not possible to assign the same variable two times. After changing the second variable name it works.
Best regards
This topic is locked and no more replies can be posted.