• Resolved MichelV69

    (@michelv69)


    Example page

    If the plugin is active, the page comes up “blank” to the viewer, and the log shows:

    ==> /var/log/httpd/error_log <==
    [Sat Mar 08 19:59:52 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
    [Sat Mar 08 19:59:52 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
    [Sat Mar 08 19:59:52 2014] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/

    … and no HTML is delivered to the browser at all, nor error page.

    Disabling the plugin results in the page rendering correctly.

    https://www.ads-software.com/plugins/wp-statistics/

Viewing 9 replies - 16 through 24 (of 24 total)
  • Thread Starter MichelV69

    (@michelv69)

    … alright, I’ve made some more progress. The problem is the widget.

    If I remove the Widget from my screen set up, then it doesn’t matter what plugins I do or do not have loaded.

    With the Widget loaded and ABS disabled, get_sidebar() hangs and get_footer() is never called; the widget was installed in my sidebar.

    Plugin Contributor Greg Ross

    (@gregross)

    The Widget for WP Statistics or for Anispam Bee?

    Thread Starter MichelV69

    (@michelv69)

    My apologies for not being clear. I meant the Widget for WP Statistics.

    When I have some time this evening, I’ll post a JPG of what it looks like … it actually *starts* to render the widget contents and then dies there.

    Plugin Contributor Greg Ross

    (@gregross)

    I installed ASB and enabled the WPS widget on my test site with a multi-page post and everything seems ok.

    Perhaps it’s a conflict between ASP + WPS + Your Theme?

    Can you try disabling everything but ASP and WPS and using the 2014 theme?

    Thread Starter MichelV69

    (@michelv69)

    Ok, I’ll go do that next and report back. However, some experimentation to this point seems to indicate that as long as I do not have the “Total Visitors” option checked in the Widget, everything works fine. I can literally turn every other option in the Widget on and all is well.

    If the ONLY option in the Widget I have enabled is “Total Visitors”, it dies with the above symptoms.

    I’ll try 2014 and let you know what happens.

    Thread Starter MichelV69

    (@michelv69)

    With the “Twenty Fourteen” theme enabled, instead of “Runo Lite”, I get the same behavior.

    I’ll leave 2014 up for now, with the Widget enabled less the “Total Visitors” option marked if you want to look at the site for some reason. https://michelrvaillancourt.com/

    Let me know if you need anything else tested / checked on.

    Plugin Contributor Greg Ross

    (@gregross)

    Try the following, edit wp-content/plugins/wp-statistics/widget.php, line 34 should be:

    echo wp_statistics_visitor('today');

    replace it with:

    echo wp_statistics_visitor('today', null, true);

    Then re-enable the total visitors in the widget.

    Thread Starter MichelV69

    (@michelv69)

    Ok. That did not work. However, the following change:

    line 83/199:
    echo wp_statistics_visitor('total', null, true);

    did correct the issue. Confirmed working as expected in the 2014 and Runo Lite themes, regardless of what other plugins are loaded.

    Plugin Contributor Greg Ross

    (@gregross)

    Looks like the combination of plugins is running out of resources somewhere.

    wp_statistics_vistor() returns a SQL result containing all the vistor records by default.

    The extra ‘true’ at the end that I added returns only the number of records, not the result set, which of course takes a lot less in the way of resources.

    I’ll make the change in the next release.

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘Multi-page posts do not render’ is closed to new replies.