PDA

View Full Version : [already fixed] Unable to view users IP address in CP


shri
Fri 18th May '01, 11:41pm
The "IP Addresses" link results in an empty page being displayed.

The resulting HTML is


<html><head>
<META content="text/html; charset=windows-1252" http-equiv="Content-Type">
<link rel="stylesheet" href="../cp.css">
</head>
<body leftmargin="10" topmargin="10" marginwidth="10" marginheight="10">
</BODY></HTML>

shri
Fri 18th May '01, 11:46pm
I had to change the line


if ($HTTP_POST_VARS['action']=="doips") {


to


if ($action=="doips") {

Kier
Sat 19th May '01, 1:02am
In this one case, yes, that is the fix that we already implemented (we seem to have forgotten to post about it though...

Normally, do not ever change the $HTTP_POST_VARS['action'] to $action.

XerliX
Sun 20th May '01, 12:20am
Hi guys,

I just upgraded to rc 3 & have noticed the same blank gray screen accessing IP's

. My question is in which template is this implemented in please ?

Thanx again ;)

Later,

XerliX

Kode
Sun 20th May '01, 7:50pm
It is not in a template, do a search for it in /admin/user.php, mine was line 1221.

This fixed my problem as well, thank you.

Kode