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 » PHPsuexec » Gallery Tips Thread

PHPsuexec Information and tips

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old March 14th, 2006, 6:02 AM   #1 (permalink)
Searcher
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Orlando
24,513 posts
Gave thanks: 936
Thanked 788 times
Lightbulb Gallery Tips Thread

Support may need to chmod your albums and images folders back to your user-id & group. This is because when they were created before phpsuexec they had the user-id & group of nobody.

Please post a support ticket to get these changes made if your Gallery is not functioning properly.

http://codex.gallery2.org/index.php/Gallery2:Security:
If PHP is run under your user, we can remove all filesystems for other users. * Set the permissions of config.php to 400 (read permission for the owner/you, no permissions for anyone else). * Set the permissions of g2data to 700 (read+write+execute permissions for owner/you, no permissions for anyone else). Apply the permissions recursively (also for all subfolder, files, ...). * In G2 site admin -> general, set the permissions for new directories to 700 and the permissions for new files to 600.
__________________
Follow Surpass on Twitter and Facebook
Check out interesting finds on the Surpass Blog
.... it's coming.


Kayla is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 26th, 2006, 9:37 PM   #2 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jan 2004
13 posts
Gave thanks: 0
Thanked 0 times
Does anyone else have any trouble with Gallery 2? None of my images are showing up -- they are all broken images. Just wondering what tweaks, if any, are needed after using Fantastico to install.
jmania is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 26th, 2006, 10:31 PM   #3 (permalink)
Searcher
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Orlando
24,513 posts
Gave thanks: 936
Thanked 788 times
Hi,

This thread is about running Gallery on a phpsuexec enabled server. You may or may not be on a server like this.

If you can give the URL of where your install is located, we can help you troubleshoot the problem.
__________________
Follow Surpass on Twitter and Facebook
Check out interesting finds on the Surpass Blog
.... it's coming.


Kayla is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 13th, 2006, 12:39 AM   #4 (permalink)
Registered User
Fresh Surpasser
 
Joined in Nov 2004
3 posts
Gave thanks: 0
Thanked 0 times
Anyone figure out how to upload images larger than 2MB? Here's my php.ini which I put in the gallery directory and the gallery/setup directory

magic_quotes_gpc = Off
register_globals = off
MAX_EXECUTION_TIME = 2400
MEMORY_LIMIT = 128M
POST_MAX_SIZE = 128M
UPLOAD_MAX_FILESIZE = 128M

I'm using Gallery v1.53.

I tried what this article says:
http://marc.theaimsgroup.com/?l=gall...9601604892&w=2
But I don't think I can do step 2 and step 3 doesn't have that value in the add_photos.php anymore. So, I went into config.php and uped the value in there. This shouldn't be this hard....

oh I'm on sea which is a phpsuexec server

Anyone have any ideas?

Last edited by richlee91; May 13th, 2006 at 12:45 AM.
richlee91 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 13th, 2006, 9:09 AM   #5 (permalink)
Registered User
Comfy Contributor
 
Z`ohki's Avatar
 
Joined in Aug 2005
Lives in Netherlands
Hosted on Pass48
124 posts
Gave thanks: 0
Thanked 0 times
That php.ini file needs to be in the directory where the script resides add_photos.php is as well. The scripts will only use the php.ini file when they are together in the same folder. I already asked, can't be changed otherwise.
Z`ohki is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 14th, 2006, 10:33 PM   #6 (permalink)
Registered User
Fresh Surpasser
 
Joined in Nov 2004
3 posts
Gave thanks: 0
Thanked 0 times
Ok I copied the php.ini into every directory in gallery. I still get the invalid image error when I try to upload a picture greater than 2 MB.

Any ideas?

Is this a gallery issue, my issue or a host issue? Would I have this problem with another hosting company?
richlee91 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