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

Integration problems with moodle

  • chris.walsh
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 1 month ago - 13 years 1 month ago #198 by chris.walsh
Integration problems with moodle was created by 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
Last edit: 13 years 1 month ago by chris.walsh.

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago #199 by tom
Replied by tom on topic 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.

Please Log in or Create an account to join the conversation.

  • chris.walsh
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 1 month ago #200 by chris.walsh
Replied by chris.walsh on topic 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:/../..
* /../../

Please Log in or Create an account to join the conversation.

More
13 years 1 month ago - 13 years 1 month ago #201 by tom
Replied by tom on topic Integration problems with moodle
As this is string literal (you type it in, it should be either:

c:\\..\\..

or c:/../..

Or a relative foldername.
Last edit: 13 years 1 month ago by tom.

Please Log in or Create an account to join the conversation.

Time to create page: 0.135 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo