2:
Re: 404 error
By: Fiona Malikoff
|
In response to 1 | 02/18/07 11:09 PM | ||
Owen,
On the login page, there is a "news" section that is populated from a separate file. This allows administrators to create their own news for their LAMS site. However in LAMS 2.0, when the file can't be accessed for some reason, it breaks the login page. My guess is that on your installation, it can't access the news file properly. I suspect that the problem will be the setting for the server url. When you installed LAMS, the installer asks you for the server url by which LAMS will be accessed. I think it defaults to http://localhost:8080/lams/. What did you set it to? You must whatever address you entered there to access LAMS. If you can't remember what you entered, go into a MySQL client, go to the LAMS database, find the lams_configuration table and look at the entry for ServerURL. If you don't have a nice GUI program to access MySQL, you can do it from the command line: C:\Program Files\MySQL\MySQL Server 5.0\bin>mysql -u lams -p Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use lams2 If the ServerURL setting is wrong, then you will need to correct it directly in the database (as you can't login successfully and do it using the system administrator screen). You can use a statement like the following in your mysql client. Or reinstall LAMS and make sure you enter the URL correctly. update lams_configuration set config_value="http://myserver:8080/lams" where config_key = "ServerURL"; Post back here if this doesn't fix it. Fiona p.s. We will make the login page more robust in the next version - ie if it can't access the news file then the news will be missing but the login page will still work. Then this problem will be easier to fix. But you won't want to wait till the next release just to fix this. Posted by Fiona Malikoff |
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
Reply to first post on this page
Back to Problems Installing LAMS