Hey, I am getting a few errors: Both at URL: /client/xmlrpc/index.php <b>WARNING:</b> Cannot modify header information - headers already sent by (output started at /client/rconfig.inc.php:401) in line 379 of file /home/caught/public_html/redhostsolutions.info/client/xmlrpc/ixr.inc.php <b>WARNING:</b> gethostbyaddr() [<a href='function.gethostbyaddr'>function.gethostbyaddr</a>]: Address is not a valid IPv4 or IPv6 address in line 1617 of file client/plugins/db/mysql/mysql.inc.php Any ideas? I am using aMember Remote. Also when some people (very rare) try to login on the remote site they get this: Warning: XMLRPC Error - -32700 : parse error. not well formed in /home/caught/public_html/amember_remote/common.inc.php on line 240 Thanks,
Have done, still getting errors. I am using this in the config file: $_SERVER['REMOTE_ADDR'] = $_SERVER[ 'HTTP_X_FORWARDED_FOR' ]; As suggested when aMember was logging the server IP for all users. Read on this forum (http://www.amember.com/forum/showthread.php?t=12065) that someone else was having this issue, their fix is already what I was given by Alex.
It seems that HTTP_X_FORWARDED_FOR have incorrect value then. Try to print it and check what value it have?
For instance try changing $_SERVER['REMOTE_ADDR'] = $_SERVER[ 'HTTP_X_FORWARDED_FOR' ]; to test$= $_SERVER[ 'HTTP_X_FORWARDED_FOR' ]; echo test$; exit; and what value is returned?