Forum Problems Installing LAMS: Re: Re: Re: Re: Re: Moodle and LAMS 2.3.4 tool integration


 
Search: 

6: Re: Re: Re: Re: Re: Moodle and LAMS 2.3.4 tool integration
In response to 5 04/29/10 07:12 PM
[ Reply | Forward ]
Hi Alex,

It appears from the build logs that you are trying to build against the lams head code (which as of a couple of months ago expects to build with jboss-5.1-GA).

As such there are some folder changes and little differences in the build scripts that cause it to fail with jboss-4.0.2

I suggest the best way to go forward for you is to instead build from the 2.3 branch, so instead of checking out the code from head use the following command:

cvs -z3 -d :extssh:lfoxton@lamscvs.melcoe.mq.edu.au:/usr/local/cvsroot co -r lams2_3_release all

that should fix your problems,

Luke

Posted by Luke Foxton

7: Re: Re: Re: Re: Re: Re: Moodle and LAMS 2.3.4 tool integration
In response to 6 05/11/10 06:18 AM
[ Reply | Forward ]
Luke, thank you very much for solving my problem!

I got lams_build project with lams2_3_release tag and tool_adapters with lams2_3_1 tag and now it's ok!

Sincerely,
Alexander

Posted by Alex Lifanov

8: Re: Re: Re: Re: Re: Re: Re: Moodle and LAMS 2.3.4 tool integration
In response to 7 05/11/10 07:08 AM
[ Reply | Forward ]
Please tell me is there a tool_adapters for LAMS 2.3.4? i got project with lams2_3_1 tag, so i can use it only with LAMS 2.3.1?

Posted by Alex Lifanov

10: Re: Re: Re: Re: Re: Re: Re: Re: Moodle and LAMS 2.3.4 tool integration
In response to 8 05/11/10 05:28 PM
[ Reply | Forward ]
Hi Alex,

I think it should be fine to use the 2.3.4 tag with the 2.3.1 tag for the tool_adapters.

Luke

Posted by Luke Foxton

9: Re: Re: Re: Re: Re: Re: Re: Moodle and LAMS 2.3.4 tool integration
In response to 7 05/11/10 07:31 AM
[ Reply | Forward ]
I compiled moodle tools inside LAMS 2.3.4 and LAMS 2.3.1 and made setting in LAMS "Tool Management". I can see them in LAMS editor now, but when i add them on my author desktop and try to edit their properties - i get:

Page Not Found
The page you requested was not found.

Posted by Alex Lifanov

11: Re: Re: Re: Re: Re: Re: Re: Re: Moodle and LAMS 2.3.4 tool integration
In response to 9 05/11/10 05:31 PM
[ Reply | Forward ]
Hi Alex,

So the problem occurs when you try to go to the moodle tool's author page? Is that right?

If so, have you followed the steps to add the tool layers on top of your moodle installation, as described on the page below?

http://wiki.lamsfoundation.org/display/lams/Moodle+Tool+Adapter

Posted by Luke Foxton

12: Re: Re: Re: Re: Re: Re: Re: Re: Re: Moodle and LAMS 2.3.4 tool integration
In response to 11 05/12/10 07:04 AM
[ Reply | Forward ]
Hi Luke!

I made LAMS-Moodle integration and i can use LAMS inside Moodle now, but my final step is to use moodle tools inside LAMS. Here is what i've done:

1. i got "temp_moodle_dev" project and made a copy of the moodle directory to my moodle.
2. i made sql-queries for all tools in moodle DB like that:
alter table mdl_scorm add column is_lams int(1) default 0;
3. i made: alter table mdl_course_modules add column is_lams int(1) default 0;
4. in "Maintain Integrated Servers" i made "moodle" everywhere and this URL: http://10.10.10.110/mod/lamstwo/userinfo.php?ts=%timestamp%&un=%username%&hs=%hash%
5. in Moodle's LAMS v2 settings i made "moodle" and "http://10.10.10.110:8180/lams" URL (valadation ok).
6. i got lams_build project (tag - lams2_3_release) and tool_adapters project (tag - lams2_3_1), made settings and "ant deploy-tool" was successful.
7. i set "moodle" flag in Tool Management (as far as i remember, i had to set callback URLs at this step in LAMS 2.2, is it now automate??)

That is all, now i can add moodle tools in my LAMS editor (running LAMS editor from Moodle course), but i can't set any properties for them - there is "page not found error".

Will be very appresiate for any help,

Sincerely,
Alex

Posted by Alex Lifanov

13: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Moodle and LAMS 2.3.4 tool integration
In response to 12 05/13/10 01:24 AM
[ Reply | Forward ]
is it depends on versions of LAMS and Moodle? can i use latest versions for tool integration?

or may it be the problem with tools compilation? ANT said "build successful", but it's not а guarantee, isn't it? i attached my server logs, will be very appreciate for any help.

Alex.

Posted by Alex Lifanov

Attachments:
14: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Moodle and LAMS 2.3.4 tool integration
In response to 12 05/13/10 03:11 AM
[ Reply | Forward ]
sorry for lots of questions: what version of temp_moodle_dev project should i use to make tool integration (Moodle 1.8 with LAMS 2.3.1/2.3.4)? version with lams2_3_1 tag fails to install in my moodle, should i try moodle_1_8-20080918 or adapter_mdl_195_20090515?

Thank you ahead!

Posted by Alex Lifanov

15: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Moodle and LAMS 2.3.4 tool integration
In response to 12 05/13/10 06:15 PM
[ Reply | Forward ]
Hi Alex,

Sorry for the delayed response,

So for the "page not found" error, can you you see two frames?

In the author page there should be two frames, the one on top being lams, the one on the bottom being the moodle tool. If you can use firefox's option to show only the bottom frame.
right-click->this frame->show only this frame.

Then you should be able to see the url in question that is throwing the "page not found error". It should look something like this:
http://moodle.lamscommunity.org/moodle/mod/assignment/assignment_types.php?add=assignment&course=2§ion=144&is_learner=0

So there is a few things you can check here:
1) Is the url correct, does is the path correctly point to the php file in moodle.
2) Does the php file even exist (have you copied it to the correct location)
3) Is the file throwing an error, if so you should be able to see in the moodle logs.

Hope this gives you some guidance on the next steps to take.

Luke

Posted by Luke Foxton

Reply to first post on this page
Back to Problems Installing LAMS