Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WP-LiveChat

    (@wp-livechat)

    Hi Abdullah

    So sorry about that.

    We’ll have this fixed in the next update we release.

    My apologies for any inconvenience caused.

    Thread Starter AbdullahRamzan

    (@smart_abi)

    Hi,

    No problem, can you have a solution for this issue. Let me know so I can fix this issue by own.

    Regards

    Abdullah

    Plugin Author WP-LiveChat

    (@wp-livechat)

    Hi Abdullah

    Please update to version 6.0.04 and let me know if this helps?

    Thread Starter AbdullahRamzan

    (@smart_abi)

    Hi,

    Still facing this issue after updating plugin.

    Regards

    Abdullah

    Plugin Author WP-LiveChat

    (@wp-livechat)

    Hi Abdullah.

    Please go to ‘wp-live-chat-support/wp-live-chat-support.php’ and scroll down to approximately line 1259 where you will find a block of code that looks like this:

    if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
              $ip_address = $_SERVER['HTTP_X_FORWARTDED_FOR'];
          } else {
              $ip_address = $_SERVER['REMOTE_ADDR'];
          }

    Please replace it with the following and let me know if this helps?

    if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '') {
              $ip_address = $_SERVER['HTTP_X_FORWARDED_FOR'];
          } else {
              $ip_address = $_SERVER['REMOTE_ADDR'];
          }
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Undefined index: HTTP_X_FORWARTDED_FOR & session_start(): Cannot send session ca’ is closed to new replies.