| 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
|
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
|
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
|
Take a look at "safe_mode_protected_env_vars" and "safe_mode_allowed_env_vars"
PHP: Safe Mode - Manual
__________________
Everyone has the ability to break a stereotype they're in, if they want. Except goths- they might actually be vampires - stay tuned for some science!!! |
|
|
|
![]() |
| Tags |
| functions, safe mode |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|