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


 
You may request notification for LAMs does not display correctly in browser.
Search: 

1: LAMs does not display correctly in browser
08/19/07 04:37 PM
[ Reply | Forward ]
Hi

I have installed LAMS V 2.04 on a Windows 2003 standalone (non domain controller) server in a test environment. When I access LAMS from a browser on the server, everything displays OK. However, when I access LAMS from a client PC, I get plain text pages. The result is the same in IE 7 and Firefox V2. I have Flash player version 9,0,47,0 installed on the server and client.

It may be a permissions issue, but I'm no sure how to troubleshoot this.

Can anyone please point me in the right direction?

Posted by Darrel Towndrow

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