Advanced search  


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.

Pages: [1]   Go Down

Author Topic: Cannot upload large file  (Read 9098 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Cannot upload large file
« 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_gid            1                   
file_uploads             1                   
include_path             .:/opt/lampp/lib/php
allow_url_fopen          1                   
max_execution_time       3600               
max_input_time           3600               
upload_max_filesize      100M               
post_max_size            100M               
memory_limit             256M                             
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.


  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Addendum: Files are uploaded; error message persists
« Reply #1 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.


  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Addendum: Same problem on another server
« Reply #2 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.


  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Cannot upload large file
« Reply #3 on: August 16, 2010, 03:22:09 pm »

Please try pictures with smaller dimensions and/or increase PHP's maximum script execution time.
Pages: [1]   Go Up

Page created in 0.015 seconds with 20 queries.