Page 1 of 1

Add Media issue

Posted: Wed Sep 21, 2005 7:35 pm
by vikram_khatri
When I try to add image using Add Media from my local machine, it goes to "Page can not be displayed" problem.

I saw this error message in apache error log when I try to do this.

Code: Select all

[Wed Sep 21 11:18:58 2005] [error] [client 129.33.49.251] Requested content-length of 1367196 is larger than the configured limit of 524288, referer: http://bluestar.zinox.com/serendipity_admin.php?serendipity[adminModule]=media&serendipity[adminAction]=addSelect
Is it something that needs to be done in Apache conf or in serendipity?

Thanks -

Posted: Wed Sep 21, 2005 8:00 pm
by vikram_khatri
Never mind. I increased the size of LimitRequestBody to 8388608 (8M) in php.conf file in /etc/httpd/conf.d/php.conf and that solved it. The default value was 512KB in this php.conf file.

I already had image_upload size in php.ini to 10M

You might want to include this in your installation as a side note as you suggest to increase the size of image file in php.ini.

Thanks

Re: Add Media issue

Posted: Wed Sep 21, 2005 8:01 pm
by garvinhicking
I've never seen this kind of error message. Seems to me like some proxy or mod_Security thing is in effect that blocks large pages.

In any cases it's a Webserver issue, you are right.

Regards,
Garvfin