You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 419 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Lost Password Bug Fix
Bug Fixesgeorgiaguy writes "I just noticed a bug in the "Lost Password" functionality of the Your Account module. If a user entered an invalid username, it would still say "Confirmation code mailed" even if the user didn't exist in the database, instead of saying "Invalid User". To fix, read more...

Open Your_Account/index.php.
find the mail_password function (on/around line 638).
The fourth line reads:

if(!$result) {

BUT the problem is that a result resource will always be returned even if it has no actual results contained within it. to fix, change the line to:

if(sql_num_rows($result) == 0) {

That's it. No more bounced emails :)

Admin Note: Nice & thanks!"
Posted on Friday, January 09 @ 11:02:50 CET by Zhen-Xjell
 
Related Links
· More about Bug Fixes
· News by Zhen-Xjell


Most read story about Bug Fixes:
Downloads & Web Links vulnerability Patch

Article Rating
Average Score: 5
Votes: 1


Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad


Options

 Printer Friendly Page  Printer Friendly Page

 Send to a Friend  Send to a Friend

Threshold
The comments are owned by the poster. We aren't responsible for their content.

No Comments Allowed for Anonymous, please register

Re: Lost Password Bug Fix (Score: 1)
by chican0 on Friday, January 09 @ 13:13:38 CET
(User Info | Send a Message) http://www.soychicano.com
It's great that this is mentioned more than once. We need to get the word out about these bugs. :)

Previous Forum Post:
http://www.nukecops.com/postt18255.html [www.nukecops.com]

Previous News Submission:
http://www.nukecops.com/article1318.html [www.nukecops.com]


Die Bugs! Die!.....


Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.130 Seconds - 188 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::