close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

error sending password

Thread began 7/24/2011 1:18 pm by arteydiseno381654 | Last modified 7/29/2011 8:25 am by arteydiseno381654 | 2337 views | 6 replies |

arteydiseno381654

error sending password

test link: recuperar-password.php

When sending mail with the password the following error

Warning: Missing argument 6 for WA_SecurityAssist_Definition(), called in /home/nigmaage/public_html/cliente/soccerland/admin/recuperar-password.php on line 75 and defined in /home/nigmaage/public_html/cliente/soccerland/webassist/security_assist/mail_php.php on line 34

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/nigmaage/public_html/cliente/soccerland/webassist/security_assist/mail_php.php:34) in /home/nigmaage/public_html/cliente/soccerland/webassist/security_assist/mail_php.php on line 239

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/nigmaage/public_html/cliente/soccerland/webassist/security_assist/mail_php.php:34) in /home/nigmaage/public_html/cliente/soccerland/webassist/security_assist/mail_php.php on line 239

Warning: Cannot modify header information - headers already sent by (output started at /home/nigmaage/public_html/cliente/soccerland/webassist/security_assist/mail_php.php:34) in /home/nigmaage/public_html/cliente/soccerland/webassist/security_assist/helper_php.php on line 275

thanks for your help

Sign in to reply to this post

Ray BorduinWebAssist

The real error is the first one:

Warning: Missing argument 6 for WA_SecurityAssist_Definition(), called in /home/nigmaage/public_html/cliente/soccerland/admin/recuperar-password.php on line 75 and defined in /home/nigmaage/public_html/cliente/soccerland/webassist/security_assist/mail_php.php on line 34

The other errors only happen as a result of the first error. To debug the first error I'd like to see the two files mentioned in the error:

admin/recuperar-password.php
and
webassist/security_assist/mail_php.php

If you can zip and attach a copy of those two files I should be able to give you instructions on how to correct the problem.

Do you have an older version of Universal Email installed (pre v4)? That could be the cause of the issue, but if you send me those two files I'll figure out how to correct it.

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

arteydiseno381654

I am using SecurityAssist 2.0.2 and I have Universal Email 4.0.1

I attached the files

Thanks!

Attached Files
mail_php-recuperar-password.zip
Sign in to reply to this post

Ray BorduinWebAssist

Update line 75 of recaperar-password.php from:


$WA_MailObject = WA_SecurityAssist_Definition("yourmailserver.yourdomain.com","25","","","");

to:

$WA_MailObject = WA_SecurityAssist_Definition("","25","","","","");

I'm not sure what the cause of this is, but that should solve it. Did you use an encrypted password? What type of encryption? I'll see if I can reproduce the problem and get a bug logged.

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

arteydiseno381654

I updated the line but the error continues. I am using md5 to encrypt the password

Sign in to reply to this post

Jason ByrnesWebAssist

did you copy and paste the updated code, or did you just remove the "yourmailserver.yourd omain.com" from your code.


look closely at the updated code, and you will see that ray also added an extra parameter to the function call. if you only removed "yourmailserver.yourd omain.com" from your code, you will still have 5 parameters:

php:
$WA_MailObject = WA_SecurityAssist_Definition("","25","","","");


instead of the 6 that are needed:

php:
$WA_MailObject = WA_SecurityAssist_Definition("","25","","","","");
Sign in to reply to this post

arteydiseno381654

solved, perfect, thank you very much, but it would be good then repaired extension SecurityAssist 2.0.2

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