Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

Forum Management Need help with IPB, installed using xampp

views
     
JusticeDeserves
post Feb 16 2010, 05:42 PM

Regular
******
Senior Member
1,914 posts

Joined: Aug 2009


IPB checks for a valid IP, then allows you to install it.
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 tongue.gif but I remember there was something like that where they validate the ipb before allowing you to use 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();
  }


This post has been edited by JusticeDeserves: Feb 16 2010, 05:51 PM
JusticeDeserves
post Feb 16 2010, 07:34 PM

Regular
******
Senior Member
1,914 posts

Joined: Aug 2009


QUOTE(stereokumonomu @ Feb 16 2010, 07:28 PM)
do i need to delete the code?...
*
just add
$_SERVER['REMOTE_ADDR'] = 122.121.123.222;
above that piece of code or you could just delete it. Do it at your own risk.

 

Change to:
| Lo-Fi Version
0.0141sec    0.27    7 queries    GZIP Disabled
Time is now: 15th December 2025 - 01:24 AM