• Resolved fryrpc

    (@fryrpc)


    I have the current version of this PlugIn and WordPress but when I go onto the Live Log it only intermittently shows traffic I am generating from another PC (not logged into WordPress Admin).

    I thought this would show all traffic just updated every 10 seconds but it seems to only show traffic that occurs just before the refresh and not the 9 seconds beforehand – is this correct operation?

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

    (@nintechnet)

    Hi,

    It should display all traffic that occured since last refresh. This applies only to PHP files (and, most often, to HTML files as well), not to CSS, JS or images.
    Live Log’s data is downloaded from your site by your browser via AJAX. Maybe you have a connection issue or a JS error? Did you check your browser error console while viewing Live Log? You can view it by clicking CTRL-Shift+j.

    Thread Starter fryrpc

    (@fryrpc)

    I have checked the console and there are no errors. I have found adding /index.php on to the end of the url does result in a log entry.

    It looks like the caching plugin, which effectively creates an index.html that is a static representation of the index.php, and serves that to visitors is somehow affecting the live log. I thought the firewall would see the initial request from the client before the cache plugin serves the static file.

    Does this sound like normal operation – hopefully it just means I can’t actually see visitors in the live log?

    Plugin Author nintechnet

    (@nintechnet)

    It depends on how your cache works: if it works before PHP, then it won’t be displayed.
    As yours creates static HTML pages, I suspect it is managed by your HTTP server only (e.g., via the .htaccess file), and never passed on to the PHP interpreter.

    Thread Starter fryrpc

    (@fryrpc)

    I am using WP Fastest Cache and it does implement caching vi .htaccess – as does the All In One WP Security plugin. So these must be active before the Ninja Firewall plugin then?

    Does the flow look like this?

    http –> .htaccess –> php –> .user.ini (Ninja Firewall WAF) –> WordPress PHP

    Plugin Author nintechnet

    (@nintechnet)

    Yes it does.
    In your case, it stops after parsing the .htaccess, and it is not forwarded to PHP.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Live Log not showing traffic’ is closed to new replies.