Reviewed:  https://reviews.mahara.org/379
Committed: 
http://gitorious.org/mahara/mahara/commit/5266d1b4406cfdad86a57b2080910319ba9ad883
Submitter: Richard Mansfield ([email protected])
Branch:    master

commit 5266d1b4406cfdad86a57b2080910319ba9ad883
Author: Francois Marier <[email protected]>
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 <[email protected]>

-- 
You received this bug notification because you are a member of Mahara
Reviewers, 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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to