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: Blank screen issue.  (Read 4656 times)

0 Members and 1 Guest are viewing this topic.

Lasivian

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Blank screen issue.
« on: December 22, 2005, 04:57:15 am »

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

Logged

Lasivian

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Blank screen issue.
« Reply #1 on: December 22, 2005, 05:47:39 am »

I found this in another thread:

Quote
try 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.