[SOLVED]Cannot login through own login page!

Temporary forum to obtain support for MODs/Styles while phpbb.com is down
Locked
pellefjant
Registered User
Posts: 7
Joined: Thu Feb 05, 2009 12:11 am

[SOLVED]Cannot login through own login page!

Post by pellefjant » Fri Feb 06, 2009 2:30 pm

Hi

Im trying to incorporate phpbb into a larger site and i have done a start page with a login form to the forums.

The form looks like this:

Code: Select all

<form method="post" action="./ucp.php?mode=login">
	<dl>
		<dd class="anv_namn"><label for="anv_namn">Användarnamn:</label></dd>
		<dt><input type="text" class="text" name="username" value="" id="anv_namn" /></dt>
		<dd class="anv_los"><label for="losenord">Lösenord</label></dd>

		<dt><input type="password" class="text" name="password" value="" id="losenord" /></dt>
		<dd>
			<input type="hidden" name="logga_in" value="Logga in" />
			<input type="hidden" name="redirect" value="index.php" />

		</dd>
		<dt>
			<input class="logga_in" type="image" src="../style/bilder/start-login.png" />
			

		</dt>
		
	</dl>
	
</form>
When i use it to log in i dont get logged in but i get to the forums standard login page.

Is there anything obvious wrong with my form?

Edit:
I fixed it thanks to Brf in #phpbb on freenode

Locked