Try setting this:
$_SERVER['REMOTE_ADDR'] = 122.121.123.222;
in the config page.
So thats the IP recognized by IPB which is valid.
Note: I havent tried it
Added on February 16, 2010, 5:51 pmHere is the line of code that checks the IP in /sources/base/ipsRegistry.php
CODE
//-----------------------------------------
// Make sure we take a valid IP address
//-----------------------------------------
if ( ( ! self::instance()->ip_address OR self::instance()->ip_address == '...' ) AND ! isset( $_SERVER['SHELL'] ) AND $_SERVER['SESSIONNAME'] != 'Console' )
{
print "Could not determine your IP address";
exit();
}
// Make sure we take a valid IP address
//-----------------------------------------
if ( ( ! self::instance()->ip_address OR self::instance()->ip_address == '...' ) AND ! isset( $_SERVER['SHELL'] ) AND $_SERVER['SESSIONNAME'] != 'Console' )
{
print "Could not determine your IP address";
exit();
}
This post has been edited by JusticeDeserves: Feb 16 2010, 05:51 PM
Feb 16 2010, 05:42 PM
Quote
0.0141sec
0.27
7 queries
GZIP Disabled