Forums | Mahara Community

Support /
login required on all page


anonymous profile picture
Account deleted
Posts: 6

18 January 2010, 8:48

Hello, my problem is when i want anything on my site or i click on "?" in admin panel system say your session expired... and when i'm logged in and i want to go on  "my protfolios" i must login username and password.

Thanks for help.

Fabien

anonymous profile picture
Account deleted
Posts: 808

19 January 2010, 1:35

Hi Fabien,

A couple of the most common reasons for this are described on the troubleshooting page on the wiki:

http://wiki.mahara.org/System_Administrator's_Guide/Installing_Mahara/Troubleshooting

anonymous profile picture
Account deleted
Posts: 5

04 February 2010, 20:51

I am also having these issues and have already tried both solutions in the troubleshooting.  I cannot change my apache because of my host, and I already checked to see if the data folder is accessable.
anonymous profile picture
Account deleted
Posts: 18

04 February 2010, 21:08

This might be too simple, however it worked for me... I found this didn't happening in IE and only FireFox. So the problem was probably with my Firefox. Later Firefox worked without needing to login every time. I suspect a computer / firefox reboot fixed it.
anonymous profile picture
Account deleted
Posts: 5

04 February 2010, 21:09

Let me try this and I will get back to you guys if it works in a few minutes.
anonymous profile picture
Account deleted
Posts: 5

04 February 2010, 21:18

no it did not work. no luck
anonymous profile picture
Account deleted
Posts: 5

05 February 2010, 14:05

any other solutions?
anonymous profile picture
Account deleted
Posts: 1

10 November 2010, 13:00

Make sure your wwwroot has the  www :

// 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://www.yoursite.com/mahara/';

NOT

$cfg->wwwroot = 'http://yoursite.com/mahara/';

Some shared hosts will use server aliases and I found there was a problem if the www was not used to point to your website (ie should not point to the alias)

 

anonymous profile picture
Account deleted
Posts: 48

19 January 2011, 12:24

Hi:

I am runing Mahara 1.3.3  with PHP 5.2.14 and MySql 5.1.39 on a shared hosting. So far is working fine.

Recently my hosting company offered the option to upgrade to PHP 5.3.4, and I did.

However, after the PHP upgrade, at every page mahara is asking me to login again.

I have tried several option suggested here and in the installation troubleshooting:

- Dataroot is absolute path.

- wwwroot is: $cfg->wwwroot = 'http://www.mydomain.com/';

- It is not a browser issue.

- I have deleted the sessions directory, as per this advice.

but no luck.

I can't  change directly the apache settings, but my hosting provides the option to use:

a) both http://www.mydomain.com and http://mydomain.com, or

b) http://www.mydomain.com only

I have chosen b), but no luck.

When I downgrade back to PHP 5.2.14 everything comes to normal again.

I know you may say "if it is working, don't fix", however my main interest to upgrade to PHP 5.3.4 is to be able to do a Moodle 2.0 installation (and Mahoodle integration), since my version of PHP 5.2.14 doesn't have some extensions needed for Moodle 2.0.

Any hint? With PHP 5.3.4 my hosting allows to add some php.ini directives if that helps.

Thanks in advance for any advise.

9 results