Ready to get started?Download WordPress


[resolved] Problem with IP appearence (4 posts)

  1. tsklav
    Posted 1 year ago #

    I use wordpress 3.5.

    From the time that I updated the plugin to 2.82, the following message appears in the wp useronline page:

    Warning: gethostbyaddr() [function.gethostbyaddr]: Address is not in a.b.c.d form in C:\inetpub\wwwroot\wp-content\plugins\wp-useronline\template-tags.php on line 240

    and the ip that is shown to the user is like: fe80::8489:a6d8:2d89:4f97%11

    Do you know how to fix this problem?

    Thank you in advance


  2. scribu
    Plugin Author

    Posted 1 year ago #

    The problem is that gethostbyaddr() doesn't work with IPv6 addresses.

    In the development version it's not used anymore.

  3. tsklav
    Posted 1 year ago #

    Thank you very much for your quick answer.
    As I can see the development version resolves the warning message.

    But why the ip address of the user appears like: fe80::8489:a6d8:2d89:4f97%11 ?

    I have noticed the same behavior to another plugin (si-contact-form) regarding the IP address. Maybe it has to do with the 3.5 wordpress version?

    Thank you

  4. scribu
    Plugin Author

    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.