icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » Gallery 2 Internal Server Error

PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >>

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old April 8th, 2008, 7:31 PM   #28 (permalink)
Registered User
Fresh Surpasser
 
Joined in Dec 2007
17 posts
Gave thanks: 2
Thanked 0 times
Thanks a million. I am off to do that.
__________________
http://ronankeatingnews.com
on Sh124
jusie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 9th, 2008, 10:33 AM   #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)
__________________
http://ronankeatingnews.com
on Sh124
jusie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 9th, 2008, 1:20 PM   #30 (permalink)
MHJ
Registered User
Fresh Surpasser
 
Joined in Apr 2008
9 posts
Gave thanks: 0
Thanked 0 times
Yes, the issue may very well be with the .htaccess file. Correct that particular problem and you may discover your fortune turned around
MHJ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 9th, 2008, 3:05 PM   #31 (permalink)
Race Surpass
Super #1
 
MarkRH's Avatar
 
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
This will at least allow the exec function to work.

Hope it helps,
Mark H.
MarkRH is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
These users thank MarkRH for this great post!
jusie (April 9th, 2008), Roxy (April 9th, 2008)
Old April 9th, 2008, 4:28 PM   #32 (permalink)
Registered User
Fresh Surpasser
 
Joined in Dec 2007
17 posts
Gave thanks: 2
Thanked 0 times
You are a star Mark. That has done the trick. I think everything's working again now, as far as I can tell. I can not thank you enough.
__________________
http://ronankeatingnews.com
on Sh124
jusie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 9th, 2008, 4:42 PM   #33 (permalink)
URB4N 5K1LLZ
Super #1
 
Roxy's Avatar
 
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,660 posts
Gave thanks: 81
Thanked 128 times
That's great news to hear! =D
__________________
Roxanne


Urban Roxy -Personal Blog
SH63 - the best darn shared server!
Roxy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On