close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Errors with Forgotpassword Function

Thread began 2/25/2013 8:26 am by wellsjm435768 | Last modified 2/26/2013 5:21 pm by wellsjm435768 | 761 views | 13 replies |

wellsjm435768

Errors with Forgotpassword Function

The forgotpassword.php page loads fine. I am able to complete the form and submit, but there are error messages displayed on the page. However, the email is sent and forgotpassword is recovered in email message.

It seems like the function is working fine, but there error code displaying on the page after submission says differently.

Ideas and steps to correct this?

Thank you

Sign in to reply to this post

Jason ByrnesWebAssist

not enough detail.

you say that there are errors, but you do not include the text of the errors.

it is impossible to know the cause of an error without knowing what the error says.

The key is in the error message, without knowing what the error message is, I am not able to interpret what may be causing it.

Sign in to reply to this post

wellsjm435768

I apologize. I meant to add the messages. Let me know what else you might need.

Warning: Missing argument 6 for WA_SecurityAssist_Definition(), called in /home/content/j/m/w/jmwdesign/html/easyregisterapp/forgotpassword.php on line 25 and defined in /home/content/j/m/w/jmwdesign/html/easyregisterapp/webassist/security_assist/mail_php.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /home/content/j/m/w/jmwdesign/html/easyregisterapp/webassist/security_assist/mail_php.php:34) in /home/content/j/m/w/jmwdesign/html/easyregisterapp/webassist/security_assist/helper_php.php on line 142

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the forgotpassword.php page please

Sign in to reply to this post

wellsjm435768

Hi Jason

I attached a .zip of the file.

Thanks,

Jon

Attached Files
forgotpassword.zip
Sign in to reply to this post

Jason ByrnesWebAssist

change line 25:

php:
$WA_MailObject = WA_SecurityAssist_Definition("smtp.gmail.com","993","","","");




to:

php:
$WA_MailObject = WA_SecurityAssist_Definition("smtp.gmail.com","993","","","","");
Sign in to reply to this post

wellsjm435768

Thanks Jason

The page no longer displays errors, but the emails aren't being processed/delivered.

Thoughts?

Jon

Sign in to reply to this post

Jason ByrnesWebAssist

to use the gmail SMTP server for sending emails, you need to use Pear mail fore SMTP as the email object type.

you also need to enable authentication and use your gmail address as the username and your gmail password as the password.

the SMTP server address should be:

ssl://smtp.gmail.com

use port 465

Sign in to reply to this post

wellsjm435768

Jason

I changed the Email Object to PEAR Mail using SMTP.
I ticked "Authenticate"
I entered my gmail address and password.
I entered
SMTP Server: ssl://smtp.gmail.com
Port: 465
I then used Filezilla to ftp forgotpassword.php and the entire webassist directory to the server.


I received this error message.

Warning: require_once(Mail.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/j/m/w/jmwdesign/html/easyregisterapp/webassist/security_assist/mail_php.php on line 78

Fatal error: require_once() [function.require]: Failed opening required 'Mail.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/j/m/w/jmwdesign/html/easyregisterapp/webassist/security_assist/mail_php.php on line 78


Attached is the mail_php.php file

Attached Files
mail_php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

you need to find out if your hosts supports using the Pear mail and if so, what the path to pear is and enter that in the pear settings.

Sign in to reply to this post
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...