0
Welcome Guest! Login
0 items Join Now

don't know how to describe this , please help

    • Aro's Avatar
    • Aro
    • Jr. Rocketeer
    • Posts: 28
    • Thanks: 0

    don't know how to describe this , please help

    Posted 15 years 11 months ago
    • hi everyone,sorry i couldn't think of a better thread titile buy mods can rename it if they want. ok i posted this in Joomla forums 3 days ago but no luck there.

      I have a really wierd problem with the "sign in and sign out" thing. when i and my users put their username and password and click the sign in button, it takes us to a blank page which says INVALID TOKEN. and then when you hit the browser's BACK button and you go back to the previous page, you see that you are already logged in. and also when you put either the username or the password incorrectly and click the login button , it DOESN'T give you any message like THE PASSSWORD OR USERNAME IS WRONG, and after you put the right username and password and it logs you on, it gives you the above mentioned error message while you are already logged in. can someone help me with this issue? thanks in advance!
  • Re: don't know how to describe this , please help

    Posted 15 years 11 months ago
    • Aro's Avatar
    • Aro
    • Jr. Rocketeer
    • Posts: 28
    • Thanks: 0

    Re: don't know how to describe this , please help

    Posted 15 years 11 months ago
    • Thanks you for your reply. i did do some research using your links but no luck. there was this

      Code:
      <input type="hidden" name="<?php echo JUtility::getToken(); ?>" value="1" />

      You must change this to:

      Code:
      <?php echo JHTML::_( 'form.token' ); ?>


      i didnt have to change the code because my was already right. so i dont know what else i can do about this, but thanks again
    • GreenDome's Avatar
    • GreenDome
    • Sr. Rocketeer
    • Posts: 164
    • Thanks: 0

    Re: don't know how to describe this , please help

    Posted 14 years 5 months ago
    • Hi,

      I've got the exact same problem, am using the TerranTribune template. Please could you advise in which file I need to change the code below or is there another solution?

      Code:
      <input type="hidden" name="<?php echo JUtility::getToken(); ?>" value="1" />

      You must change this to:

      Code:
      <?php echo JHTML::_( 'form.token' ); ?>

      Many thanks
    • GreenDome's Avatar
    • GreenDome
    • Sr. Rocketeer
    • Posts: 164
    • Thanks: 0

    Re: don't know how to describe this , please help

    Posted 14 years 5 months ago
    • Update:

      Am using the K2 login module (k2 v2.4.1) and not the Joomla core. I have checked the login.php and the last line in the file has this code in it i.e.

      <?php echo JHTML::_( 'form.token' ); ?>

      Is this a template issue?

      Thanks
    • GreenDome's Avatar
    • GreenDome
    • Sr. Rocketeer
    • Posts: 164
    • Thanks: 0

    Re: don't know how to describe this , please help

    Posted 14 years 5 months ago
    • Hi Guys,

      I was wonder if any one can help as this issue is happening on the live site and need help desperately :cry:

      Thank you.

Time to create page: 0.071 seconds