close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Forgot password sends correct email to reset password but shows all the user details with the error "Warning: Cannot modify header information - headers already sent by ..."

Thread began 1/27/2019 12:38 am by jim.young353872 | Last modified 2/05/2019 1:51 pm by Ray Borduin | 31 views | 5 replies |

jim.young353872

Forgot password sends correct email to reset password but shows all the user details with the error "Warning: Cannot modify header information - headers already sent by ..."

used security assist to create login, logout, forgot password, etc. pages with Sha1 security. It all works great but when someone uses the "forgot password page" it throws up an error "Warning: Cannot modify header information - headers already sent by (output started at /home/wpscfadmin/public_html/webassist/security_assist/helper_php.php:216) in /home/wpscfadmin/public_html/webassist/security_assist/helper_php.php on line 306 and lists the user info on the page..... The email actually gets sent and the link works it's just disconcerting to a user to see the error and their info show up on the page and they assume the email did not get sent to them.

Sign in to reply to this post

Ray BorduinWebAssist

Please attach a copy of: webassist/security_assist/helper_php.php

I'll see if I can spot the issue on those lines.

Sign in to reply to this post

TroyD

Ray,

This same thing is happening to me in a staging version of a site I am converting to MySQLi on my local server. It was an older version of forgotpassword.php that I am updating.

It is dumping an array of all of the user's information on the screen. I've attached the helper_php.php file used on this site.

I commented out line 216, but now the header warning moved on to line 217 and 306. I'm not seeing any white spaces, but I'm sure you will find the problem quickly.

Thanks,
TroyD

Sign in to reply to this post

Ray BorduinWebAssist

This appears to be an older version of that file. Please reinstall DataBridge so that it will use the most recent version in future applications. For now, you can also replace this file on the sites you have the issue on with the version I have attached.

Attached Files
helper_php.php
Sign in to reply to this post

TroyD

Thanks Ray, I will do that. Do I need to delete the file in order to get DB to regenerate it?

Thanks,
TroyD

Sign in to reply to this post

Ray BorduinWebAssist

I would to be safe. We are updating our extensions to detect the version number and replace when necessary, but that hasn't been implemented in all interfaces yet. It will definitely re-generate when the file has been deleted.

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...