forum.coppermine-gallery.net

Support => Older/other versions => cpg1.1.X Support (standalone) => Topic started by: Arrowhead on October 21, 2003, 05:45:18 pm

Title: Warning: Undefined index: SCRIPT_NAME in ... init.inc.php
Post by: Arrowhead 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/
Title: Warning: Undefined index: SCRIPT_NAME in ... init.inc.php
Post by: Joachim Müller on October 21, 2003, 07:19:09 pm
tried checking the faq? See http://coppermine.sourceforge.net/faq.php?q=ErrorUndefinedIndex#ErrorUndefinedIndex

GauGau
Title: Warning: Undefined index: SCRIPT_NAME in ... init.inc.php
Post by: Arrowhead 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
Title: Warning: Undefined index: SCRIPT_NAME in ... init.inc.php
Post by: Joachim Müller on October 22, 2003, 09:18:42 am
that's why we have a faq!

GauGau