Closed (fixed)
Project:
Link checker
Version:
6.x-2.4
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2009 at 18:23 UTC
Updated:
7 Jan 2010 at 00:50 UTC
We must be missing something. Running it on d 6.14. Even applied the hotfix. The module doesn't ever seem to actually check links. We even tried putting a call to the linkchecker cron function on a page and running that directly, but it still doesn't seem to do anything.
Comments
Comment #1
hass commentedAnything visible in watchdog logs? How long does cron take? What's your php timeout issue? What is shown on the broken links page? Doesthe counters change? How many entries do you have in linkchecker_links table?
Comment #2
BMorse commentedHere's what I have:
After cron runs, it just says that cron ran successfully in the logs.
cron Dec 18 2009 - 3:25pm Cron run completed.
Takes about 5 seconds to run.
Don't know about any php timeout issue.
"There are 910 unchecked links of about 910 links in the database. Please be patient until all links have been checked via cron." - in a yellow box at the top of the broken links page.
"No broken links have been found." - in the table on the broken links page.
Counters haven't changed once.
754 total rows in linkchecker_links table.
Comment #3
hass commentedWhat is the php timeout value? Are you able to debug the
linkchecker_cron()?Comment #4
hass commentedAlso make sure your PHP config have SSL enabled.
Comment #5
allartk commentedsame issue for several weeks on a website we host (also applied the patch). Just upgraded to drupal 6.15 but the issue remains, no matter how often I run cron (which is done very fast).
Comment #6
hass commentedI found myself if the PHP openssl extension is disabled and an URL with SSL is checked Drupal complains about broken http requests... I believe this is the reason. Please execute the first SQL query in linkchecker_cron to find out what URLs you are checking. 6.15 should be fine. Also please tell me your PHP timeout settings.
I'm not able to repro.
Comment #7
BMorse commentedDo you mean max_execution_time? If so, it's default 30s. Added the cron debug code and linkchecker_cron seems to run like everything else. It appears to finish because it's fourth in a long list and doesn't seem to cause any issues.
Oh, and yes SSL is enabled.
Comment #8
BMorse commentedWe ran the SQL query:
No results. I think the query pulls links with status = 1, but they all seem to be 0. So that could be the problem. But why would they be set to 0?
Comment #9
hass commentedYou must have changed the standard exclusion list... Maybe you can post 3 table entries here and the url exclusion list.
Comment #10
BMorse commentedThere is nothing in the url exclusion field. All i did was delete the defaults. Here are the first 3 table entries with 'domain' in place of the actual domain:
1 f397baa2528ad1134721541b6a859d42 http://domain.org/livable-community HEAD -1 NULL 0 0 0
2 4c73680115b2964cdb15254b5537f599 http://domain.org/hot-projects HEAD -1 NULL 0 0 0
3 e7e7790d9eb8acdf810d17672b744b0b http://domain.org/energy-conservation HEAD -1 NULL 0 0 0
Comment #11
hass commentedUps... Never tested without the example urls... Why have you removed them? They are reserved and need to be excluded
Comment #12
BMorse commentedJust didn't seem necessary to have them there. I reset to the default, then rechecked the node types to be checked and saved the configuration. Then clicked Clear link data and analyze content for link. Now I'm finally getting results! Thanks.
Maybe you should add a warning not to delete the examples in that field.
Comment #13
hass commentedChanging to bug... I think this should work, however it makes no sense to remove them as this 3 reserved domains should definitively never ever be checked :-)
Comment #14
hass commentedComment #15
hass commentedFixed in DEV.
Comment #16
hass commentedComment #17
hass commented