Resolved Help again zp cart

radmanmike

Joined: 2005-07-21
Posts: 23
Posted: Wed, 2005-08-03 10:54

I have now installed gallery 2 on a apache server and I am getting this error when I try and install the zip cart.

I can execute the zip.exe from a command prompt as listed below.

Executing: cmd /c " "c:\apachefriends\xampp\cgi-bin\Zipinfo\zip.exe"
"C:\apachefriends\xampp\htdocs\Gallery2\g2data\tmp\zip14.tmp.zip"
"C:\apachefriends\xampp\htdocs\Gallery2\modules\zipcart\ZipCartAdmin.inc"
2> "C:\apachefriends\xampp\htdocs\Gallery2\g2data\tmp\g2d15.tmp" "
file_exists(C:\apachefriends\xampp\htdocs\Gallery2\g2data\tmp\g2d15.tmp)
filesize(C:\apachefriends\xampp\htdocs\Gallery2\g2data\tmp\g2d15.tmp)
fopen(C:\apachefriends\xampp\htdocs\Gallery2\g2data\tmp\g2d15.tmp, r, 0)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fgets(Resource id #57, 4096)
feof(Resource id #57)
fclose(Resource id #57)
unlink(C:\apachefriends\xampp\htdocs\Gallery2\g2data\tmp\g2d15.tmp)
Regular Output:
Error Output:
The system cannot execute the specified program.
Status: 1 (expected 0)

----

Gallery URL (optional):
Gallery version:gallery 2 beta 4
Webserver (with version):Apache 2
Datatabase (with version):mysql 4
PHP version (eg 4.2.1):PHP5
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:
G1 version (for migration bugs):

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-08-03 11:30

i use the zip.exe / unzip.exe from cygwin, never tried zipinfo...

 
radmanmike

Joined: 2005-07-21
Posts: 23
Posted: Wed, 2005-08-03 12:36

I am running Apache on windows 2003. It looks like cygwin is for linux only.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-08-03 12:41

no, cygwin is for emulating linux on windows.
i've used the cygwin binaries on my windows xp box. i'd assume it works also for win 2003.

 
radmanmike

Joined: 2005-07-21
Posts: 23
Posted: Wed, 2005-08-03 15:29

I am downloading them now but the entire package is huge. As soon as I get them I will try them out.

Thanks

 
radmanmike

Joined: 2005-07-21
Posts: 23
Posted: Wed, 2005-08-03 21:03

Installed the cygwin and found the zip.exe files and pointed setup to that still no good

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-08-04 09:35

when you start cywgin, can you zip / unzip in the cygwin shell?
(you could as well open a windows command line and try it there)

 
Holofect

Joined: 2005-07-09
Posts: 2
Posted: Sat, 2005-10-22 10:51

Use the zip.exe from this package. It works. I searched a while for this. I don't understand why people want you to install cygwin just to get Gallery2 module to work in Windows. I run Windows 2000 server. Hope this helps.

http://mirror.switch.ch/ftp/mirror/infozip/WIN32/zip231xN.zip

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-10-22 12:14

because i know that the zip / unzip binaries from cygwin work with G2. never tried the infozip ones and saw a lot of issues with them.

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Sat, 2005-10-22 15:42

I am also unsure why you would use cygwin binaries to get zip/unzip functionality in windows? Why not just find some win32 zip/unzip binaries that work nativly? It can't be that hard? Chances are pretty good it would be as simple as renaming the "zip.exe" to "unzip.exe" and testing, since for the most part they both do the same thing but via different command line switches?
_________________________________
Support & Documentation || Donate to Gallery || My Website

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-10-22 15:48

feel free to change the docs on codex, just make sure that the recommended binaries actually work with g2 and that the docs are clear enough...

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Sun, 2005-10-23 05:05

I don't even have a winblows iis/apache + php to test on soooo... I'll leave it!
_________________________________
Support & Documentation || Donate to Gallery || My Website