Link checker cron marks valid links as invalid

Link checker cron marks valid links as invalid

Thursday 23 September 2004 1:10:46 pm - 3 replies

Modified on Friday 24 September 2004 11:28:48 am by Loyd Glenn

Author Message

Paul Borgermans

Friday 24 September 2004 1:42:44 am

Yes,

If there is a delay in fetching, this will happen. Are you behind a firewall? If yes, you will need the curl based linkchecker from teh contributions.

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Loyd Glenn

Friday 24 September 2004 9:27:38 am

Yes I am behind a firewall, but some of the affected links are also behind the same firewall. I will try curl based link checking. Thank you.

Loyd

Loyd Glenn

Friday 24 September 2004 11:32:17 am

I solved the problem. I changed the timeout value for the URL checking.

1 Open the linkcheck.php file in the cronjobs folder.
2 Find the line: $fp = @fopen( $url, "r");
3 Put this line before it: stream_set_timeout($fp, 15);

The 15 is for a fifteen second timeout. It can be increased or decreased, of course.

Loyd

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.