Link Checker for XenForo 2.x by AddonsLab

Link Checker for XenForo 2.x by AddonsLab [Paid] 4.1.1

No permission to buy ($54.99)
This gives me this (you had told me I don't need ioncube!

Now I don't know how to get back my forum as I just get this: (unless I restore to backup but that was hours ago (I know I should have backed up before udating the addon)



Code:
An exception occurred: [XF\PrintableException] Php IonCube extension is not installed. The trial version of the add-on requires this extension and minimum PHP 5.6 version to run. Full version does not have such requirement and will run without IonCube. in src/addons/AddonsLab/LinkChecker/license-no-ioncube.php on line 7

    include() in src/addons/AddonsLab/LinkChecker/Listener/TemplaterTemplatePreRender.php at line 15
    include() in src/vendor/composer/ClassLoader.php at line 444
    Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 322
    Composer\Autoload\ClassLoader->loadClass()
    spl_autoload_call()
    is_callable() in src/XF/Extension.php at line 33
    XF\Extension->fire() in src/XF/App.php at line 2660
    XF\App->fire() in src/XF/Template/Templater.php at line 1297
    XF\Template\Templater->renderTemplate() in src/XF/Template/Template.php at line 24
    XF\Template\Template->render() in src/XF/Mvc/Renderer/Html.php at line 48
    XF\Mvc\Renderer\Html->renderView() in src/XF/Mvc/Renderer/Html.php at line 38
    XF\Mvc\Renderer\Html->renderErrors() in src/XF/Mvc/Dispatcher.php at line 427
    XF\Mvc\Dispatcher->renderReply() in src/XF/Mvc/Dispatcher.php at line 400
    XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 58
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2190
    XF\App->run() in src/XF.php at line 391
    XF::runApp() in admin.php at line 13

Disable addons via config.php then you should be able to get into the site.
 
Disable addons via config.php then you should be able to get into the site.

yes thanks, I discovered that!

I have restored the addon to older version and disabled it for now until I can get a working trial.

Also having huge issue nopw with indexing brokem links.

It seemed to be working OK with server load set to 3, but now (with 40,000 links to still check, it just slowed right down both the link checking and the forum itself.

Checking links down to abou 10 per minute (out of 40k)

It also slows the forum down (e.g. 20 sec page load) and this seemed to be happening even with server load set to 1 - whether it was actually checking the links or while waiting for server load to reduce.

:(
 
I have removed my moderator permissions, but the flag is still there showing items in approval queue (even though that now shows empty)

Disable addon, the approval queue flag is still there!!!
 
This gives me this (you had told me I don't need ioncube!

Now I don't know how to get back my forum as I just get this: (unless I restore to backup but that was hours ago (I know I should have backed up before udating the addon)



Code:
An exception occurred: [XF\PrintableException] Php IonCube extension is not installed. The trial version of the add-on requires this extension and minimum PHP 5.6 version to run. Full version does not have such requirement and will run without IonCube. in src/addons/AddonsLab/LinkChecker/license-no-ioncube.php on line 7

    include() in src/addons/AddonsLab/LinkChecker/Listener/TemplaterTemplatePreRender.php at line 15
    include() in src/vendor/composer/ClassLoader.php at line 444
    Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 322
    Composer\Autoload\ClassLoader->loadClass()
    spl_autoload_call()
    is_callable() in src/XF/Extension.php at line 33
    XF\Extension->fire() in src/XF/App.php at line 2660
    XF\App->fire() in src/XF/Template/Templater.php at line 1297
    XF\Template\Templater->renderTemplate() in src/XF/Template/Template.php at line 24
    XF\Template\Template->render() in src/XF/Mvc/Renderer/Html.php at line 48
    XF\Mvc\Renderer\Html->renderView() in src/XF/Mvc/Renderer/Html.php at line 38
    XF\Mvc\Renderer\Html->renderErrors() in src/XF/Mvc/Dispatcher.php at line 427
    XF\Mvc\Dispatcher->renderReply() in src/XF/Mvc/Dispatcher.php at line 400
    XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 58
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2190
    XF\App->run() in src/XF.php at line 391
    XF::runApp() in admin.php at line 13

Dear customer, please communicate regarding this in conversations, the fact that we provided you IonCube-free version for a private test and something does not work in that regards has nothing to do in the public thread, where add-on bugs are reported.

We will reply you in the conversation now.
 
It seemed to be working OK with server load set to 3, but now (with 40,000 links to still check, it just slowed right down both the link checking and the forum itself.

Checking links down to abou 10 per minute (out of 40k)

It also slows the forum down (e.g. 20 sec page load) and this seemed to be happening even with server load set to 1 - whether it was actually checking the links or while waiting for server load to reduce.

Just set the load limit to the level that does not affect your board performance. Checking for link status requires considerable server load, and there is nothing we can do to speed that process up.

The product has an option to disable moderation queue for broken links, please enable it (disable broken link moderation), as it seems you have too many broken links and that affects the performance of the board for moderator (it will not affect the performance for other users). The counter is still shown as it is the number is being updated based on actual number of items in the queue, once you disable the moderation queue just visit the approval page and you should not see any links and it should load fastly.

Thank you!
 
@AddonsLab I have created support ticket in your site but does not get any response.

You have created the ticket only 3 hours ago. Of course, we are checking it and will reply asap, but such a message may create impression for other users that your ticket was ignored and was not answered for a long time.

If anything is urgent for you, feel free to reply here or in the ticket and inform that it is urgent, and we will for sure see it and assist you with with higher priority.

We will reply in your ticket soon.

Thank you!
 
The product has an option to disable moderation queue for broken links, please enable it (disable broken link moderation), as it seems you have too many broken links and that affects the performance of the board for moderator (it will not affect the performance for other users).
Yes there do seem to be thousands of broken links. These could take me weeks or months to deal with, so is there a way to only show new post dead links in the moderation queue?
 
Is this a problem?

Code:
    ErrorException: [E_NOTICE] Trying to access array offset on value of type null src/addons/AddonsLab/ContentHandler/Traits/PostTrait.php:106

    Generated by: Pete Thomas Sep 14, 2020 at 4:44 PM

Stack trace

#0 src/addons/AddonsLab/ContentHandler/Traits/PostTrait.php(106): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/caf/publi...', 106, Array)
#1 src/addons/AddonsLab/ContentHandler/Traits/PostTrait.php(268): AddonsLab\LinkChecker\ContentHandler\PostHandler->assertThreadAndForum()
#2 src/addons/AddonsLab/ContentHandler/AbstractContentHandler.php(39): AddonsLab\LinkChecker\ContentHandler\PostHandler->_postSetContextFromContentId(332673)
#3 src/addons/AddonsLab/LinkChecker/Library/Content.php(66): AddonsLab\ContentHandler\AbstractContentHandler->setContextFromContentId(332673)
#4 src/addons/AddonsLab/LinkChecker/Library/Service/ContentProvider.php(68): AddonsLab\LinkChecker\Library\Content->setupFromContentId(332673)
#5 src/addons/AddonsLab/LinkChecker/Library/Service/StatusChangeHandler.php(58): AddonsLab\LinkChecker\Library\Service\ContentProvider->getContentById('post', 332673)
#6 src/addons/AddonsLab/LinkChecker/Library/Service/StatusChangeHandler.php(45): AddonsLab\LinkChecker\Library\Service\StatusChangeHandler->handleTagStatusChange(Object(AddonsLab\LinkChecker\Library\Tag), 0, 403)
#7 src/addons/AddonsLab/LinkChecker/Library/Service/TagProvider.php(262): AddonsLab\LinkChecker\Library\Service\StatusChangeHandler->tagUrlUpdate(Object(AddonsLab\LinkChecker\Mapping\TagUrlMapping), Object(AddonsLab\LinkChecker\Mapping\TagUrlMapping))
#8 src/addons/AddonsLab/LinkChecker/Library/Service/JobRunner.php(238): AddonsLab\LinkChecker\Library\Service\TagProvider->validateTagUrlMapping(Object(AddonsLab\LinkChecker\Mapping\TagUrlMapping), '1', '1')
#9 src/addons/AddonsLab/LinkChecker/Job/DeadLink.php(45): AddonsLab\LinkChecker\Library\Service\JobRunner->runDeadLinkCheckJob(Array)
#10 src/addons/AddonsLab/LinkChecker/Job/AbstractDelayableJob.php(48): AddonsLab\LinkChecker\Job\DeadLink->_execute(G)
#11 src/XF/Job/Manager.php(253): AddonsLab\LinkChecker\Job\AbstractDelayableJob->run(G)
#12 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#13 src/XF/Job/Manager.php(111): XF\Job\Manager->runJobEntry(Array, G)
#14 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
#15 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#16 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(SV\UserMentionsImprovements\XF\Admin\Controller\Tools), NULL)
#17 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\UserMentionsImprovements\XF\Admin\Controller\Tools), NULL)
#18 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#19 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#20 src/XF.php(391): XF\App->run()
#21 admin.php(13): XF::runApp('XF\\Admin\\App')
#22 {main}

Request state

array(4) {
  ["url"] => string(24) "/admin.php?tools/run-job"
  ["referrer"] => string(49) "https://cafesaxophone.com/admin.php?tools/run-job"
  ["_GET"] => array(1) {
    ["tools/run-job"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["_xfRedirect"] => string(64) "https://cafesaxophone.com/admin.php?links/rebuild-data&success=1"
    ["_xfToken"] => string(8) "********"
    ["only_ids"] => string(5) "57961"
  }
}
 
Just set the load limit to the level that does not affect your board performance. Checking for link status requires considerable server load, and there is nothing we can do to speed that process up.

The product has an option to disable moderation queue for broken links, please enable it (disable broken link moderation), as it seems you have too many broken links and that affects the performance of the board for moderator (it will not affect the performance for other users).
Dead link moderation is disabled, but still very very very slow site page loading in spite fo server load limit very low at 2 - so hardly every actually runs just says The execution of background tasks will be delayed....
 
@AddonsLab

Can you configure this add-on to automatically watch for a certain URL using a wildcard? like google would find any domain with google in it and if found, it'd send to the moderation queue?
 
Yes there do seem to be thousands of broken links. These could take me weeks or months to deal with, so is there a way to only show new post dead links in the moderation queue?
I am afraid that's not possible. The queue is either enabled or disabled. Moderation queue is meant to give access to the product to moderators, you don't have to use it as an admin. You can always go to the Batch Update page, see the number of dead links, filter them by any criteria and apply batch fixes. Moderation queue is basically manual verification for each link, so it is not as powerful as admin panel tools.

Dead link moderation is disabled, but still very very very slow site page loading in spite fo server load limit very low at 2 - so hardly every actually runs just says The execution of background tasks will be delayed....
This might be still caused by the moderation queue. Please try to log-out and browse the site as guest, and see if you still notice the slowness. If so, then the problem is clearly the moderation queue, we will provide further instructions to resolve it.

ErrorException: [E_NOTICE] Trying to access array offset on value of type null src/addons/AddonsLab/ContentHandler/Traits/PostTrait.php:106
This fix will be released asap.

Can you configure this add-on to automatically watch for a certain URL using a wildcard? like google would find any domain with google in it and if found, it'd send to the moderation queue?

I am afraid that feature is not available. Links are sent to moderation queue only if they are detected as broken.

Thank you!
 
Can you configure this add-on to automatically watch for a certain URL using a wildcard? like google would find any domain with google in it and if found, it'd send to the moderation queue?
I am afraid that feature is not available. Links are sent to moderation queue only if they are detected as broken.
I'm also interested in this, but maybe my use is slightly different so I'm hoping in my case it is possible so would like to try that.

I have one user who has posted a lot of smilies from his photobucket album and I want to remove them all (ie replace with nothing)

He has in every case linked the image to the actual image page on photobucket so the bbcode is like this:

Code:
  [URL='http://s195.photobucket.com/user/Colin_the_bear/media/billybargain_37741_8229.gif.html'][IMG]http://i195.photobucket.com/albums/z28/Colin_the_bear/billybargain_37741_8229.gif[/IMG][/URL]

All of these are identical apart form the actual image.

They are not dead links (yet) so one thing I'd like to test is whether I can batch replace these? Presumably if so I have to use regex, is this possible? Thanks
 
I'm also interested in this, but maybe my use is slightly different so I'm hoping in my case it is possible so would like to try that.

I have one user who has posted a lot of smilies from his photobucket album and I want to remove them all (ie replace with nothing)

He has in every case linked the image to the actual image page on photobucket so the bbcode is like this:

Code:
  [URL='http://s195.photobucket.com/user/Colin_the_bear/media/billybargain_37741_8229.gif.html'][IMG]http://i195.photobucket.com/albums/z28/Colin_the_bear/billybargain_37741_8229.gif[/IMG][/URL]

All of these are identical apart form the actual image.

They are not dead links (yet) so one thing I'd like to test is whether I can batch replace these? Presumably if so I have to use regex, is this possible? Thanks

Yes, it is possible with regexps, just try it in the Batch update page, and see the preview. No need for a monitoring feature for it.
 
Another couple of quick questions:

(1) I have about 6000 404

800 of those I identified as wrong because my own old URL. I corrected the URL in database fro all of them, reran the erbuild dead links but those ones still show up (still 6000 deadlnks) and they show in the batch updtae list withy the old URL but have in fact all been changed and are now good links.

So how do I rebuild the dead links to not show those ones ? Thanks

(2) My test user has permissions

Screenshot 2020-09-16 at 11.02.21.webp

When he posts a dead link it shows as expected with x and report link.

But he gets no alert and when pressing report, I (admin) don't seem to get a report.

So how is this meant to work, something else needs configuring maybe?

(3) The video (which is helpful thanks!) shows a date range. How do I get to view this?


Screenshot 2020-09-16 at 11.05.16.webp
 
This might be still caused by the moderation queue. Please try to log-out and browse the site as guest, and see if you still notice the slowness. If so, then the problem is clearly the moderation queue, we will provide further instructions to resolve it.
Yes, with moderation off both in options and in permissions, is very slow for me. Logged out or with addon disabled is fine.
 
Back
Top Bottom