|
2:
Re: Moodle/ Lams Integration: "lamstwo php not readable"
|
In response to 1
|
03/18/09 04:09 AM |
|
What do you get if you go to http://localhost/mod/lamstwo/version.php? Page not found (problem) or a blank page (no problem)?
At first sight it looks like a path problem - spaces, or the wrong type of slashes. You could also double check the file is actually there and not a hidden file (right click -> properties).
The Apache error log might have something interesting to say about the error as well. The only thing I can think of to suggest is try installing to a simpler path without spaces.
Posted by Jun-Dir Liew
|
|
|
|
4:
Re: Re: Moodle/ Lams Integration: "lamstwo php not readable"
|
In response to 3
|
03/18/09 04:56 AM |
|
Yep, I think both the Moodle script and your web server can't find the file. Are you using IIS? 'object not found' doesn't sound like an apache error message. I don't remember the default IIS error messages.
It's a path problem, but why? is the question. I'd say look at the IIS/web server logs, but not being familiar with IIS I can't say where. You could give reinstalling Moodle a try, but we're really stabbing in the dark without looking at the web server log.
Posted by Jun-Dir Liew
|
|
|
5:
Moodle/ Lams Integration: "lamstwo php not readable"
|
In response to 4
|
03/18/09 05:41 AM |
|
I think I figured it out. For some reason I have lamstwo folder inside another lamstwo folder. So, path obviously wrong. Deleted the dud folder and now LAMSv2 is configured.
Only issue now is when I click on openauthoring tool from moodle, it comes up with error:
"Login Failed - failed to fetch user info from the third party server"
Any ideas appreciated
C:)
Posted by chris mccomb
|
|
|
|
|
8:
Moodle/ Lams Integration
|
In response to 7
|
03/18/09 06:10 PM |
|
All was working fine until smarty pants (me) decided that I would see what happened if I deleted the LAMS module. I still have LAMS v2 though.
Now when I tey to go back into the LAMS sequence I originally created in version 2, it doesn't work.
"All the LAMS module settings have not been set up!
Please contact your administrator." Seeing as though that is me, this is a problem! Is there anyway to correct this?
2. I deleted Lams 1 because when I tried to create a course using LAMS format it wouldn't work. I got a message indicating that there was a login failure. I haven't got this message now because of my deletion above. Any logical explanations?
C:)
Posted by chris mccomb
|
|
|
|
10:
Moodle/ Lams Integration
|
In response to 9
|
03/18/09 09:55 PM |
|
Thanks Ernie
How do I go about restoring the folder. I went to the Moodle Mod folder and see that LAMS folder is still there. lams.php is still in lang folder also. According to moodle docs, it says that unless you delete these folders manualy (as well as deleting LAMS in moodle), the system will autmatically resotre the module next time I access administration. Well, so far no good!
Thanks for the link to Daniel. I might also try contacting him to find out how he made the restore if you are out of answers. Any further suggestions i.e. about restoring LAMS folder.
C:)
Posted by chris mccomb
|
|
|
11:
Re: Re: Moodle/ Lams Integration
|
In response to 9
|
03/19/09 04:19 AM |
|
The reason is like Daniel mentioned, that the role capabilities added in 1.8 (I think it was 1.8) are linked to the lams module. Naturally, in the lamstwo module we adhere to the roles. So if you delete the lams module, then the roles themselves go *poof*. Kind of a dependency there.
Posted by Jun-Dir Liew
|
|
|
12:
Moodle/ Lams Integration
|
In response to 11
|
03/19/09 04:27 AM |
|
Thanks
I heard back from Daniel. He suggested an upgrade, or copy code from (a newly downloaded version of the same Moodle) to solve the problem. I will give one of these a try. Let you know how it goes.
C:)
Posted by chris mccomb
|
|
|
13:
Moodle/ Lams Integration FIXED!!!
|
In response to 12
|
03/24/09 11:49 PM |
|
Thought you might like to know how I fixed the issue of deleting the original LAMS from Moodle (rendering LAMS 2 useless).
1. All you need to do is download the LAMS moodle module from the LAMS site (unless you already have the unzipped file on your computer)
http://wiki.lamsfoundation.org/display/lams/Downloads#Downloads-moodle
2. Unzip the file and copy over the LAMS2 folder into Server/Moodle/Mod.
3. As well as this there should be a Lams2.php file. Copy this to server\moodle\lang\en_utf8
4. Now paste http://localhost/admin to create tables (localhost because on my own machine. Different if on a server)
5. Now go to admin and click on LAMS settings. Paste the Url for the LAMS server. In my case it is http://localhost:8080/lams. Enter 'moodle' for the rest of the values (make sure these are the same as those in LAMS itself. (goto the LAMS server, login as admin and click on systemmngt. From there click on maintain integrated servers. You will see the corresponding values there)
6. Do the same for LAMSv2 and this time make sure you validate the settings.
Voila! You should now be able to access LAMSv2 authoring!
I thought that wasn't a bad effort for a newbie!
Christiaan c:)
Posted by chris mccomb
|
|
|