A Mahara Problem...

A Mahara Problem...

Randy Bale發表於
Number of replies: 7
Hi,
Sorry I have to post this question in the moodle forum, but I had no luck with any other. Since Mahara experienced people are here, I suppose someone surely can answer my question.
where can I find Mahara's logout method? please mention the file path.
Thanks in advance.
評比平均分數: -
In reply to Randy Bale

Re: A Mahara Problem...

Nigel McNie發表於
I have answered your query on the Mahara forums 微笑
In reply to Nigel McNie

Re: A Mahara Problem...

Randy Bale發表於
I want to redirect to my moodle site, once I logout from mahara.
I can't get it done by using,
header("location:http://mymoodlesite.com");
in the logout method.
can you help me with this?
thanks.
In reply to Randy Bale

Re: A Mahara Problem...

Nigel McNie發表於
I don't see why that wouldn't work, as long as you put it in the right place. You might want to make sure that your header line is being executed, by putting log_debug('message') function calls in the code and checking the server error log.

And remember you should call "exit" after sending a redirect header.
In reply to Nigel McNie

Re: A Mahara Problem...

Karl Kennedy發表於

Hi Nigel.... or anyone that can help smile

Wasn't sure where to put this but got a lot of help with Mahara in this forum before so why not....

I have Moodle 1.9 set up and working with Mahara (not sure which version, 1.0.0 perhaps) - Don't really want to go changing the version now as there was a lot of hassle getting it to work in the first place.

Ok, here's the problem, when 'find friends' is clicked i get this error:

Mahara: Site unavailable
A nonrecoverable error occured. This probably means you have encountered a bug in the system

Is it a bug??

Many Thanks

Karl

In reply to Karl Kennedy

Re: A Mahara Problem...

theo leenders發表於
I also had some bugs in 1.xxx after trying a menu item like finding friends.
I changed to 0.9x and then it was over. sorry.
Some people has no problems with 1.x I did.

theo