← Back to team overview

mahara-contributors team mailing list archive

[Bug 794490] A change has been merged

 

Reviewed:  https://reviews.mahara.org/379
Committed: http://gitorious.org/mahara/mahara/commit/5266d1b4406cfdad86a57b2080910319ba9ad883
Submitter: Richard Mansfield (richardm@xxxxxxxxxx)
Branch:    master

commit 5266d1b4406cfdad86a57b2080910319ba9ad883
Author: Francois Marier <francois@xxxxxxxxxxxxxxx>
Date:   Thu Jun 9 18:43:23 2011 +1200

    Revert "Remove wwwroot from the database (bug #780177)"
    
    This reverts commit fb38dd955ceed3601da954dd5b2e55b682e1ac03.
    
    It turns out that we do need the wwwroot to be in the database
    because the code that sends forum posts via email runs in php
    cli mode and is needs to get the hostname of the site to embed
    in the headers.
    
    While not specifically mentioned in bug #794490, it was spitting
    out warnings in the logs.
    
    Conflicts:
    
    	htdocs/lib/db/upgrade.php
    	htdocs/lib/version.php
    
    Change-Id: I36b33ac72eee01f71056a45c706f2fc8674620ec
    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

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