I have download zip and unzip dlls from info-zip, i place it in a folder, and do config at g2 admin, enter path in zip download setting, it comes "Unable to create a zip file from this binary", where can i download usable zip/unzip dlls for G2 in windows?
----
Gallery URL (optional):
Gallery version:G2 - gallery2_03-07-2005
Webserver (with version):Apache 2
Datatabase (with version):Mysql 4.1
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:win 2k
Web browser/version:firefox 1.0
G1 version (for migration bugs):
Posts: 8601
try using zip from a command prompt and make sure it works.
Posts: 61
take a look at my post:
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=27184
use the manual command listed in the post. If the error is like the one I got, I included the solution. If it's not, past whatever error you get in this topic.
Posts: 22
I try the DOS version and 98/NT version of zip and unzip, all fail!
I also try using it at command prompt and zip file was created.
Posts: 1023
did you allow ISuser to "execute" it?
Posts: 62
I am also having this same problem. I'm running 2003 Server, IIS 6, Php 4.3.10, and MySQL 4.1.10. I have a totally stock install of Gallery2 that I grabbed from CVS.
I have also downloaded the necessary zip and unzip exe's and placed them in my "data" directory. (as per another post) I have given "Everyone" full permissions on this dir and the exe's, and they work perfect from the command line. I have also tried giving the various IIS accounts full perms as well with no luck.
When I put the full path (E:\Inetpub\Gallery\data\zip\zip.exe) I get the "Unable to create a zip file from this binary" message. Is this a issue with Windows platforms maybe? I'm at a loss and would appreciate any guidance.
Thanks, and this is my first post to these boards...
Posts: 5
maybe its an issue with the zip exe, i downloaded one earlier that didnt work correctly.
see this post and look at the bottom for which file i used.
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=27606
Posts: 7994
I just committed some code that will show you the debug output when it tries to test the zip binary. Get the next nightly and try again, then cut/paste the debug output you see in here and we'll figure it out.
Posts: 62
jrandall - I do have the 132kb exe... I saw that post as well
bharat - Okay, I'll grab the latest from CVS tonight and post the results here. Oh and normally I would have tried to check the logs etc but I play in the shallow end of the pool when it comes to php and MySQL. Thanks, and I will follow up on this tonight or Monday.
Posts: 62
Here's my debug...
Executing: cmd /c " "E:\Inetpub\Gallery\data\zip\zip.exe"
"e:\inetpub\Gallery\data\tmp\zip17A.tmp.zip"
"e:\inetpub\wwwroot\gallery\modules\zipcart\Admin.inc" 2>
"e:\inetpub\Gallery\data\tmp\g2d17B.tmp" "
file_exists(e:\inetpub\Gallery\data\tmp\g2d17B.tmp)
filesize(e:\inetpub\Gallery\data\tmp\g2d17B.tmp)
unlink(e:\inetpub\Gallery\data\tmp\g2d17B.tmp)
Regular Output:
Error Output:
Status: -1 (expected 0)
Looks to me to be a perm issue on the tmp dir... I bet the IIS user needs exe privs on the tmp folder. I will apply necessary perms and update this post.
Update: no dice on the permissions change. the tmp folder is essentially created by the iis user for gallery2. and hence full perms. a 777 in *nux land. I also moved the exe's to the tmp dir with no luck, and allowed script s AND executables in my IIS setup. no luck ther either...
-m
Posts: 1
zip/unzip issue
what is the version number i am to use with winxp, looking here
http://www.info-zip.org/pub/infozip/UnZip.html
there are many different versions and no one is referring to the one that works
by name
creating a unzip and zipinfo directory what are the files to be located
in each folder by excact name and version?
specs are
winxp
g2