• Resolved mikeymu1

    (@mikeymu1)


    I am not getting any stats in burst. Am trying to go cookieless, so no annoying cookie banners.

    My site is averaging over 10 unique visitors per day, according to Siteground’s stats and 1-2 per day according to Google Search Console.

    The environment

    Hosted by Siteground

    WordPress latest version, all plugins up to date

    debloat optimisation plugin

    website runs on GeneratePress

    What I have tried so far:

    On checking the hosting provider’s error logs I found events are firing twice – at the same time, but in each line, I see
    “…AH01630: client denied by server configuration: …endpoint.php”

    I have checked permissions on the endpoint file in my file manager, and all is as should be. (644, as suggested in the documentation page)

    Burst Statistics in the WordPress dashboard claims it’s using the REST successfully. It looks like this is being checked as stated in the dashboard, and as set up in the cron job below.

    Since I have had a problem with scheduled events, I have disabled WP-cron and have set a cron job up to fire wp-cron twice an hour.

    I have excluded the burst javascript files from minification and combination, as suggested on the documentation page too.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    The denied by server configuration error means that either your htaccess, or your server setup is blocking access to the endpoint in the plugin. If it’s nit in your htaccess (e.g. a security plugin) you can check with your hosted if they block it (wp-content/plugins/burst-statistics/endpoint.php)

    Thread Starter mikeymu1

    (@mikeymu1)

    Thanks, Rogier, for your helpful comment.

    Unfortunately, Siteground are asking me to pay for technical help to look further into this.

    It seems a bit mean to me because scheduled posts and event should work by default, but then I can always just forget it and go enjoy the nice weather instead. After all, I have Search Console, and the trouble and cost of sorting this seems not worth it.

    Have a great weekend.

    Thread Starter mikeymu1

    (@mikeymu1)

    HI Rogier.

    Just to say, I installed Burst on my local church website, hosted by a company near me in Yorkshire, and it worked straight away.

    Great plugin, especially if you want cookie less stats. I wonder how much info you can find using the pro version?

    Thread Starter mikeymu1

    (@mikeymu1)

    I looked at disabling the code Siteground entered in htaccess, that disabled SGS XMLRPC whilst simultaneously deactivating their security plugin, but to no avail.

    Still no stats in my own website. You can’t say I haven’t tried.

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Is it still the same error?

    Thread Starter mikeymu1

    (@mikeymu1)

    Hi Rogier.

    Yes, still no stats.

    However, having set up a twice-hourly cron job to fire wp cron, and with emails enabled, I’m now getting notifications some events, including burst_every_5_minutes.

    I deleted the lines at the start of htaccess that Siteground’s security plugin adds – the lines that disable XMLRP and have added this to wp-config
    define(‘DISABLE_WP_CRON’, true);

    I did notice other posts on this subject, and that something like a branch could be added from git or something?

    Thread Starter mikeymu1

    (@mikeymu1)

    Now, rather than using REST API, Burst is using the endpoint.

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    @mikeymu1 please note that crons and schedules are not needed for statistics tracking. The only thing that is needed for a successful hit is an endpoint (recommended, because faster) or a working REST API. Looking at your site, I see the endpoint is registered as working correctly, and is the method that is used currently.

    Please disable the exclusion on administrators (and maybe IP numbers) to ensure that your own visits are registered correctly.

    If still no visits are showing up, please enable debugging, by installing the WP Debugging plugin, then visit the site a few times (with administrator exclusion disabled), and also a few times in browser private mode.

    Then check the debug log to see if any errors who up. If you can post that here, I can take a look to see if there’s anything there that could cause this.

    Thread Starter mikeymu1

    (@mikeymu1)

    Thanks, Rogier.

    I did that and here are the results:

    [08-Apr-2024 10:24:40 UTC] Burst Statistics: create js file

    [08-Apr-2024 10:24:49 UTC] Burst Statistics: create js file

    [08-Apr-2024 10:24:52 UTC]?Burst Statistics: create js file

    I wonder what that will tell us?

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Not much I’m afraid! There appear to be no errors.

    You can leave it enabled for a day to see if any errors occur.

    Thread Starter mikeymu1

    (@mikeymu1)

    I hasten to add more info is now available, since I added the two additional plugins that go with wp debugging

    If there’s anything else that might be of help, let me know, Rogier.

    I really appreciate your advice.

    • This reply was modified 7 months, 3 weeks ago by mikeymu1.
    Thread Starter mikeymu1

    (@mikeymu1)

    This appeared in the debugger:

    SELECT option_value
    FROM wp_options
    WHERE option_name = '_transient_timeout_burst_running_upgrade'
    LIMIT 1
    20.0002get_option()
    2 calls
    Plugin: burst-statistics
    2 calls
    get_transient()
    1 call
    add_option()
    1 call

    the column header on get_transient() and add_option() said “potential troublemakers. the very first column said “duplicate queries”

    Thread Starter mikeymu1

    (@mikeymu1)

    I have also just noticed this:

    {“code”:”rest_no_route”,”message”:”No route was found matching the URL and request method.”,”data”:{“status”:404}}

    From https://liberatecounselling.co.uk/wp-json/burst/v1/data/live-visitors

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    @mikeymu1 can you try re-saving the permalinks? WordPress settings / permalinks / save.

    Thread Starter mikeymu1

    (@mikeymu1)

    Thanks, Rogier.

    I just tried that and it didn’t change anything.

    I am getting a few error messages after installing “wp debugging”, and think, that there are various faults that are beyond my skills and time.

    I will send a donation via the plugin dashboard in gratitude for your help.

    Many thanks, Mike Underwood.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘client denied by server configuration’ is closed to new replies.