1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 A server error occurred. Please try again later.

Discussion in 'Troubleshooting and Problems' started by Overflame, Jun 10, 2015.

  1. Overflame

    Overflame New Member

    Can be closed.
     
    Last edited: Jun 10, 2015
  2. Mike

    Mike XenForo Developer Staff Member

    Can you reproduce this when you try to register?

    It appears that there may not be a _SERVER['REMOTE_ADDR'] value, which would indicate a bad edit or a weird server configuration issue (such as not passing the value through). It wouldn't spontaneously happen -- something would have to change to do this.
     
  3. Overflame

    Overflame New Member

    EDIT: This was very strange, this line was in config.php file:

    // FIX IP ADDRESS FOR PROXY
    $_SERVER['REMOTE_ADDR'] = $_SERVER['108.162.230.161'];

    After I removed it everything was working smoothly, that was scary...
    BTW, what the specified line do?


    Problem solved, also HTTPS seems to work perfectly after my VPS provider installed a trusted certificate.
     
    Last edited: Jun 10, 2015

Share This Page