Package: drupal5
Version: 5.9-1
Severity: minor
Tags: patch

Hi,

The cron script that ships with the debian version of drupal5 relies on the
"base_url" variable to locate sites in order to run the drupal cron scripts
(accessible by urls of the form http://drupal-site/cron.php). This may fail,
since this variable is not normally needed. In case this mechanism fails,
the script falls back to access http://localhost/drupal5/cron.php.
This is reasonable for a simple site, but fails if there is more than one
site or if the user altered the path to the drupal install to be something
like http://localhost/cron.php, for instance.

I wrote a new version of the script that tries harder to figure out where
the cron script urls are. It is a hack, but probably solves this problem
most of the time. If I don't screw up with bugreport, it will be attached
to this message.

Thanks,
Nelson

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)

Versions of packages drupal5 depends on:
ii  apache2-mpm-prefork [http 2.2.3-4+etch5  Traditional model for Apache HTTPD
ii  curl                      7.15.5-1etch1  Get a file from an HTTP, HTTPS, FT
ii  dbconfig-common           1.8.29+etch1   common framework for packaging dat
ii  debconf                   1.5.11etch2    Debian configuration management sy
ii  mysql-client-5.0 [mysql-c 5.0.32-7etch6  mysql database client binaries
ii  nullmailer [mail-transpor 1:1.03-4       simple relay-only mail transport a
ii  php5                      5.2.0-8+etch11 server-side, HTML-embedded scripti
ii  php5-gd                   5.2.0-8+etch11 GD module for php5
ii  php5-mysql                5.2.0-8+etch11 MySQL module for php5
ii  wwwconfig-common          0.0.48         Debian web auto configuration

Versions of packages drupal5 recommends:
ii  mysql-server               5.0.32-7etch6 mysql database server (meta packag
ii  mysql-server-5.0 [mysql-se 5.0.32-7etch6 mysql database server binaries

-- debconf information excluded

Attachment: drupal-cron.gz
Description: Binary data

Reply via email to