Cart to ZIP file crashes if zip file reaches 4MB or more

jonjor

Joined: 2009-01-21
Posts: 6
Posted: Wed, 2011-06-08 16:25

Hi guys,

I have had my gallery installation running for about two years. As far as I know the ZIP function has been working flawlessly but now I have been getting complaints that it doesn't work. This could partly be because my albums are now bigger, sometimes with videos.

I have tried for two days now, reading on the forum and trying different settings but problem remains. I can add items to the cart and download as zip as long as the zip is smaller then 4MB.

There is currently two Gallery's on the server, one is version 2.3.0 and it does not give me any warning messages. It lets me save the zip file but it is corrupted if it were supposed to be over 4MB. The other gallery I have just updated to 2.3.1 and it gives me an error saying:

Quote:
Platform Error

An error has occurred while interacting with the platform.
The exact nature of the platform error is unknown. A common cause are insufficient file system permissions. This can happen if you or your webhost changed something in the file system, e.g. by restoring data from a backup.

Back to the Gallery
Error Detail -
Error (ERROR_PLATFORM_FAILURE)
in modules\zipcart\classes\ZipCartPlugin.class at line 204 (GalleryCoreApi::error)
in modules\cart\ModifyCart.inc at line 119 (ZipCartPlugin::fulfillCart)
in main.php at line 250 (ModifyCartController::handleRequest)
in main.php at line 104
in main.php at line 88
System Information Gallery version 2.3.1
PHP version 5.2.8 isapi
Webserver Microsoft-IIS/6.0
Database mysqli 5.1.30-community
Toolkits ImageMagick, NetPBM, Gd
Operating system Windows NT SERVER 5.2 build 3790
Browser Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.10

I have tried to change file permissions, IUSR_server, IWAM_server and IIS_wpg has full rights on the wwwroot directory where Gallery 2 installation is, and on the folder where the images are.

I am guessing that the zip function uses a TMP folder to create the zip file in but probably somewhere under these folders right?

PHP memory_limit is set to 600M and output_buffering = Off. zip version is 1.0.15 and cart version 1.0.12

Hope someone can point me in the right direction!

Thanks,
Jorgen

---------------------------------
Server: WHS, AMD X2 3800, 2GB ram, 1TB HD. PHP 5.2.8, MYSQL 5, G2.3.1