Closed Thread
Results 1 to 6 of 6

Thread: $_SERVER['REMOTE_ADDR'] shows 2 IPs

  1. #1
    sudoking99 is offline x10Hosting Member sudoking99 is an unknown quantity at this point
    Join Date
    Aug 2011
    Posts
    5

    $_SERVER['REMOTE_ADDR'] shows 2 IPs

    I assume one of them is X-Forwarded-For, but the application I want to install (MediaWiki) throws an error if it's not a single IP address. What should I do?

  2. #2
    Skizzerz's Avatar
    Skizzerz is offline Contributors Skizzerz will become famous soon enough
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    2,153

    Re: $_SERVER['REMOTE_ADDR'] shows 2 IPs

    What is the error MediaWiki is showing?
    Ryan Schmidt | Level 2 Support
    █ 888-X10-9668 - ryan[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004
    Premium Hosting | VPS Services

  3. #3
    sudoking99 is offline x10Hosting Member sudoking99 is an unknown quantity at this point
    Join Date
    Aug 2011
    Posts
    5

    Re: $_SERVER['REMOTE_ADDR'] shows 2 IPs

    MediaWiki is showing a "Unable to Determine IP" error on installation

  4. #4
    sudoking99 is offline x10Hosting Member sudoking99 is an unknown quantity at this point
    Join Date
    Aug 2011
    Posts
    5

    Re: $_SERVER['REMOTE_ADDR'] shows 2 IPs

    Anyone know how to fix this issue? Can I turn off the XFF in REMOTE_ADDR?

  5. #5
    Skizzerz's Avatar
    Skizzerz is offline Contributors Skizzerz will become famous soon enough
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    2,153

    Re: $_SERVER['REMOTE_ADDR'] shows 2 IPs

    Can you paste the full output of the error message, including any stack traces? Also, what version of MediaWiki are you attempting to install?
    Ryan Schmidt | Level 2 Support
    █ 888-X10-9668 - ryan[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004
    Premium Hosting | VPS Services

  6. #6
    Bryon is offline Administrator Bryon has disabled reputation
    Join Date
    Apr 2005
    Location
    Northfield, NH
    Posts
    7,608

    Re: $_SERVER['REMOTE_ADDR'] shows 2 IPs

    This has been resolved.

Closed Thread

Similar Threads

  1. Replies: 3
    Last Post: 07-28-2010, 08:39 PM
  2. Replies: 3
    Last Post: 07-28-2010, 01:53 AM
  3. $REMOTE_ADDR stuff
    By Skilzat99X in forum Free Hosting
    Replies: 0
    Last Post: 12-02-2005, 06:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers