Advanced search  

News:

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.
[more]

Pages: [1]   Go Down

Author Topic: Download as Zip file - Problem  (Read 3951 times)

0 Members and 1 Guest are viewing this topic.

deejaymoni

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 59
    • jessicaalbafanatics.com
Download as Zip file - Problem
« on: May 20, 2006, 01:37:47 pm »

Hello everybody,

I was tryin to fix this problem by myself and was watching here around the board to find a solution but I didn't found nothing.

I've got a little problem with "Download as Zip file".

Before I start to descripe the problem here are all mods and plugins I have installed:
- Upload History
- CPG MiniCMS v1.5
- Add thumbnails to Lightbox v1.2.3
- Onlinestats (Who is online) v1.2
- Multiline comments v1.0
- Bridge phpBB

My problem is that I can't download images as zip which are bigger than a ~MB if I'm trying it shows me that this page does not exist.

You guys can try to download some here: http://www.jessica-alba.de/gallery/index.php

Try to put 7 images into the lightbox and than try to download as Zip file - you don't need an account.

I think maybe it depends on my server but I'm not sure.



Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Download as Zip file - Problem
« Reply #1 on: May 20, 2006, 01:47:44 pm »

yes, this is a server issue: creating the zip file eats server resources, so you're running into limitations on your server set up by your webserver admin. Basically, the same server-sided restrictions that apply to resizing large files  when uploading apply to zipping as well. Review the sticky thread "Trouble-shooting the upload process" on the upload sub-board. However, if the server isn't yours to administer, there's little you could do about this.
Logged

deejaymoni

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 59
    • jessicaalbafanatics.com
Re: Download as Zip file - Problem
« Reply #2 on: May 20, 2006, 03:23:51 pm »

Hi GauGau
I have a dedicated server so I can do changes in php.ini

I have changed the following limits:

memory_limit = 20MB
max_execution_time = 60
max_input_time = 60
post_max_size = 20MB
upload_max_filesize = 20MB

but nothing happens I still got a limit of 5 MB or something. :(
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Download as Zip file - Problem
« Reply #3 on: May 20, 2006, 04:12:13 pm »

not sure, you'll have to experiment. Blind guess is memory limit.
Logged

deejaymoni

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 59
    • jessicaalbafanatics.com
Re: Download as Zip file - Problem
« Reply #4 on: May 20, 2006, 06:05:39 pm »

That's very strange I don't know where this limit is set!!! I have tried different ways.

I know that php is using a integer for bytes like 1M = a Megabyte or 1048576 Bytes - memory_limit would be than 20M but I don't know where the 5 MB limit are set. >:(

May be I have to restart the server.  :-\

Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Download as Zip file - Problem
« Reply #5 on: May 20, 2006, 06:19:35 pm »

If you are referring to a 5MB limit on file size, there's not a one-to-one ratio between file size and memory usage. The processing of a file of x MB can take up much more memory than x MB.
Logged

deejaymoni

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 59
    • jessicaalbafanatics.com
Re: Download as Zip file - Problem
« Reply #6 on: May 20, 2006, 06:54:06 pm »

Oh oh that's too high for me could you give me an example?

Default setting in php.ini for:

- post_max_size = 8M
- upload_max_filesize = 2M
- memory_limit = 32M

hmm where is here than the one-to-one ratio??? or am I wrong???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Download as Zip file - Problem
« Reply #7 on: May 21, 2006, 11:04:52 am »

yes, the server needs to be restarted to make the new settings in php.ini become valid
Logged

deejaymoni

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 59
    • jessicaalbafanatics.com
Re: Download as Zip file - Problem
« Reply #8 on: May 31, 2006, 05:08:01 pm »

Still doesn't work oh damn I don't know what I'm doing wrong lol right now I hate my server >:( that can't be I'm fighting with it since some weeks.

Strange thing.

@TranzNDance: Sorry but I don't understand what you mean with one-to-one ratio could you please expain it?
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 16 queries.