File Attachment Bug?

ist_04 23 Jul, 2009
Is there a bug in 3.1 RC5.3 concerning the file upload e-mail attachments. I used 3.1 RC5 with no problems, but the upgrade has stopped email attachments.

I have attachments enabled in the wizard, The e-mail is sent, and the file is logged in the upload path.

Below is the debug:

E-mail message
From: Air Aids Shopping Cart [xxx.com]
To: xxx.com
CC:
BCC:
Subject: Air Aids Custom Label

A custom label attachment has been sent from a recent order on xxx.com



Submitted by 68.106.110.111

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 ( [button_1] => Upload [e5914097c37ad3ebcef62ce5154c0b71] => 1 [1cf1] => bb31a8957fb53d4f7b25e43ef47bc20e [chronoformname] => Upload )
6.$_FILES Array: Array ( [file_0] => Array ( [name] => Bedspreads.docx [type] => application/vnd.openxmlformats-officedocument.wordprocessingml.document [tmp_name] => /tmp/phpsOvKpM [error] => 0 [size] => 116672 ) )
7.Upload routine started for file upload by : file_0
8./homepages/10/d289849715/htdocs/upload/components/com_chronocontact/uploads/Upload/20090723112048_Bedspreads.docx has NOT been uploaded!!
9.Form passed the plugins step (if enabled) OK
10.An email has been SENT successfully from (Air Aids Shopping Cart)xxx.com to xxx.com
11.Debug End
12.Redirect link set, click to test:
http://www.upload.xxx.com/index.php?option=com_content&view=article&id=1
GreyHead 23 Jul, 2009
Hi ist_04,

I don't recall any major changes in the File Upload code . . .

What are the settings on the Firle Uplaods tab for the form?

Bob
nml375 23 Jul, 2009
Patience my young Padawan.
We will get around to your thread, even without sending PM's (in some rare cases when your thread would get overlooked, please bump it, or at least add a link to the thread within the PM).

To the issue now,
It would appear your uploaded file cannot be stored in the upload folder. Could you verify that ChronoForms do see it as Writable? (File Uploads tab, should be a green "Writable" right next to the "full upload path" setting)

/Fredrik
ist_04 23 Jul, 2009
Enable uploads: Yes
Field names/allowed Extensions/sizes(KB) file_0:zip|jpg|doc|gif|pdf|docx|png|psd|txt|{10240KB-1KB}
Full upload Path: /homepages/10/d289849715/htdocs/upload/components/com_chronocontact/uploads/Upload/
FileName format $filename = date('YmdHis').'_'.$chronofile['name'];

Files are sent to the upload folder, just not attached in the e-mail
nml375 23 Jul, 2009
Then there is something very wrong here, as CF is told it was not possible to move the uploaded file to your upload folder.
Could you verify that ChronoForms think the upload path is indeed writable?

/Fredrik
ist_04 23 Jul, 2009
Would you like back-end access plus the site url?
GreyHead 23 Jul, 2009
Hi ist_04,

Please will you also amend the File Upload info - there should just be numbers in the file size entries (no KB) and you have an extra | after txt. It should be file_0:zip|jpg|doc|gif|pdf|docx|png|psd|txt{10240-1}

The error message doesn't seem to go with this but they could be linked.

Bob
ist_04 23 Jul, 2009
Good eye, but no change
Max_admin 27 Jul, 2009
try to create a complete new test form and configure test uploads..etc and see if it works ?

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ist_04 27 Jul, 2009
I first tried a new form with new settings, then reinstalled, and installed on a dif site. Every result was the same, e-mail with no attachment.
ist_04 19 Aug, 2009
Anyone else have this problem? Is there a solution?
GreyHead 19 Aug, 2009
Hi ist_04,

Nothing other than the suggestions that Fredrick posted here earlier. It's most likely a permission problem on your server setup.

Bob
ist_04 19 Aug, 2009
Can you log into the back end and take a look? I have checked all suggestions and not found the answer
GreyHead 20 Aug, 2009
Hi ist_04,

I can take a look if you email or PM me a SuperAdmin login.

But this is more likely a server setup problem and you might be better speaking to your isp first.

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