Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

Forum Management Need help with IPB, installed using xampp

views
     
TSstereokumonomu
post Feb 10 2010, 07:37 PM, updated 16y ago

On my way
****
Senior Member
606 posts

Joined: Sep 2008



Ive installed IPB on my locathost using xampp,
everything went well during the installation.

my problem is, everytime i try to access http://localhost/forum/index.php , i got an error "Could not determine your IP address"
but when i change the url to http://127.0.0.1/forum/index.php , theres no problem and i can access the ipb. but i got the same error again when i click any link.

any expert can give advice?

greatly appreciate it, thanks!
sunsuron
post Feb 10 2010, 07:45 PM

Regular
******
Senior Member
1,334 posts

Joined: Nov 2004



your hosts file probably corrupted? Open DOS and type:
CODE

nslookup localhost

copy paste the result here.
TSstereokumonomu
post Feb 10 2010, 07:55 PM

On my way
****
Senior Member
606 posts

Joined: Sep 2008



it says "can't find localhost : Non-existent domain"

but if i change the url "localhost" to "127.0.0.1", everything is ok

ive googled, and found out it have something to do with CHMOD values.
how to change this?
Icehart
post Feb 10 2010, 08:42 PM

72.55.191.6
********
All Stars
14,899 posts

Joined: Apr 2005
From: Kuala Lumpur & Selangor


Change your board URL in conf_global.php to 127.0.0.1?
TSstereokumonomu
post Feb 10 2010, 10:23 PM

On my way
****
Senior Member
606 posts

Joined: Sep 2008



QUOTE(Icehart @ Feb 10 2010, 08:42 PM)
Change your board URL in conf_global.php to 127.0.0.1?
*
well that wont help really help though, cause i would like it to stay with the localhost URL

but thanks, smile.gif
sunsuron
post Feb 11 2010, 02:50 PM

Regular
******
Senior Member
1,334 posts

Joined: Nov 2004



QUOTE(stereokumonomu @ Feb 10 2010, 07:55 PM)
it says "can't find localhost : Non-existent domain"

but if i change the url "localhost" to "127.0.0.1", everything is ok

ive googled, and found out it have something to do with CHMOD values.
how to change this?
*
Not enough info to debug. Paste the whole thing here.
TSstereokumonomu
post Feb 16 2010, 05:24 PM

On my way
****
Senior Member
606 posts

Joined: Sep 2008



QUOTE(sunsuron @ Feb 11 2010, 02:50 PM)
Not enough info to debug. Paste the whole thing here.
*
Attached Image

what really is the problem here,

thanks
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
TSstereokumonomu
post Feb 16 2010, 07:28 PM

On my way
****
Senior Member
606 posts

Joined: Sep 2008



do i need to delete the code?...


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.
Zepx
post Feb 16 2010, 09:43 PM

Regular
******
Senior Member
1,232 posts

Joined: Dec 2005
Seems like their code has changed... they now validate your IP
techies_kid
post Feb 16 2010, 10:27 PM

Casual
***
Junior Member
341 posts

Joined: Sep 2008


hehe just offtopic question sorry ya TS.

Do u pay for legal ipb? what version and how much price?tq
TSstereokumonomu
post Feb 17 2010, 12:03 AM

On my way
****
Senior Member
606 posts

Joined: Sep 2008



im using an ipb given by my friend, he said that its licensed...
version 3.2 iinm.




 

Change to:
| Lo-Fi Version
0.0188sec    1.12    6 queries    GZIP Disabled
Time is now: 14th December 2025 - 08:35 AM