View Full Version : Zip file creation size limit?
March 15th, 2008, 02:03 PM
When a favorites section has more than 2MB of data, the "download as zip" function won't save more that 2MB (you get an error message). Is this a setting I can change in my php.ini?
March 15th, 2008, 07:44 PM
You can set your php max upload size to a higher setting. I was unaware of this affecting downloads though.
March 16th, 2008, 05:00 AM
It's related to the memory limit of a php process, not tot the max upload size. The zip file is created in memory, so an error will occur if the total filesize exceeds the memory limit. That makes this function unusable for larger albums with more than a few photos.
March 16th, 2008, 11:12 AM
In pp-inc.php you can try adding in bold this line where noted.
error_reporting (E_ALL ^ E_NOTICE);
March 16th, 2008, 08:33 PM
I'll try that, Chuck.
It does look like I'm running out of physical memory on the server itself. The number of bytes listed is exactly the size of my server's memory - 2GB. I've ordered a RAM upgrade.
Thanks all! :)
March 16th, 2008, 08:34 PM
Not a problem enjoy your weekend.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.