forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upload => Topic started by: smantscheff on August 09, 2010, 12:00:55 pm

Title: Cannot upload large file
Post by: smantscheff on August 09, 2010, 12:00:55 pm
I just installed a fresh CPG1.5x on SuSE Linux.
I can log in as an administrator and upload smaller files.
I cannot upload large files, though. The upload process (with Flash) runs smoothly, but in the end I get a JavaScript alert box with no text in it and the message "Hochladen fehlgeschlagen" (Upload failed).
I checked all relevant size and time and directory parameters and cannot find anything wrong.
Those parameters are:
Code: [Select]
safe_mode                                   
safe_mode_exec_dir                           
safe_mode_gid            1                   
safe_mode_include_dir                       
sql.safe_mode                               
disable_functions                           
file_uploads             1                   
include_path             .:/opt/lampp/lib/php
open_basedir                                 
allow_url_fopen          1                   
max_execution_time       3600               
max_input_time           3600               
upload_max_filesize      100M               
post_max_size            100M               
memory_limit             256M               
suhosin.post.max_vars                       
suhosin.request.max_vars
After upload the debugging output reads:
Code: [Select]
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 2282305. Total: 2282305
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Response Received: true Data:
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
The test file has about 2.5M and 2500x4000 pixels. Maximum image size is configured as 5000x5000 pixels and 4M.

Any help appreciated.
Title: Addendum: Files are uploaded; error message persists
Post by: smantscheff on August 09, 2010, 05:24:45 pm
The files are in fact uploaded to the server and in the correct album directory. They are not listed in the database table pictures, though.
Title: Addendum: Same problem on another server
Post by: smantscheff on August 09, 2010, 09:49:58 pm
I just re-installed the whole system on another server - the problem persists with any browser.
Then I used a slightly smaller testfile (around 256 KB) - the problem persists with Firefox 3.x, but disappears with Google Chrome.
Any hints welcome.
Title: Re: Cannot upload large file
Post by: Αndré on August 16, 2010, 03:22:09 pm
Please try pictures with smaller dimensions and/or increase PHP's maximum script execution time.