Reviewed:  https://reviews.mahara.org/302
Committed: 
http://gitorious.org/mahara/mahara/commit/872bd80eec2fb5070d38ad682379664d71bf45fe
Submitter: Richard Mansfield (richa...@mahara.org)
Branch:    1.4_STABLE

commit 872bd80eec2fb5070d38ad682379664d71bf45fe
Author: Francois Marier <franc...@catalyst.net.nz>
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: Icb734f939889453e80b53647748976648ee18419
    Signed-off-by: Francois Marier <franc...@catalyst.net.nz>

-- 
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:
  Confirmed

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-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to