|
|
11:
Re: Re: Re: Re: Re: Re: Re: Re: new error
|
In response to 9
|
03/27/07 12:35 AM |
|
OK....installed 2.0.2 and now have a directory in lams from moodle, but we still have a validation error and a failure to see the sequesnces.
I have attached 3 screenshots.....hope they help diagnose the problem
Posted by graham hughes
|
Attachments:
|
|
|
|
|
15:
Re: Re: Re: Re: Re: Re: Re: Re: new error
|
In response to 9
|
03/27/07 02:43 AM |
|
After some fiddling (not sure what I did) I can now author in lams from moodle, but sequences in lams itself that I have loaded are not visible so I can't select them. I believe the issue is a failutre to vlidate the two servers. I still get an error on the page, despite the fact that all details match.
Another issue is that in Moodle, the lams course I created as a test appears all the way down the page (out of sight without scrolling) - but it works!!
Posted by graham hughes
|
|
|
16:
Re: Re: Re: Re: Re: Re: Re: Re: Re: new error
|
In response to 15
|
03/27/07 05:09 AM |
|
I've looked at the screenshots and I can't see a problem.
Are there any errors in the logs? Either when you do verify or when go the add activity screen (and get the problem with the sequences not showing).
I'm not sure why you are getting broken images in on the Moodle side. You are getting some (the little folders and the disk) but not the LAMS logo. If you look in the lams module is there the following files:
moodle/mod/lamstwo/treeicons/page.gif
moodle/mod/lamstwo/icon.gif
Fiona
Posted by Fiona Malikoff
|
|
|
|
|
|
20:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: new error
|
In response to 16
|
03/28/07 01:10 AM |
|
I have the lams2 icon.gif now .....I checked its address ( http://localhost/theme/chameleon/pix/mod/lamstwo/icon.gif)and had a look. There was no lamstwo folder where there was supposed to have been. So I added one and copied the icon.gif to it. Refresh and hey presto ....perhaps that's a bug in the install??
I followed all instructions for installing Moodle and my local address for lamstwo is; C:\Xampplite\moodle\moodle\mod\lamstwo
Still won't validate so there is something wrong with the server details.
I just use http://localhost and Moodle opens and the default address for lams (localhost:8080/lams) is definitely the server.
For now, I can create sequences in moodle but not in lams, well I can but they can't be picked up from moodle.
Posted by graham hughes
|
|
|
|
|
|
25:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: new error
|
In response to 23
|
03/28/07 06:26 PM |
|
All those log entries are fine. I know they are warnings but I get them all the time and it doesn't do any damage. Ditto the warnings in the boot log.
I think you are going to have to turn on debugging on the LAMS side then send me the complete collection of LAMS logs + the logs from Apache (in case there are any errors recorded on the Apache end). The wiki page is Create DEBUG Logs.
Fiona
Posted by Fiona Malikoff
|
|
|
26:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: new error
|
In response to 25
|
03/28/07 09:14 PM |
|
Here we go again. This morning I have no directory tree again ...when trying to open a sequence (in moodle). If I try to create a sequence I get 404 error.
I have changed nothing since last night when things were OK.
Ah well ...attached are te error logs you asked for and two screenshots. Good luck
Posted by graham hughes
|
Attachments:
|
|
|
27:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: new error
|
In response to 26
|
03/28/07 11:13 PM |
|
I can't explain the no directory tree - I can't even see a call in the LAMS logs to indicate that Moodle has asked for the data.
I've set up my local copy of LAMS to use the Chamelon theme, just in case it is the theme causing problems but apart from the missing LAMS icon I haven't spotted any different behavior due to the theme.
But, I think the URL that Moodle is using to access LAMS is wrong. I don't understand how it could have gone wrong overnight, but that's what the logs indicate.
There is an entry in your log for:
127.0.0.1 - - [29/Mar/2007:12:53:09 +1000] "GET /lams%20/LoginRequest?uid=gjhugs&method=author&ts=March+29%2C2007+12%3A52+pm&sid=......
The "lams%20" bit suggests that in your Moodle configuration screen there is a space after "lams". Could you go into the Moodle LAMS v2 module admin screen and make sure there are no spaces after the server_url, server_id or server_key fields. If there are spaces there, it will cause the validation to fail and will cause other problems.
Fiona
Posted by Fiona Malikoff
|
|
|
28:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: new error
|
In response to 27
|
03/28/07 11:22 PM |
|
If you want to check what the values really are in the database try this (replacing the path with your path to mysql, and the "use moodle" statement to "use <databasename>" if Moodle uses a different database).
I did this in a cmd window. You can do the same sql statement (select name, concat('\'',value,'\'') from mdl_config where name like 'lamstwo%';) in any database client - just make sure you keep all the quotes intact.
C:\>"c:\program files\xampp\mysql\bin\mysql" -ulams2 -p
Enter password: ********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 793
Server version: 5.0.33 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use moodle;
Database changed
mysql> select name, concat('\'',value,'\'') from mdl_config
-> where name like 'lamstwo%';
+-----------------------+------------------------------+
| name | concat('\'',value,'\'') |
+-----------------------+------------------------------+
| lamstwo_requestsource | 'Moodle' |
| lamstwo_serverid | 'moodle' |
| lamstwo_serverkey | 'moodle' |
| lamstwo_serverurl | 'http://localhost:8080/lams' |
+-----------------------+------------------------------+
4 rows in set (0.00 sec)
mysql>exit
If you see any extra spaces within the quotes, then you have a problem!
Fiona
Posted by Fiona Malikoff
|
|
|
30:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: new error
|
In response to 28
|
04/03/07 05:27 AM |
|
Hi Fiona, just wanted to thank you for your efforts to solve my issues. In the end I went into Macquarie and met with Ernie and Anthony and we solved it all.
Seems the validation error was an IE problem - it validated fine with Firefox installed. And my issues with not seeing sequences constructed in LAMS when on moodle was a permissions problem - I was logged in to LAMS as sysadmin who did not have permission in Moodle. Simple really!
Anyway, it has been a worthwhile exercise......thanks again
Graham
Posted by graham hughes
|
|
|
|