I just installed xwiki 1.0-beta-6.2657 on Ubuntu 6.10 using the standalone installer (no changes to any configurations or such) and everything works fine, EXCEPT: The "Login"-link in the top right corner does not work, I get: HTTP ERROR: 404 /bin/login/XWiki/XWikiLogin Not Found RequestURI=/bin/login/XWiki/XWikiLogin If I add "/xwiki" to the start of the URL it sort of works, I can access the login page, but can only log in with the Admin account. (Yes, I have created a normal user account as well.) It seems to me that the first "/xwiki" part of the URL is missing, it's there in all other links but not this one. BTW, same thing occurs with the "logout"-link, and if I add "/xwiki" it works. Any help is greatly appreciated! Kind regards, /Anders -- View this message in context: http://www.nabble.com/Broken-login-link--tf3510319.html#a9805192 Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Anders, On Apr 3, 2007, at 9:50 AM, dsrg wrote:
I just installed xwiki 1.0-beta-6.2657 on Ubuntu 6.10 using the standalone installer (no changes to any configurations or such) and everything works fine, EXCEPT:
The "Login"-link in the top right corner does not work, I get:
HTTP ERROR: 404 /bin/login/XWiki/XWikiLogin Not Found RequestURI=/bin/login/XWiki/XWikiLogin
This is strange. I've just tested it and I get the following correct link: http://localhost:8080/xwiki/bin/login/XWiki/XWikiLogin
If I add "/xwiki" to the start of the URL it sort of works, I can access the login page, but can only log in with the Admin account. (Yes, I have created a normal user account as well.) It seems to me that the first "/xwiki" part of the URL is missing, it's there in all other links but not this one.
BTW, same thing occurs with the "logout"-link, and if I add "/ xwiki" it works.
Can you describe exactly what you've done? Which file did you download, etc? Thanks -Vincent
Hi Vincent, I've just scrapped everything and repeated the installation process; same error. However, I think I could have found a problem: The HTML source of the main page reads: <snip...> <a class="glink" href="http://www.obfuscated.com:8080xwiki/bin/login/XWiki/XWikiLogin?xredirect=htt..." id="headerlogin">Log-in</a> <.../snip> ...that is, there's a missing forward slash just after the first port number. This renders different behaviours depending on browser: - In Firefox 2.0.0.3 (Ubuntu, WinXPsp2) and Opera 9.10 (Ubuntu) I get the "broken" link, with the hand pointer on mouseover. - In Internet Explorer 7.0.5730.11 (WinXPsp2) I get the "Registration" link, and no hand pointer, just an arrow. Installation process: 1. Downloaded from http://download.fr2.forge.objectweb.org/xwiki/xwiki-1.0-beta-6.tar.gz to a server running Ubuntu 6.10 with all updates etc. 2. Extracted into "/home/[username]/xwiki/xwiki-1.0-beta-6/" 3. Ran "./start_xwiki.sh" That's it. Footer says version is 1.0-beta-6.2657. Again, all other links work perfectly. Hope this helps! /Anders vmassol wrote:
Hi Anders,
Can you describe exactly what you've done? Which file did you download, etc?
Thanks -Vincent
-- View this message in context: http://www.nabble.com/Broken-login-link--tf3510319.html#a9826309 Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Anders, I was able to reproduce your problem by installing Ubuntu 6.10. I was also able to fix it... :) When I got the problem I check which Java version was installed and it was GCJ and the version was 1.4.2. First issue is that XWiki doesn't work on 1.4.x, it requires 1.5. Then I installed Sun's JVM, version 1.5 ("sudo apt-get install sun- java5-jdk", you'll need the correct depots defined though) and it worked fine. I'm not sure what didn't work. It was really strange as the following was not working: $xwiki.getURL("XWiki.XWikiLogin", "login", "xredirect=$logredir") But the following was working: $xwiki.getURL("XWiki.XWikiLogin", "login") Looking at the code I didn't see any differences explaining the result... Thanks -Vincent On Apr 3, 2007, at 11:02 PM, dsrg wrote:
Hi Vincent,
I've just scrapped everything and repeated the installation process; same error.
However, I think I could have found a problem: The HTML source of the main page reads:
<snip...>
<a class="glink" href="http://www.obfuscated.com:8080xwiki/bin/login/XWiki/ XWikiLogin?xredirect=http://www.obfuscated.com:8080/xwiki/bin/view/ Main/" id="headerlogin">Log-in</a>
<.../snip>
...that is, there's a missing forward slash just after the first port number.
This renders different behaviours depending on browser: - In Firefox 2.0.0.3 (Ubuntu, WinXPsp2) and Opera 9.10 (Ubuntu) I get the "broken" link, with the hand pointer on mouseover. - In Internet Explorer 7.0.5730.11 (WinXPsp2) I get the "Registration" link, and no hand pointer, just an arrow.
Installation process: 1. Downloaded from http://download.fr2.forge.objectweb.org/xwiki/xwiki-1.0- beta-6.tar.gz to a server running Ubuntu 6.10 with all updates etc. 2. Extracted into "/home/[username]/xwiki/xwiki-1.0-beta-6/" 3. Ran "./start_xwiki.sh" That's it.
Footer says version is 1.0-beta-6.2657.
Again, all other links work perfectly.
Hope this helps!
/Anders
vmassol wrote:
Hi Anders,
Can you describe exactly what you've done? Which file did you download, etc?
Thanks -Vincent
-- View this message in context: http://www.nabble.com/Broken-login- link--tf3510319.html#a9826309 Sent from the XWiki- Users mailing list archive at Nabble.com.
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws
Installed Java 1.5 (I guess I COULD have checked the system requirements first... ;) and it works perfectly! Thanks! Weird error, though... /A vmassol wrote:
When I got the problem I check which Java version was installed and it was GCJ and the version was 1.4.2.
First issue is that XWiki doesn't work on 1.4.x, it requires 1.5.
Then I installed Sun's JVM, version 1.5 ("sudo apt-get install sun- java5-jdk", you'll need the correct depots defined though) and it worked fine.
-- View this message in context: http://www.nabble.com/Broken-login-link--tf3510319.html#a9842198 Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
dsrg -
Vincent Massol