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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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 2 Guests 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)