Questions on getting Xerte Toolkits installed on your server and questions about authentication and user logins.

Integration problems with moodle

  • chris.walsh
  • Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 13 ans 1 mois - il y a 13 ans 1 mois #198 par chris.walsh
Integration problems with moodle a été créé par chris.walsh
Hello All,
I have an up-to-date version of moodle and have just installed the xertetoolkit 2.0.
I am trying to following the steps [url=http://http://www.nottingham.ac.uk/xerte/downloads/ToolkitsGuide.pdf]here[/url] about integration with moodle but when I perform step 2 on page 33 and refresh the xerte page I just get a blank screen.

My environment:
  • * Windows Server 2003
  • * Apache 2.4
  • * PHP 5.4.3
  • * Moodle 2.5.1+
  • * Xerte Online Toolkit v2 (downloaded today)
  • * Path to Moodle: C:\Apache24\htdocs\derbylearn2.realsense.co.uk\moodle
  • * Path to Xerte: C:\Apache24\htdocs\derbylearn2.realsense.co.uk\moodle\xertetoolkits

I have tried the following values in the sitedetails.integration_config_path value:
  • * require("/Apache24/htdocs/derbylearn2.realsense.co.uk/moodle/config.php");
  • * require("C:\Apache24\htdocs\derbylearn2.realsense.co.uk\moodle\config.php");
  • * require("..\config.php");
  • * /Apache24/htdocs/derbylearn2.realsense.co.uk/moodle/config.php
  • * C:\Apache24\htdocs\derbylearn2.realsense.co.uk\moodle\config.php
  • * ..\config.php

Are we expected to insert a snippet of php code (i.e. an require statement) into the setting?
How are we supposed to format path separators / root paths in a Windows filesystem? (the examples given in the document assume unix based file systems)

I did set authentication in auth_config.php to "Moodle" from "Guest" by recommenting the appropriate lines.

Any help or advise would be much appreciated.

Thanks,
Chris
Dernière édition: il y a 13 ans 1 mois par chris.walsh.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 13 ans 1 mois #199 par tom
Réponse de tom sur le sujet Integration problems with moodle
I haven't checked the manual, but I know from experience, that previously you had to enter a require statment, and now, you (only) have to fill in the path to the config.php file.

Connexion ou Créer un compte pour participer à la conversation.

  • chris.walsh
  • Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 13 ans 1 mois #200 par chris.walsh
Réponse de chris.walsh sur le sujet Integration problems with moodle
Thanks for the information Tom.
I suspected that the "require" statement isn't required as this would make the setting inconsistent to the other "path-based" settings.
Any thoughts on how we store an NTFS path under this setting?

* C:\..\..
* C:/../..
* /../../

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 13 ans 1 mois - il y a 13 ans 1 mois #201 par tom
Réponse de tom sur le sujet Integration problems with moodle
As this is string literal (you type it in, it should be either:

c:\\..\\..

or c:/../..

Or a relative foldername.
Dernière édition: il y a 13 ans 1 mois par tom.

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.140 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo