hello everyone,
About 2 or 3 weeks ago, I wrote some letters , because I have got some problems about the web interface, and I found that I cannot login to the web, first, even the webpage cannot be shown in the browser, it shows the problem like this:
No module named ..., but , in this root , I can find this module straightly, I don't understand why the system said like that, then I wrote a letter to the nav-user, but no one answer me. After a few days with no letter come , I did fix the problem, a new one coming, this time, the system shows:
ImportError: cannot import psycopgmodule.so, the request denied
this made me go mad, I got so puzzled with it, I thought maybe because I' m using psycopg2 instead of psycopg1, then each time when this problem occured, I add this sentence into the file: from psycopg2 import psycopg1 as psycopg
Then the problem solved. Now I can see webpages, but when I want to login as a user named 'admin' , and using the ' admin ' as the password , the system said no such name segment named 'admin' . If I can't use ' admin ' as user, which usrname can I use? also the password? By the way, my OS is ferdora Core4 , and postgresql is 8.0.3, the Version of Nav is 3.0.1, version of Python is 2.4, Version of mod_python is 3.2.7, Version of psycopg is 2.0.2. Anything else you want to know about my OS if you can help me , please write to me.
Can anyone who can help me please?
---------------------------------
Mp3·è¿ñËÑ-ОèÈÈžèžßËÙÏ From sommerjobb at froisland.no Fri Jun 30 12:13:00 2006
From: sommerjobb at froisland.no (Marius =?iso-8859-1?Q?Fr=F8island?=)
Date: Fri Jun 30 11:13:26 2006
Subject: [Nav-users] Tags shown instead of the page
Message-ID: <WorldClient-F200606301113.AA13000040(a)froisland.no>
I'v just installed nav on fedora 5, I follow the REHL4 installation guide,
and everything work nicely. I'm able to start the server, status show that
everything is running fine. the front page is displayed ok, but opening
the login page in my browser I get the HTML code instead of the page. FRom
the HTLM code it seems that HTML tag is missing. Should this have been
parsed though something? Any idea of what is miss configured?
This is the HTML tags as they are shown in the browser when I open the
login page:
<body onLoad="document.getElementById('username').focus();">
<table height=40% border=0 width=100%><tr valign=middle><td valign=middle
align=center>
<br><br><br>
<font face=verdana size=1>
<form method="POST" action="/index/login">
<img src="/images/login/navlogo.gif"><br>
<br><font color=#FF0000>You are not authorized to access<br>/status/</font>
<br><input id="username" type="text" name="login" style="border: 1px solid
#99c;"><br><font color=#6699CC>username</font>
<br><input type="password" name="password" style="border: 1px solid
#99c;"><br><font color=#6699CC>password</font>
<input type="hidden" name="origin" value="/status/">
<br><br><input type="submit" value="Log in">
</form>
</font>
</td></tr></table>
</body>