[Solved]: Undefined Index: SCRIPT_NAME, REMOTE_ADDR - Page 2 [Solved]: Undefined Index: SCRIPT_NAME, REMOTE_ADDR - Page 2
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: Undefined Index: SCRIPT_NAME, REMOTE_ADDR

Started by dRfruitLOOP, June 10, 2004, 11:22:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hyperion

Omni's looking for the server software name, too. i.e. Apache, ServerofDeath, etc.   
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

dRfruitLOOP


omniscientdeveloper

Try changing HTTP_SERVER_VARS to _SERVER or _ENV
(although I doubt this will change anything, but it's worth a shot)

-omni


hyperion

"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

dRfruitLOOP

Quote from: omniscientdeveloper on June 11, 2004, 05:59:05 AM
Try changing HTTP_SERVER_VARS to _SERVER or _ENV
(although I doubt this will change anything, but it's worth a shot)

-omni



Using _ENV worked, thanks very much everybody.

omniscientdeveloper



hyperion

Good to hear that the problem is solved.  For our reference, could you look in your phpinfo and tell us what the 'variables_order' setting is?  It should be a sequnce of letters.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

dRfruitLOOP

Just says "no value" in both columns.

Thanks again for all the help
-Garrett

omniscientdeveloper

version: 4.3.6
mine says: variables_order = "EGPCS"

hyperion

Yes, this string activates or deactivates the various global variable types.  If I wanted to turn off $_ENV variables for my users, I would set it to GPCS.  In this case, PHP must be resorting to undocumented default settings for these variables since no directive is available in php.ini.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)