WordPress.org

Ready to get started?Download WordPress

Forums

Broken Link Checker
Broken Link Checker stopped working (11 posts)

  1. mechelina
    Member
    Posted 2 years ago #

    I have several sites where I use BLC. And the layout of all websites are simular. On all websites I use BLC since version 3.14. And all worked like a charm... Suddenly BLC on one of my websites stopped working...

    No broken links found.
    No URLs in the work queue.
    No links detected.

    But this is impossible... I have more then 13.000 posts (my other sites have even more posts btw), and every post has an video (mostly youtube).

    I checked my other websites to see if there is anything different in settings etc. But everything is exactly the same. I am really puzzled.

    I already deactivated the plugin. Removed and reinstalled several times. Checked my msql and ftp to see if everything is really gone, before I reinstalled it.

    In all my websites I use the same plugins, so a I don't believe its a conflict with another plugin. But the strange thing is it DID work... and when it stopped working there was nothing changed (no new plugin installed, no new updates etc).

    Here is the debug info:

    PHP version 5.3.6
    MySQL version 5.1.56
    CURL version 7.21.6
    Snoopy Installed
    Safe mode Off
    open_basedir Off
    Default PHP execution time limit 30 seconds
    Resynch. flag 0
    Synch. records 13414
    Link records 1 (1)
    Installation log Plugin activated at 2011-07-26 13:18:44.
    Installation/update begins.
    Upgrading the database...
    [OK] CREATE TABLE IF NOT EXISTS wp_blc_filters ( id int(10) unsigned NOT NULL AUTO_INCREMENT, name varchar(100) NOT NULL, params text NOT NULL, PRIMARY KEY (id) ) DEFAULT CHARACTER SET utf8
    [OK] CREATE TABLE IF NOT EXISTS wp_blc_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 varchar(250) 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 utf8
    [OK] CREATE TABLE IF NOT EXISTS wp_blc_links ( link_id int(20) unsigned NOT NULL AUTO_INCREMENT, url text CHARACTER SET latin1 COLLATE latin1_general_cs 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) 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', 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 utf8
    [OK] CREATE TABLE IF NOT EXISTS wp_blc_synch ( container_id int(20) unsigned NOT NULL, container_type varchar(40) NOT NULL, synched tinyint(3) 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 utf8
    Database schema updated.
    Database successfully upgraded.
    Cleaning up the database...
    ... Deleting invalid container records
    ... 0 synch records deleted
    ... Deleting invalid link instances
    ... 0 instances deleted
    ... 0 more instances deleted
    ... Deleting orphaned links
    ... 0 links deleted
    Notifying modules...
    ... Updating module cache
    ... Notifying module "http"
    ... Notifying module "link"
    ...... Parser "link" is marking relevant items as unsynched
    ...... Executing query: UPDATE wp_blc_synch SET synched = 0 WHERE (container_type = 'page' AND last_synch >= '1970-01-01 00:00:00') OR (container_type = 'post' AND last_synch >= '1970-01-01 00:00:00') OR (container_type = 'comment' AND last_synch >= '1970-01-01 00:00:00')
    ...... 0 rows affected
    ... Notifying module "image"
    ...... Parser "image" is marking relevant items as unsynched
    ...... Executing query: UPDATE wp_blc_synch SET synched = 0 WHERE (container_type = 'page' AND last_synch >= '1970-01-01 00:00:00') OR (container_type = 'post' AND last_synch >= '1970-01-01 00:00:00') OR (container_type = 'comment' AND last_synch >= '1970-01-01 00:00:00')
    ...... 0 rows affected
    ... Notifying module "metadata"
    ...... Parser "metadata" is marking relevant items as unsynched
    ...... Executing query: UPDATE wp_blc_synch SET synched = 0 WHERE (container_type = 'custom_field' AND last_synch >= '1970-01-01 00:00:00')
    ...... 0 rows affected
    ... Notifying module "url_field"
    ...... Parser "url_field" is marking relevant items as unsynched
    ...... Executing query: UPDATE wp_blc_synch SET synched = 0 WHERE (container_type = 'comment' AND last_synch >= '1970-01-01 00:00:00') OR (container_type = 'blogroll' AND last_synch >= '1970-01-01 00:00:00')
    ...... 0 rows affected
    ... Notifying module "blogroll"
    ... Notifying module "comment"
    ...... Deleting synch. records for removed comments
    ...... 0 rows affected
    ...... Creating synch. records for new comments
    ...... 0 rows affected
    ... Notifying module "post"
    ...... Deleting synch records for removed posts
    ...... 0 rows deleted
    ...... Marking changed posts as unsynched
    ...... 0 rows updated
    ...... Creating synch records for new posts
    ...... 13414 rows inserted
    ... Notifying module "page"
    ...... Skipping "page" resyncyh since all post types were already synched.
    ... Notifying module "dummy"
    Updating server load limit settings...
    Optimizing the database...
    Completing installation...
    Configuration saved.
    Installation/update completed at 2011-07-26 13:18:45 with 29 queries executed.

    btw I don't get any error in my error log...

    I really hope you can tell me how to fix this...

  2. Janis Elsts
    Member
    Plugin Author

    Posted 2 years ago #

    Judging by the debug info, the plugin has tried to parse your posts for links, but hasn't find any. I'm afraid I have no idea how that could happen.

    A few thoughts:

    * Which version of the plugin do you have installed?
    * Aside from the videos, are there any other links on your site? Do they show up on the "Tools -> Broken Links -> All" page?
    * Have you tried the "Re-check all pages" button in the "Advanced" tab? If not, give it a try.

  3. mechelina
    Member
    Posted 2 years ago #

    First of all, thank you for your time :)
    I appreciatie your effort.

    * Which version of the plugin do you have installed?

    The version of the plugin is: 1.3

    * Aside from the videos, are there any other links on your site? Do they show up on the "Tools -> Broken Links -> All" page?

    Yes... I have one link in the blogrol. And when I change the settings to also check the blogrol, it does see that link, and that link only. All other links in my posts get ignored.

    * Have you tried the "Re-check all pages" button in the "Advanced" tab? If not, give it a try.

    Several times. But the result remains the same. I also tried changing the settings in different variations. But no change...

    It's so weird. I have my own server and several websites with same theme, same layout, with no problems.. Just this one...

    Let me know if I can give you more info.
    And again... thanks for your time :)

  4. Janis Elsts
    Member
    Plugin Author

    Posted 2 years ago #

    Right, so it's not a basic incompatibility or a general synchronization-related bug (one of the older versions had a bug where it wouldn't see *any* links at all).

    Lets try another approach: How are the videos inserted, and how does the corresponding HTML/embed code look? If it's somehow automated, recent changes in e.g. the YouTube embed code format could have caused the plugin to fail in this manner.

  5. mechelina
    Member
    Posted 2 years ago #

    For all my websites I use the same wp-plugin to get the content on the site I want. That's MVB (MyVideoBlog). And till now it always worked. Also with your previous versions of BLC.

    MVB automaticly grabs videos on keywords. I already am using this plugin for about 2 years. Sadly enough the site of the creator seems to be offline now. Unsure why.

    Here an example how it the html looks like:

    <!--more-->

    <center><!--videoplayer--><object id="single1" width="540" height="420" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="wmode" value="transparent" /><param name="flashvars" value="file=http://www.youtube.com/watch?v=4e3cXKL_gMc&backcolor=000000&frontcolor=FFFFFF" /><param name="src" value="http://MYDOMAIN.com/player.swf" /><embed id="single1" width="540" height="420" type="application/x-shockwave-flash" src="http://MYDOMAIN.com/player.swf" allowfullscreen="true" allowscriptaccess="always" wmode="transparent" flashvars="file=http://www.youtube.com/watch?v=4e3cXKL_gMc&backcolor=000000&frontcolor=FFFFFF" /></object><!--endvideoplayer--></center>

    Hope this helps...

    Thanks again

  6. Janis Elsts
    Member
    Plugin Author

    Posted 2 years ago #

    Based on that HTML, you're using some kind of a custom video player. BLC does not support, and has never supported, custom players. In fact, I'm quite amazed that it was ever able to find your videos - it should have been impossible.

    Any ideas on how this could happen? Perhaps the HTML has changed recently?

  7. mechelina
    Member
    Posted 2 years ago #

    Hmmmm... All my websites use the same video player, which indeed I changed recently. And all work except this on website... Its a feature of MVB to change the videoplayer. But I will try to change it back to the normal player and see what happens...
    Thanks so far, I will let you know if it worked or not... :)

  8. mechelina
    Member
    Posted 2 years ago #

    Okies, tried that and sadly enough no succes... This is what I did:

    1. rebuilded all my posts with MVB with the normal video player.
    2. rechecked all-pages
    3. results:
    No broken links found.
    No URLs in the work queue.
    No links detected.

    The debug info:

    PHP version 5.3.6
    MySQL version 5.1.56
    CURL version 7.21.6
    Snoopy Installed
    Safe mode Off
    open_basedir Off
    Default PHP execution time limit 30 seconds
    Resynch. flag 0
    Synch. records 14676
    Unparsed items 0
    Link records 0 (0)
    Installation log Plugin activated at 2011-07-27 23:00:14.
    Installation/update begins.
    Upgrading the database...
    [OK] CREATE TABLE IF NOT EXISTS wp_blc_filters ( id int(10) unsigned NOT NULL AUTO_INCREMENT, name varchar(100) NOT NULL, params text NOT NULL, PRIMARY KEY (id) ) DEFAULT CHARACTER SET utf8
    [OK] CREATE TABLE IF NOT EXISTS wp_blc_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 varchar(250) 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 utf8
    [OK] CREATE TABLE IF NOT EXISTS wp_blc_links ( link_id int(20) unsigned NOT NULL AUTO_INCREMENT, url text CHARACTER SET latin1 COLLATE latin1_general_cs 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) 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', 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 utf8
    [OK] CREATE TABLE IF NOT EXISTS wp_blc_synch ( container_id int(20) unsigned NOT NULL, container_type varchar(40) NOT NULL, synched tinyint(3) 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 utf8
    Database schema updated.
    Database successfully upgraded.
    Cleaning up the database...
    ... Deleting invalid container records
    ... 0 synch records deleted
    ... Deleting invalid link instances
    ... 0 instances deleted
    ... 0 more instances deleted
    ... Deleting orphaned links
    ... 0 links deleted
    Notifying modules...
    ... Updating module cache
    ... Notifying module "http"
    ... Notifying module "link"
    ...... Parser "link" is marking relevant items as unsynched
    ...... Executing query: UPDATE wp_blc_synch SET synched = 0 WHERE (container_type = 'page' AND last_synch >= '1970-01-01 00:00:00') OR (container_type = 'post' AND last_synch >= '1970-01-01 00:00:00') OR (container_type = 'comment' AND last_synch >= '1970-01-01 00:00:00')
    ...... 0 rows affected
    ... Notifying module "image"
    ...... Parser "image" is marking relevant items as unsynched
    ...... Executing query: UPDATE wp_blc_synch SET synched = 0 WHERE (container_type = 'page' AND last_synch >= '1970-01-01 00:00:00') OR (container_type = 'post' AND last_synch >= '1970-01-01 00:00:00') OR (container_type = 'comment' AND last_synch >= '1970-01-01 00:00:00')
    ...... 0 rows affected
    ... Notifying module "metadata"
    ...... Parser "metadata" is marking relevant items as unsynched
    ...... Executing query: UPDATE wp_blc_synch SET synched = 0 WHERE (container_type = 'custom_field' AND last_synch >= '1970-01-01 00:00:00')
    ...... 0 rows affected
    ... Notifying module "url_field"
    ...... Parser "url_field" is marking relevant items as unsynched
    ...... Executing query: UPDATE wp_blc_synch SET synched = 0 WHERE (container_type = 'comment' AND last_synch >= '1970-01-01 00:00:00') OR (container_type = 'blogroll' AND last_synch >= '1970-01-01 00:00:00')
    ...... 0 rows affected
    ... Notifying module "blogroll"
    ... Notifying module "comment"
    ...... Deleting synch. records for removed comments
    ...... 0 rows affected
    ...... Creating synch. records for new comments
    ...... 0 rows affected
    ... Notifying module "post"
    ...... Deleting synch records for removed posts
    ...... 0 rows deleted
    ...... Marking changed posts as unsynched
    ...... 0 rows updated
    ...... Creating synch records for new posts
    ...... 13990 rows inserted
    ... Notifying module "page"
    ...... Skipping "page" resyncyh since all post types were already synched.
    ... Notifying module "dummy"
    Updating server load limit settings...
    Optimizing the database...
    Completing installation...
    Configuration saved.
    Installation/update completed at 2011-07-27 23:00:15 with 29 queries executed.

    And I am not completely sure, but in mine memory the BLC stopped working before I changed the videoplayer, but I could be wrong ;)

    Here also an html-example how it looks now:

    <center><!--videoplayer--><iframe title="YouTube video player" src="http://www.youtube.com/embed/4h1FIgxr8eQ?rel=0" frameborder="0" width="540" height="420"></iframe><!--endvideoplayer--></center>

    Since it didn't work, I thought maybe I should deactivate BLC, delete, and reinstall it. So I did that... And rechecked, but still no links :(

    I hope I am not driving you crazy... :S
    If it would help, I would glady provide you a login. Just let me know.

  9. Janis Elsts
    Member
    Plugin Author

    Posted 2 years ago #

    Ah, that's looks like the new YouTube embed code, which is *also* not supported by BLC. Right now, the plugin only works with the old embed format.

    I'm planning to add support for the new code in the next release. Once that update is out, the plugin should start working correctly on your site.

  10. mechelina
    Member
    Posted 2 years ago #

    *crosses her fingers*
    Thank you!

    Thank you so much for your time... I will just wait then and try to be patience. :)

  11. ladolphinconnection
    Member
    Posted 2 years ago #

    NB: I know this is not the topic of this thread, but I don't know where to post a new topic about BLC...

    Hi,

    I'd like to know how to reset the data of BLC. I noticed as "not broken" several links that were indeed, and I'd like BLC to show them to me again.

    Thanks !

    PS : I already tried to uninstall the plugin and reinstall it but it didn't work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic