Strange trouble upload files > ~200Kb Strange trouble upload files > ~200Kb
 

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

Strange trouble upload files > ~200Kb

Started by alex_rus, July 03, 2004, 11:44:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alex_rus

Sorry, but my English is too bad.. :-(

I install CPG 1.3.0 Standalone.

When I try to upload files (step by step):
1) File Uploads: --> Browse -->Continue
2) Successful Uploads. 1 uploads were successful. Please click 'Continue' to add the files to albums.
3) After pressing to "continue" button I see blank screen (in address bar: .../upload.php).
Such problem _only_ with files which size is more ~200Kb
My config:
PHP Version 4.3.4
max_execution_time 30
max_input_time 60
memory_limit 8M
post_max_size 8M
upload_max_filesize 2M
Max size for uploaded files (KB) 2048

I tried  IE 6.1 & Mozilla 1.7  :-[

My Coppermine works fine with small files!

alex_rus


Joachim Müller


alex_rus

1) I have not found httpd.conf or php.conf or .htaccess with directive LimitRequestBody

2) Files are uploaded on a server. The problem arises after files are already loaded on a server (hm.. you understand me?)

3) I can upload ZIP file_any size. And on two step - will be ok.

alex_rus

Ups. I have understood all. PHP crashed.

Allowed memory size of 8388608 bytes exhausted (tried to allocate 6400 bytes) in .../include/picmgmt.inc.php on line 202

Line 202:   $src_img = imagecreatefromjpeg($src_file);

But I can't change valu "memory_limit = 8M" in php.ini

Joachim Müller

I'm not sure I understand all you're saying. Is the problem solved for you or not? Please post more details (this might be a language issue)...

GauGau