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
http://www.houstonbulldogs.com/info.php

PHP Version 4.3.10
safe_mode: Off
memory_limit: 8M

http://www.houstonbulldogs.com/gallery/install/
500 Internal Server Error

Error Log:
Premature end of script headers: php-script

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 '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

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.
Step 1. Click Next.
Step 2. Upload login.txt file. Click Authenticate Me. Message shows "Authentication successful!". Click Continue to Step 2. The error message "Error: your login.txt key does not match correctly. Please download a new authentication string from below and try again" appears. If I make the change to the info.txt file, and try again, the same thing happens. It says that it was successful, then gives the error.

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?

 
dillony

Joined: 2007-05-16
Posts: 6
Posted: Wed, 2007-05-16 17:51

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

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2007-05-17 02:11

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

 
dillony

Joined: 2007-05-16
Posts: 6
Posted: Thu, 2007-05-17 02:45

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.

 
dillony

Joined: 2007-05-16
Posts: 6
Posted: Fri, 2007-05-18 13:46

Any help would be greatly appreciated.

Thanks.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-05-18 15:17

it should work fine now.
please clear your browser's cookie cache.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
dillony

Joined: 2007-05-16
Posts: 6
Posted: Fri, 2007-05-18 16:24

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.

 
dillony

Joined: 2007-05-16
Posts: 6
Posted: Fri, 2007-05-18 18:08

I increase the memory to 16M in the php.ini and everything appears to be working fine now so far. Thanks for the help.