Jump to content

Recommended Posts

Posted

Hello, so basically when i log in our out of my webpage, i need to reload the webpage so indeed the action take place. Example: I put my details and press log in button. The webpage just keeps banner and navigation bar, i need to reload and then im logged in, same with log out.

Posted

try this....

go to core\templates and fidn the login_form.tpl file

in there you must have this

<h3 style="text-align:center">Login</h3>
<form name="loginform" action="<?php echo url('/login');?>" method="post">
<?php echo "<?xml version='1.0'?>"; ?>
<?php
if(isset($message))
echo '<p class="error">'.$message.'</p>';
?>
<center>
<dl>
<dt>E-mail Address:</dt>
<dd><input type="text" name="email" value="" />

<dt>Password:</dt>
<dd><input type="password" name="password" value="" />

<dt></dt>
<dd>Remember Me? <input type="checkbox" name="remember" /></dd>
<dt></dt>
<dd><input type="hidden" name="redir" value="index.php/profile" />
 <input type="hidden" name="action" value="login" />
 <input type="submit" name="submit" value="Log In" />


<dt></dt>
<dd><a href="<?php echo url('Login/forgotpassword'); ?>">I forgot my password</a></dd>
</dl>
</center>
</form>

Posted

<h1>Login</h1>
<form name="loginform" action="<?php echo url('/login');?>" method="post">
<?php echo "<?xml version='1.0'?>"; ?>
<?php
if(isset($message))
echo '<p class="error">'.$message.'</p>';
?>
<dl>
<dt>E-mail Address:</dt>
<dd><input type="text" name="email" value="" />

<dt>Password:</dt>
<dd><input type="password" name="password" value="" />

<dt></dt>
<dd>Remember Me? <input type="checkbox" name="remember" /></dd>
<dt></dt>
<dd><input type="hidden" name="redir" value="index.php/profile" />
 <input type="hidden" name="action" value="login" />
 <input type="submit" name="submit" value="Log In" />


<dt></dt>
<dd><a href="<?php echo url('Login/forgotpassword'); ?>">I forgot my password</a></dd>
</dl>
</form>

Above is what i have in login_form, probably that is not the problem in my case, thanks for your answer, would keep looking for a solution.

  • Administrators
Posted

Does this happen to all pilots or just certain ones?

Does this happen in all browsers?

Do you have cookies blocked?

What is the url when you land on the blank pages (both login and logout)?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...