Blank screen issue. Blank screen issue.
 

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

Blank screen issue.

Started by Lasivian, December 22, 2005, 04:57:15 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Lasivian

Can't get into index.php or most anything else.

Other PHP runs fine, not a server issue. (Had to repair a previous PHP4 install)

When I do "php index.php" from command line I get:

Notice: Undefined index:  REMOTE_ADDR in /usr/local/www/data/coppermine/include/init.inc.php on line 178

I'm running Apache/2.1.9 (FreeBSD) PHP/4.4.1

Thanks


Lasivian

I found this in another thread:

Quotetry replacing
Code:

$raw_ip = stripslashes($HTTP_SERVER_VARS['REMOTE_ADDR']);

with
Code:

$raw_ip = stripslashes($_SERVER["REMOTE_ADDR"]);

or
Code:

$raw_ip = stripslashes($_ENV["REMOTE_ADDR"]);

but it's stil al no-go.