Phantom Filesize limit - Solved Phantom Filesize limit - Solved
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Phantom Filesize limit - Solved

Started by cavergary, January 13, 2005, 05:45:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cavergary

I'm setting up a gallery for old maps. File sizes are inhearently large.   However, my configuration seems to be limiting to 3mb uploads.   After searching the boards here, and at apache.org  I'm quite baffeled as to the location of the problem. Any help or pointers would be greatly appreciated!

Test File to upload is 3,090 kb 3171x2112 pixles  .jpg

The errors I get alternate in random order:
Fatal error: Maximum execution time of 30 seconds exceeded in e:\mapgallery\cpg132\db_input.php on line 20

No file uploaded - ensure server allows uploads.

------------------------------------------------------------------------------------------------------------
Configuration Apache 1.3 on Windows 2000 server with php 4.3 and Imagemagick

my php.ini settings:
max_execution_time = 300     ; Maximum execution time of each script, in seconds
memory_limit = 200M      ; Maximum amount of memory a script may consume (8MB)

; Maximum size of POST data that PHP will accept.
post_max_size = 300M


From my Windows Apache.conf
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 600

#LoadModule php4_module C:/php/php-4.2.3-Win32/php4apache.dll
LoadModule php4_module C:/WINNT/system32/php4apache.dll
AddModule mod_php4.c
# application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps

#



From my CPG Config.


Files and thumbnails settings  
Quality for JPEG files    80
Max dimension of a thumbnail **    200
Use dimension ( width or height or Max aspect for thumbnail )**   Max Aspect Height Width   Width
Create intermediate pictures  Yes    No     YES
Max width or height of an intermediate picture/video **  15000  
Max size for uploaded files 81920(KB)    
Max width or height for uploaded pictures/videos (pixels)  200000


I noticed a post about Windows users with diskquotas.  There are no  disk quotoas set on my Windows box.

Please be kind when you point out the obviously overlooked settings!    ;)

Thanks

kegobeer

Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

cavergary

Thanks for the link,  that and a week off helped clear my mind a lot.   So... I had 2 php.ini files on my system, not sure why, but I did.  I was editing the WRONG ONE!    :o  Boy do I feel like an idiot!  It was looking at the phpinfo()  that alerted me to the obvious problem.  So thanks! Now I'm uploading huge-amous files without a problem!

Joachim Müller

Thanks for coming back and posting what you did to solve this issue. I don't think you're an idiot, as you had the courage to say you were wrong and you found out the solution for yourself. That's clever trouble-shooting imo. I wish there were more users who resolved the support requests the way you did.

Cheers

Joachim