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


 
Search: 

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