Download as Zip file - Problem Download as Zip file - Problem
 

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]

Main Menu

Download as Zip file - Problem

Started by deejaymoni, May 20, 2006, 01:37:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

deejaymoni

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.




Joachim Müller

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.

deejaymoni

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

Joachim Müller

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

deejaymoni

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


Tranz

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.

deejaymoni

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???

Joachim Müller

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

deejaymoni

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?