Outstanding...good job!
Thank you.
]]>I wanted to report back that I believe your assessment of my issue was correct. When I went into the File Manager today, there were a few folders named mahara that I didn't remember creating and so I deleted all of them and started my install fresh all over again.
I now have a functioning install of Mahara and I am not being asked to log in with every click to a new page.
Thanks again!
]]>Just went over this conversation and there was something about the conversation that I had to keep watch. It was because I had the same issue! There are two issues you will need to watch Williams. This first is the location of the Mahara installation, and the second is the < config.php >.
I have noticed that some installations of Mahara do a double install, so essentially when an end-user signs-in, the end-user is signed-in, but when the end-user clicks on Site Administration, the end-user is asked again to sign-in. This means there is a double installation of the Mahara package.
The installation wants to install everything into the < /mahara/htdocs/ > directory. The problem is that the < config.php > doesn’t point to the < /mahara/htdocs/ > directory for Mahara, rather a straight forward URL location. The first step is half way done!
In the < config.php > comment out this line:
< $cfg->wwwroot = 'http://www.anyurl.com/'; > like so: < // $cfg->wwwroot = 'http://www.anyurl.com/'; >
This will be the URL of the Mahara installation. Notice that it’s not pointing to the < /mahara/htdocs/ > directory. I actually changed the line to: < $cfg->wwwroot = 'http://eaf.eqeact.com/'; >
My line looks like this:
$cfg->wwwroot = 'http://eaf.eqeact.com/';
. !!!Only comment out the original line and document in the comment block why. Do not delete it!!!
Next we’ll need to take notice of where the Mahara installation has taken place. If the original installation had stalled or failed, and the end-user attempted to reprocess the installation to the same directory, there will be two (2) installations of Mahara in the same directory.
From the conversation, it doesn’t appear that you have used Mahara.
I personally got rid of the < mahara/htdocs/ > directory by copying everything out of the
< mahara/htdocs/ > and placing it into the base directory.
Thank you.
]]>
Here is my config:
$cfg->dbtype = 'mysql5';
$cfg->dbhost = 'localhost';
$cfg->dbport = null;
$cfg->dbname = 'USERNAME_mahara';
$cfg->dbuser = 'USERNAME_mahara';
$cfg->dbpass = '<I blanked this out>';
$cfg->log_environ_targets = 0;
$cfg->wwwroot = 'http://mahara.myschool.edu/';
$cfg->dataroot = '/home/USERNAME/maharadata';
I have changed my college's name to "myschool" in my posts and my actual username to USERNAME...just because my install isn't working yet and I don't want to advertize until it is all running properly.
Also, the directory maharadata has 777 as its permissions setting.
Thank you so much.
]]>"extra VirtualHost instead of many ServerAliases"
but in the code snippit they provide there is no reference to "VirtualHost" so I am confused about what exact text to add.
Also, if I add the code snippit, which file do I add it to? And where is that file located.
I am managing my mahara install through a GUI CPanel.
I feel so close to the solution, hopefully I can get it fully functional soon!
Thanks again.
]]>I thought that it was returning my dataroot directory, so I was mistaken and my install is working in that regard.
What is not working is that I am being asked to log in on every Mahara page.
I am currently trying to figure out if a Server Alias is causing the problem.
When I know more, I will post here to try to help future Mahara installers.
]]>Thank you for your reply.
I just tried to set the $cfg->wwwroot variable to my installed virtual host URL: http://mahara.myschool.edu/ but it didn't effect the printed value of the "echo getcwd();" command, so it still shows:
/home/<USERNAME>/public_html/mahara.myschool.edu
when what I want to see is:
/home/<USERNAME>/public_html/maharadata
I wonder what else I could try or what other input I can use for both the "wwwroot" and "dataroot" values?
Thanks again.
]]>Have you tried setting the $cfg->wwwroot variable explicitly (to the URL that you site is on) in your config.php?
Cheers,
Francois
]]>I installed Mahara 1.4 (downloaded from mahara.org) on a virtual host: mahara.myschool.edu, Windows, Apache, MYSQL, PHP 5.3.
I am experiencing the issue where I am being continually asked to log into Mahara. I saw this issue addressed in the Troubleshooting guide and so I inserted this line into index.php:
echo getcwd();
which returns:
/home/<USERNAME>/public_html/mahara.myschool.edu
but what I have defined in my config.php is:
$cfg->dataroot = '/home/<USERNAME>/maharadata';
So my question is, why is the virtual host of "mahara.myschool.edu" being tacked onto the dataroot directory when it is not included in the dataroot?
I have also tried lots of other permutations like, /public_html/<USERNAME>/maharadata, /www/<USERNAME>/maharadata, /maharadata, <USERNAME>/maharadata, etc.
Thanks so much for any help.
China
]]>