I've turned them on and it even goes through the submission. It sends me an eMail with the name of the file but it doesn't upload the file to any place.
I checked the uploads folder too.
Hi dniezby,
All that looks good. And the order in which you generated the table shouldn't make any difference.
Please take a Form backup from the Forms Manager and post it here or send it to me at the address in my sig so I can take a closer look.
Bob
Yup, it's confirmed. A newly designed form and new table. After adding the enctype='multipart/form-data' to the General Tab, it no longer even gives me a name of the file, nor does it even send the eMail message.
??? Baffling isn't it?
what address in your signature?
The only link in your signature I see is to joomla.
I sent it to your address as listed on the Component's page.
Hi dniezby,
Cool but I won't get it (unless Max spots it and forwards it to me). Please send to the address in my sig 'info at greyhead.net'
Thanks
Bob
OOh, I see what you mean...And yes, you're right. That eMail got bounced back as undeliverable.
Sending it now.
Hi dniezby,
I only have a little time this evening so may have missed some things:[list]
For debugging purposes temporarily remove the Redirect URL and turn on debug in the General tab. (I also turn off validation to start with so I can send an incomplete form.)The 'implode' line in the Autogenerated line crashes the form if the Agree box isn't checked.You must have valid entries in the Reply to email and Reply to Name boxes on the General tab or the email will not send.You have header code in the email template that may cause a problem as ChronoForms also adds html headers. (The css also won't show up in some email clients Outlook included I think.)[/list]All that said I got a file to upload OK on my test site. And I get an 'Email sent' message in DeBug.
Bob
Cool, I'll give this a shot and report back.
BTW, is there something I should do about the IMPLODE?
Hi dniezby,
Probably comment it out for the moment. What do you intend it to do - I could only see the one Agree box on the form?
I can sketch out some better code in the morning.
Bob
Comment it out on the SQL Generated code or remove it from my form?
I actually just changed it to a radio button instead of a checkbox to see how that reacts.
I can't figure it out at all...
If I add the enctype='multipart/form-data' it uploads the file but doesn't send an eMail.
If I remove the enctype='multipart/form-data' it sends the eMail but doesn't upload the file.
:unsure:
I've commented out the IMPLODE statement and that makes the error code go away but doesn't change the above issues.
Hi dniezby,
I've been digging around this a bit more. It seems that - in some circumstances - having enctype set for the file means that $_FILES works but $_POST is empty (and vice versa). Is this what you see in the DeBug report (though you'll only see $_POST there)?
Bob
I think so.
Right now, I can't get both to work at all.
It's either the name of the file or the upload of the file.
Yes, Bob this seems to be the exact problem I'm having. Gonna read more of that thread.
Ok, now that thread just confused me even more.
Hi dniezby,
Do you have a Reply To email address in your form General tab?
Is the form on-line? Can I see it, or better, can you email me an admin id and password that I can use to see if I can find out what's happening with the CF part at least.
Bob
Bob, I just eMailed you the info you requested.
I hope we can fix this cause this is a really cool component and I was actually thinking of making a video tutorial for advanced styling of chronoform forms.
Hi dniezby,
Thanks all received - I've emailed you with a little fix to make.
Bob
I eMailed you the results..
Didn't work...But there was a change in the response.
Hi dniezby,
As you know I looked at your form last night and, as far as I could see, everything was working OK except that the email sent by ChronoForms was being rejected by either the Joomla mailer code or the PHP Mailer that Joomla uses.
Unfortunately neither of these return any diagnostics except 'True' of 'False' to say if the message was sent. I think the next step is for me to create versions of these two files with some debug code built in to help track down where the failure is.
Bob
Go to the Upload tab and make sure you have enabled the checkbox for Enable Uploads. I missed this checkbox and was experiencing a similar frustration.
Ruth
This issue has been resolved...sorry...couldn't mark it resolved. It was a global configuration issue.
Hi dniezby,
Great, thanks for letting us now.
Bob