Forums | Mahara Community

Support /
I got this message while installing.


anonymous profile picture
Account deleted
Posts: 1643

07 December 2008, 16:42

The reason why those extra characters are being added might be because you have your apache configured incorrectly.

What domains are you website visible at? E.g. domain.com and www.domain.com. When you visit one of them, does it redirect you to the other one, or can you view the site on both domains?

If it does not, then your apache has been misconfigured. You can solve that by explicitly setting the wwwroot in the config file. Remember to drop and create your database again afterwards, so you can run through the installer properly.

anonymous profile picture
Account deleted
Posts: 16

07 December 2008, 22:20

I did what you told me. In fact, just to test, I got a free hosting account

 conservativestudent.site40.net

as far as I know, you can view the site on both http:// and www. , but since I installed mahara in public_html this time, public_html/index.php refuses to load, but will send me to:

/ml/admin/index.php

what exactly should I put in wwwroot? 

http://conservativestudent.site40net, or

http://www.conservativestudent.site40net,or

www.conservativestudent.site40net ?

 The hosting has a crazy 404 redirect to their ads, so I set the htaccess to "ErrorDocument 404 /" which just spins it around in redirect loops until firefox gives up and I can tell where it was originally trying to go. Why cant I go directly to http://conservativestudent.site40net/index.php? There a crazy redirect to ml/admin/index.php which isn't there.

I'm thoroughly confused.

More importantly, where should I go to get to the installer? 

anonymous profile picture
Account deleted
Posts: 1643

07 December 2008, 16:40

When you put in the root path, did you put it with a / in front?

Also note, that the main goal of Mahara preventing you putting the files inside the mahara codebase (e.g. at /root/public_html/mahara/wow) is because the files in there should not be served to the general public. Normally, public_html is served - so you should put your dataroot at root/wow instead of root/public_html/wow.

anonymous profile picture
Account deleted
Posts: 16

07 December 2008, 22:20

I am just testing right now So I will need to know all of the steps to do.

I set up an account at conservativestudent.site40.net

I added everything in htdocs to my public_html folder, so it should be visible on 

conservativestudent.site40.net

 My website hosting has a crazy 404 redirect to their ads, so I set up a htaccess with ErrorDocument 404 /

It sends it around in redirect loops! Firefox gets angry, and gives up. Then I can see where it was trying to send me. 

www.conservativestudent.site40.net sends me to

www.conservativestudent.site40.net/ml/admin/index.php

 It still sticks the ml into it.

Ive tried over and over again to change the wwwroot, but without success.

What EXACTLY should I put into it?

http://www.conservativestudent.site40.net

http://conservativestudent.site40.net

www.conservativestudent.site40.net

?

Where is the installer actually located?

 

anonymous profile picture
Account deleted
Posts: 16

07 December 2008, 22:50

You know the crazy thing?

I tried installing it in /ml/, and it still added an extra ml, so it ended up sending me to

/ml/ml/admin/index.php

anonymous profile picture
Account deleted
Posts: 16

07 December 2008, 22:53

Am I anywhere close to installing it? I'm really anxious because I'm looking forward to it so much. :)
anonymous profile picture
Account deleted
Posts: 1643

08 December 2008, 0:36

It sounds like your hosting is not helping the issue much :)

What I would do is:


Then I would try again for http://conservativestudent.site40.net

The wwwroot needs the http:// part on the front.

If neither of those two values works, then I don't know what is going wrong. But remember - you absolutely MUST drop and re-create the database and then set the wwwroot in the config file BEFORE hitting the page in your browser.

anonymous profile picture
Account deleted
Posts: 16

08 December 2008, 10:29

I keep trying that, but it hasn't worked so far.

Why can't I delete the dataroot now?

There are just three inaccessible folders.

I changed the wwwroot, and then the dataroot to another folder, as well as the user and db, and I haven't had any luck.

 It still redirects me to ml

Is it an issue with my Apache?

I have opened a ticket with my hosting about it.

anonymous profile picture
Account deleted
Posts: 1643

08 December 2008, 15:12

There is another setting that you should probably tweak because you're on shared hosting. $cfg->directorypermissions - you should set that to 0777 by putting this in your config file:

$cfg->directorypermissions = 0777;

That will make sure the directories are created in such a way that you can access and delete them. By default, the directories are created by the apache user and are permission 0700 which means only that user can delete them.

I don't understand why you're not having more luck than you are.. something seems quite broken there but I can't work out what it is Frown

anonymous profile picture
Account deleted
Posts: 1

18 December 2008, 2:26

hi Nigel,

i am having the same problem as Jhon . i am trying to install mahara in a linux server(fedora),

i am having all the necessary library extensions as said in the installatiion instrutions and also magic qoutes and register global off. 

my document root is /var/www/html and i am having

$cfg->wwwroot = 'http://mysite.org/mahara/';  (since i am in testing phase, i use a Ip instead of a domain name)

$cfg->dataroot = '/var/www/MaharaResource/';(write permission properly set)

$cfg->directorypermissions = 0777;

i also set the cron as instructed.

when i tried in broswer, i asks for the agreement, upon agreeing,

its keeps on updating and never stops. 

i also had a look in the apache log, but there are no errors.

am i missing something other than what said in the instruction or its the issue of the server or in the php ini settings?

any idea about this?

Thanks in Advance

Cheers

Karthick B