RE: [WebDNA] File Upload Issue

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 108140
interpreted = N
texte = --_000_6A4332EB8679B94DAB8AB56EC89B0CFF99AB043FExchangebihrlel_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Aaron, Yes, I am using WebDNA 7. What you're proposing sure seems like the thing I need. However, when I tri= ed simply adding the following, Apache didn't like it: FcgidMaxRequestLen 120000000 From a quick web search it seems that FcgidMaxRequestLen is associated with= mod_fcgid.c rather than mod_fastcgi.c. I suppose I could track down the mo= d_fcgid.so and load it, but I wanted to make sure that's the right course o= f action and that I'm 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 upload size limits you need to add/modify this directive in your apache config FcgidMaxRequestLen 12000000 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= is most likely the problem. Others on here likely know more about the Fcgid directives. Also, check out http://plupload.com/ 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 s= cript though, I can share mine. On Jan 19, 2012, at 5:38 PM, Govinda wrote: I've got a web page that allows me to select a file from my computer and up= load it to the server. I am using an HTML form with the following form elem= ents to select the file to upload:
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. I've examined the name-value pairs in the [formvariables] and for the 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 becau= se of something in the [value] 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 form variables fail to be listed and the web pa= ge stops loading. What is crazy is that this code has worked for 6 years and only failed yest= erday 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 wit= h the Apache server settings or perhaps not wrapping my [value] in a WebDNA= context???? Any help would be appreciated. for starters: wrap the "[value]" (inside the [formvariables] which you use to see the for= mvars 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. -Govinda --------------------------------------------------------- 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 Reporti= ng: 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 Reporti= ng: support@webdna.us --_000_6A4332EB8679B94DAB8AB56EC89B0CFF99AB043FExchangebihrlel_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Aaron,<= /p>

 <= /p>

Yes, I am using WebDNA 7.=

 <= /p>

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

 <= /p>

<IfModule mod_fastcgi.= c>

FcgidMaxRequestLen 120000000

</IfModule>

 <= /p>

From a quick web search i= t seems that FcgidMaxRequestLen is associated with mod_fcgid.c rather than = mod_fastcgi.c. I suppose I could track down the mod_fcgid.so and load it, but I wanted to make sure that’s the right course of ac= tion and that I’m not simply having a syntax issue.=

 <= /p>

Thanks,=

Brian

 <= /p>

From: aaronmic= haelmusic@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 upl= oad size limits

 

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

 

FcgidMaxRequestLen 12000000

 

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

 

Others on here likely know more about the Fcgid dire= ctives.

 

 

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

 

I started using this last year for all my uploads, s= uper cool.  It has the chunking feature which is really nice as it sho= ws upload progress and I find is a really stable way of uploading.  Yo= u'll need a more complex upload script though, I can share mine.

 

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



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

<form action=3D"uploadFile.dna&= quot; method=3D"post" name=3D"uploadFile" enctype=3D&qu= ot;multipart/form-data">

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

 

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.

 

I’ve examined the name-value pair= s in the [formvariables] and for the 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 [v= alue] of the uploaded file since the listing of my [formvariables] stops wh= en it reaches the [value] of the uploaded file. At that point, the rest of = my form variables fail to be listed and the web page stops loading.

 

What is crazy is that this code has wor= ked for 6 years and only failed yesterday when I migrated from OS X Snow Le= opard 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 context????

 

Any help would be appreciated.

 

 

for starters:

 

wrap the "[value]" (inside the [formvariab= les] which you 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 wha= tever char is truncating the output.

 

-Govinda

 

----------------------------------------------------= ----- 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

 

----------------------------------------------------= ----- 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

--_000_6A4332EB8679B94DAB8AB56EC89B0CFF99AB043FExchangebihrlel_-- 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)
--_000_6A4332EB8679B94DAB8AB56EC89B0CFF99AB043FExchangebihrlel_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Aaron, Yes, I am using WebDNA 7. What you're proposing sure seems like the thing I need. However, when I tri= ed simply adding the following, Apache didn't like it: FcgidMaxRequestLen 120000000 From a quick web search it seems that FcgidMaxRequestLen is associated with= mod_fcgid.c rather than mod_fastcgi.c. I suppose I could track down the mo= d_fcgid.so and load it, but I wanted to make sure that's the right course o= f action and that I'm 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 upload size limits you need to add/modify this directive in your apache config FcgidMaxRequestLen 12000000 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= is most likely the problem. Others on here likely know more about the Fcgid directives. Also, check out http://plupload.com/ 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 s= cript though, I can share mine. On Jan 19, 2012, at 5:38 PM, Govinda wrote: I've got a web page that allows me to select a file from my computer and up= load it to the server. I am using an HTML form with the following form elem= ents to select the file to upload: 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. I've examined the name-value pairs in the [formvariables] and for the 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 becau= se of something in the [value] 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 form variables fail to be listed and the web pa= ge stops loading. What is crazy is that this code has worked for 6 years and only failed yest= erday 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 wit= h the Apache server settings or perhaps not wrapping my [value] in a WebDNA= context???? Any help would be appreciated. for starters: wrap the "[value]" (inside the [formvariables] which you use to see the for= mvars 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. -Govinda --------------------------------------------------------- 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 Reporti= ng: 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 Reporti= ng: support@webdna.us --_000_6A4332EB8679B94DAB8AB56EC89B0CFF99AB043FExchangebihrlel_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Aaron,<= /p>

 <= /p>

Yes, I am using WebDNA 7.=

 <= /p>

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

 <= /p>

<IfModule mod_fastcgi.= c>

FcgidMaxRequestLen 120000000

</IfModule>

 <= /p>

From a quick web search i= t seems that FcgidMaxRequestLen is associated with mod_fcgid.c rather than = mod_fastcgi.c. I suppose I could track down the mod_fcgid.so and load it, but I wanted to make sure that’s the right course of ac= tion and that I’m not simply having a syntax issue.=

 <= /p>

Thanks,=

Brian

 <= /p>

From: aaronmic= haelmusic@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 upl= oad size limits

 

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

 

FcgidMaxRequestLen 12000000

 

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

 

Others on here likely know more about the Fcgid dire= ctives.

 

 

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

 

I started using this last year for all my uploads, s= uper cool.  It has the chunking feature which is really nice as it sho= ws upload progress and I find is a really stable way of uploading.  Yo= u'll need a more complex upload script though, I can share mine.

 

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



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

<form action=3D"uploadFile.dna&= quot; method=3D"post" name=3D"uploadFile" enctype=3D&qu= ot;multipart/form-data">

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

 

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.

 

I’ve examined the name-value pair= s in the [formvariables] and for the 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 [v= alue] of the uploaded file since the listing of my [formvariables] stops wh= en it reaches the [value] of the uploaded file. At that point, the rest of = my form variables fail to be listed and the web page stops loading.

 

What is crazy is that this code has wor= ked for 6 years and only failed yesterday when I migrated from OS X Snow Le= opard 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 context????

 

Any help would be appreciated.

 

 

for starters:

 

wrap the "[value]" (inside the [formvariab= les] which you 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 wha= tever char is truncating the output.

 

-Govinda

 

----------------------------------------------------= ----- 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

 

----------------------------------------------------= ----- 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

--_000_6A4332EB8679B94DAB8AB56EC89B0CFF99AB043FExchangebihrlel_-- Brian Wachter

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:

WebDNA 5.0 Questions (2003) Frames and WebCat (1997) Shipping charges depending on tax rate? (1997) RE: Can a database get stomped by simultaneous access? (1997) how to know the [LineIndex] number webcat generated during a [AddLineItem]? (2000) A better ConvertChars? (2004) Inventory lookup & display... (2003) Date Search (2004) Authenticate (1997) Ok here is a question? (1997) Assigning carts (1998) Apache2 connector (2003) Mac Scheduling (1998) Permission denied? (2004) unique ID (1997) Ok here is a question? (1997) [WebDNA] Safari & Cookies (2009) Forms Search Questions (1997) emailer w/F2 (1997) [WebDNA] Protect TextArea and other Input-Fields with WebDNA - Something to talk about ;) (2009)