Page 1 of 1
Form Builder - Attachment HELP
Posted: Fri Apr 13, 2007 2:18 pm
by wms
I'm using CMSMS 1.0.4. and FormBuilder 0.2.2.
I've created a 'File Upload' field so that the user can send their resume. However, every time I hit submit, the site thinks about it for a while and then displays a blank screen and the e-mail received has no attachment.
Any ideas on why this wouldn't be working.
Thanks for any help.
Re: Form Builder - Attach File freezes site
Posted: Fri Apr 13, 2007 2:19 pm
by calguy1000
What size of file are you trying to upload? Have you checked the web server error logs?
Re: Form Builder - Attach File freezes site
Posted: Fri Apr 13, 2007 2:48 pm
by wms
Thanks for the quick reply
I'm testing with a 93k size file.
I just tried again and it's still thinking about sending it...and then I guess it times out.
Here's the link you can test with:
http://linkprotection.ca/index.php?page=private-investigator&hl=en
Thanks,
Re: Form Builder - Attach File freezes site
Posted: Fri Apr 13, 2007 2:50 pm
by wms
Here's the error it finally comes back with:
CGI Timeout
The specified CGI application exceeded the allowed time for processing. The server has deleted the process.
And no e-mail is sent.
Any ideas?
Re: Form Builder - Attach File freezes site
Posted: Fri Apr 13, 2007 2:53 pm
by calguy1000
Looks like the max execution time is set a bit too low, or your host is a bit too busy.
Try talking to your host about tweaking these php.ini settings:
max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 64M ; Maximum amount of memory a script may consume
Re: Form Builder - Attachment HELP
Posted: Mon Apr 16, 2007 11:17 pm
by wms
Ok,
I now get an e-mail from the form but the attachment is in the message [no an attached file] and looks like this:
Code: Select all
0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAAEQAAAAAAAAAA
EAAAEgAAAAEAAAD+////AAAAABAAAAD/////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////s
pcAARQAJBAAAABK/AAAAAAAAEgAAAAAABAAAAQQAAA4AYmpiakLgQuAAAAAAAAAAAAAAAAAAAAAA
AAAJBBYAHgwAACCKAQAgigEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//w8AAAAA
AAAAAAD//w8AAAAAAAAAAAD//w8AAAAAAAAAAAAAAAAAAAAAAF0AAAAAAFwBAAAAAAAAXAEAAFwB
AAAAAAAAXAEAAAAAAABcAQAAAAAAAFwBAAAAAAAAXAEAABQAAAAAAAAAAAAAAHABAAAAAAAAcAEA
AAAAAABwAQAAAAAAAHABAAAAAAAAcAEAAAwAAAB8AQAADAAAAHABAAAAAAAAQwIAALYAAACUAQAA
AAAAAJQBAAAAAAAAlAEAAAAAAACUAQAAAAAAAJQBAAAAAAAAlAEAAAAAAACUAQAAAAAAAJQBAAAA
AAAACAIAAAIAAAAKAgAAAAAAAAoCAAAAAAAACgIAAAAAAAAKAgAAAAAAAAoCAAAAAAAACgIAACQA
AAD5AgAA9AEAAO0EAABmAAAALgIAABUAAAAAAAAAAAAAAAAAAAAAAAAAXAEAAAAAAACUAQAAAAAA
AAAAAAAAAAAAAAAAAAAAAACUAQAAAAAAAJQBAAAAAAAAlAEAAAAAAACUAQAAAAAAAC4CAAAAAAAA
qAEAAAAAAABcAQAAAAAAAFwBAAAAAAAAlAEAAAAAAAAAAAAAAAAAAJQBAAAAAAAAlAEAAAAAAACo
AQAAAAAAAKgBAAAAAAAAqAEAAAAAAACUAQAACgAAAFwBAAAAAAAAlAEAAAAAAABcAQAAAAAAAJQB
AAAAAAAACAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAEAAAAAAABwAQAAAAAAAFwBAAAAAAA
Any ideas??
Thanks,
Re: Form Builder - Attachment HELP
Posted: Wed Apr 18, 2007 4:44 pm
by calguy1000
I don't know what's happening here..... I just tested formbuilder again... and got the file as an attachment.
Maybe it's an encoding issue, or your email client. I'm not sure. I use kmail atm. and have no difficulties.
Re: Form Builder - Attachment HELP
Posted: Wed Apr 18, 2007 4:56 pm
by wms
hmmm.....maybe I'll see if I can get another mail package to use or installed.
Thanks,
Re: Form Builder - Attachment HELP
Posted: Wed Apr 18, 2007 5:24 pm
by wms
This is what my host uses for a mail program:
e:/web/etc/windmail/windmail.exe -t
I'm guessing my problem might be associated with windmail.exe from what you said.
I'll try to find a work around solution for this.
Thanks for all of your help and the time you spent on this.
Re: Form Builder - Attachment HELP
Posted: Wed Apr 18, 2007 5:25 pm
by calguy1000
try setting the destination email to a hotmail or gmail account and see what happens.
Re: Form Builder - Attachment HELP
Posted: Wed Apr 18, 2007 5:28 pm
by wms
I just tried my work account [Gov't] and still the file gets embedded in the message.
Re: Form Builder - Attachment HELP
Posted: Wed Apr 18, 2007 6:06 pm
by wms
Ok...you got me thinking about the mail package my host uses. I played with some of the switches with the windmail.exe program and still no such luck. Then I switched to using the SMTP settings of CMSMailer. And Volia!! I received an e-mail with an attachment.
Thanks,
Re: Form Builder - Attachment HELP
Posted: Wed Apr 18, 2007 6:13 pm
by calguy1000
"whew", it's not anything I did
