(Resolved w/ Fix) Zip uploads in Windows

wstahlhut

Joined: 2005-09-11
Posts: 2
Posted: Sun, 2005-09-11 14:58

Trying to get zip uploads working and am running into a small snag; when I try and upload a file I get the following error

Executing:
D:\netpbm\unzip.exe -1 C:\PHP\uploadtemp\phpEDA.tmp

Results:
none

Debug messages: 


Status: 10 (expected 0)
 

The Issue I see is that the infozip unzip nolonger supports the -1 command it instead needs '-Z'. when I go to the command line and run the command with -Z instead of -1 is does unzip the file...

I had to switch from running php as CGI to isapi to get the error message, because when running as CGI all I get is a CGI timeout error...

Suggestions?

----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version: 1.5 pl1
Apache version: IIS 6 isapi PHP
PHP version (don't just say PHP 4, please):5.0.5
Graphics Toolkit: imagemagik
Operating system: W2k3
Web browser/version (if applicable):

 
wstahlhut

Joined: 2005-09-11
Posts: 2
Posted: Sun, 2005-09-11 20:08

http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=7376&highlight=unzip

This link has the basic info on how to fix it... this a gallery bug with the current version of info-zip's unzip as the infozip.exe program is no longer included.

to resolve in 1.5.1 pl1 is on line of 2097 chance the -1 to -Z1