Hi,
I have to say zenphoto is amazing. Ease of use is great, setup a breeze and customizable to the hilt. I have on problem. I have offered my albums for download via <?php {printAlbumZip(); }?> in my sidebar. Link works. Files are setup for delivery and start to download. At the end or near the end of the download. I get a decompression error. Says archive corrupt or damaged. Tried to use stuffit, mac finder, and winzip. All say the same thing. Is this a zenphoto problem. Maybe a limit somewhere for size of download and stalls at that limit corrupting the file. Or is this a server side issue. I am using the zenpage theme.
Comments
It could also be a "noisy" connection, but usually the internet recovery algorithms take care of that.
this is from my php5.ini file
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 64M ; Maximum amount of memory a script may consume (8MB)
What should I put in there for, values.
Most of my zip folders hover around 200mb.
So, try upping it and see what happens. Also look at your CGI log and see what errors are shown.
Thanks for your help this far. I upped those limits in my php5.ini file on my host account to the same as in the zenphoto gallery.
256M for memory_limit
and put my max_upload_size and max_file_size to 200M
It seems that any of the zip file attempted downloads fail at around 90-100MB.
My cgi log revealed almost nothing. Maybe I am not looking for the right thing in it.
Any ideas. Should those numbers be higher. Can I use a different method of download of a whole album?
You might try the albumzipstream plugin, this does create the zip on the fly so it maybe needs less memory. See the extensions section.