Forums | Mahara Community

Support /
help with install and data root


anonymous profile picture
Account deleted
Posts: 5

24 May 2011, 15:07

Hi

 

Work for a charity in sheffield UK, trying to install mahara as a lovely partner to moodle, managed to get moodle installed perfectly! can theme and do joomla eyes closed! build roms for my android phone! but installing mahara is got me stumped

I've got mahara on the server,

I've edited the config.php and then i get blank screen.

here is the config.php

<?php

$cfg = new StdClass;
$cfg->dbtype   = 'mysql5';
$cfg->dbhost   = 'localhost';
$cfg->dbport   = null;
$cfg->dbname   = 'sass_farce';
$cfg->dbuser   = 'sass_farce';
$cfg->dbpass   = 'xxxxxxxxxxxxxx;

$cfg->dbprefix = 'sass_';
$cfg->wwwroot = 'http://www.sheffieldalcoholsupportservice.org.uk/farcebook/';
$cfg->dataroot = '';
$cfg->emailcontact = '[email protected]';


?>

 

I get a blank screen?

 

error gives me Fatal error: Cannot redeclare log_debug() (previously declared in /home/sass/domains/sheffieldalcoholsupportservice.org.uk/public_html/farcebook/lib/errors.php:84) in /home/sass/domains/sheffieldalcoholsupportservice.org.uk/public_html/farcebook/lib/errors.php on line 1055

 

I've set my maharadata out side of public_html and set permissions at 777

 

Help with dataroot or any other glaring errors!

 

thanks you in advance for any help given

[email protected]

24 May 2011, 17:40

The reason is that you didn't create a data folder.

You must have a data folder (usually we call it maharadata) somewhere in your server but outside the web folder.

For example if your web folder is :

/var/www/

or

/var/htdocs/

you could put your data folder here

/var/maharadata

Then you have to give this information into your config.php file. Don't put a ending slash in the address, therefore you will get more problems.

-dajan

anonymous profile picture
Account deleted
Posts: 5

25 May 2011, 2:55

Hi

so it would be 

 

$cfg->dataroot = '/home/sass/domains/sheffieldalcoholsupportservice.org.uk/maharadata'

 

I still get a blank screen? grrrrr pesky mahara! 

anonymous profile picture
Account deleted
Posts: 5

25 May 2011, 4:35

and also mahara data is set at 777 

still getting 

/home/sass/domains/sheffieldalcoholsupportservice.org.uk/public_html/farcebook/lib/errors.php:84) in/home/sass/domains/sheffieldalcoholsupportservice.org.uk/public_html/farcebook/lib/errors.php on line 1055

grrr


25 May 2011, 17:46

I notice something in the path of your last post :

what is farcebook ? (in farcebook/lib/error.php)

-dajan

anonymous profile picture
Account deleted
Posts: 5

26 May 2011, 6:23

Farcebook is just what i renamed the maraha fold? 

26 May 2011, 9:25

I don't understand quite well.

Your maharadata folder is named 'farcebook'

If so your config.php is wrong and should say :

$cfg->dataroot = '/home/sass/domains/sheffieldalcoholsupportservice.org.uk/public_html/farcebook'

It won't work because your farcebook (aka maharadata) folder MUST be outside the public_html folder.

Moreover what is inside your farcebook folder ? I don't get why it seems you have mahara php code files in it.

I suggest you read carefully the documentation on the wiki on how to install mahara on a server and come back here in case of remaining problems.

Yours,

-dajan

anonymous profile picture
Account deleted
Posts: 5

26 May 2011, 10:59

Hi

Sorry

Hi

 

don't think i explain well

 

/home/sass/domains/sheffieldalcoholsupportservice.org.uk/maharadata

is the data which is oout side the pubilic

/home/sass/domains/sheffieldalcoholsupportservice.org.uk/public_html/farcebook

is the mahara files php etc  etc and all the other stuff from  just rename farcebook so when go to

...service.org.uk/facrcebook mahara loads ......

 

cheers

 

mike

27 May 2011, 4:19

Hello,

Thank you for this explanation.

What I suggest is to re-read your config.php to be certain the different folders are correctly set (I know it is maybe silly, but I already spent time to search for an error and missed it many times...)

Check the folder access settings :

chmod -R 777 and

chown -R www-data:www-data or what ever user and group setting fits your installation.

If it is still not working, try to reinstall everything from scratch. When you do something on a computer, normaly it never works the first time (this is a computer law).

Keep going and keep the community posted.

See also with Richard or François at Catalyst what they do think about the problem if it is not solved quickly.

Cheers,

-dajan

9 results