Package: drupal
Version: n/a
Tags: patch
Severity: wishlist

After drupal being upgraded it breaks search function and aggregator feeds.
Search and aggregator feeds use scripts/cron-lynx.sh that is reseted to the URL http://yoursite.com.

The content of scripts/cron-lynx.sh is only:

#!/bin/sh
/usr/bin/lynx -source http://yoursite.com/cron.php > /dev/null 2>&1

What appears as "yoursite.com" should be the replaced by the content of the variable $base_url available on includes/conf.php

As an idea, for installation/upgrade/configuration of drupal as we have php (for sure) installed on the system maybe we can use it to generate the correct cron-lynx.sh.

I created and tested a script to generate the correct scripts/cron-lynx.sh, included as attachment. To generate the file just run:

php -q create_cron.php

Hope this helps to fix the problem. Feel free to use it.

--
Cumprimentos/Best Regards,

Miguel Figueiredo
http://www.DebianPT.org

Attachment: create_cron.php
Description: application/php

Reply via email to