Friday, May 18th

Last update05:36:30 AM GMT

Font Size

Screen

Profile

Layout

Menu Style

Cpanel
Welcome, Guest
Username Password: Remember me

Invalid Token on Forgotten Password
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Invalid Token on Forgotten Password

Invalid Token on Forgotten Password 1 year, 2 months ago #3850

  • PtrNrs
  • OFFLINE
  • Administrator
  • Posts: 235
  • Karma: 10
I get an invalid token error when using the Forgot your Password? link.
Pete Nurse,
Melbourne Joomla User Group www.joomla.org.au/melbourne-user-group
Last Edit: 1 year, 2 months ago by PtrNrs. Reason: Video deleted

Re: Invalid Token on Forgotten Password 1 year, 2 months ago #3851

  • nikunj
  • OFFLINE
  • Expert Boarder
  • Posts: 153
  • Karma: 4

Re: Invalid Token on Forgotten Password 1 year, 2 months ago #3854

  • PtrNrs
  • OFFLINE
  • Administrator
  • Posts: 235
  • Karma: 10
Thanks, Nikunj.

I suspect that actually this is the correct one - a bug that was introduced in J1.5.20.

Dex, would you mind making the proposed change . . .
  • file: /component/com_user/models/reset.php
  • line 129 : if (!($row = $db->loadObject()))
  • change to : if (!$row)
. . . and see if it fixes the problem?
Pete Nurse,
Melbourne Joomla User Group www.joomla.org.au/melbourne-user-group
Last Edit: 1 year, 2 months ago by PtrNrs.

Re: Invalid Token on Forgotten Password 1 year, 2 months ago #3855

  • PtrNrs
  • OFFLINE
  • Administrator
  • Posts: 235
  • Karma: 10
On second thoughts, it appears that
docs.joomla.org/Why_do_you_get_a_Token_E..._a_password_reset%3F
referred to in the above bug report might be more on the mark!
Pete Nurse,
Melbourne Joomla User Group www.joomla.org.au/melbourne-user-group
Last Edit: 1 year, 2 months ago by PtrNrs.

Re: Invalid Token on Forgotten Password 1 year, 2 months ago #3856

  • dex
  • OFFLINE
  • Moderator
  • Posts: 779
  • Karma: 12
Done. try it now please
Dex Randall
Joomla! web design and production
Sydney JUG organiser + joomla.org.au site admin
www.spikesystems.com.au
www.twitter.com/dexx

Re: Invalid Token on Forgotten Password 1 year, 2 months ago #3857

  • PtrNrs
  • OFFLINE
  • Administrator
  • Posts: 235
  • Karma: 10
In the end, none of the above.

With the latest template updates, the following file is used:-
plugins/system/jat3/base-themes/default/html/com_user/reset/confirm.php

This omits the username as per the Joomla version:-
components/com_user/views/reset/tmpl/confirm.php

The fix is to insert the following code . . .
<tr>
<td height="40">
<label for="username" class="hasTip" title="<?php echo JText::_('RESET_PASSWORD_USERNAME_TIP_TITLE'); ?>::<?php echo JText::_('RESET_PASSWORD_USERNAME_TIP_TEXT'); ?>"><?php echo JText::_('User Name'); ?>:</label>
</td>
<td>
<input id="username" name="username" type="text" class="required" size="36" />
</td>
</tr>
 
. . . into plugins/system/jat3/base-themes/default/html/com_user/reset/confirm.php.
Pete Nurse,
Melbourne Joomla User Group www.joomla.org.au/melbourne-user-group
Last Edit: 1 year, 2 months ago by PtrNrs.

Re: Invalid Token on Forgotten Password 1 year, 2 months ago #3858

  • dex
  • OFFLINE
  • Moderator
  • Posts: 779
  • Karma: 12
OK done, has that fixed it now?
Dex Randall
Joomla! web design and production
Sydney JUG organiser + joomla.org.au site admin
www.spikesystems.com.au
www.twitter.com/dexx

Re: Invalid Token on Forgotten Password 1 year, 2 months ago #3859

  • PtrNrs
  • OFFLINE
  • Administrator
  • Posts: 235
  • Karma: 10
All fixed now. Thanks.

Should we be telling the good folk from Joomla Art &/or Jom Social?
Pete Nurse,
Melbourne Joomla User Group www.joomla.org.au/melbourne-user-group

Re: Invalid Token on Forgotten Password 1 year, 2 months ago #3862

  • dex
  • OFFLINE
  • Moderator
  • Posts: 779
  • Karma: 12
Joomlart do not allow me to post to their forum unless I pay for support. Which I'm not prepared to do on this one.
Dex Randall
Joomla! web design and production
Sydney JUG organiser + joomla.org.au site admin
www.spikesystems.com.au
www.twitter.com/dexx

Re: Invalid Token on Forgotten Password 1 year, 1 month ago #4089

  • Julie423
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hello, I am receiving the error message also when trying to enter a token for the forgotten password. I upgraded my joomla engine, but I am very new to Joomla and Kunena and I am also in the United States(if that makes a difference). I am trying to understand what is here but I am still having trouble with this token. Any suggestions are much appreciated...
  • Page:
  • 1
Time to create page: 0.62 seconds
You are here: Forum