Cannot upload large file Cannot upload large file
 

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

Cannot upload large file

Started by smantscheff, August 09, 2010, 12:00:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

smantscheff

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:
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:
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.

smantscheff

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.

smantscheff

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.

ΑndrĂ©

Please try pictures with smaller dimensions and/or increase PHP's maximum script execution time.