Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • So after some play around, i managed to find a solution:

    Line 127 of the ip-ban.php, i replaced the ‘REMOTE_ADDR’ by ‘HTTP_X_REAL_IP’ (for the $_SERVER variable).

    For whoever encounter the same issue.

    Have a good day,
    Marc

    Hi @mehrshaddarzi and @mostafas1990

    It works. All individual website’s stats on the VPS server are now recording specific visitor’s IP within wordpress dashboard. That is perfect.

    THANK YOU so much the both of you for the solution.
    Really appreciate the support and way it has been handle. This free plugins is really good.
    (for info the line was 785 not 758)

    Thank you again
    Best Regards,
    Marc

    Hi Mostafa,
    Some more info, i asked the OVH community (the owner of my VPS server) to see if the server did have a specific output for my IP address.
    Basically i was wondering why my situation is different than the issue you solved not long ago from the Bluehost VPS server…

    Anyway, here is the reply, hope it make sense for you:
    – It seems that i have a reverse proxy and that it is not “remote address” that i need to use in the plugin but “HTTP:X-Forwarded-For” or “HTTP_X_REAL_IP”.
    – Apparently the variable “$_SERVER” need to be configured.

    My computer competences stops there…
    Thank you for looking into it.

    Best Regards,
    Marc

    Hi Mostafa,
    Thank you for your quick reply.

    The last version is used. I even cross checked with ‘mehrshaddarzi’ post on GitHub and the modification added to class-wp-statistics.php about 10 days ago.
    Everything in there is in my file too. Must be something that my OVH VPS server is doing.

    Hopefully in the optimisation page, there is info that will help solving the problem.

    Thank you very much
    Have a good weekend,
    Marc

    So contacted iPage and now worked fine.
    Here is their answer:
    “You have only set the version. Settings are not updated. I have set memory_limit and session path.”

    🙂
    Marc

Viewing 5 replies - 1 through 5 (of 5 total)