#14118 [Com]: Upload file more than 1 Mb doesn´t work

2003-10-26 Thread gregt_fletcher at yahoo dot com
 ID:   14118
 Comment by:   gregt_fletcher at yahoo dot com
 Reported By:  mlara at gcintl dot com
 Status:   Closed
 Bug Type: Unknown/Other Function
 Operating System: linux redhat 7.1
 PHP Version:  4.0.4pl1
 New Comment:

I was experiencing a similar file upload limit problem with the
following software stack:

Redhat 8
Apache 2.0.4
PHP 4.2.2

If you are getting errors like the following in your Apache log:

"Requested content-length of 2258901 is larger than the configured
limit of 524288"

look for an additional PHP config file, /etc/httpd/conf.d/php.conf
(this was the path for me on RH 8.0) and increase the limit on the line
"LimitRequestBody 524288" to what you require


see http://www.squirrelmail.org/wiki/en_US/AttachmentSize


Previous Comments:


[2003-08-27 02:08:25] anjali at students dot iiit dot net

I am also facing the upload problem. The clients access my web server
directly (not thru a proxy server) so I don't have to change the squid
configurations (am I right?) and I tried placing the hidden variable
'max_file_size'. Even this didn't work? I am using PHP 4.2. And this
error is not browser specific and shows up in all the browsers. Is the
problem with PHP?



[2003-06-20 06:12:17] s_chhatre at yahoo dot com

Yess...
 changing the setting request_body_max_size to whatever size required
works fine and upload the file of whatever size required.

-Shrirang S. Chhatre.



[2003-03-11 13:21:26] jgomes at ulbra-to dot br

Hi all,

I had the same problem using multiple platforms (PHP, ASP, .NET); so I
discovered that the problem is the Squid (Proxy) configuration. It has
a tag (request_body_max_size) that defines the maximum size of a HTTP
request body (the data area). So if you try to upload a file whose size
overlaps the limit, you'll get an error generated by Squid: "The page
cannot be found" or "The page coudn't be processed" and so on.

Thanks.
God bless!

[AJ(ack)]



[2002-10-01 11:08:05] jbyu at csie dot nctu dot edu dot tw

I have same problem about upload large file.
My platform: Win2k + Apache 2.0.42 + PHP 4.1.2
The php.ini is also correct.
So what do i miss? httpd.conf?



[2001-11-21 14:14:19] mlara at gcintl dot com

Thanks

I resolved my problem, the reason was that the squid configuration
limit the request size, I changed this value and I can upload file more
higher than 2 Mb .

Thanks for all, I´m sorry

Mauricio





The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/14118

-- 
Edit this bug report at http://bugs.php.net/?id=14118&edit=1


#14118 [Com]: Upload file more than 1 Mb doesn´t work

2003-08-27 Thread anjali at students dot iiit dot net
 ID:   14118
 Comment by:   anjali at students dot iiit dot net
 Reported By:  mlara at gcintl dot com
 Status:   Closed
 Bug Type: Unknown/Other Function
 Operating System: linux redhat 7.1
 PHP Version:  4.0.4pl1
 New Comment:

I am also facing the upload problem. The clients access my web server
directly (not thru a proxy server) so I don't have to change the squid
configurations (am I right?) and I tried placing the hidden variable
'max_file_size'. Even this didn't work? I am using PHP 4.2. And this
error is not browser specific and shows up in all the browsers. Is the
problem with PHP?


Previous Comments:


[2003-06-20 06:12:17] s_chhatre at yahoo dot com

Yess...
 changing the setting request_body_max_size to whatever size required
works fine and upload the file of whatever size required.

-Shrirang S. Chhatre.



[2003-03-11 13:21:26] jgomes at ulbra-to dot br

Hi all,

I had the same problem using multiple platforms (PHP, ASP, .NET); so I
discovered that the problem is the Squid (Proxy) configuration. It has
a tag (request_body_max_size) that defines the maximum size of a HTTP
request body (the data area). So if you try to upload a file whose size
overlaps the limit, you'll get an error generated by Squid: "The page
cannot be found" or "The page coudn't be processed" and so on.

Thanks.
God bless!

[AJ(ack)]



[2002-10-01 11:08:05] jbyu at csie dot nctu dot edu dot tw

I have same problem about upload large file.
My platform: Win2k + Apache 2.0.42 + PHP 4.1.2
The php.ini is also correct.
So what do i miss? httpd.conf?



[2001-11-21 14:14:19] mlara at gcintl dot com

Thanks

I resolved my problem, the reason was that the squid configuration
limit the request size, I changed this value and I can upload file more
higher than 2 Mb .

Thanks for all, I´m sorry

Mauricio





[2001-11-21 12:42:44] [EMAIL PROTECTED]

Please try with PHP 4.1.0RC3:

http://download.php.net/~zeev/php-4.1.0RC3.tar.gz



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/14118

-- 
Edit this bug report at http://bugs.php.net/?id=14118&edit=1


#14118 [Com]: Upload file more than 1 Mb doesn´t work

2003-06-20 Thread s_chhatre at yahoo dot com
 ID:   14118
 Comment by:   s_chhatre at yahoo dot com
 Reported By:  mlara at gcintl dot com
 Status:   Closed
 Bug Type: Unknown/Other Function
 Operating System: linux redhat 7.1
 PHP Version:  4.0.4pl1
 New Comment:

Yess...
 changing the setting request_body_max_size to whatever size required
works fine and upload the file of whatever size required.

-Shrirang S. Chhatre.


Previous Comments:


[2003-03-11 13:21:26] jgomes at ulbra-to dot br

Hi all,

I had the same problem using multiple platforms (PHP, ASP, .NET); so I
discovered that the problem is the Squid (Proxy) configuration. It has
a tag (request_body_max_size) that defines the maximum size of a HTTP
request body (the data area). So if you try to upload a file whose size
overlaps the limit, you'll get an error generated by Squid: "The page
cannot be found" or "The page coudn't be processed" and so on.

Thanks.
God bless!

[AJ(ack)]



[2002-10-01 11:08:05] jbyu at csie dot nctu dot edu dot tw

I have same problem about upload large file.
My platform: Win2k + Apache 2.0.42 + PHP 4.1.2
The php.ini is also correct.
So what do i miss? httpd.conf?



[2001-11-21 14:14:19] mlara at gcintl dot com

Thanks

I resolved my problem, the reason was that the squid configuration
limit the request size, I changed this value and I can upload file more
higher than 2 Mb .

Thanks for all, I´m sorry

Mauricio





[2001-11-21 12:42:44] [EMAIL PROTECTED]

Please try with PHP 4.1.0RC3:

http://download.php.net/~zeev/php-4.1.0RC3.tar.gz



[2001-11-20 09:16:58] mlara at gcintl dot com

My php.ini has track_errors = On
but the script return the same error "The page cannot be
displayed". when I try to upload a file higher 2 Mb, I´ve changed all
in my script and my php.ini but doesn´t work, please can you help me
suggest me another solution.
My script printed the post variables, if the file is lower than 2 mb
the variables are printed, but if the file is higher 2 mb I get the
error "The page cannot be
displayed", and the variables aren´t printed.

Maybe my apache.conf  file has a error.Please help me

Thanks






The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/14118

-- 
Edit this bug report at http://bugs.php.net/?id=14118&edit=1



#14118 [Com]: Upload file more than 1 Mb doesn´t work

2003-03-11 Thread jgomes at ulbra-to dot br
 ID:   14118
 Comment by:   jgomes at ulbra-to dot br
 Reported By:  mlara at gcintl dot com
 Status:   Closed
 Bug Type: Unknown/Other Function
 Operating System: linux redhat 7.1
 PHP Version:  4.0.4pl1
 New Comment:

Hi all,

I had the same problem using multiple platforms (PHP, ASP, .NET); so I
discovered that the problem is the Squid (Proxy) configuration. It has
a tag (request_body_max_size) that defines the maximum size of a HTTP
request body (the data area). So if you try to upload a file whose size
overlaps the limit, you'll get an error generated by Squid: "The page
cannot be found" or "The page coudn't be processed" and so on.

Thanks.
God bless!

[AJ(ack)]


Previous Comments:


[2002-10-01 11:08:05] jbyu at csie dot nctu dot edu dot tw

I have same problem about upload large file.
My platform: Win2k + Apache 2.0.42 + PHP 4.1.2
The php.ini is also correct.
So what do i miss? httpd.conf?



[2001-11-21 14:14:19] mlara at gcintl dot com

Thanks

I resolved my problem, the reason was that the squid configuration
limit the request size, I changed this value and I can upload file more
higher than 2 Mb .

Thanks for all, I´m sorry

Mauricio





[2001-11-21 12:42:44] [EMAIL PROTECTED]

Please try with PHP 4.1.0RC3:

http://download.php.net/~zeev/php-4.1.0RC3.tar.gz



[2001-11-20 09:16:58] mlara at gcintl dot com

My php.ini has track_errors = On
but the script return the same error "The page cannot be
displayed". when I try to upload a file higher 2 Mb, I´ve changed all
in my script and my php.ini but doesn´t work, please can you help me
suggest me another solution.
My script printed the post variables, if the file is lower than 2 mb
the variables are printed, but if the file is higher 2 mb I get the
error "The page cannot be
displayed", and the variables aren´t printed.

Maybe my apache.conf  file has a error.Please help me

Thanks






[2001-11-19 18:43:44] [EMAIL PROTECTED]

This script works for me just fine. Note that to be
able to see the error message, you need to have this
directive enabled in php.ini: 

track_errors = On

Also note that if MAX_FILE_SIZE  is used and is set
to lower than the values in php.ini it will override them.
And the value it sets is in bytes. 

test.php-











test.php-




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/14118

-- 
Edit this bug report at http://bugs.php.net/?id=14118&edit=1



#14118 [Com]: Upload file more than 1 Mb doesn´t work

2002-10-01 Thread jbyu

 ID:   14118
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Closed
 Bug Type: Unknown/Other Function
 Operating System: linux redhat 7.1
 PHP Version:  4.0.4pl1
 New Comment:

I have same problem about upload large file.
My platform: Win2k + Apache 2.0.42 + PHP 4.1.2
The php.ini is also correct.
So what do i miss? httpd.conf?


Previous Comments:


[2001-11-21 14:14:19] [EMAIL PROTECTED]

Thanks

I resolved my problem, the reason was that the squid configuration
limit the request size, I changed this value and I can upload file more
higher than 2 Mb .

Thanks for all, I´m sorry

Mauricio





[2001-11-21 12:42:44] [EMAIL PROTECTED]

Please try with PHP 4.1.0RC3:

http://download.php.net/~zeev/php-4.1.0RC3.tar.gz



[2001-11-20 09:16:58] [EMAIL PROTECTED]

My php.ini has track_errors = On
but the script return the same error "The page cannot be
displayed". when I try to upload a file higher 2 Mb, I´ve changed all
in my script and my php.ini but doesn´t work, please can you help me
suggest me another solution.
My script printed the post variables, if the file is lower than 2 mb
the variables are printed, but if the file is higher 2 mb I get the
error "The page cannot be
displayed", and the variables aren´t printed.

Maybe my apache.conf  file has a error.Please help me

Thanks






[2001-11-19 18:43:44] [EMAIL PROTECTED]

This script works for me just fine. Note that to be
able to see the error message, you need to have this
directive enabled in php.ini: 

track_errors = On

Also note that if MAX_FILE_SIZE  is used and is set
to lower than the values in php.ini it will override them.
And the value it sets is in bytes. 

test.php-











test.php-




[2001-11-19 13:59:48] [EMAIL PROTECTED]


My apache version is: Apache/1.3.14
I use internet explorer 5.5 and netscape 4.75 but the problem persist
I erased the line  but doesn´t work.

If you see my script I print the upload variables, if I upload a file
lower 2 Mb, the variables are printed, but if I transfer a higher file
the variables aren´t printed and not copy the file in server.

Thanks







The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/14118

-- 
Edit this bug report at http://bugs.php.net/?id=14118&edit=1