Difference between revisions of "Mahara"

From SME Server
Jump to navigationJump to search
(Mahara)
 
Line 31: Line 31:
 
==== Edit config file ====
 
==== Edit config file ====
  
# cp config-dist.php config.php
+
# cp config-dist.php config.php
 
+
$cfg->dbtype  = 'mysql5;   
+
$cfg->dbtype  = 'mysql5;   
$cfg->dbhost  = 'localhost';   
+
$cfg->dbhost  = 'localhost';   
$cfg->dbport  = null;   
+
$cfg->dbport  = null;   
$cfg->dbname  = 'mahara';   
+
$cfg->dbname  = 'mahara';   
$cfg->dbuser  = 'mahara';   
+
$cfg->dbuser  = 'mahara';   
$cfg->dbpass  = 'jdnv77fd';   
+
$cfg->dbpass  = 'jdnv77fd';  
 
+
   
$cfg->wwwroot = 'http://232.net/mahara/';   
+
$cfg->wwwroot = 'http://232.net/mahara/';   
$cfg->httpswwwroot = 'https://232.net/mahara/';   
+
$cfg->httpswwwroot = 'https://232.net/mahara/';   
$cfg->dataroot = '/home/e-smith/files/ibays/mahara/files';
+
$cfg->dataroot = '/home/e-smith/files/ibays/mahara/files';
 
 
  
 
==== php warning ====
 
==== php warning ====

Revision as of 08:57, 13 March 2010

Mahara

http://mahara.org

Mahara is an open source e-portfolio system with a flexible display framework. Mahara, meaning 'think' or 'thought' in Te Reo Māori, is user centred environment with a permissions framework that enables different views of an e-portfolio to be easily managed. Mahara also features a weblog, resume builder and social networking system, connecting users and creating online learner communities.

Requirements

Mahara requires SME 8 (bets 5)

Mysql

Set up mysql user and database

# mysql 
> create database mahara character set UTF8;
> grant all on mahara.* to 'mahara'@'localhost' identified by 'jdnv77fd';
> exit;

Mahara

Install Source

download latest tar.gz

make ibay mahara make ibay 'writeable' by trusted group, 'read' all enable php install source in html directory


Edit config file

# cp config-dist.php config.php

$cfg->dbtype   = 'mysql5;  
$cfg->dbhost   = 'localhost';  
$cfg->dbport   = null;  
$cfg->dbname   = 'mahara';  
$cfg->dbuser   = 'mahara';  
$cfg->dbpass   = 'jdnv77fd';   

$cfg->wwwroot = 'http://232.net/mahara/';  
$cfg->httpswwwroot = 'https://232.net/mahara/';  
$cfg->dataroot = '/home/e-smith/files/ibays/mahara/files';

php warning

Call stack (most recent first): 

    * log_message("You have dangerous PHP settings, magic_quotes_gpc ...", 1, true, true) at /home/e-smith/files/ibays/mahara/html/lib/errors.php:123
    * log_environ("You have dangerous PHP settings, magic_quotes_gpc ...") at /home/e-smith/files/ibays/mahara/html/lib/mahara.php:97
    * ensure_sanity() at /home/e-smith/files/ibays/mahara/html/init.php:80
    * require("/home/e-smith/files/ibays/mahara/html/init.php") at /home/e-smith/files/ibays/mahara/html/admin/upgrade.php:32