• 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.

Mike

XenForo developer
Staff member
#2
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
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: