Uploading large files via http Uploading large files via http
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Uploading large files via http

Started by catronb, August 30, 2006, 04:43:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

catronb

I am having issues with http file uploads. 

Specifically when the total size of all files is greater than ~500KB, the upload screen seems to hang and then hit a timeout (might be a local browser timeout). 

If the total file size is anything lower (say 490KB), the uploads works great (and quickly) regardless of the qty of files.

Both batch uploads and xp_publish work fine for me as the admin, but I'd like to avoid using xp_publish for my user uploads.

Running CPG 1.4.9 on Windows XP with PHP 5.1.5, MySQL 5.0.24, Apache 2.2.3, and ImageMagick.

Also, if I access the server directly via http://localhost/cpg/index.php and use the http file upload form it works for large files!  So the issue is limited to situations where the server is accessed via http://catron.getmyip.com/cpg/index.php

Server address = http://catron.getmyip.com/cpg/index.php

Login = test
Password = password

Dbug info is turned on.

Also, I have the following settings in php.ini

   1. max_input_time - 600
   2. upload_max_filesize - 20M
   3. post_max_size - 50M
   4. memory_limit - 60M
and
   5. PHP's LimitRequestBody - in Apache's httpd.conf I have added the following, although there was not previously any LimitRequestBody entry:
                                         <Files *.php>
                                         SetOutputFilter PHP
                                         SetInputFilter PHP
                                         LimitRequestBody 10240000
                                         </Files>


Can someone please try to upload an image < ~500KB and another one > ~500KB to my server and tell me what's wrong with my config?

Thanks.

Lif3styl3

actually it seems that u have a bigger problem with your page,....
can't login, no picture can't be loaded and i'am getting lots of errormessages while opening your page

normaly the php max upload size oder exection time will be your problem

catronb

Thanks for trying.  I was working on a few things when you tried.  It's back up and available now.

tompet

I had a similar problem before with large files some time ago. The limitation was in the GD 2 how big files it could handle, not in Coppermine.

Joachim Müller

GD itself doesn't have a filesize limitation as far as I know. I guess you're refering to PHP limitations.

Lif3styl3

I'am getting the same error message,....
are u working on taht page actually ?

Joachim Müller

Quote from: Lif3styl3 on September 01, 2006, 08:12:27 AM
I'am getting the same error message,....
Doesn't necessarily mean that you have the same issues - your server setup surely differs from catronb's setup. The error message is generic, it doesn't say what actually goes wrong. If you need support on this, please start a thread of your own with the needed information (as suggested in the upload troubleshooting section of the docs). Make sure that you have read the sticky thread on this sub-board, as server-sided restrictions are being discussed there.

Lif3styl3

think we should start seminar for misunderstandings,.....

I DO NOT GET THAT MESSAGE on my Page.

I've get it while testing on his page,.....
(Syntaxerror)






tompet

I don't know if the file limitation was set in GD or PHP. What I know is that my host had set a limitation somewhere. The messages I got was that GD can't handle filez of this size.