Have read a lot of posts on this and have tried everything but I just can't seem to get a file that is uploaded coming through on the email I receive.
I have a form which allows uploading of a pdf or jpg file, the form works perfectly - it saves to the database, it uploads the file to uploads folder, it send me an email with all the details but doesn't have the actual attachment. The debug gives no errors. My ISP allows files up to 2MB, I have put 1900KB in. Attachments is enabled.
Would there be something else I am missing in chronoforms? Or could it be something on the ISP end that stops attachments coming through - shouldn't do as I get plenty of emails with attachments
Any ideas?
--------------
Form passed first SPAM check OK
Form passed the submissions limit (if enabled) OK
Form passed the Image verification (if enabled) OK
Form passed the server side validation (if enabled) OK
$_POST Array: Array ( [name] => Chris Test [email] => [email]aaa@xxx.com[/email] [phone] => 11111111 [comments] => This is a test comment [chrono_verification] => 6QY5h [button_2] => Submit [a0e3d4236987090d2f566f2e6c0883ec] => 1 )
$_FILES Array: Array ( [file_1] => Array ( [name] => band.pdf [type] => application/pdf [tmp_name] => /tmp/phpYcd6Nz [error] => 0 [size] => 426271 ) )
Upload routine started for file upload by : file_1
/home/xxxxxx/public_html/components/com_chronocontact/uploads/FileUpload/20100505135126_band.pdf has been uploaded OK
Form passed the plugins step (if enabled) OK
An email has been SENT successfully from (Themal Assessments)xxx@xxx.com to [email]xxx@xxx.com[/email]
Debug End
---------------------
Not sure what you mean by the dunmmy Email part - but assume it is appearing at the top of the form on the front end of the website (above the debug section)
Name: * Test Name
Email: * [email]test@test.com[/email]
Contact number: 111111111
Comments: Test comment here
20100506004724_webicon3dec.pdf
Submitted by xxx.xxx.xx.225
Files:
Please double-check that you have Add attachments set to Yes in the Email Setup Properties box.
Bob
Yep, Enable Attachements is set to Yes under Email Setup Properties box.
Cheers
No more suggestions from the info here. If you want to email or PM me the site URL and a SuperAdmin login then I'll take a quick look for you.
Bob
Is this all that it is supposed to do, or is it supposed to come attached to the email as well?
Wondering if there are Joomla settings or something with email settings somewhere that won't allow it to be sent.
** OK - Not sure why but it worked **
All the settings were correct, form submitting, going to database, file being uploaded to folder on server - getting email but not attachment.
I though I would change the default upload folder to a new folder on the images folder so I could instantly see if files were being uploaded which they were. But this time, the emails I receive do have the attachments.
I'm wondering then if there might be some permission thing on the default folder that is required.
It will be attached to the email if you set 'Enable attachments' to 'Yes' in the Email Setup | Properties box.
I'm not sure what was ahppening with the folders though.
Bob
I'm having a similar problem but I'm unable to understand the error code. Could you tell me what the file upload error is:
Form passed first SPAM check OK
Form passed the submissions limit (if enabled) OK
Form passed the Image verification (if enabled) OK
Form passed the server side validation (if enabled) OK
$_POST Array: Array ( [first_name] => antontest [last_name] => antontest [phone_number] => 432233443243 [email_address] => [email]anton9255@googlemail.com[/email] [address] => antontest [radio0] => Round Three: 3 Minute Monologue [cities] => London [monologue] => antontest [genre] => antontest [source] => antontest [text_13] => antontest [radio1] => I agree [dvd] => Yes [radio2] => Yes I have [updates] => Yes [button_21] => Submit [9cf3adcfce0ac56bdd4306540c2c5ec3] => 1 [1cf1] => f8adb844e1bc315dc8dee9d72af2ca05 [chronoformname] => perfregsnr )
$_FILES Array: Array ( [file_24] => Array ( [name] => blank_dogtag.jpg [type] => [tmp_name] => [error] => 6 [size] => 0 ) )
Form passed the plugins step (if enabled) OK
An email has been SENT successfully from (Monologueslam Team)performer@monologueslam.com to [email]anton9255@googlemail.com[/email]
An email has been SENT successfully from ()anton9255@googlemail.com to [email]performer@monologueslam.com[/email]
Debug End
Redirect link set, click to test:
Thanks
The PHP File upload errors are here. Error 6 is "Missing a temporary folder."
Looks like you don't have write permissions for your site's temporary folder.
Bob
Hi Huski,
It will be attached to the email if you set 'Enable attachments' to 'Yes' in the Email Setup | Properties box.
I'm not sure what was happening with the folders though.
Bob
There is no setting 'Enable attachments' in the Email Setup | Properties box.
The properties are empty in my form. Why?
EDIT: OK, got it. Had to click on the form... 🙄
Any help would be greatly appreciated!
From: Website [root@cp.infinetinc.com]
To: [email]tad@infinetinc.com[/email]
CC:
BCC:
Subject: Upload Test
Full Name: Tad Osborn
Company: InfiNet
Address: 2629 Redwing Road
City: Fort Collins
State: CO Zip: 80525
E-Mail Address: [email]tad@infinetinc.com[/email]
Phone Number: 970-282-8838
Upload Resume: {resume}
Message: test
{This_element_has_no_name_attribute}
Submitted by 69.50.15.138
Files:
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 ( [name] => Tad Osborn [company] => InfiNet [address] => 2629 Redwing Road [city] => Fort Collins [state] => CO [zip] => 80525 [email] => [email]tad@infinetinc.com[/email] [phone] => 970-282-8838 [message] => test [submit] => Send [cd4ba161935e284f1cebb2eeff44a191] => 1 [1cf1] => d2de36a473654a575b296bbdbfddb55a [chronoformname] => resume_test2 )
6.$_FILES Array: Array ( [resume] => Array ( [name] => DIAGNOSTIC FEE AND RATE.doc [type] => application/msword [tmp_name] => /tmp/php4wr78o [error] => 0 [size] => 28672 ) )
7.Form passed the plugins step (if enabled) OK
8.An email has been SENT successfully from (Website)root@cp.infinetinc.com to [email]tad@infinetinc.com[/email]
9.Debug End
Do you have 'Enable Uploads' set to 'Yes' on the File Uploads tab for your form?
Bob