Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Questions on getting Xerte Toolkits installed on your server and questions about authentication and user logins.
  • Page:
  • 1

TOPIC:

Integration problems with moodle 10 years 10 months ago #198

  • chris.walsh
  • chris.walsh's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 17
  • Thank you received: 0
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

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

Last edit: by chris.walsh.

Integration problems with moodle 10 years 10 months ago #199

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1290
  • Thank you received: 308
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.

Integration problems with moodle 10 years 10 months ago #200

  • chris.walsh
  • chris.walsh's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 17
  • Thank you received: 0
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.

Integration problems with moodle 10 years 10 months ago #201

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1290
  • Thank you received: 308
As this is string literal (you type it in, it should be either:

c:\\..\\..

or c:/../..

Or a relative foldername.

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

Last edit: by tom.
  • Page:
  • 1
Time to create page: 0.053 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search