Advanced search  

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

Pages: [1]   Go Down

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

0 Members and 1 Guest are viewing this topic.

smantscheff

  • 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                                   
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.
Logged

smantscheff

  • 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.
Logged

smantscheff

  • 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.
Logged

Αndré

  • 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.