zipinfo/unzip/zip what to use for Windows 2003/ Gallery/ PHP and mySQL
etegration
Joined: 2003-10-06
Posts: 21 |
Posted: Fri, 2006-02-10 15:34 |
I've configured everything and Gallery is up and running but when i try to use zip functions, it's not possible. The closest help i tried finding was http://gallery.menalto.com/node/30353 and it ended with no real answer to help that poor guy Desmond. So from the start again: i visited http://www.mirrorservice.org/sites/ftp.info-zip.org/pub/infozip/WIN32/ and downloaded "[binary] unz552xN.exe 356.1K 28-Feb-2005" run it using ms dos from a windows xp machine and the following list of files are extracted: You betcha. I took unzip.exe and place it in my windows 2003 machine and call for it from Gallery (ver v1.5.2-pl2), it fails when i try to upload images compressed in a zip file. Error: Processing status... Processing file 'images.zip' as archive anyone be kind to help me with this please? individual upload works but is tedious. PHP - PHP Version 5.1.1 btw, i find info-zip.org is totally crap and is really confusing to navigate. i'll migrate to some guides i already have on my geeklog site when all is working. |
|
Posts: 2258
Did you enable zip support in the config wizard?
Posts: 21
is there a special settings i need to enabled? i see non and all those settings are entered in "Optional tools" within the Wizard.
Posts: 21
anyone?
Posts: 2258
My mistake, there isn't an option for it. Does the IIS user have execute permissions for the unzip binary? What happens if you turn on debug mode?
Posts: 21
i've turned "paranoid" debug on and it only returns:
Processing status...
util.php::984 -> Processing file: C:\PHP\uploadtemp\phpFB6.tmp
Processing file 'fireworks post.zip' as archive
Skipping fireworks post.zip (zip support not enabled)
more or less the same. anyone can help? Gallery admins don't really care about Windows servers users?
Posts: 21
yes yes yes! found it, it works for windows 2003 and apache too >> http://gallery.menalto.com/node/7545
basically edit
gallery_remote.php
gallery_remote2.php
util.php
save_photos.php
find anything that say -1 and replace it with -Z1 and good to go!
Posts: 6818
Hello,
this is strange.
i wonder why the windows binary has different params then the *nix.
Would you mind sending me an email about this ?
As a reminder for investigation.
Send it to: jens @ peino . de
Jens
--
Last Gallery v1 developer and translation manager.
Posts: 1
Is this possible for gallery2 too? g2 didn't work with any unzipper i found ;(
Posts: 6818
Surely this works!
which did you found?
Jens
--
Gallery Developer