Support » Plugin: Broken Link Checker » False Reports

  • Resolved SickSquirrelTwo

    (@sicksquirreltwo)


    Every day the script checks about 220 links. Every day I get a report of different broken links from 2-12 roughly. I check each and each one is fine. I cannot find a time setting. 503 is the error code.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Prathamesh – WPMU DEV Support

    (@wpmudev-support7)

    Hello @sicksquirreltwo,

    I have scheduled checks on my lab site and would check the same for a few times just to be sure and get back to you with it. Meanwhile, can you go ahead and enable the debug logging to check if that returns any errors which relate to this so we could check if that helps you make it work?

    Here is how you can enable the debug log on your site:

    Debugging in WordPress

    If you do not find ant fatal errors, would you mind doing a plugin conflict test once and then try to check if that works? Please make sure you have a complete site backup before you make a plugin conflict test just to be safe and not lose any data. Here is how you can make a conflict test:

    https://www.wpbeginner.com/beginners-guide/beginners-guide-to-troubleshooting-wordpress-errors-step-by-step/

    I will also be checking the same on my end and getting back to you with the reports on the same.

    Regards,
    Prathamesh

    Thread Starter SickSquirrelTwo

    (@sicksquirreltwo)

    Thank you. I can’t edit the files due to disability. I’m either going to have to live with errors falsely showing or finding an alternative plugin.

    Biplav

    (@bplv)

    Hello @sicksquirreltwo ,
    Could you share the links with us which are marked as 503?
    If not could you let me know if those links are marked as OKAY once you recheck them?

    Regards,
    Biplav

    Thread Starter SickSquirrelTwo

    (@sicksquirreltwo)

    I manually check each link and they are fine. Several have warnings but are fine. I can’t post the links publicly but could do so in private.

    This is frustrating to me but even more so for you. It’s always the 503 error on twelve links though I am not sure if they are the same links every day.

    Thank you

    Thread Starter SickSquirrelTwo

    (@sicksquirreltwo)

    Found the debug log link

    PHP version 7.3.16
    MySQL version 5.5.60
    CURL version 7.38.0
    Snoopy Installed
    Safe mode Off
    open_basedir Off
    Default PHP execution time limit 30 seconds
    Database character set DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
    Resynch. flag 0
    Synch. records 325
    Link records 185 (220)
    Last email notification 2020-04-20 21:24:49 UTC
    Last email sent “[hudden] Broken links detected” on 2020-04-20 21:24:49 UTC (success)
    Installation log Plugin activated at 2020-04-06 16:49:00.
    Installation/update begins.
    Upgrading the database…
    … SHOW TABLES (0.000 seconds)
    [OK] CREATE TABLE IF NOT EXISTS KbZzYdmeblc_filters ( id int(10) unsigned NOT NULL AUTO_INCREMENT, name varchar(100) NOT NULL, params text NOT NULL, PRIMARY KEY (id) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci (0.004 seconds)
    [OK] CREATE TABLE IF NOT EXISTS KbZzYdmeblc_instances ( instance_id int(10) unsigned NOT NULL AUTO_INCREMENT, link_id int(10) unsigned NOT NULL, container_id int(10) unsigned NOT NULL, container_type varchar(40) NOT NULL DEFAULT ‘post’, link_text text NOT NULL DEFAULT ”, parser_type varchar(40) NOT NULL DEFAULT ‘link’, container_field varchar(250) NOT NULL DEFAULT ”, link_context varchar(250) NOT NULL DEFAULT ”, raw_url text NOT NULL, PRIMARY KEY (instance_id), KEY link_id (link_id), KEY source_id (container_type, container_id), KEY parser_type (parser_type) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci (0.003 seconds)
    [OK] CREATE TABLE IF NOT EXISTS KbZzYdmeblc_links ( link_id int(20) unsigned NOT NULL AUTO_INCREMENT, url text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, first_failure datetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’, last_check datetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’, last_success datetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’, last_check_attempt datetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’, check_count int(4) unsigned NOT NULL DEFAULT ‘0’, final_url text CHARACTER SET latin1 COLLATE latin1_general_cs NOT NULL, redirect_count smallint(5) unsigned NOT NULL DEFAULT ‘0’, log text NOT NULL, http_code smallint(6) NOT NULL DEFAULT ‘0’, status_code varchar(100) DEFAULT ”, status_text varchar(250) DEFAULT ”, request_duration float NOT NULL DEFAULT ‘0’, timeout tinyint(1) unsigned NOT NULL DEFAULT ‘0’, broken tinyint(1) unsigned NOT NULL DEFAULT ‘0’, warning tinyint(1) unsigned NOT NULL DEFAULT ‘0’, may_recheck tinyint(1) NOT NULL DEFAULT ‘1’, being_checked tinyint(1) NOT NULL DEFAULT ‘0’, result_hash varchar(200) NOT NULL DEFAULT ”, false_positive tinyint(1) NOT NULL DEFAULT ‘0’, dismissed tinyint(1) NOT NULL DEFAULT ‘0’, PRIMARY KEY (link_id), KEY url (url(150)), KEY final_url (final_url(150)), KEY http_code (http_code), KEY broken (broken) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci (0.003 seconds)
    [OK] CREATE TABLE IF NOT EXISTS KbZzYdmeblc_synch ( container_id int(20) unsigned NOT NULL, container_type varchar(40) NOT NULL, synched tinyint(2) unsigned NOT NULL, last_synch datetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’, PRIMARY KEY (container_type,container_id), KEY synched (synched) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci (0.003 seconds)
    Schema update took 0.013 seconds
    Database schema updated.
    Database successfully upgraded.
    — Total: 0.016 seconds
    Cleaning up the database…
    … Deleting invalid container records
    … 0 synch records deleted in 0.001 seconds
    … Deleting invalid link instances
    … 0 instances deleted in 0.001 seconds
    … 0 more instances deleted in 0.001 seconds
    … Deleting orphaned links
    … 0 links deleted in 0.001 seconds
    — Total: 0.004 seconds
    Notifying modules…
    … Updating module cache
    … Cache refresh took 0.000 seconds
    … Loading modules
    … 6 modules loaded in 0.001 seconds
    … Notifying module “http”
    … Notifying module “link”
    … Notifying module “image”
    … Notifying module “metadata”
    … Notifying module “url_field”
    … Notifying module “comment”
    …… Deleting synch. records for removed comments
    …… 0 rows deleted in 0.001 seconds
    …… Creating synch. records for new comments
    …… 0 rows inserted in 0.001 seconds
    … Notifying module “acf”
    … Notifying module “post”
    …… Deleting synch records for removed posts
    DELETE synch.* FROM KbZzYdmeblc_synch AS synch LEFT JOIN KbZzYdmeposts AS posts ON posts.ID = synch.container_id WHERE synch.container_type IN (‘post’, ‘page’) AND posts.ID IS NULL
    …… 0 rows deleted in 0.002 seconds
    …… Deleting synch records for posts that have a disallowed status
    DELETE synch.* FROM KbZzYdmeblc_synch AS synch LEFT JOIN KbZzYdmeposts AS posts ON (synch.container_id = posts.ID and synch.container_type = posts.post_type) WHERE posts.post_status NOT IN (‘publish’)
    …… 0 rows deleted in 0.002 seconds
    …… Marking changed posts as unsynched
    UPDATE KbZzYdmeblc_synch AS synch JOIN KbZzYdmeposts AS posts ON (synch.container_id = posts.ID and synch.container_type=posts.post_type) SET synched = 0 WHERE synch.last_synch < posts.post_modified
    …… 0 rows updated in 0.001 seconds
    …… Creating synch records for new posts
    INSERT INTO KbZzYdmeblc_synch(container_id, container_type, synched) SELECT posts.id, posts.post_type, 0 FROM KbZzYdmeposts AS posts LEFT JOIN KbZzYdmeblc_synch AS synch ON (synch.container_id = posts.ID and synch.container_type=posts.post_type) WHERE posts.post_status IN (‘publish’) AND posts.post_type IN (‘post’, ‘page’) AND synch.container_id IS NULL
    …… 47 rows inserted in 0.003 seconds
    … Notifying module “page”
    …… Skipping “page” resyncyh since all post types were already synched.
    … Notifying module “youtube-checker”
    … Notifying module “youtube-iframe”
    … Notifying module “dummy”
    — Total: 0.017 seconds
    Updating server load limit settings…
    Set server load limit to 13.00. Current load average is 11.40
    Optimizing the database…
    — Total: 0.003 seconds
    Completing installation…
    Configuration saved.
    Installation/update completed at 2020-04-06 16:49:00 with 26 queries executed.
    Total time: 0.063 seconds

    Biplav

    (@bplv)

    Hey @sicksquirreltwo ,
    Seems like there’s not much wrong with the plugin as the logs seem to be fine.
    It is highly possible that when the plugin crawls this sites they maybe unavailable because the plugin just records what the sites return. I say this because I’ve tried to recreate this as well but I couldn’t do it.
    It could be that the sites were temporarily down or when the plugin was crawling.

    Regards,
    Biplav

    Thread Starter SickSquirrelTwo

    (@sicksquirreltwo)

    Thanks. Other logs show that the site hasn’t been down in weeks. I believe it pings or hits a page every five minutes.

    I’ll stop worrying about broken links and just dismiss the bad reports.

    Biplav

    (@bplv)

    @sicksquirreltwo ,
    You could set the check interval on the settings for existing links on Settings -> Link checker -> General -> Check each link
    https://prnt.sc/s6mtol

    Also you can also disable the settings Settings -> Link checker -> Advanced -> Link monitor Then you can disable the Run continuously while the Dashboard is open
    https://prnt.sc/s6mviz

    Changing these settings should decrease the frequency of the checks.

    Regards,
    Biplav.

    Thread Starter SickSquirrelTwo

    (@sicksquirreltwo)

    Oops my site checker pings every five minutes, not your plug-in.

    Biplav

    (@bplv)

    @sicksquirreltwo ,
    Got it!
    But I meant the links that are being checked might be down.
    In any case looks like your issue is resolved.
    Feel free to create a new thread if you need help with anything else.

    Best regards,
    Biplav.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘False Reports’ is closed to new replies.