← Back to team overview

mahara-contributors team mailing list archive

[Bug 794490] A change has been merged

 

Reviewed:  https://reviews.mahara.org/432
Committed: http://gitorious.org/mahara/mahara/commit/861d5f1ef3c1a2d32ea2149600522988bf31cd17
Submitter: Francois Marier (francois@xxxxxxxxxxxxxxx)
Branch:    1.3_STABLE

commit 861d5f1ef3c1a2d32ea2149600522988bf31cd17
Author: Francois Marier <francois@xxxxxxxxxxxxxxx>
Date:   Thu Jun 9 18:32:28 2011 +1200

    init: only redirect to HTTPS when running in a browser
    
    The redirect to HTTPS added in 02cf299a59851c06ac9227a2f0df898392196cf6
    was causing problems when cron was running using PHP cli (bug #794490).
    
    Change-Id: I4d9dcf295a7582645c9ba4ba1935b6b277eff59b
    Signed-off-by: Francois Marier <francois@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/794490

Title:
  Cron is not running

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.3 series:
  Fix Committed

Bug description:
  Mahara v1.4rc3
  Linux 2.6.26-2
  PHP 5.2.6
  Apache-Server 2.2.9
  postgresql-Server 8.4

  I was trying to setup the cronjob for mahara explained like in the
  wiki:
  https://wiki.mahara.org/index.php/System_Administrator%27s_Guide/Cron_Job.
  But it do not work.

  See the entry in the /etc/crontab:
   */5 * * * *     www-data php -c /etc/php5/apache2/php.ini /data/srv/www/mahara/lib/cron.php >> /var/log/mahara/cron.log 2>&1

  and the output of log-file in /var/log/mahara/cron.log:
  "A nonrecoverable error occured. This probably means you have encountered a bug in the system[WAR] 1f (lib/web.php:2291) redirect() should be called with either /[something] for local redirects or http[something] for absolute redirects
  Call stack (most recent first):
    * redirect("ar/www/mahara/lib/cron.php") at /var/www/mahara/init.php:192
    * require("/var/www/mahara/init.php") at /var/www/mahara/lib/cron.php:33

  A nonrecoverable error occured. This probably means you have
  encountered a bug in the system".

  Has anybody an idea?

  Thanx,
  michael wuttke

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/794490/+subscriptions


References