File-upload through Formbuilder
-
- Forum Members
- Posts: 29
- Joined: Tue Apr 03, 2007 11:07 pm
Re: File-upload through Formbuilder
I'm really hoping someone finds a solution to this Image Upload problem. I added "required" to this and after browsing to an image, and then "Submit", the form would not go further. Basically, it thought I hadn't uploaded any file at all.
Once I unchecked the "required" checkbox, I was emailed the data, with the File Uploaded image as [unspecified]
Once I unchecked the "required" checkbox, I was emailed the data, with the File Uploaded image as [unspecified]
Re: File-upload through Formbuilder
I've tried updated both of these and still no luck.moorezilla wrote: UPDATE: I tried the new DispositionEmailBase.class.php from svn and it still doesn't send with attachment.
UPDATE: I missed FileUploadField.class.php in svn. It works when both of these files are updated to svn. Sorry.
Formbuilder 0.4.1
CMS Made Simple 1.1 "Samoa"
This is how it appears in my email and on the response after hitting submit:
Name: Jeff
Image: m2fbrp__11
sendto: [unspecified]
Note..now my sendto says unspecified however the message did send to my yahoo email account...just without the attachment.
Re: File-upload through Formbuilder
Hmmm... I tried attaching a .txt file and it sends the attachment, but people have complained to me that their attachments were not sent. I'm having trouble duplicating the error.
Are you sure that the .jpg or .gif or whatever extension is set in your allowed extensions in the formbuilder admin section?
Are you sure that the .jpg or .gif or whatever extension is set in your allowed extensions in the formbuilder admin section?
Re: File-upload through Formbuilder
I tried a not allowed extension and it gave the proper error message.moorezilla wrote: Hmmm... I tried attaching a .txt file and it sends the attachment, but people have complained to me that their attachments were not sent. I'm having trouble duplicating the error.
Are you sure that the .jpg or .gif or whatever extension is set in your allowed extensions in the formbuilder admin section?
I tried an allowed extension and it sends the message but without an attachment.
I also tried allowing ALL extensions.
What CMSMS and formbuilder version are you using?
Re: File-upload through Formbuilder
I'm using 0.4.1 with the svn updates to the two files I mention above. It definitely works with a .txt file, but there may still be issues. I'll try to recreate an error related to not attaching files.
Re: File-upload through Formbuilder
I get this on a test using 0.4.1 with the svn update of the two files:
Last Name: test
First Name: test
Email: test@test.com
Phone: teset
Position Sought: test
Attach Cover Letter: test.doc
Attach Resume: test.doc
Recommendation 1: test.doc
Recommendation 2: test.doc
Recommendation 3: test.doc
And all the test.doc files are attached to the email sent out.
Last Name: test
First Name: test
Email: test@test.com
Phone: teset
Position Sought: test
Attach Cover Letter: test.doc
Attach Resume: test.doc
Recommendation 1: test.doc
Recommendation 2: test.doc
Recommendation 3: test.doc
And all the test.doc files are attached to the email sent out.
-
- Forum Members
- Posts: 29
- Joined: Tue Apr 03, 2007 11:07 pm
Re: File-upload through Formbuilder
How do I get the svn updates "mentioned above", where do I install them?
Re: File-upload through Formbuilder
I'm using version 1.1.3.1 of CMSMS and 0.4.3 of formbuilder and I'm still getting the problem of no files attached.
Even with no constraints on the file uploads all I get is:
Please upload your logo: m2fbrp__56
Please load any design additional resources: m2fbrp__57
I tried both text and image files with no luck. Also sending as HTML or plain text. Interestingly you get the same string output from the file upload element whether you uploaded a file or not.
I would think that I have all the latest SVN changes in my version of the module. Since some people are getting success and others aren't there must be some hidden variable, which we are not aware of. Could it be with the CMSMailer module?
Any feedback appreciated.
ALSO: Huge kudos to the team behind this module - its an absolute winner!
Even with no constraints on the file uploads all I get is:
Please upload your logo: m2fbrp__56
Please load any design additional resources: m2fbrp__57
I tried both text and image files with no luck. Also sending as HTML or plain text. Interestingly you get the same string output from the file upload element whether you uploaded a file or not.
I would think that I have all the latest SVN changes in my version of the module. Since some people are getting success and others aren't there must be some hidden variable, which we are not aware of. Could it be with the CMSMailer module?
Any feedback appreciated.
ALSO: Huge kudos to the team behind this module - its an absolute winner!

-
- New Member
- Posts: 1
- Joined: Sun Sep 02, 2007 2:20 pm
Re: File-upload through Formbuilder
did anyone get anywhere with this. People must be using this out there somewhere and making it work?!
-
- New Member
- Posts: 8
- Joined: Wed Aug 30, 2006 9:06 am
Re: File-upload through Formbuilder
Hi Guys
After trawling through all the posts on this subject, I finally came across one post that contained the fix that worked for me.
Seemingly something changed between PHP 4.x & PHP , and requires the following fix for people who are still on PHP 4.x (like myself)
Thanks to the author of the following post for all their help!!
http://forum.cmsmadesimple.org/index.ph ... 134.0.html
HA
After trawling through all the posts on this subject, I finally came across one post that contained the fix that worked for me.
Seemingly something changed between PHP 4.x & PHP , and requires the following fix for people who are still on PHP 4.x (like myself)
Thanks to the author of the following post for all their help!!
http://forum.cmsmadesimple.org/index.ph ... 134.0.html
HA
- shocktheory
- New Member
- Posts: 5
- Joined: Thu Feb 07, 2008 7:22 pm
Re: File-upload through Formbuilder
Alrighty guys.. I"m having one heck of a time trying to follow these post and "follow the rules". So.. here goes.
What "exactly" was the fix on the email attachment issues. I've created a form w/ Upload field. I get the data emailed - but no attachments. Based on what I think I am reading here. I was to change a file called "DispositionEmailBase.class" and things should work out fiine. BUT of course - with my luck, no such thing. Any assistance would really, I mean extremely help me.
BTW - I love this CMS..
What "exactly" was the fix on the email attachment issues. I've created a form w/ Upload field. I get the data emailed - but no attachments. Based on what I think I am reading here. I was to change a file called "DispositionEmailBase.class" and things should work out fiine. BUT of course - with my luck, no such thing. Any assistance would really, I mean extremely help me.
BTW - I love this CMS..
Re: File-upload through Formbuilder
Hi Guys,
I have the same problem.
I am using cms 1.2.3 and formbuilder 0.4.4 and I have downloaded both files from svn and still I get no attachments. no .doc, no .txt nothing.
This is what I see in my mail:
Form Name: Contact Form
Date of Submission: Sun, 10 Feb 2008 20:06:28 +0100
Naam: ba
E-mail adres: barbera.schouten@gmail.com
Telefoonnummer: 1
Onderwerp: t
Opmerkingen: bghkjk
Bestand toevoegen: m3fbrp__18
I hope calguy (or someone else) that you can figure out whats going wrong?
Thanks in advance for any help!
I have the same problem.
I am using cms 1.2.3 and formbuilder 0.4.4 and I have downloaded both files from svn and still I get no attachments. no .doc, no .txt nothing.
This is what I see in my mail:
Form Name: Contact Form
Date of Submission: Sun, 10 Feb 2008 20:06:28 +0100
Naam: ba
E-mail adres: barbera.schouten@gmail.com
Telefoonnummer: 1
Onderwerp: t
Opmerkingen: bghkjk
Bestand toevoegen: m3fbrp__18
I hope calguy (or someone else) that you can figure out whats going wrong?
Thanks in advance for any help!
Re: File-upload through Formbuilder
It's probably the PHP 4 thing ... I did the patch from above here and it works fine...
http://forum.cmsmadesimple.org/index.php/topic,17134.0.html
http://forum.cmsmadesimple.org/index.php/topic,17134.0.html
Re: File-upload through Formbuilder
I just did that patch as well and it's still not working for me. Anyone have any other suggestions?