coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: alex_rus on July 03, 2004, 11:44:10 AM

Title: Strange trouble upload files > ~200Kb
Post by: alex_rus on July 03, 2004, 11:44:10 AM
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!
Title: Re: Strange trouble upload files > ~200Kb
Post by: alex_rus on July 03, 2004, 11:47:42 AM
Sorry for double post.. =((
Title: Re: Strange trouble upload files > ~200Kb
Post by: Joachim Müller on July 03, 2004, 12:26:40 PM
double-post removed...

GauGau
Title: Re: Strange trouble upload files > ~200Kb
Post by: alex_rus on July 03, 2004, 05:54:43 PM
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.
Title: Re: Strange trouble upload files > ~200Kb
Post by: alex_rus on July 07, 2004, 10:24:14 PM
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
Title: Re: Strange trouble upload files > ~200Kb
Post by: Joachim Müller on July 08, 2004, 07:01:53 AM
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