500 Internal Server Error / Safe Mode Off / New Installation
dillony
Joined: 2007-05-16
Posts: 6 |
Posted: Wed, 2007-05-16 17:47 |
PHP Info PHP Version 4.3.10 http://www.houstonbulldogs.com/gallery/install/ Error Log: If I turn safe mode on, the install/index.php does at least appear, but it has this error at the top of the page. Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANGUAGE' - it's not in the allowed list in /home/virtual/site2/fst/var/www/html/gallery/modules/core/classes/GalleryTranslator.class on line 303 I've tried going through the steps with safe mode off. Currently I've got safe mode set to off. This is a brand new, clean installation. No changes have been made to any files. Any suggestions? |
|
Posts: 6
I'd like to also add the information from the error log whenever safe mode was set to on, in the scenario above.
PHP Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANG' - it's not in the allowed list in /home/virtual/site2/fst/var/www/html/gallery/modules/core/classes/GalleryTranslator.class on line 302
PHP Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANGUAGE' - it's not in the allowed list in /home/virtual/site2/fst/var/www/html/gallery/modules/core/classes/GalleryTranslator.class on line 303
PHP Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANG' - it's not in the allowed list in /home/virtual/site2/fst/var/www/html/gallery/modules/core/classes/GalleryTranslator.class on line 302, referer: http://www.houstonbulldogs.com/gallery/install/
PHP Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANGUAGE' - it's not in the allowed list in /home/virtual/site2/fst/var/www/html/gallery/modules/core/classes/GalleryTranslator.class on line 303, referer: http://www.houstonbulldogs.com/gallery/install/
PHP Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANG' - it's not in the allowed list in /home/virtual/site2/fst/var/www/html/gallery/modules/core/classes/GalleryTranslator.class on line 302, referer: http://www.houstonbulldogs.com/gallery/install/index.php?step=1&G2SETUPSID=845e22c091b2db2d1a06e07679734b0e
PHP Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANGUAGE' - it's not in the allowed list in /home/virtual/site2/fst/var/www/html/gallery/modules/core/classes/GalleryTranslator.class on line 303, referer: http://www.houstonbulldogs.com/gallery/install/index.php?step=1&G2SETUPSID=845e22c091b2db2d1a06e07679734b0e
PHP Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/virtual/site2/fst/var/www/html/gallery/modules/core/classes/GalleryTranslator.class:302) in /home/virtual/site2/fst/var/www/html/gallery/lib/support/GallerySetupUtilities.class on line 75, referer: http://www.houstonbulldogs.com/gallery/install/index.php?step=1&G2SETUPSID=845e22c091b2db2d1a06e07679734b0e
PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/virtual/site2/fst/var/www/html/gallery/modules/core/classes/GalleryTranslator.class:302) in /home/virtual/site2/fst/var/www/html/gallery/lib/support/GallerySetupUtilities.class on line 75, referer: http://www.houstonbulldogs.com/gallery/install/index.php?step=1&G2SETUPSID=845e22c091b2db2d1a06e07679734b0e
PHP Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANG' - it's not in the allowed list in /home/virtual/site2/fst/var/www/html/gallery/modules/core/classes/GalleryTranslator.class on line 302, referer: http://www.houstonbulldogs.com/gallery/install/index.php?step=1
PHP Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANGUAGE' - it's not in the allowed list in /home/virtual/site2/fst/var/www/html/gallery/modules/core/classes/GalleryTranslator.class on line 303, referer: http://www.houstonbulldogs.com/gallery/install/index.php?step=1
Posts: 32509
you don't have to try it any more with safe mode ON. g2 just doesn't work with safe mode enabled. (neither does g1)
@authentication step:
please ensure that the php session save path is correct and writeable.
FAQ: The installer does not accept my login.txt, what's wrong?
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 6
info.php shows:
session.save_path: /tmp
What should this path be? I didn't see any documentation referring to modifying this...
Also, I only see the installation information when safe mode is turned on. When it is turned off, as it is now, I can't get past the initial 500 Server Error problem.
Thanks.
Posts: 6
Any help would be greatly appreciated.
Thanks.
Posts: 32509
it should work fine now.
please clear your browser's cookie cache.
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 6
After my last post, I deleted everything and downloaded the typical version instead of the full version. The installation process then went smoothly without any problems. Now I've got a problem with adding albums. I'm going to search the board for resolutions to this new problem. Its the same 500 Server error.
Thanks.
Posts: 6
I increase the memory to 16M in the php.ini and everything appears to be working fine now so far. Thanks for the help.