News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Warning: Undefined index: SCRIPT_NAME in ... init.inc.php

Started by Arrowhead, October 21, 2003, 05:45:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Arrowhead

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/

Joachim Müller


Arrowhead

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

Joachim Müller