2010-09-07, 08:40 PM
Greetings,
after moving my forum to another Domain (from forum.gemedeth.de/ to gemedeth.de/forum/) the login redirect is malfunctioning.
When you login you will be redirected to http://gemedeth.de/forum//forum/index.php instead to http://gemedeth.de/forum/index.php.
My general configuration is as follows:
I also modified the "header_welcomeblock_guest" template to get the old login:
For the time beeing i managed to get the login working by changing
But this solution is quite anoying and i would be very thankful if someone coud give me a hint how to fix this.
after moving my forum to another Domain (from forum.gemedeth.de/ to gemedeth.de/forum/) the login redirect is malfunctioning.
When you login you will be redirected to http://gemedeth.de/forum//forum/index.php instead to http://gemedeth.de/forum/index.php.
My general configuration is as follows:
Quote:Board Name: Republik Gemedeth
Board URL: http://gemedeth.de/forum
Homepage Name: Republik Gemedeth
Homepage URL: http://gemedeth.de
Cookie-Domain: .gemedeth.de
Cookie-Pfad: /forum/
Cookie-Präfix:
I also modified the "header_welcomeblock_guest" template to get the old login:
<table id="welcomeGuest">
<tr>
<td>
<form method="post" action="member.php">
<input name="action" type="hidden" value="do_login" />
<input name="url" type="hidden" value="{$_SERVER['REQUEST_URI']}" />
<input name="quick_login" type="hidden" value="1" />
<input name="quick_username" type="text" value="{$lang->username}" class="textbox" onfocus="if(this.value=='{$lang->username}'){this.value=''};" onblur="if(this.value==''){this.value='{$lang->username}'};" id="quick_login_username" />
<input name="quick_password" type="password" value="{$lang->password}" class="textbox" onfocus="if(this.value == '{$lang->password}') { this.value=''; }" onblur="if(this.value == '') { this.value='{$lang->password}'; }" />
<input name="submit" type="submit" value="{$lang->login}" class="button" />
</form>
</td>
<td class="spacer"></td>
<td class="welcomeGuest_Button"><span class="smalltext"><strong><a href="{$mybb->settings['bburl']}/member.php?action=lostpw">{$lang->lost_password}</a></strong></span></td>
<td class="welcomeGuest_Button"><span class="smalltext"><strong><a href="{$mybb->settings['bburl']}/member.php?action=register">{$lang->welcome_register}</a></strong></span></td>
<td class="spacer"></td>
<td><span class="smalltext">{$lang->welcome_current_time}</span></td>
</tr>
</table>
For the time beeing i managed to get the login working by changing
<input name="url" type="hidden" value="{$_SERVER['REQUEST_URI']}" />
to<input name="url" type="hidden" value="http://gemedeth.de/forum/index.php" />
But this solution is quite anoying and i would be very thankful if someone coud give me a hint how to fix this.