Blank screen issue. Blank screen issue.
 

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]

Main Menu

Blank screen issue.

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

Previous topic - Next topic

0 Members and 1 Guest 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.