[Xerte] Re: Moodle Authentication Loop
Tom Reijnders
reijnders at tor.nl
Fri Oct 4 19:19:27 BST 2013
Tom,
In the zip file (or in your installation folder) you can find a folder
documentation. In that folder you can find moodle_integration_readme.txt.
Tom
Op 4-10-2013 18:24, Tom Luxon schreef:
>
> Thanks Ron.
>
> Now that I have removed those files Xerte works under the guest
> account. I can't seem to locate the integration instructions you
> mention though?
>
> Kind Regards
>
> Tom Luxon
>
> *From:*xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron Mitchell
> *Sent:* 03 October 2013 19:30
> *To:* 'Xerte discussion list'
> *Subject:* [Xerte] Re: Moodle Authentication Loop
>
> Hi Tom
>
> ah I did wonder! :-(
>
> That patch that you refer to is very old and applies to XOT versions
> prior to 1.8!
>
> You need to put the xot version 2 files back e.g. the ones you
> replaced and then follow the instructions in the moodle readme inside
> the documentation folder.
>
> In short the old moodle patch stuff was built-in to the XOT code from
> at least 1.8 onwards so no need for a separate patch for ages.
>
> You'll need to add the path to moodle config via the management.php
> page in the integration path field but make sure the install works via
> guest authentication first.
>
> Now that we know the problem I doubt you need to worry about the
> moodle cookie prefix.
>
> HTH
>
> Ron
>
> *From:*xerte-bounces at lists.nottingham.ac.uk
> <mailto:xerte-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom Luxon
> *Sent:* 03 October 2013 16:40
> *To:* Xerte discussion list
> *Subject:* [Xerte] Re: Moodle Authentication Loop
>
> Hi Ron,
>
> Thanks for your reply.
>
> I am using Xerte Toolkits 2.0.
>
> If I set auth_config to:
>
> /$xerte_toolkits_site->authentication_method = 'Guest';/
>
> ///$xerte_toolkits_site->authentication_method = 'Ldap';/
>
> ///$xerte_toolkits_site->authentication_method = 'Db';/
>
> ///$xerte_toolkits_site->authentication_method = 'Static';/
>
> ///$xerte_toolkits_site->authentication_method = "Moodle";/
>
> //
>
> Then it still redirects to the moodle page and starts looping.
>
> If I login to moodle first and then click the hyperlink I made to
> xerte it loops back to the moodle logon page.
>
> I installed xerte first, and then moodle -- my method of moodle
> integration followed Ron Mitchell's patch guide where there are 5
> files to change in the xerte directory:
>
> session.php
>
> management.php
>
> index.php
>
> config.php (if using 1.6 or later)
>
> \website_code\php\scorm\export.php
>
> How would I add a cookie prefix?
>
> Thanks
>
> Kind Regards
>
> Tom Luxon
>
> *From:*xerte-bounces at lists.nottingham.ac.uk
> <mailto:xerte-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron Mitchell
> *Sent:* 03 October 2013 15:07
> *To:* 'Xerte discussion list'
> *Subject:* [Xerte] Re: Moodle Authentication Loop
>
> What version of XOT are you using?
>
> Does it all work with auth_config.php set to guest?
>
> What happens if you login to moodle first and then follow the link to xot?
>
> The fact that you are being redirected when visiting xerte first
> suggests the integration path is correct - did you add that during
> install or via management.php?
>
> Can you try adding a cookie prefix in Moodle and try again? Although
> watch that it will log people out when you change it so do it off-peak.
>
> Just a few thoughts.
>
> Ron
>
> *From:*xerte-bounces at lists.nottingham.ac.uk
> <mailto:xerte-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom Luxon
> *Sent:* 01 October 2013 17:13
> *To:* Xerte discussion list
> *Subject:* [Xerte] Re: Moodle Authentication Loop
>
> Hi,
>
> Yes they are both installed on the same server under the same folder
> structure.
>
> Thanks
>
> Kind Regards
>
> Tom Luxon
>
> *From:*xerte-bounces at lists.nottingham.ac.uk
> <mailto:xerte-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron Mitchell
> *Sent:* 27 September 2013 14:42
> *To:* 'Xerte discussion list'
> *Subject:* [Xerte] Re: Moodle Authentication Loop
>
> It sounds like http://SERVERIP/xertetoolkits can't access the session
> info from http://SERVERIP/moodle/ are theu both on the same server?
>
> *From:*xerte-bounces at lists.nottingham.ac.uk
> <mailto:xerte-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom Luxon
> *Sent:* 26 September 2013 09:39
> *To:* xerte at lists.nottingham.ac.uk <mailto:xerte at lists.nottingham.ac.uk>
> *Subject:* [Xerte] Moodle Authentication Loop
>
> Hi There,
>
> I have tried to setup Moodle authentication with Xerte but have
> encountered a slight problem, please could you help?
>
> What happens is:
>
> 1.I navigate to http://SERVERIP/xertetoolkits
>
> 2.This redirects me to http://SERVERIP/moodle/login/index.php from
> where I am able to enter my AD username and password successfully. I
> am logged into moodle where I then click a link I added
> (http://SERVERIP/xertetoolkits) which should take me back to the xerte
> site..... (the link is there as I have not installed xerte within moodle)
>
> 3.When I click the link or enter the xerte address in the same browser
> window I get directed back the moodle login page.
>
> Can someone please tell me where I have gone wrong?
>
> Thank you
>
> Kind Regards
>
> **
>
> *Tom Luxon*
>
> Description: cid:image001.jpg at 01CD6C05.46106BD0 <http://www.occam-dm.com/>
>
> ------------------------------------------------------------------------
>
> This email message has been delivered safely and archived online by
> Mimecast.
> For more information please visit http://www.mimecast.com
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
>
> This email message has been delivered safely and archived online by
> Mimecast.
> For more information please visit http://www.mimecast.com
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
>
> This email message has been delivered safely and archived online by
> Mimecast.
> For more information please visit http://www.mimecast.com
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
> This email message has been delivered safely and archived online by
> Mimecast.
> For more information please visit http://www.mimecast.com
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20131004/50a4fb6c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3374 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20131004/50a4fb6c/attachment-0001.jpe>
More information about the Xerte
mailing list