|
|
#1 (permalink) |
|
Searcher
Surpass Staff
Joined in May 2003
Lives in Orlando
24,513 posts
Gave thanks: 936
Thanked 788 times
|
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. |
|
|
|
|
|
#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.
|
|
|
|
|
|
#3 (permalink) |
|
Searcher
Surpass Staff
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. |
|
|
|
|
|
#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. |
|
|
|
|
|
#5 (permalink) |
|
Registered User
Comfy Contributor
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.
|
|
|
|
|
|
#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? |
|
|
|