| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#1 (permalink) |
|
I <3 Amie Street. :)
Fresh Surpasser
Joined in Feb 2007
Lives in Florida
Hosted on sh114
8 posts
Gave thanks: 2
Thanked 0 times
|
Gallery2 and Safe Mode Restrictions.
It appears that with the safe mode restrictions turned on, it's nearly impossible to install Gallery2 outside of using Fantastico.
While I can install G2 this way, and get one running, I would prefer to use the multisite install method, so I can use one install of Gallery, host multiple Galleries, and when I need to update, only have to do it once. However! Whenever you try to do a install without Fantastico, or try to invoke the installer for multsite installation, you run into this error: Code:
Warning: putenv() [function.putenv]: Safe Mode warning: Cannot set environment variable 'LANG' - it's not in the allowed list in /home/__/public_html/__/galcore/modules/core/classes/GalleryTranslator.class on line 302 Warning: putenv() [function.putenv]: Safe Mode warning: Cannot set environment variable 'LANGUAGE' - it's not in the allowed list in /home/__/public_html/__/galcore/modules/core/classes/GalleryTranslator.class on line 303 |
|
|
|
|
|
#3 (permalink) |
|
I <3 Amie Street. :)
Fresh Surpasser
Joined in Feb 2007
Lives in Florida
Hosted on sh114
8 posts
Gave thanks: 2
Thanked 0 times
|
Thank you for the suggestion; However, switching safe mode off in php.ini does nothing for me -- I still receive the same errors, and I figure that this error is also why Gal2 is rejecting the code in login.txt, saying that it doesn't match at all.
|
|
|
|
|
|
#4 (permalink) |
|
Senior Member
Super #1
Joined in Nov 2003
Lives in New Hampshire
1,260 posts
Gave thanks: 3
Thanked 27 times
|
Take a look at "safe_mode_protected_env_vars" and "safe_mode_allowed_env_vars"
PHP: Safe Mode - Manual
__________________
![]() ![]() ![]() ![]() ![]() ![]()
|
|
|
|