I got the solution for this problem ![enlightened enlightened](https://www.question2answer.org/qa/qa-plugin/wysiwyg-editor/ckeditor/plugins/smiley/images/lightbulb.png)
all you have to do is to edit the qa-base.php you can find the file in: (qa/qa-include/qa-base.php)
and search for function qa_remote_ip_address()
and replace this lines
{
if (qa_to_override(__FUNCTION__)) { $args=func_get_args(); return qa_call_override(__FUNCTION__, $args); }
return isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : null;
}
with this lines
{
$ipaddress = '';
if (getenv('HTTP_CLIENT_IP'))
$ipaddress = getenv('HTTP_CLIENT_IP');
else if(getenv('HTTP_X_FORWARDED_FOR'))
$ipaddress = getenv('HTTP_X_FORWARDED_FOR');
else if(getenv('HTTP_X_FORWARDED'))
$ipaddress = getenv('HTTP_X_FORWARDED');
else if(getenv('HTTP_FORWARDED_FOR'))
$ipaddress = getenv('HTTP_FORWARDED_FOR');
else if(getenv('HTTP_FORWARDED'))
$ipaddress = getenv('HTTP_FORWARDED');
else if(getenv('REMOTE_ADDR'))
$ipaddress = getenv('REMOTE_ADDR');
else
$ipaddress = 'UNKNOWN';
return $ipaddress;
}
this code works fine with me ![smiley smiley](https://www.question2answer.org/qa/qa-plugin/wysiwyg-editor/ckeditor/plugins/smiley/images/regular_smile.png)