Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.6.2
-
Fix Version/s: None
-
Component/s: LAMS
-
Labels:None
-
Database:MySQL
-
Affected Branches:MOODLE_16_STABLE
Description
To reproduce:
0. Integrate a LAMS server with Moodle (http://lamsfoundation.org/integration/moodle/)
1. Select a course
2. Go to create a new LAMS activity
3. Try to edit an existing sequence, or create a new one.
Expected behaviour:
The workspace and sequence dropdown menus should be populated when the page is loaded, except they're empty.
Apache error.log:
[Tue Sep 19 10:28:01 2006] [error] [client 127.0.0.1] PHP Notice: Undefined variable: CFG in C:
Program Files
Apache Group\\Apache2\\htdocs\\moodle\\mod\\lams
lib.php on line 4
[Tue Sep 19 10:28:01 2006] [error] [client 127.0.0.1] PHP Notice: Trying to get property of non-object in C:
Program Files
Apache Group\\Apache2\\htdocs\\moodle\\mod\\lams
lib.php on line 4
[Tue Sep 19 10:28:01 2006] [error] [client 127.0.0.1] PHP Warning: require_once(/lib/datalib.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in C:
Program Files
Apache Group\\Apache2\\htdocs\\moodle\\mod\\lams
lib.php on line 4
[Tue Sep 19 10:28:01 2006] [error] [client 127.0.0.1] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/lib/datalib.php' (include_path='.;C:\\php5
pear') in C:
Program Files
Apache Group\\Apache2\\htdocs\\moodle\\mod\\lams
lib.php on line 4
Workaround:
At the top of moodle/mod/lams/lib.php, include config.php, e.g.
require_once('C:/Program Files/Apache Group/Apache2/htdocs/moodle/config.php');
Thanks for reporting this issue.
We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported.
If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.
Michael d;
lqjjLKA0p6