Form Builder - Attachment HELP

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
wms
Forum Members
Forum Members
Posts: 204
Joined: Mon Feb 13, 2006 7:26 pm

Form Builder - Attachment HELP

Post 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.
Last edited by wms on Tue Apr 17, 2007 3:27 am, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Form Builder - Attach File freezes site

Post by calguy1000 »

What size of file are you trying to upload?  Have you checked the web server error logs?
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
wms
Forum Members
Forum Members
Posts: 204
Joined: Mon Feb 13, 2006 7:26 pm

Re: Form Builder - Attach File freezes site

Post by wms »

Thanks for the quick reply ;D

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,
wms
Forum Members
Forum Members
Posts: 204
Joined: Mon Feb 13, 2006 7:26 pm

Re: Form Builder - Attach File freezes site

Post 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?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Form Builder - Attach File freezes site

Post 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
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
wms
Forum Members
Forum Members
Posts: 204
Joined: Mon Feb 13, 2006 7:26 pm

Re: Form Builder - Attachment HELP

Post 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,
Last edited by wms on Tue Apr 17, 2007 3:29 am, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Form Builder - Attachment HELP

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
wms
Forum Members
Forum Members
Posts: 204
Joined: Mon Feb 13, 2006 7:26 pm

Re: Form Builder - Attachment HELP

Post by wms »

hmmm.....maybe I'll see if I can get another mail package to use or installed.

Thanks,
wms
Forum Members
Forum Members
Posts: 204
Joined: Mon Feb 13, 2006 7:26 pm

Re: Form Builder - Attachment HELP

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Form Builder - Attachment HELP

Post by calguy1000 »

try setting the destination email to a hotmail or gmail account and see what happens.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
wms
Forum Members
Forum Members
Posts: 204
Joined: Mon Feb 13, 2006 7:26 pm

Re: Form Builder - Attachment HELP

Post by wms »

I just tried my work account [Gov't] and still the file gets embedded in the message.
wms
Forum Members
Forum Members
Posts: 204
Joined: Mon Feb 13, 2006 7:26 pm

Re: Form Builder - Attachment HELP

Post 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,
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Form Builder - Attachment HELP

Post by calguy1000 »

"whew", it's not anything I did :)
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “CMSMS Core”