Forums

No attachment with e-mail

graeme 10 Mar, 2010
Hello,

I am a Newbie on this forum and also with chronoform and Joomla :wink:
I am trying to make a form where people can send an attachment to our company.

(Almost) everything is working fine now, except for the fact that the attachment isn't included in the e-mail.

I searched the forum extensively and tried (probably almost) everything there is written. But I can't get it to work the way I want it.

The address of our form is: http://www.falcon-engineers.nl/contact

This is the debug information i get. I can see that there is an error occuring, but I can't get rid of it.

Thanks in advance.

Regards,
Graeme Bosschieter
Falcon Engineers


E-mail message

From: Administrator [info@falcon-engineers.nl]
To: [email]g.bosschieter@falcon-engineers.nl[/email]
CC:
BCC:
Subject: Bericht van de website

Contactformulier
Naam:
Graeme
Bedrijf:
Falcon Engineers
Telefoonnummer:
0229270720
E-mail:
[email]g.bosschieter@falcon-engineers.nl[/email]
Bericht:
Lorem Ipsum
Bijlage:
20100310112558_British standard pipe thread.pdf


Submitted by 62.21.191.26

Files:

Beste Graeme,

Hartelijk dank voor uw bericht.

Wij zullen zo spoedig mogelijk contact met u opnemen.

Met vriendelijke groet,
Falcon Engineers

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 ( [Naam] => Graeme [Bedrijf] => Falcon Engineers [Telefoonnummer] => 0229270720 [E-mail] => [email]g.bosschieter@falcon-engineers.nl[/email] [Bericht] => Lorem Ipsum [chrono_verification] => p4n6b [button_14] => Verzenden [a620aa9edf005f444d0452b5d31741ae] => 1 [1cf1] => b7bcf6cd6158e1f462260b949aeff381 [chronoformname] => Falcon_contact )
6. $_FILES Array: Array ( [Bijlage] => Array ( [name] => British standard pipe thread.pdf [type] => application/pdf [tmp_name] => /tmp/phpxTvyrM [error] => 0 [size] => 82042 ) )
7. Upload routine started for file upload by : Bijlage
8. /home/falcon-engineers.nl/www/components/com_chronocontact/uploads/Falcon_contact/20100310112558_British standard pipe thread.pdf has NOT been uploaded!!
9. Form passed the plugins step (if enabled) OK
10. An email has been SENT successfully from (Administrator)info@falcon-engineers.nl to [email]g.bosschieter@falcon-engineers.nl[/email]
11. Debug End

UPDATE: I checked the FTP, and the attachments are being uploaded!
GreyHead 10 Mar, 2010
Hi Graeme,

I'm not sure what's happening here. It could be a problem with spaces in the file-name (just tested and it isn't that). The file exists and clearly has been uploaded and moved into the uploads folder by ChronoForms.

The error is triggered when ChronoForms calls the Joomla JFile:upload() method - it may be that some warning message is being returned instead of 'true'.

Do you have FTP enabled in the site Global Configuration? Sometimes this can give unexpected file handling error messages.

Bob
graeme 10 Mar, 2010

Do you have FTP enabled in the site Global Configuration? Sometimes this can give unexpected file handling error messages.

Bob



Hi Bob,

I have FTP enabled. I, however, cannot disable it, because it gives an error. The program can't open the configuration.php to write it...

Do you know what this means?

Regards,
Graeme Bosschieter
graeme 10 Mar, 2010
I've tried to enable/disable the FTP settings. Set the configuration.php file to 777, but nothing seems to work. Stil the same error that the upload didn't sucseed, thats strange because it appears in the FTP client...

But thats not where I want it to be, I only want to see it attached to the mail.

Hoping somebody can help.
GreyHead 10 Mar, 2010
Hi Graeme,

Sounds like some over-enthusiastic site security is locking files and folders up.

Bob
graeme 10 Mar, 2010
Hi Bob,

I've tried everything I possibly know at this moment. Can't find the solution.
It must be some little adjustement I have to make.

We'll see. The attachments do arrive, only not in the right way.

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