Forums | Mahara Community

Support /
"Settings" button broken in 1.2.0


anonymous profile picture
Deleted user
Posts: 9

23 November 2009, 10:19 AM

I have just installed Mahara version 1.2.0 and have found that the "Settings" button only works from the Mahara home page, and is broken from other pages.  For example, from the "My Views" page it tries to go to .../view/account, which doesn't exist, instead of .../account. This was after upgrading from a 1.1.7 installation, but it also fails with a fresh empty database, although I haven't yet tried it with a fresh data folder too. Can anyone confirm this is a bug?  If so, I'll report it in the tracker.
anonymous profile picture
Deleted user
Posts: 9

23 November 2009, 10:44 AM

Postscript: this only fails when I have SSL login enabled using the $cfg->httpswwwroot setting in the config file.
anonymous profile picture
Deleted user
Posts: 1643

23 November 2009, 6:27 PM

Hm, what do you have that set to?
anonymous profile picture
Deleted user
Posts: 9

24 November 2009, 4:30 AM

The site is http://myportfolio-dev.ucl.ac.uk - this is actually a virtual host pointing at a different folder. The setting is:

$cfg->httpswwwroot = 'https://myportfolio-dev.ucl.ac.uk/';

I tried with and without the trailing slash on the URL. I've created an account so you can try it: account 'mahara', password 'mahara1'. 

anonymous profile picture
Deleted user
Posts: 1643

24 November 2009, 6:51 PM

Thanks for that - I had a look and duplicated the problem. It turns out it was a bug with the dwoo migration we did after adding the https support.

I made a patch, which will be in 1.2.1, but feel free to apply it before then:  http://git.mahara.org/?p=mahara.git;a=commitdiff;h=6481ea993ae41cee64a85934fc88e9f0873e7aea

anonymous profile picture
Deleted user
Posts: 9

25 November 2009, 8:43 AM

Thanks for the quick fix!  Works a treat.
6 results