Forums / Install & configuration / Link checker cron marks valid links as invalid

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Link checker cron marks valid links as invalid

Author Message

Loyd Glenn

Thursday 23 September 2004 1:10:46 pm

Links to web pages that work well are marked invalid by the link checking cron. I wonder whether pages that take too long to come up might be marked invalid.

Anyone have any ideas?

Loyd

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