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.
inflating: README
inflating: LICENSE
inflating: WHERE
inflating: unzip.txt
inflating: unzipsfx.txt
inflating: funzip.txt
inflating: zipinfo.txt
inflating: ziplimit.txt
inflating: README.NT
inflating: unzip.exe
inflating: funzip.exe
inflating: unzipsfx.exe
inflating: SFXWiz32.exe
inflating: unzipsfx-gcc.exe
inflating: SFXWiz32-gcc.exe

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
Skipping images.zip (zip support not enabled)

anyone be kind to help me with this please? individual upload works but is tedious.

PHP - PHP Version 5.1.1
mySQL - 4.1.9-nt
Windows 2003

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.

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Fri, 2006-02-10 16:02

Did you enable zip support in the config wizard?

 
etegration

Joined: 2003-10-06
Posts: 21
Posted: Fri, 2006-02-10 17:45
ckdake wrote:
Did you enable zip support in the config wizard?

is there a special settings i need to enabled? i see non and all those settings are entered in "Optional tools" within the Wizard.

 
etegration

Joined: 2003-10-06
Posts: 21
Posted: Sat, 2006-02-11 04:38

anyone?

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Sun, 2006-02-12 03:31

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?

 
etegration

Joined: 2003-10-06
Posts: 21
Posted: Sun, 2006-02-12 15:25
ckdake wrote:
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?

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?

 
etegration

Joined: 2003-10-06
Posts: 21
Posted: Sun, 2006-02-12 15:49

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!

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sun, 2006-02-12 21:53

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.

 
mrbendig

Joined: 2009-03-20
Posts: 1
Posted: Wed, 2009-04-15 08:11

Is this possible for gallery2 too? g2 didn't work with any unzipper i found ;(

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2009-04-15 16:01

Surely this works!

which did you found?

Jens
--
Gallery Developer