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):
Posts: 32509
i use the zip.exe / unzip.exe from cygwin, never tried zipinfo...
Posts: 23
I am running Apache on windows 2003. It looks like cygwin is for linux only.
Posts: 32509
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.
Posts: 23
I am downloading them now but the entire package is huge. As soon as I get them I will try them out.
Thanks
Posts: 23
Installed the cygwin and found the zip.exe files and pointed setup to that still no good
Posts: 32509
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)
Posts: 2
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
Posts: 32509
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.
Posts: 3236
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
Posts: 32509
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...
Posts: 3236
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