Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
paul  
#1 Posted : Tuesday, December 16, 2003 10:57:00 PM(UTC)
paul

Rank: Member

Groups: Member
Joined: 12/16/2003(UTC)
Posts: 13

I have just downloaded the trial version of Imag Uploader.
I systematically got the following error during the preparation phase on my browser:

"Error sending request. Probably the requesting page is not available".

On the server-side, in httd error logs (apache), I have :

"requested content-lenght of 1993557 is larger than the configured limit of 524288".

My question is : how can i increase this value ?

Thanks a lot for your comments. :)

Paul
3_14@mail.com

Edited by user Wednesday, February 13, 2008 2:42:48 PM(UTC)  | Reason: Not specified

Andrew  
#2 Posted : Tuesday, December 16, 2003 11:12:00 PM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 863

Thanks: 2 times
Was thanked: 25 time(s) in 25 post(s)
Hello Paul,

Unfortunately I am not guru in Apache and PHP, so I cannot answer you where exactly to configure. Consult your system administrator or Apache community how to increase maximum upload data size for Apache.

By the way, you will have the same problem if you try to upload file using HTML form...
Fedor  
#3 Posted : Tuesday, December 16, 2003 11:21:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,481

Thanks: 3 times
Was thanked: 40 time(s) in 39 post(s)
You should check php.ini file. You can raise max size there. Here is sample:

Code:
upload_max_filesize = 999999999 
file_uploads = On 
upload_tmp_dir = C:\TEMP\ 

max_execution_time = 9000 
memory_limit = 999999999 
post_max_size = 999999999
Best regards,
Fedor Skvortsov
paul  
#4 Posted : Wednesday, December 17, 2003 12:21:00 AM(UTC)
paul

Rank: Member

Groups: Member
Joined: 12/16/2003(UTC)
Posts: 13

Hello

thanks for your answers. I found the problem:

on my linux server, there are two places to change the Upload max file size:

1) in file /etc/php.ini post_max_size = 80M (for 80 MB)
2) in file /etc/httpd/conf.d/php.conf LimitRequestBody 80000000 (for 80 MB)

Then restart your Apache web server to commit changes : service httpd restart

After that, no more problem.
So it was a system-related problem.

Hope this helps for Linux users :D

bye,
Paul
Fedor  
#5 Posted : Wednesday, February 13, 2008 2:44:27 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,481

Thanks: 3 times
Was thanked: 40 time(s) in 39 post(s)
You can see detailed instructions in PHP Samples topic.

Edited by user Monday, October 27, 2008 8:01:54 PM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.