RE: Info-Zip error code 127.

Dave.Hein-23vaTmZV61u1Z/[email protected] Sun, 4 Jan 2004 05:06:27 -0600
Newsgroups gmane.comp.archivers.info-zip
Message-ID <0DBC479974970146A5D131BA899432DB01F4866B@houmail2.corp.aspentech.com>
Mike,

You are just going to have to debug this yourself.  Some things to try:

1. make sure the unzip command works OK on the server (telnet in and try it,
or write your own Perl or PHP script that tests it).
2. If it's a unix web server, try "which unzip" or "whence unzip" to find
out where the unzip utility is located and make sure the PHP script is
looking for it there.
3. Try putting some print statements in the PHP script to see where the
failure is; maybe it's not unzip that is producing that error code, maybe it
is something else in the script.
4. Try e-mailing the person who wrote the PHP script ... the website gives
his e-mail address.

I'd suggest posting here again IF and ONLY IF:

a. you can demonstrate that the PHP script is properly invoking unzip.exe
and 
b. that unzip.exe is actually the Info-ZIP unzip and
c. that you get the same error invoking unzip from the command line, or have
isolated the failure to a very simple test case easily reproduced by others
(without having to install m-zip.php).

--
Dave Hein

-----Original Message-----
From: Mike Jenkins [mailto:[email protected]]
Sent: Saturday, January 03, 2004 9:54 PM
To: [email protected]
Subject: [Info-ZIP] Info-Zip error code 127.


Hello

I am trying to get a PHP photo gallery script to work for my website, 
my server does not have ZZIPLIB installed and I recently stumbled 
across a PHP script which works without this libary being installed 
called m-zip, http://esurfers.com/m-zip/ 

I have followed all the instructions on that website and I am trying 
to use info-zip inconjunction with the script, however whenever I run 
the script I get error code 127. I have searched the internet but 
cannot find any documentation about this error code anywhere. Could 
someone please enlighten me as to what this means and how I would go 
about stopping it?

Many Thanks

Mike

_______________________________________________
Info-ZIP mailing list
[email protected]
http://lists.wku.edu/mailman/listinfo/info-zip