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 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.
This is typically caused by there not being enough server memory to process the comprssions. Check you php memory limit. But be aware that even if you tell PHP to use lots of memory your server may decide to limit it to less.
It could also be a "noisy" connection, but usually the internet recovery algorithms take care of that.
Where do i check the allocated memory in zenphoto? I can't seem to find it. I have contacted my host to see what is allowed on there end.
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.
The memory limit should be as large as you can make it. But as said, just because you set it at something like 500M does not mean that the server will actually allow that much.
So, try upping it and see what happens. Also look at your CGI log and see what errors are shown.
Hi,
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?