![]() |
|
album-zip.php gives me a HTTP error 500 - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: album-zip.php gives me a HTTP error 500 (/thread-8844.html) |
album-zip.php gives me a HTTP error 500 - tunafish - 09-07-2011 When trying to create a zipfile with I get a 500 status: Internal Server Error What's more.. when I point to a non existing album like
album-zip.php gives me a HTTP error 500 - sbillard - 09-07-2011 500 errors are almost always related to server configurations. In the case of a direct link as you have tried above it is most likely caused by the file permissions of the script or the folder not allowing execution. You should check the permissions on the specific script file. Also report back on any warnings that setup gave when you installed. album-zip.php gives me a HTTP error 500 - tunafish - 11-07-2011 Still nothing.. my admin-zip.php is set to 777 and so is the zp-core folder. I am writing cached images just fine. Setup Log:[i] Zenphoto Setup v1.4.1.1[7644] Fri, 08 Jul 2011 11:10:10 +0200
I have no clue what's going on. album-zip.php gives me a HTTP error 500 - tunafish - 11-07-2011 Actually, I see why it doesn't do that accessing the direct link.. because the Gallery class is not imported, right? Ok on the downloadList.php docs: Quote:void printDownloadLinkAlbumZip( [ $linktext = ''], [ $albumobj = ''] ) ` album-zip.php gives me a HTTP error 500 - acrylian - 11-07-2011 Of course both function calls as you used them do not show anything. Please read this to learn some PHP basics of how to set parameters: Btw, to save you some work, just use: The downloadlist plugin is not required for this and just provides an download count and a "masked" download link. album-zip.php gives me a HTTP error 500 - tunafish - 11-07-2011 Hi acrylian, it's just that the param type is not specified in the documentation, that's why I tried with
But clicking on the link results in a blank http://localhost/zenphoto/zp-core/album-zip.php?album=011140 No zip is created in any of the folders?? album-zip.php gives me a HTTP error 500 - sbillard - 11-07-2011 Do you get any errors now? Creating a zip of an album might just be more resource intensive than your server provides. album-zip.php gives me a HTTP error 500 - acrylian - 11-07-2011 I am not familiar how the zip libary - an adaption actually - works. Maybe it is somehow dependent on the PHP zip module being installed and that is missing. I could not find anything on the file documentation at first glance though. It is a little old already (2009) in computer terms as well... album-zip.php gives me a HTTP error 500 - acrylian - 11-07-2011 I did some quick research, our 2.8.2 version from 2009 of the pclzip libary is indeed the latest. However, on the FAQ I found only this entry: Quote:Q1 : While creating an archive with PclZip, the script terminates with an empty created zip archive, why ? The behavior was encounter while the zlib extension is not enabled with the PHP installation. PclZip uses the compression functions from the zlib. In next releases of PclZip (1.1+) a systematic control of the zlib presence will be done. album-zip.php gives me a HTTP error 500 - tunafish - 11-07-2011 mmm in my log: album-zip.php gives me a HTTP error 500 - sbillard - 11-07-2011 The above error has been fixed in the nightly builds. album-zip.php gives me a HTTP error 500 - tunafish - 11-07-2011 Thanks sbillard! Anyway, with the "enable persistent archives" option checked and using album-zip.php gives me a HTTP error 500 - sbillard - 11-07-2011 I believe it goes into the folder that contains the album. {edit] 1.4.1.1 is the latest release build, but the Trunk nightly builds contain any fixes generated post the release. |