Re: [WebDNA] File Upload Issue

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 108141
interpreted = N
texte = --Apple-Mail-C5E4E8FA-EE66-4F2D-97C8-A8E3153B5B0C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On a side note, I found that the fcgid directive, FCGIWRAPPER is deprecated a= nd should now be FcgidWRAPPER On Jan 19, 2012, at 6:25 PM, Brian Wachter wrote: > Aaron, > =20 > Yes, I am using WebDNA 7. > =20 > What you=E2=80=99re proposing sure seems like the thing I need. However, w= hen I tried simply adding the following, Apache didn=E2=80=99t like it: > =20 > > FcgidMaxRequestLen 120000000 > > =20 > =46rom a quick web search it seems that FcgidMaxRequestLen is associated w= ith mod_fcgid.c rather than mod_fastcgi.c. I suppose I could track down the m= od_fcgid.so and load it, but I wanted to make sure that=E2=80=99s the right c= ourse of action and that I=E2=80=99m not simply having a syntax issue. > =20 > Thanks, > Brian > =20 > From: aaronmichaelmusic@gmail.com [mailto:aaronmichaelmusic@gmail.com]=20 > Sent: Thursday, January 19, 2012 5:46 PM > To: talk@webdna.us > Subject: Re: [WebDNA] File Upload Issue > =20 > Are you using WebDNA7? > =20 > I found that the fcgid module is responsible for upload size limits > =20 > you need to add/modify this directive in your apache config > =20 > FcgidMaxRequestLen 12000000 > =20 > I believe that is in bytes, so what I have here should be about 12MB. If I= remember right, the default is around 2MB. If you are using v7, then that i= s most likely the problem. > =20 > Others on here likely know more about the Fcgid directives. > =20 > =20 > Also, check out http://plupload.com/ > =20 > I started using this last year for all my uploads, super cool. It has the= chunking feature which is really nice as it shows upload progress and I fin= d is a really stable way of uploading. You'll need a more complex upload sc= ript though, I can share mine. > =20 > On Jan 19, 2012, at 5:38 PM, Govinda wrote: >=20 >=20 > I=E2=80=99ve got a web page that allows me to select a file from my comput= er and upload it to the server. I am using an HTML form with the following f= orm elements to select the file to upload: >
> > =20 > If I select a small file (say a 102 kb zip file), it works fine. > If I select a large file (say an 11 Mb zip file), it fails. > =20 > I=E2=80=99ve examined the name-value pairs in the [formvariables] and for t= he small file, I get [name]-[value] pairs for all 7 of my form variables (of= which the file is #2). However, for the larger file, it seems to be failing= because of something in the [value] of the uploaded file since the listing o= f my [formvariables] stops when it reaches the [value] of the uploaded file.= At that point, the rest of my form variables fail to be listed and the web p= age stops loading. > =20 > What is crazy is that this code has worked for 6 years and only failed yes= terday when I migrated from OS X Snow Leopard Server 10.6 and WebDNA 6 to OS= X Lion Server 10.7 and WebDNA 7. I suspect that it has something to do with= the Apache server settings or perhaps not wrapping my [value] in a WebDNA c= ontext???? > =20 > Any help would be appreciated. > =20 > =20 > for starters: > =20 > wrap the "[value]" (inside the [formvariables] which you use to see the fo= rmvars in the HTML output) in "[url]..[/url]" .. so that you can at least se= e the rest of the HTML after whatever char is truncating the output. > =20 > -Govinda > =20 > --------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list . To unsubscribe, E= -mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting:= support@webdna.us > =20 > --------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list . To unsubscribe, E= -mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting:= support@webdna.us > --------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list . To unsubscribe, E= -mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting:= support@webdna.us --Apple-Mail-C5E4E8FA-EE66-4F2D-97C8-A8E3153B5B0C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On a side note, I found th= at the fcgid directive, FCGIWRAPPER is deprecated and should now be FcgidWRA= PPER




On Jan 19, 2012, at 6:2= 5 PM, Brian Wachter <bwachter@bihr= le.com> wrote:

=

Aaron,

 

Yes, I am using WebDNA 7.

 

What you=E2=80=99re proposi= ng sure seems like the thing I need. However, when I tried simply adding the= following, Apache didn=E2=80=99t like it:

 

<IfModule mod_fastcgi.c&= gt;

= FcgidMaxRequestLen 120000000

</IfModule>

 

=46rom a quick web search i= t seems that FcgidMaxRequestLen is associated with mod_fcgid.c rather than m= od_fastcgi.c. I suppose I could track down the mod_fcgid.so and load it, but I wanted to make sure that=E2=80=99s the right course of a= ction and that I=E2=80=99m not simply having a syntax issue.

 

Thanks,

Brian

=

 

From: aaronmichaelmusic@gmail.com [mailto:= aaronmichaelmusic@gmail.com]
Sent: Thursday, January 19, 2012 5:46 PM
To: talk@webdna.us
Subject: Re: [WebDNA] File Upload Issue

 

Are you using WebDNA7?

 

I found that the fcgid module is responsible for uplo= ad size limits

 

you need to add/modify this directive in your apache c= onfig

 

FcgidMaxRequestLen 12000000

 

I believe that is in bytes, so what I have here shoul= d be about 12MB.  If I remember right, the default is around 2MB.  = ;If you are using v7, then that is most likely the problem.

 

Others on here likely know more about the Fcgid direc= tives.

 

 

Also, check out http://plupload.com/

 

I started using this last year for all my uploads, su= per cool.  It has the chunking feature which is really nice as it shows= upload progress and I find is a really stable way of uploading.  You'l= l need a more complex upload script though, I can share mine.

 

On Jan 19, 2012, at 5:38 PM, Govinda wrote:



I=E2=80=99ve got a web page that allows m= e to select a file from my computer and upload it to the server. I am using a= n HTML form with the following form elements to select the file to upload:

<form action=3D"uploadFile.dna" method= =3D"post" name=3D"uploadFile" enctype=3D"multipart/form-data">=

<input type=3D"file" name=3D"__prodFil= e1" value=3D"" size=3D"40">

 

If I select a small file (say a 102 kb zi= p file), it works fine.

If I select a large file (say an 11 Mb zi= p file), it fails.

 

I=E2=80=99ve examined the name-value pair= s in the [formvariables] and for the small file, I get [name]-[value] pairs f= or all 7 of my form variables (of which the file is #2). However, for the larger file, it seems to be failing because of something in the [va= lue] of the uploaded file since the listing of my [formvariables] stops when= it reaches the [value] of the uploaded file. At that point, the rest of my f= orm variables fail to be listed and the web page stops loading.

 

What is crazy is that this code has worke= d for 6 years and only failed yesterday when I migrated from OS X Snow Leopa= rd Server 10.6 and WebDNA 6 to OS X Lion Server 10.7 and WebDNA 7. I suspect that it has something to do with the Apache server s= ettings or perhaps not wrapping my [value] in a WebDNA context????

 

Any help would be appreciated.=

 

 

for starters:

 

wrap the "[value]" (inside the [formvariables] which y= ou use to see the formvars in the HTML output) in "[url]..[/url]" .. so that= you can at least see the rest of the HTML after whatever char is truncating= the output.

 

-Govinda

 

-----------------------------------------------------= ---- This message is sent to you because you are subscribed to the mailing l= ist . To unsubscribe, E-mail to: archives: http://mail.webdna.us/= list/talk@webdna.us Bug Reporting: support@webdna.us

 

-----------------------------------------------------= ---- This message is sent to you because you are subscribed to the mailing l= ist . To unsubscribe, E-mail to: archives: http://mail.webdna.us/= list/talk@webdna.us Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.= webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us
= --Apple-Mail-C5E4E8FA-EE66-4F2D-97C8-A8E3153B5B0C-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] File Upload Issue (aaronmichaelmusic@gmail.com 2012)
  2. RE: [WebDNA] File Upload Issue (Brian Wachter 2012)
  3. Re: [WebDNA] File Upload Issue (aaronmichaelmusic@gmail.com 2012)
  4. Re: [WebDNA] File Upload Issue (Govinda 2012)
  5. [WebDNA] File Upload Issue (Brian Wachter 2012)
--Apple-Mail-C5E4E8FA-EE66-4F2D-97C8-A8E3153B5B0C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On a side note, I found that the fcgid directive, FCGIWRAPPER is deprecated a= nd should now be FcgidWRAPPER On Jan 19, 2012, at 6:25 PM, Brian Wachter wrote: > Aaron, > =20 > Yes, I am using WebDNA 7. > =20 > What you=E2=80=99re proposing sure seems like the thing I need. However, w= hen I tried simply adding the following, Apache didn=E2=80=99t like it: > =20 > > FcgidMaxRequestLen 120000000 > > =20 > =46rom a quick web search it seems that FcgidMaxRequestLen is associated w= ith mod_fcgid.c rather than mod_fastcgi.c. I suppose I could track down the m= od_fcgid.so and load it, but I wanted to make sure that=E2=80=99s the right c= ourse of action and that I=E2=80=99m not simply having a syntax issue. > =20 > Thanks, > Brian > =20 > From: aaronmichaelmusic@gmail.com [mailto:aaronmichaelmusic@gmail.com]=20 > Sent: Thursday, January 19, 2012 5:46 PM > To: talk@webdna.us > Subject: Re: [WebDNA] File Upload Issue > =20 > Are you using WebDNA7? > =20 > I found that the fcgid module is responsible for upload size limits > =20 > you need to add/modify this directive in your apache config > =20 > FcgidMaxRequestLen 12000000 > =20 > I believe that is in bytes, so what I have here should be about 12MB. If I= remember right, the default is around 2MB. If you are using v7, then that i= s most likely the problem. > =20 > Others on here likely know more about the Fcgid directives. > =20 > =20 > Also, check out http://plupload.com/ > =20 > I started using this last year for all my uploads, super cool. It has the= chunking feature which is really nice as it shows upload progress and I fin= d is a really stable way of uploading. You'll need a more complex upload sc= ript though, I can share mine. > =20 > On Jan 19, 2012, at 5:38 PM, Govinda wrote: >=20 >=20 > I=E2=80=99ve got a web page that allows me to select a file from my comput= er and upload it to the server. I am using an HTML form with the following f= orm elements to select the file to upload: > > > =20 > If I select a small file (say a 102 kb zip file), it works fine. > If I select a large file (say an 11 Mb zip file), it fails. > =20 > I=E2=80=99ve examined the name-value pairs in the [formvariables] and for t= he small file, I get [name]-[value] pairs for all 7 of my form variables (of= which the file is #2). However, for the larger file, it seems to be failing= because of something in the [value] of the uploaded file since the listing o= f my [formvariables] stops when it reaches the [value] of the uploaded file.= At that point, the rest of my form variables fail to be listed and the web p= age stops loading. > =20 > What is crazy is that this code has worked for 6 years and only failed yes= terday when I migrated from OS X Snow Leopard Server 10.6 and WebDNA 6 to OS= X Lion Server 10.7 and WebDNA 7. I suspect that it has something to do with= the Apache server settings or perhaps not wrapping my [value] in a WebDNA c= ontext???? > =20 > Any help would be appreciated. > =20 > =20 > for starters: > =20 > wrap the "[value]" (inside the [formvariables] which you use to see the fo= rmvars in the HTML output) in "[url]..[/url]" .. so that you can at least se= e the rest of the HTML after whatever char is truncating the output. > =20 > -Govinda > =20 > --------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list . To unsubscribe, E= -mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting:= support@webdna.us > =20 > --------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list . To unsubscribe, E= -mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting:= support@webdna.us > --------------------------------------------------------- This message is s= ent to you because you are subscribed to the mailing list . To unsubscribe, E= -mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting:= support@webdna.us --Apple-Mail-C5E4E8FA-EE66-4F2D-97C8-A8E3153B5B0C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On a side note, I found th= at the fcgid directive, FCGIWRAPPER is deprecated and should now be FcgidWRA= PPER




On Jan 19, 2012, at 6:2= 5 PM, Brian Wachter <bwachter@bihr= le.com> wrote:

=

Aaron,

 

Yes, I am using WebDNA 7.

 

What you=E2=80=99re proposi= ng sure seems like the thing I need. However, when I tried simply adding the= following, Apache didn=E2=80=99t like it:

 

<IfModule mod_fastcgi.c&= gt;

= FcgidMaxRequestLen 120000000

</IfModule>

 

=46rom a quick web search i= t seems that FcgidMaxRequestLen is associated with mod_fcgid.c rather than m= od_fastcgi.c. I suppose I could track down the mod_fcgid.so and load it, but I wanted to make sure that=E2=80=99s the right course of a= ction and that I=E2=80=99m not simply having a syntax issue.

 

Thanks,

Brian

=

 

From: aaronmichaelmusic@gmail.com [mailto:= aaronmichaelmusic@gmail.com]
Sent: Thursday, January 19, 2012 5:46 PM
To: talk@webdna.us
Subject: Re: [WebDNA] File Upload Issue

 

Are you using WebDNA7?

 

I found that the fcgid module is responsible for uplo= ad size limits

 

you need to add/modify this directive in your apache c= onfig

 

FcgidMaxRequestLen 12000000

 

I believe that is in bytes, so what I have here shoul= d be about 12MB.  If I remember right, the default is around 2MB.  = ;If you are using v7, then that is most likely the problem.

 

Others on here likely know more about the Fcgid direc= tives.

 

 

Also, check out http://plupload.com/

 

I started using this last year for all my uploads, su= per cool.  It has the chunking feature which is really nice as it shows= upload progress and I find is a really stable way of uploading.  You'l= l need a more complex upload script though, I can share mine.

 

On Jan 19, 2012, at 5:38 PM, Govinda wrote:



I=E2=80=99ve got a web page that allows m= e to select a file from my computer and upload it to the server. I am using a= n HTML form with the following form elements to select the file to upload:

<form action=3D"uploadFile.dna" method= =3D"post" name=3D"uploadFile" enctype=3D"multipart/form-data">=

<input type=3D"file" name=3D"__prodFil= e1" value=3D"" size=3D"40">

 

If I select a small file (say a 102 kb zi= p file), it works fine.

If I select a large file (say an 11 Mb zi= p file), it fails.

 

I=E2=80=99ve examined the name-value pair= s in the [formvariables] and for the small file, I get [name]-[value] pairs f= or all 7 of my form variables (of which the file is #2). However, for the larger file, it seems to be failing because of something in the [va= lue] of the uploaded file since the listing of my [formvariables] stops when= it reaches the [value] of the uploaded file. At that point, the rest of my f= orm variables fail to be listed and the web page stops loading.

 

What is crazy is that this code has worke= d for 6 years and only failed yesterday when I migrated from OS X Snow Leopa= rd Server 10.6 and WebDNA 6 to OS X Lion Server 10.7 and WebDNA 7. I suspect that it has something to do with the Apache server s= ettings or perhaps not wrapping my [value] in a WebDNA context????

 

Any help would be appreciated.=

 

 

for starters:

 

wrap the "[value]" (inside the [formvariables] which y= ou use to see the formvars in the HTML output) in "[url]..[/url]" .. so that= you can at least see the rest of the HTML after whatever char is truncating= the output.

 

-Govinda

 

-----------------------------------------------------= ---- This message is sent to you because you are subscribed to the mailing l= ist . To unsubscribe, E-mail to: archives: http://mail.webdna.us/= list/talk@webdna.us Bug Reporting: support@webdna.us

 

-----------------------------------------------------= ---- This message is sent to you because you are subscribed to the mailing l= ist . To unsubscribe, E-mail to: archives: http://mail.webdna.us/= list/talk@webdna.us Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.= webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us
= --Apple-Mail-C5E4E8FA-EE66-4F2D-97C8-A8E3153B5B0C-- aaronmichaelmusic@gmail.com

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Emailer (WebCat2) (1997) Date problems (1997) Not really WebCat (1997) WC 2.0 frames feature (1997) Share cost of training videos! (1998) OT - Useful Shipping Info (2002) taxTotal, grandTotal (1997) Re:Emailer Set Up (1997) For those of you not on the WebCatalog Beta... (1997) WebCat2 - Getting to the browser's username/password data (1997) [WebDNA] WebDNA restart script (2015) Blank orders after update to 5.1 (2003) [WebDNA] [createdate] displays today's date on Ubuntu 14.04 / (2014) RE: [WebDNA] WebDNA not running after 10.6.3 update (2010) [OT] MacWorld Expo (2004) Searching for a search solution (2000) WebMerchant/PayFlowPro (2003) Upload Progress Bar (2003) SKU lookup (1997) HELP WITH DATES (1997)