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

hekper_php.php

Thread began 1/30/2022 1:14 pm by Sweens | Last modified 2/03/2022 10:00 am by Ray Borduin | 310 views | 11 replies |

Sweens

helper_php.php

Hi Ray

Having problems with the forgotten password process. I've run the wizard several time and keep getting the same result after completing the form:

Notice: Undefined index: mailBody in /home/sites/14b/8/86408ae480/public_html/webassist/security_assist/helper_php.php on line 218

Notice: Undefined property: WA_Email::$onSent in /home/sites/14b/8/86408ae480/public_html/webassist/email/WA_Email.php on line 450

Warning: Cannot modify header information - headers already sent by (output started at /home/sites/14b/8/86408ae480/public_html/webassist/security_assist/helper_php.php:218) in /home/sites/14b/8/86408ae480/public_html/webassist/security_assist/helper_php.php on line 306

The crazy thing is, I have it working on a similar site that uses the same basic structure, so I copied the entire webassist folder from that site to this one - and I still get the same error.

Cheers
Chris

Sign in to reply to this post

Ray BorduinWebAssist

It looks like you may have not uploaded the body file for the email. If you include FTP access and a URL I can test with then I can debug it and let you know definitively what is going wrong.

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

Sweens

Many thanks Ray

Sign in to reply to this post

Ray BorduinWebAssist

What is the url to the page that has the issue? Steps to reproduce?

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

Sweens

Hi Ray

It is the /forgotpassword.php page - use my email address; completing the form correctly and submitting it produces the error.

Thanks

Chris

Sign in to reply to this post

Ray BorduinWebAssist

You had some older versions of WA_Email.php and securityassist/helper_php.php

I updated them to the latest versions on the site and the errors went away.

Please reinstall DataBridge so that you have the latest versions of those files in future applications.

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

Sweens

Thanks Ray

The errors go away, but it always returns "Invalid information, please check your entries and try again" even when the information is correct!

Cheers

Chris

Sign in to reply to this post

Ray BorduinWebAssist

Try starting the session right before the <!doctype> tag by adding:

php:
<?php

@session_start();
?>
Sign in to reply to this post
Did this help? Tips are appreciated...

Sweens

Thanks Ray

That fixed things - except no email is sent. I can't see anything set incorrectly.

Cheers

Chris

Sign in to reply to this post

Ray BorduinWebAssist

Some hosts will block outgoing emails that don't come FROM a valid email address. That might be what is happening. It could also be sending but getting stuck in your SPAM folder?

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

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