![]() |
|
Call to undefined function: zip_open() - 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: Call to undefined function: zip_open() (/thread-944.html) |
Call to undefined function: zip_open() - teletom - 2006-12-08 Hi, could it be, that zenphoto 1.0.3 has problems with zlip 1.2.2 ??? zenphoto works great on this one - without ANY problems! server two: zenphoto works but I'm not able to upload zip-files (Fatal error: Call to undefined function: zip_open() in /home/www/web193/html/schabanack/zenphoto/zen/functions.php on line 137) I tried the "hacked" functions.php from here - without success... any ideas? Call to undefined function: zip_open() - trisweb - 2006-12-09 The new functions.php is likely not compatible with that old one... you'll have to find the specific line and replace it. I really should integrate that as another option, I will look into it. For now though, it requires zip file support in PHP. Ask your host if they can add it, or use FTP, which is almost easier! (BTW -- Zlib is not the same-- it is for gzip support, unfortunately not the same thing). Call to undefined function: zip_open() - AlexWilson - 2007-03-11 FYI: I just ran into this problem -- my host doesn't have the library for zip installed. When uploading a zip I'd get an error. The fix was to add this code to functions.php: function ShellFix($s) $lines = Array(); This works, but when running code with this addition in my local dev environment (which has the zip lib), I get an error that I can't redefine zip_open. I'm assuming that if I wrap the calls in a function_exists() check, I should be all good -- that change plus this code might be a good addition to the main codeline. Call to undefined function: zip_open() - trisweb - 2007-03-12 Integrating that sounds like a good idea, I'd add more checks to the output of popen though, to make sure the process returns a valid zip and no stderror, etc. Also, I'm curious as to where the Ah, and then there's the problem of Windows servers, which just won't do this. Another check. Cool, I think we can do all that... |