Forum LAMS for Tech-Heads - General Forum: Re: LAMs does not display correctly in browser


 
Search: 

2: Re: LAMs does not display correctly in browser
In response to 1 08/19/07 06:01 PM
[ Reply | Forward ]
Darrel,

I suspect the problem is the serverURL setting in the configuration. When you installed LAMS and it asked you for the URL/servername for running LAMS, did you leave it as localhost?

If you login to LAMS as sysadmin, go to the Sys Admin menu and select "Edit Configuration Settings", have a look at the ServerURL setting. This should be the address of the LAMS server as you use on a client PC e.g. http://mylamsserver:8080/lams not http://localhost:8080/lams

If you go to any of the pages in LAMS and do a "view source" on the page, you will see that the stylesheets use a complete server reference to load the stylesheet, not just a local reference. e.g
"<link href="http://mylamsserver:8080/lams/css/defaultHTML_learner.css" rel="stylesheet" type="text/css">"

This is done using the serverURL setting in the configuration. So if the serverURL is set wrong, you won't get the stylesheets, and hence you will get plain text pages.

Fiona

Posted by Fiona Malikoff

3: Re: Re: LAMs does not display correctly in browser
In response to 2 08/21/07 10:21 AM
[ Reply | Forward ]
Brilliant - That's fixed it!

Thanks very much for your help and prompt response Fiona.

Regards

Darrel

Posted by Darrel Towndrow

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum