PHP Error?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Hi All,

I'm trying to track down this error.  I had a web site written for my
company.  There is an admin function where we can select photos to be
uploaded to the server for display on the site.

Anyhow, if I select more than 7 photos at a time I receive this error:

Request Entity Too Large
The requested resource
does not allow request data with POST requests, or the amount of data
provided in the request exceeds the capacity limit

The web guys really have no clue on this, so I'm trying to track it
myself.  The website is on a Red Hat 9 server.

Any ideas or thoughts?



Re: PHP Error? wrote:

Quoted text here. Click to load it

Not sure - where are you seeing this error? You can set a max upload in the
php.ini file (which IIRC can be overridden in the apache config locally).
There is also a limit set by apache.



Re: PHP Error?

I have a number of locations on the screen where I select images for
different parts of the website.  When I am done selecting, I click on
the 'Add/Update' button in the form and I get this error.

I'll look at this php.ini file........not sure what I am looking for,
but let's see.......


Re: PHP Error?

Does PHP get 'loaded'?   I changed the max upload size in the php.ini
file to 24 megs.......and it still fails.

Do I need to reload php?

Re: PHP Error? says...
Quoted text here. Click to load it

You should stop and restart your web server. Presuming that (on RH) this  
is Apache you should also be aware that Apache itself may also  
independently set a restriction on maximum upload file size (and the error  
message you quoted look more like an Apache one than a PHP one).

Geoff M

Re: PHP Error?

I think you need some new IT or webadmin guys! :) It will be very
difficult IMHO to diagnose this over a newsgroup. But, what was written
to the error log. This should have many more clues than a cryptic error

Re: PHP Error?

On 18 Sep 2005 12:45:24 -0700, wrote:

Quoted text here. Click to load it

How are you gathering the info for the requests? Is it being passed by
a GET by any chance? If so, I thought there was a physical limit to
how many characters you can pass via a URL <?>.


Re: PHP Error?

Adam wrote:
Quoted text here. Click to load it

At your php.ini in your webserver there is a directive like  
post_max_size = 16M

Maybe you must change this value to a higher value.

URL length

Adam wrote:

Quoted text here. Click to load it

STD66 - the RFC which, among other things, defines the generic URI  
syntax - doesn't impose a limit on URL length.  But there could be  
scheme-specific limits, practical limitations, and even private  
policies that foist their own restrictions on those working under them.


Re: PHP Error?

On 18 Sep 2005 12:45:24 -0700, wrote:

Quoted text here. Click to load it
Andy Hassall :: :: :: disk and FTP usage analysis tool

Site Timeline