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]   Go Down

Author Topic: Warning: Undefined index: SCRIPT_NAME in ... init.inc.php  (Read 7141 times)

0 Members and 1 Guest are viewing this topic.

Arrowhead

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Warning: Undefined index: SCRIPT_NAME in ... init.inc.php
« on: October 21, 2003, 05:45:18 pm »

Hi, I have installed CPG 1.1.0 and the installation process went well..
But starting up CPG I am getting the following error:

Warning: Undefined index: SCRIPT_NAME in /customers/rex/www/coppermine/include/init.inc.php on line 90

That line contains the following PHP-code:
$PHP_SELF = isset($HTTP_SERVER_VARS['REDIRECT_URL']) ? $HTTP_SERVER_VARS['REDIRECT_URL'] : $HTTP_SERVER_VARS['SCRIPT_NAME'];

I am a newbie

First I installed 1.2 but that gave me the same error, as far as I can remember in line 91 and 98 of the init.inc.php-file

The software-versions that runs on the server are:
PHP Version 4.1.2 with safe mode ON
MySQL Version 3.23.46
GD Version 1.6.2

Can somebody give me a hint how to solve this....

The URL of CPG is www.rexonline.nl/coppermine/
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

Arrowhead

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Warning: Undefined index: SCRIPT_NAME in ... init.inc.php
« Reply #2 on: October 21, 2003, 08:17:25 pm »

Quote from: "gaugau"
tried checking the faq? See http://coppermine.sourceforge.net/faq.php?q=ErrorUndefinedIndex#ErrorUndefinedIndex

GauGau



Thanks... the error disappeard... like I said... a newbie.... :D
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Warning: Undefined index: SCRIPT_NAME in ... init.inc.php
« Reply #3 on: October 22, 2003, 09:18:42 am »

that's why we have a faq!

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 18 queries.