Forum Problems Installing LAMS: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: new error


 
Search: 

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
[ Reply | Forward ]
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
[ Reply | Forward ]
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

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