Forums | Mahara Community

Support /
Installation of Mahara


Mario Gharib's profile picture
Posts: 26

13 March 2017, 19:34

Dear Maharers,

I am trying to install Mahara 16.10.2 on XAMPP server v3.2.2 on my WIndows 10,

This is what I did,

1. I unzipped the Mahara and renamed the htdocs folder into Mahara and placed it into htdocs (C:/XAMPP/HTDOCS/mahara) on XAMPP server,

2. I created the following folder "maharadata" and placed outside htdocs (C:/XAMPP/maharadata)

3. I created the mysql database "maharadb",

4. I made a copy of the config-dist.php and renamed it config.php

5. I configured the config.php file as the following:

 <?php
$cfg = new stdClass();
$cfg->dbtype = 'mysql';
$cfg->dbhost = 'localhost';
$cfg->dbport = null; // Change if you are using a non-standard port number for your database
$cfg->dbname = 'maharadb';
$cfg->dbuser = 'root';
$cfg->dbpass = '';
$cfg->dataroot = 'C:/xampp/maharadata';
$cfg->wwwroot = 'http://localhost';

6. I opend my web-browser and typed localhost and pressed install and this is what I get 

Failed to upgrade on CORE

 

Your help would be very appreciated,

Thanks. 

Mario.

Robert Lyon's profile picture
Posts: 773

14 March 2017, 14:23

Hi Mario,

One thing you can try is add these lines to your config.php file

$cfg->productionmode = false;

$cfg->log_dbg_targets     = LOG_TARGET_SCREEN | LOG_TARGET_ERRORLOG;
$cfg->log_info_targets    = LOG_TARGET_SCREEN | LOG_TARGET_ERRORLOG;
$cfg->log_warn_targets    = LOG_TARGET_SCREEN | LOG_TARGET_ERRORLOG;
$cfg->log_environ_targets = LOG_TARGET_SCREEN | LOG_TARGET_ERRORLOG;

And try doing the install again.

It should show debugging information to the screen/error log so you can see what may be the problem
Remember to take the lines out again if you are making the site production ready

Cheers

Robert

2 results