Forums | Mahara Community
Support
/
Problem installing mahara
29 December 2011, 18:07
Hi
I feel like an idiot ...
I've installed hundreds of php apps in the past, but I cannot get it running with mahara !
I followed the installation guide and have the following dir structure:
/var/www/mahara
/var/maharadata
both dirs belong to www-data user with 755 permissions
All the settings seem to be ok in config.php, the database has utf8_general_ci collation
But when I write in my browser the URL http://localhost/mahara
it takes me back to the following URL
and I get a 404 not found error
Could you help me to fix this problem? Thank you very much in advance,
Rod.
P.D: Other settings/configuration:
Mahara 1.4.1. Ubuntu 11.10, PHP 5.3.6.13 (cURL enabled), mysql5.1.58
config.php:
$cfg->dbtype = 'mysql5';
$cfg->dbhost = 'localhost';
$cfg->dbport = null;
$cfg->dbname = 'mahara';
$cfg->dbuser = 'mahara';
$cfg->dbpass = 'mypass';
$cfg->dataroot = '/var/maharadata';
29 December 2011, 19:40
Hi, have you tried setting this here in config.php?
// wwwroot - the web-visible path to your Mahara installation
// Normally, this is automatically detected - if it doesn't work for you
// then try specifying it here
$cfg->wwwroot = 'http://localhost/mahara';
30 December 2011, 4:05
Hi Dirk
thanks! that seemed to be the problem.
Actually, I put the "/" at the end, just in case:
$cfg->wwwroot="http://localhost/mahara/";
Cheers,
Rod
03 January 2012, 22:25
Hello Rod,
The best guide for installing Mahara on your own computer under Ubuntu is The Developer Environment page that Francois put together. Please note, it is a guide for postgres, but a number of the settings should be the same.
I've been using that numerous times to set up an environment on my computer for tesing purposes without problems.
Cheers
Kristina