Link Checker by AddonsLab

Link Checker by AddonsLab [Paid] 1.17.0

No permission to buy ($54.99)
And one more when filtering in Manage Tags

Code:
Info over Fout
ErrorException: Argument 3 passed to XenForo_Db::quoteLike() must be an instance of Zend_Db_Adapter_Abstract, instance of AddonsLab\Core\DbMiddleware given, called in /home/bodyforum/public_html/library/AddonsLab/LinkChecker/Abstract/Model/Tag.php on line 210 and defined - library/XenForo/Db.php:197
Gegenereerd Door: bodybuilding.nl, 2 minuten geleden
Stack Trace
#0 /home/bodyforum/public_html/library/XenForo/Db.php(197): XenForo_Application::handlePhpError(4096, 'Argument 3 pass...', '/home/bodyforum...', 197, Array)
#1 /home/bodyforum/public_html/library/AddonsLab/LinkChecker/Abstract/Model/Tag.php(210): XenForo_Db::quoteLike('dutchbodybuildi...', 'lr', Object(AddonsLab\Core\DbMiddleware))
#2 /home/bodyforum/public_html/library/AddonsLab/LinkChecker/Abstract/Model/Tag.php(198): AddonsLab_LinkChecker_Abstract_Model_Tag->_prepareSearchConditions(Array, Array)
#3 /home/bodyforum/public_html/library/AddonsLab/LinkChecker/Model/Tag.php(203): AddonsLab_LinkChecker_Abstract_Model_Tag->prepareTagConditions(Array, Array)
#4 /home/bodyforum/public_html/library/AddonsLab/LinkChecker/Abstract/Model/Tag.php(70): AddonsLab_LinkChecker_Model_Tag->prepareTagConditions(Array, Array)
#5 /home/bodyforum/public_html/library/AddonsLab/LinkChecker/Abstract/ControllerAdmin/Tag.php(120): AddonsLab_LinkChecker_Abstract_Model_Tag->countTags(Array)
#6 /home/bodyforum/public_html/library/XenForo/FrontController.php(351): AddonsLab_LinkChecker_Abstract_ControllerAdmin_Tag->actionIndex()
#7 /home/bodyforum/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /home/bodyforum/public_html/admin.php(13): XenForo_FrontController->run()
#9 {main}
Aanvraagstatus
array(3) {
  ["url"] => string(153) "https://forum.bodybuilding.nl/"  admin.php?filter%5Bfull_code%5D=dutchbodybuilding&filter%5Bstatus%5D=&submitFilter=Filter&_xfConfirm=1&_=links%2Ftag%2Flist
  ["_GET"] => array(4) {
    ["filter"] => array(2) {
      ["full_code"] => string(17) "dutchbodybuilding"
      ["status"] => string(0) ""
    }
    ["submitFilter"] => string(6) "Filter"
    ["_xfConfirm"] => string(1) "1"
    ["_"] => string(14) "links/tag/list"
  }
  ["_POST"] => array(0) {
  }
}
 
Last edited:
And one more when filtering in Manage Tags

Code:
Info over Fout
ErrorException: Argument 3 passed to XenForo_Db::quoteLike() must be an instance of Zend_Db_Adapter_Abstract, instance of AddonsLab\Core\DbMiddleware given, called in /home/bodyforum/public_html/library/AddonsLab/LinkChecker/Abstract/Model/Tag.php on line 210 and defined - library/XenForo/Db.php:197
Gegenereerd Door: bodybuilding.nl, 2 minuten geleden
Stack Trace
#0 /home/bodyforum/public_html/library/XenForo/Db.php(197): XenForo_Application::handlePhpError(4096, 'Argument 3 pass...', '/home/bodyforum...', 197, Array)
#1 /home/bodyforum/public_html/library/AddonsLab/LinkChecker/Abstract/Model/Tag.php(210): XenForo_Db::quoteLike('dutchbodybuildi...', 'lr', Object(AddonsLab\Core\DbMiddleware))
#2 /home/bodyforum/public_html/library/AddonsLab/LinkChecker/Abstract/Model/Tag.php(198): AddonsLab_LinkChecker_Abstract_Model_Tag->_prepareSearchConditions(Array, Array)
#3 /home/bodyforum/public_html/library/AddonsLab/LinkChecker/Model/Tag.php(203): AddonsLab_LinkChecker_Abstract_Model_Tag->prepareTagConditions(Array, Array)
#4 /home/bodyforum/public_html/library/AddonsLab/LinkChecker/Abstract/Model/Tag.php(70): AddonsLab_LinkChecker_Model_Tag->prepareTagConditions(Array, Array)
#5 /home/bodyforum/public_html/library/AddonsLab/LinkChecker/Abstract/ControllerAdmin/Tag.php(120): AddonsLab_LinkChecker_Abstract_Model_Tag->countTags(Array)
#6 /home/bodyforum/public_html/library/XenForo/FrontController.php(351): AddonsLab_LinkChecker_Abstract_ControllerAdmin_Tag->actionIndex()
#7 /home/bodyforum/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /home/bodyforum/public_html/admin.php(13): XenForo_FrontController->run()
#9 {main}
Aanvraagstatus
array(3) {
  ["url"] => string(153) "https://forum.bodybuilding.nl/admin.php?filter%5Bfull_code%5D=dutchbodybuilding&filter%5Bstatus%5D=&submitFilter=Filter&_xfConfirm=1&_=links%2Ftag%2Flist"
  ["_GET"] => array(4) {
    ["filter"] => array(2) {
      ["full_code"] => string(17) "dutchbodybuilding"
      ["status"] => string(0) ""
    }
    ["submitFilter"] => string(6) "Filter"
    ["_xfConfirm"] => string(1) "1"
    ["_"] => string(14) "links/tag/list"
  }
  ["_POST"] => array(0) {
  }
}

Thank you for the report. This one will be included in the fix we are releasing soon as well.

Thank you!
 
AddonsLab updated Link Checker by AddonsLab with a new update entry:

Rewritten remote URL checker with memory optimizations

This version improves product's performance of checking link statuses. Instead of using XenForo built-in client we have built our implementation using CURL making sure, that the information of the URL itself does not download to your server, but only the headers of the page are requested. The client tries first "HEAD" type of request, which does not get the body of the page but only headers. Unfortunately, some servers block this type of requests, so in this case, we also send GET type of...

Read the rest of this update entry...
 
Error with dead link check (cron job, standard settings, all tags)

Code:
ErrorException: Fatal Error: Class 'AddonsLab\LinkChecker\Library\ErrorException' not found - library/AddonsLab/LinkChecker/Library/Service/RemoteClient.php:125
Gegenereerd Door: Onbekend Account, 1 minuut geleden
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Aanvraagstatus
array(3) {
  ["url"] => string(42) "https://forum.bodybuilding.nl" deferred php
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(3) {
    ["_xfRequestUri"] => string(41) "/topics/1-3-dmaa-wetgeving-belgie.411622/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Last edited:
Error with dead link check (cron job, standard settings, all tags)

Code:
ErrorException: Fatal Error: Class 'AddonsLab\LinkChecker\Library\ErrorException' not found - library/AddonsLab/LinkChecker/Library/Service/RemoteClient.php:125
Gegenereerd Door: Onbekend Account, 1 minuut geleden
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Aanvraagstatus
array(3) {
  ["url"] => string(42) "https://forum.bodybuilding.nl/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(3) {
    ["_xfRequestUri"] => string(41) "/topics/1-3-dmaa-wetgeving-belgie.411622/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}

Thank you for the report. The fixed package is re-uploaded to our server now. Please re-download the package and upload the files to apply the fix. No need to re-import the XML.

Thank you!
 
@AddonsLab Why dead link check Cron Job automatically canceled? No showing this Cron Job info about the processing. Please note, yesterday i get Cron Job info some time are not showing, Just like for 30/40 sec then its show up but now this no more showing. Do we need re-run the dead link check Cron Job?

bsXADO0WSlu45jvYYE_wDA.png
 
I think you need to download the new package and upload files (see post above). Had the same problem and now fixed.
 
I am already using "[AddonsLab] Link Checker 1.8.0 - v101" files but still not fixed.

This could happen due to some memory error, that happens right during cron execution. The new version should not have the errors, but it will not bring the cron back if it stopped before. So, please run it again and see if it happens again.

Thank you!
 
This could happen due to some memory error, that happens right during cron execution. The new version should not have the errors, but it will not bring the cron back if it stopped before. So, please run it again and see if it happens again.

Thank you!

Then why some time out of box the Cron Job info about the processing? Just like for 30/40 sec then its show up.
 
Then why some time out of box the Cron Job info about the processing? Just like for 30/40 sec then its show up.

This is because of the way XenForo executes the cron jobs. I can't go too much into details, but the point is that during execution of a cron job XenForo deletes the cron job. This prevents two processes to run the same cron job. So, when we check if there is a cron job, this may be right in the middle of the process of the cron job, and we can't find the cron job, so the info is not shown. After some time the cron job finishes, and before it will start one more time, it is available in the database, and we can show the info about it.

We tried to implement a solution for this by storing cron info in a separate table as well, but this seems to fail sometimes. We will check this further, and try to see if we can provide more stable feedback to admins about the cron executing currently.

Thank you!
 
This is because of the way XenForo executes the cron jobs. I can't go too much into details, but the point is that during execution of a cron job XenForo deletes the cron job. This prevents two processes to run the same cron job. So, when we check if there is a cron job, this may be right in the middle of the process of the cron job, and we can't find the cron job, so the info is not shown. After some time the cron job finishes, and before it will start one more time, it is available in the database, and we can show the info about it.

We tried to implement a solution for this by storing cron info in a separate table as well, but this seems to fail sometimes. We will check this further, and try to see if we can provide more stable feedback to admins about the cron executing currently.

Thank you!

Do you understand what I mean? If not then watch the full video.

Demo here: https://giant.gfycat.com/AdolescentPitifulCollie.webm
 
Do you understand what I mean? If not then watch the full video.

Demo here: https://giant.gfycat.com/AdolescentPitifulCollie.webm

Dead customer,

yes, I understood what you mean and provided a detailed explanation for you. If you didn't understand that explanation, that is fine. In short, do not worry, everything is okay, your cron runs and links are checked. In future, we will try to make it so, that the message never disappears.

Thank you!
 
the latest package

Getting Server Error Logs from the latest package.

Code:
Error Info
TypeError: Argument 1 passed to AddonsLab\LinkChecker\Service\DeferredHelper::isCronTask() must be of the type array, boolean given, called in /home/nadda/public_html/library/AddonsLab/LinkChecker/Deferred/DeadLink.php on line 42 - library/AddonsLab/LinkChecker/Service/DeferredHelper.php:66
Generated By: Unknown Account, 15 minutes ago
Stack Trace

#0 /home/nadda/public_html/library/AddonsLab/LinkChecker/Deferred/DeadLink.php(42): AddonsLab\LinkChecker\Service\DeferredHelper->isCronTask(true)
#1 /home/nadda/public_html/library/AddonsLab/LinkChecker/Deferred/DeadLink.php(61): AddonsLab_LinkChecker_Deferred_DeadLink->_updateDeferredLog(true)
#2 /home/nadda/public_html/library/XenForo/Model/Deferred.php(295): AddonsLab_LinkChecker_Deferred_DeadLink->execute(Array, Array, 89.231467962265, 'Checking link s...')
#3 /home/nadda/public_html/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 89.231467962265, 'Checking link s...', false)
#4 /home/nadda/public_html/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 100, 'Checking link s...', false)
#5 /home/nadda/public_html/deferred.php(23): XenForo_Model_Deferred->run(false)
#6 {main}

Request State

array(3) {
  ["url"] => string(39) "/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(3) {
    ["_xfRequestUri"] => string(16) "/threads/148436/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Is it possible to make the domain filtering more specific in batch update? Before it was possible.

For example:

xenforo.com/community/(some thread)

This would be great so a specific broken url that is used in many posts can be replaced by a working one.
 
And a phrase that could be changed with batch update (deleting tags, immediate). It states 'Checking link status' when processing and should state deleting/replacing links?
 
Hello, everyone!

@Nirjonadda The issue reported in fixed in the version we are going to release now.

@dutchbb , domain filtering is only for filtering the domain of the link, not any other part. So, choosing "Only the following domain" and setting the domain you are interested in (e.g. xenforo.com) will allow finding all links from that domain. If you need more details search, you already need to choose the type of BB Code tag, e.g. URL, after which you will see controls to search in URL or text, using simple text match or regular expressions.

And a phrase that could be changed with batch update (deleting tags, immediate). It states 'Checking link status' when processing and should state deleting/replacing links?

The phrase is fixed as well.

We will release the package soon.

Thank you!
 
Back
Top Bottom