Advertisement

forgotten password token does not work

Joomla version 1.5 is end-of-life and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20661
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: forgotten password token does not work

Post by leolam » Thu Apr 29, 2010 4:33 pm

Abernyte,

Thanks for the suggestion but it is not a core solution to the issue. I refuse to go and hanky panky code

Thanks anyhow for sure 8)

Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

Advertisement
User avatar
wicko
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 118
Joined: Mon Nov 30, 2009 10:48 am
Location: Reading UK
Contact:

Re: forgotten password token does not work

Post by wicko » Thu Apr 29, 2010 4:40 pm

thanks for the suggestion Leo
Will feel more secure with 1.5.15

deleted user

Re: forgotten password token does not work

Post by deleted user » Thu Apr 29, 2010 5:05 pm

1) The password reset token is working on my site. Server specs (please no speech about upgrading, I've tried to talk to provider about this, they are firm about not upgrading (and since I'm paid for several more months...):

Apache 1.3.37
PHP 4.3.11
MySQL 4.1.14
(if further detail necessary, will post Forum Post Assistant results)

2) Compared code from my components/com_user/controller.php to that posted by abernyte, current version code is exactly like what he has.

3) Pulled pre-1.5.16 backup components/com_user/controller.php file and reviewed code, the code there is exactly what is found in my 1.5.17 version.

My assumptions/conclusions:

1) If the early release of the upgrade was indeed messed up and this caused the error, then re-applying the patch (or, if nothing else, this file specifically with "good" code) should resolve the issue.

2) The error is due to corrupted files on the site's server and re-applying a full installation should resolve the issue.

3) If this is indeed a bug, it needs to be determined what is causing this bug for select individuals, hence the previous request for operating environments (although, any extensions that have modified the user management system should be included also I think).

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20661
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: forgotten password token does not work

Post by leolam » Thu Apr 29, 2010 5:09 pm

mbabker wrote: My assumptions/conclusions:
Have been already all addressed if you read carefully ?

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

brynk
Joomla! Intern
Joomla! Intern
Posts: 85
Joined: Wed Dec 13, 2006 6:59 pm

Re: forgotten password token does not work

Post by brynk » Thu Apr 29, 2010 5:09 pm

I rolled my website back to Joomla CMS 1.5.15 and password request is working. I think I will sit this one out for a week or two. If you would like me to test revisions, I would be glad to assist.

Regards
Bob Rynkiewicz

deleted user

Re: forgotten password token does not work

Post by deleted user » Thu Apr 29, 2010 5:24 pm

leolam wrote:
mbabker wrote: My assumptions/conclusions:
Have been already all addressed if you read carefully ?

Leo 8)
I have. I'm just throwing my gut feeling & opinion on the matter out there, and that opinion is that I honestly believe this isn't a bug or a dev issue. But, as they say, opinions are like a certain type of hole...

That said, looks like we're comparing two different blocks of code. The code at line 377 is for the request function, while the code identified in the bug by the OP is in the confirmation function beginning at line 399.

There are two changes between this version of components/com_user/controller.php and the previous version, including adding a line at line 406 and changing a false to true (the diff is located at http://joomlacode.org/gf/project/joomla ... 1&r2=16385).

I haven't seen anywhere that anyone specifically's pointed out that change, minus the OP in the bug. Seems a lot of people, myself included, first looked at the request function.

deleted user

Re: forgotten password token does not work

Post by deleted user » Thu Apr 29, 2010 6:20 pm

OK, downloaded and got Joomla running via Jumpbox. Patched it from 1.5.15 to 1.5.17, made a new user, and reset the password, without any issue. Forum Post Assistant info for the Jumpbox install:

[quote="JTS-post Problem Description"]Testing Password Reset in Jumpbox[/quote][quote="JTS-post Actions Taken To Resolve"]1) Installed Jumpbox
2) Patched from 1.5.15 to 1.5.17
3) Created new user
4) Requested password reset
5) Completed password reset[/quote]
JTS-post Diagnostic Information wrote:Joomla! Version: Joomla! 1.5.17 Stable [ Wojmamni ama woobusani ] 27-April-2010 04:00 GMT
configuration.php: Not Writable (Mode: 644 ) | Architecture/Platform: Linux 2.6.24-27-generic ( i686) | Web Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g | PHP Version: 5.2.4-2ubuntu5.10
PHP Requirements: register_globals: Disabled | magic_quotes_gpc: Enabled | safe_mode: Disabled | MySQL Support: Yes | XML Support: Yes | zlib Support: Yes
mbstring Support (1.5 or above): Yes | iconv Support (1.5 or above): Yes | save.session_path: Writable | Max.Execution Time: 300 seconds | File Uploads: Enabled
MySQL Version: 5.0.51a-3ubuntu5.5 ( Localhost via UNIX socket )
JTS-post Extended Information wrote:SEF: Disabled (without ReWrite) | Legacy Mode: Disabled | FTP Layer: Enabled | htaccess: Not Implemented
PHP/suExec: User and Web Server accounts are not the same. (PHP/suExec probably not installed)
PHP Environment: API: apache2handler | MySQLi: Yes | Max. Memory: 64M | Max. Upload Size: 20M | Max. Post Size: 8M | Max. Input Time: 60 | Zend Version: 2.2.0
Disabled Functions:
MySQL Client: 5.0.51a ( latin1 )

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20661
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: forgotten password token does not work

Post by leolam » Fri Apr 30, 2010 3:00 am

wicko wrote:thanks for the suggestion Leo
Will feel more secure with 1.5.15
This http://forum.joomla.org/viewtopic.php?p ... 3#p2127703 resolves the issue

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14704
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: forgotten password token does not work

Post by humvee » Fri Apr 30, 2010 7:10 am

Adding the possible solution to this issue for others to view -
Confirm password in 1.5.16/1.5.17

From Joomla! Documentation

If you are getting a Token Error when confirming a password reset after upgrading to Joomla! 1.5.16, or later, and if you are using Template Overrides for the com_user Component, reset view, and confirm layout, then you must manually change your layout file to include a new username field. Adding that field will fix the token error.

See http://docs.joomla.org/Confirm_password_in_1.5.16

User avatar
wicko
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 118
Joined: Mon Nov 30, 2009 10:48 am
Location: Reading UK
Contact:

Re: forgotten password token does not work

Post by wicko » Fri Apr 30, 2010 1:26 pm

Hi All

I updated using the code on here http://docs.joomla.org/Confirm_password_in_1.5.16

Everything now seems ok.

Many thanks to everyone for all your help and quick resolve to this problem. I hope it helps everyone else with the same issue.

David ( Wicko)

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14704
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: forgotten password token does not work

Post by humvee » Fri Apr 30, 2010 1:42 pm

Glad it got there in the end.

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20661
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: forgotten password token does not work

Post by leolam » Fri Apr 30, 2010 2:32 pm

Andy,

So far we have identified the following template clubs using the mechanism:

* Rockettheme,
* Yootheme
* Joomlart
* Gavick
* Shape 5 (identified by Brynk)

Please feel free to add more to the list to benefit the users? (maybe abstract this part and post as separate issue?)

note to template clubs: This is to help users of your fabulous templates so they know what to do! This is no blaming festival since you have done your job well so we just want to make sure that people understand that with certain templates this issue will arise and that users need to do something, as you need to do something in your packages as well! I know for instance RT has already upgraded all systems with the updated confirm.php so please help your clients and upgrade asap or make notice on your sites how they should upgrade your particular version of this file?

Leo 8)
Last edited by leolam on Sat May 01, 2010 4:01 am, edited 3 times in total.
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

brynk
Joomla! Intern
Joomla! Intern
Posts: 85
Joined: Wed Dec 13, 2006 6:59 pm

Re: forgotten password token does not work

Post by brynk » Fri Apr 30, 2010 7:55 pm

Thank You for identifying the problem. Unfortunately for me 90% of my customers use templates by the above mentioned template suppliers. Great clubs, great templates, and a much appreciated understanding of why things went haywire.

Lesson learned -- wait to upgrade and watch the forums before doing so.
LOL

Oh -- add Shape 5 to your list.

Bob Rynkiewicz

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14704
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: forgotten password token does not work

Post by humvee » Sun May 02, 2010 1:23 am

@Leo added supplementary note to sticky

kinsh
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat May 15, 2010 5:25 am

Re: forgotten password token does not work

Post by kinsh » Fri Nov 19, 2010 8:00 pm

Hello Everyone,

I had same problem with my site. I was just able to solve it. I uploaded com_user folder again and it got fixed. In any case, you are not fixing the problem, you can check the attachment and try to upload this in templates/template-name/html

If you are able to fix it, please let me know. It will just confirm that the solution worked.! :-)

Many Thanks.
You do not have the required permissions to view the files attached to this post.
Last edited by pe7er on Tue Dec 18, 2012 10:55 am, edited 1 time in total.
Reason: Manual signature has been removed. Please use the forum signature instead

art knotly
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Tue Oct 12, 2010 8:21 pm
Location: DC
Contact:

Re: forgotten password token does not work

Post by art knotly » Wed Nov 24, 2010 5:19 am

I rolled back too due to all the mess!

ugh!

ajs
http://basementdetective.com
To err is human, to forgive divine. Punch a baby!
http://basementdetective.com
http://moldremediation101.com

Advertisement

Locked

Return to “Migrating and Upgrading to Joomla! 1.5”