Download as Zip file - Not working - Empty .zip file Download as Zip file - Not working - Empty .zip 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

Download as Zip file - Not working - Empty .zip file

Started by pr0ntab, September 28, 2004, 08:53:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pr0ntab

I've been using coppermine for a while for a small gallery, and I love it.. its great! Just upgraded and got some of the new features in 1.3.2, really nice stuff.

Problem is:

Added photos to "my favorites" and then when I got into my favorites, click on "download as zip file" the server appears to be processing it (if I add more photo's it takes longer) and then opens a save as dialog in the browser, but the resulting download is 0 bytes and empty.

Is there a file permission issue?

I've checked phpinfo and zlib is installed...

Help?

Jason

Joachim Müller

using the "download as zip" feature requires you to have the zlib library to be installed on your server. Make sue you have it, using phpinfo. If you don't have it, you can't use this feature (if you're webhosted). If you're self-hosted, re-compile php with the library.

Joachim

pr0ntab

Maybe you posted before reading the entire post? :)

"I've checked phpinfo and zlib is installed..."

Anyways, here is the paste from phpinfo re zlib...

zlib
ZLib Support  enabled 
Compiled Version  1.1.4 
Linked Version  1.1.4 

Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value

-----------
The zlib.output_compression, should this be On? And if so, how do you turn that on?

Thanks!
Jason

kegobeer

Create a test user with normal priviledges, and post a link to your gallery along with the username/password.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

pr0ntab

Intrestingly enough, I was setting up a new user for you to test and realized you didnt need a full user account to download favorites. So I cleared cookies, and went back, added some pics to fav's to test one more time, and it downloaded just fine. So the problem was related to the cookies some how..

Its fixed!

Thanks!
Jason

Tarique Sani

Quote from: GauGau on September 29, 2004, 12:34:41 AM
using the "download as zip" feature requires you to have the zlib library
err... It does not really require zlib - I removed that dependency - it just give an uncompressed Zip (compression being useless for Images anyways)
SANIsoft PHP applications for E Biz