Forums | Mahara Community

Support /
"Settings" button broken in 1.2.0


anonymous profile picture
Account deleted
Posts: 9

23 November 2009, 10:19

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
Account deleted
Posts: 9

23 November 2009, 10:44

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

23 November 2009, 18:27

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

24 November 2009, 4:30

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
Account deleted
Posts: 1643

24 November 2009, 18:51

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
Account deleted
Posts: 9

25 November 2009, 8:43

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