close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

password reset email - extra parameter causes wrong link

Thread began 7/20/2015 3:35 am by Sweens | Last modified 7/21/2015 10:39 am by Ray Borduin | 882 views | 6 replies |

Sweens

password reset email - extra parameter causes wrong link

Hi Jason

I've had this problem for ages, but never got round to fixing it, but would like to now as I'm redesigning the site.

I have set an extra parameter 'LangID' in the send email reminder settings, but then the email arrives, it gives the wrong link - and I can't see where to change the offending part. Consequenty, I've had to provide instructions, as below, on how users can solve the problem:

URL: http://domainname.org/forgotpassword.php?LangID=1&?fp_id=19&fp_email=address%40domainname.com&fp_data=d0ced1af2c80477c2297bb33f369294c

*** please note there is an error in the automated url above, which I will fix as soon as I have time. When you have clicked the link

change the part

LangID=1&?fp_id= to

LangID=1&fp_id= (i.e. remove the ? before fp_id)

The reset username/password part will then display.

Many thank in anticipation.
Cheers
Chris

Sign in to reply to this post

Ray BorduinWebAssist

Can I see a copy of the page causing this problem? I'd have to look at the code to debug it.

Sign in to reply to this post
Did this help? Tips are appreciated...

Sweens

Thanks Ray - see attached (hope that's all you need).
Chris

Sign in to reply to this post

Ray BorduinWebAssist

Update line 273 of the securityassisst Helper_PHP.php file to:

$fullReturnURL = WA_SecurityAssist_rel2Abs($WA_Auth_Parameter["returnURL"]) . ((strpos($WA_Auth_Parameter["returnURL"],"?")!==false)?"&":"?") . "fp_id=" . rawurlencode($row_WA_Auth_RS[$WA_Auth_Parameter["keyColumn"]]) . "&fp_email=" . rawurlencode($row_WA_Auth_RS[$WA_Auth_Parameter["toAddressColumn"]]) . "&fp_data=" . rawurlencode($dataStr);
Sign in to reply to this post
Did this help? Tips are appreciated...

Sweens

Thanks Ray - I haven't received the reminder email yet, but have fingers crossed!

Cheers
chris

Sign in to reply to this post

Ray BorduinWebAssist

Can I get FTP access and the url to the page as well as a valid email address to test with? I'll debug it in pace to see what I missed.

Sign in to reply to this post
Did this help? Tips are appreciated...

Sweens

Hi Ray - sorry, i just updated my replay; the login page is working (I think I must have copied/pasted incorrrectly)

I'm now waiting for the email to arrive - normally it's within seconds, but this is taking longer. Have changed the address to a gmail one just to see if this makes a difference.

I will update with ftp details etc if I dont receive an email

many thanks

Chris

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...