| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#29 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Dec 2007
17 posts
Gave thanks: 2
Thanked 0 times
|
Well I'm back *cough*
Support got my gallery to show up again! The only thing that still wouldn't work was uploading images in a zip archive. I thought it would be a clever thing to uninstall and reinstall the "Archive Upload" plugin. Now after reinstalling it, Gallery asks me to configure it. I got the unzip thing off here and uploaded it to my server where its content is now unzipped in public_html/gallery/unzip/. (Although I assume the binary must already have been on there somewhere, because Gallery did use it previously for archive uploads?) Just what do I enter as "Path to unzip" in the Gallery module configuration? I keep getting the merror message " The path you entered isn't a valid path to an unzip binary." Does anyone know about this? I can not find any explanation online that actually makes sense to me =/ (By the way, my phpinfo file is now available here) |
|
|
|
|
|
#31 (permalink) |
|
Race Surpass
Super #1
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,222 posts
Gave thanks: 18
Thanked 86 times
|
That is most likely caused by the fact that the exec function is disabled, according to info.php's output, which would cause Gallery not to be able to run the unzip utility via command line.
You should be able to modify the /gallery/php.ini file and change (if it is already in there) or add the following line: Code:
disable_functions = shellexec, passthru, system, escapeshellcmd, escapeshellarg, allow_url_fopen Hope it helps, Mark H.
__________________
|
|
|
|