Add Media issue

Found a bug? Tell us!!
Post Reply
vikram_khatri
Regular
Posts: 14
Joined: Fri Sep 16, 2005 9:23 am

Add Media issue

Post 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 -
vikram_khatri
Regular
Posts: 14
Joined: Fri Sep 16, 2005 9:23 am

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Add Media issue

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply