Forums

files array error

blackadder500 27 Jun, 2010
Hi,

I wonder if you could help me out, I'm almost there with your form but im still having a problem with attachments. If test the form and dont add any files to it then i get the email and a confirmation email goes to the address i put in the form.

If i add attachments to it then both addresses get emails but they are blank. The debug info is below:

From: Rockfall Films [xxxxxxx@rockfallfilms.co.uk]
To: [email]xxxxxxxxxxx@yahoo.com[/email]
CC:
BCC: [email]xxxxxx@rockfallfilms.co.uk[/email]
Subject: New submission for casting

We have received your submission

Name
rtyert
Surname
ert
Age
564
Height
ert
Location
ert
Email
[email]xxxxxxxxxxxx@yahoo.com[/email]
Phone
64684
Showreel/CV link

Availability in July/Aug

Attach recent photo
testimage.jpg


Submitted by 84.92.240.192

Files: /var/sites/r/rockfallfilms.co.uk/public_html/castphotos/testimage.jpg, /var/sites/r/rockfallfilms.co.uk/public_html/castphotos/test.doc

Thank you for your submission

1. Form passed first SPAM check OK
2. Form passed the submissions limit (if enabled) OK
3. Form passed the Image verification (if enabled) OK
4. Form passed the server side validation (if enabled) OK
5. $_POST Array: Array ( [text_1] => rtyert [text_2] => ert [text_3] => 564 [text_4] => ert [text_7] => ert [text_8] => [email]xxxxxxxxxx@yahoo.com[/email] [text_9] => 64684 [text_5] => [text_6] => [chrono_verification] => mmvns [button_12] => Submit [1d8bfcd970f735221a69c544e0659afa] => 1 [1cf1] => e62a8cfbb20cd4aea48609865beab933 [chronoformname] => magicgirl )
6. $_FILES Array: Array ( [file_10] => Array ( [name] => testimage.jpg [type] => image/jpeg [tmp_name] => /tmp/phpdwDaiD [error] => 0 [size] => 19422 ) [file_12] => Array ( [name] => test.doc [type] => application/octet-stream [tmp_name] => /tmp/php1fnhJ1 [error] => 0 [size] => 8192 ) )
7. Upload routine started for file upload by : file_10
8. /var/sites/r/rockfallfilms.co.uk/public_html/castphotos/testimage.jpg has been uploaded OK
9. Upload routine started for file upload by : file_12
10. /var/sites/r/rockfallfilms.co.uk/public_html/castphotos/test.doc has been uploaded OK
11. Form passed the plugins step (if enabled) OK
12. An email has been SENT successfully from (Rockfall Films)xxxxxxxx@rockfallfilms.co.uk to [email]xxxxxxxxxx@yahoo.com[/email]
13. Debug End


Many thanks

Tony
GreyHead 27 Jun, 2010
Hi Tony,

All this looks OK. I can see that the files have uploaded OK and the attachment strings look good.

I guess that there might be some kind of a permission problem but I'm guessing at that.

If you like, PM or email me a SuperAdmin login and I'll take a quick look.

Bob
blackadder500 27 Jun, 2010
Hi,

I've send you a pm with login details

Many thanks

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