Advanced search  

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]

Pages: 1 [2]   Go Down

Author Topic: [Solved]: Undefined Index: SCRIPT_NAME, REMOTE_ADDR  (Read 51100 times)

0 Members and 1 Guest are viewing this topic.

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Re: Undefined Index: SCRIPT_NAME, REMOTE_ADDR
« Reply #20 on: June 11, 2004, 05:52:04 am »

Omni's looking for the server software name, too. i.e. Apache, ServerofDeath, etc.   
Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

dRfruitLOOP

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Undefined Index: SCRIPT_NAME, REMOTE_ADDR
« Reply #21 on: June 11, 2004, 05:55:27 am »

Oh ok, it's Apache as far as I know.
Logged

omniscientdeveloper

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 901
Re: Undefined Index: SCRIPT_NAME, REMOTE_ADDR
« Reply #22 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

Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Re: Undefined Index: SCRIPT_NAME, REMOTE_ADDR
« Reply #23 on: June 11, 2004, 05:59:40 am »

What is the PHP version number?
Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

dRfruitLOOP

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Undefined Index: SCRIPT_NAME, REMOTE_ADDR
« Reply #24 on: June 11, 2004, 06:09:10 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.
Logged

omniscientdeveloper

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 901
Re: Undefined Index: SCRIPT_NAME, REMOTE_ADDR
« Reply #25 on: June 11, 2004, 06:19:53 am »

which php version are you running?
Logged

dRfruitLOOP

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Undefined Index: SCRIPT_NAME, REMOTE_ADDR
« Reply #26 on: June 11, 2004, 06:24:28 am »

4.1.2
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Re: Undefined Index: SCRIPT_NAME, REMOTE_ADDR
« Reply #27 on: June 11, 2004, 06:27:34 am »

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.
Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

dRfruitLOOP

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: [Solved]: Undefined Index: SCRIPT_NAME, REMOTE_ADDR
« Reply #28 on: June 11, 2004, 06:35:57 am »

Just says "no value" in both columns.

Thanks again for all the help
-Garrett
Logged

omniscientdeveloper

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 901
Re: [Solved]: Undefined Index: SCRIPT_NAME, REMOTE_ADDR
« Reply #29 on: June 11, 2004, 06:45:43 am »

version: 4.3.6
mine says: variables_order = "EGPCS"
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Re: [Solved]: Undefined Index: SCRIPT_NAME, REMOTE_ADDR
« Reply #30 on: June 11, 2004, 06:50:04 am »

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.
Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)
Pages: 1 [2]   Go Up
 

Page created in 0.02 seconds with 19 queries.