zip binary problem
paullv
Joined: 2005-02-24
Posts: 22 |
![]() |
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? ---- |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
try using zip from a command prompt and make sure it works. |
|
crux
Joined: 2002-12-06
Posts: 61 |
![]() |
take a look at my post: 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. |
|
paullv
Joined: 2005-02-24
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. |
|
LFrank
Joined: 2005-02-19
Posts: 1023 |
![]() |
did you allow ISuser to "execute" it? |
|
ClimbingMonkey
Joined: 2005-03-18
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... |
|
jrandall
Joined: 2005-03-15
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 |
|
bharat
![]()
Joined: 2002-05-21
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. |
|
ClimbingMonkey
Joined: 2005-03-18
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. |
|
ClimbingMonkey
Joined: 2005-03-18
Posts: 62 |
![]() |
Here's my debug... Executing: cmd /c " "E:\Inetpub\Gallery\data\zip\zip.exe" 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 |
|
holziusa
Joined: 2004-02-09
Posts: 1 |
![]() |
zip/unzip issue specs are |
|