File-upload through Formbuilder

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
careybradfield
Forum Members
Forum Members
Posts: 29
Joined: Tue Apr 03, 2007 11:07 pm

Re: File-upload through Formbuilder

Post by careybradfield »

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]
milehigh

Re: File-upload through Formbuilder

Post by milehigh »

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.
I've tried updated both of these and still no luck.

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.
moorezilla

Re: File-upload through Formbuilder

Post by moorezilla »

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?
milehigh

Re: File-upload through Formbuilder

Post by milehigh »

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 a not allowed extension and it gave the proper error message.
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?
moorezilla

Re: File-upload through Formbuilder

Post by moorezilla »

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.
moorezilla

Re: File-upload through Formbuilder

Post by moorezilla »

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.
careybradfield
Forum Members
Forum Members
Posts: 29
Joined: Tue Apr 03, 2007 11:07 pm

Re: File-upload through Formbuilder

Post by careybradfield »

How do I get the svn updates "mentioned above", where do I install them?
milehigh

Re: File-upload through Formbuilder

Post by milehigh »

Acornweb

Re: File-upload through Formbuilder

Post by Acornweb »

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! :)
gallerymagazine
New Member
New Member
Posts: 1
Joined: Sun Sep 02, 2007 2:20 pm

Re: File-upload through Formbuilder

Post by gallerymagazine »

did anyone get anywhere with this. People must be using this out there somewhere and making it work?!
harlemangel
New Member
New Member
Posts: 8
Joined: Wed Aug 30, 2006 9:06 am

Re: File-upload through Formbuilder

Post by harlemangel »

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
User avatar
shocktheory
New Member
New Member
Posts: 5
Joined: Thu Feb 07, 2008 7:22 pm

Re: File-upload through Formbuilder

Post by shocktheory »

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..
Kaylen
Forum Members
Forum Members
Posts: 128
Joined: Mon May 01, 2006 5:24 pm

Re: File-upload through Formbuilder

Post by Kaylen »

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!
User avatar
robsta
Forum Members
Forum Members
Posts: 131
Joined: Thu Oct 20, 2005 11:39 pm
Location: Wellington

Re: File-upload through Formbuilder

Post by robsta »

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
liquid
Forum Members
Forum Members
Posts: 59
Joined: Sun Aug 07, 2005 10:20 pm

Re: File-upload through Formbuilder

Post by liquid »

I just did that patch as well and it's still not working for me. Anyone have any other suggestions?
Locked

Return to “Modules/Add-Ons”