Forums / Developer / problem with the forgotpassword.tpl

problem with the forgotpassword.tpl

Author Message

justin kazadi

Friday 16 May 2008 3:29:51 am

Hello all,
I don't understand why no message are send on click on generate new password button of forgotpassword template. but on click on button i have this message :"
An email has been sent to the following address: mailadres@googlemail.com. It contains a link you need to click so that we can confirm that the correct user has received the new password.
".
In my e-mail address i don't see the message.
the forgotpassword is the default template not an override.
what can i do?
thanks in advance.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Bartek Modzelewski

Saturday 17 May 2008 10:34:37 am

Hello Justin,

forgotpassword template is a standard eZ Publish template and doesn't have to be overrided. The reason that you don't receive email from forgot password function can be varous.

1) check your site.ini file for proper mail settings:
http://ez.no/doc/ez_publish/technical_manual/4_0/reference/configuration_files/site_ini/mailsettings

2) if you are using <i>sendmail</i> option as Transport, check if your server is able to send email (maybe server is not able to reach destination mail server) - check your mail.log.

3) if your email account has antispam function enabled, it's possible that your email has been filtered, typicaly because of insufficient eZ Publish configuration - check point 1.

4) I'm sure that you will find a lot of forum topics on http://ez.no/developer/forum that will help
you.

Good luck
Bartek

Baobaz
http://www.baobaz.com

justin kazadi

Monday 19 May 2008 1:41:08 am

Hello all,
thanks Bartek. in my settings/override/site.ini i have write this :

[MailSettings]
Transport=SMTP
TransportServer=AS-DEV7
TransportUser=jkazadi
TransportPassword=jkazadi
AdminEmail=infojust_k@yahoo.fr
EmailSender=infojust_k@yahoo.fr

jkazadi is a username and password of my windows session.
But i have this error:"
Non-static method eZForgotPassword::createNew() should not be called statically, assuming $this from incompatible context in C:\wamp\www\soukafrique\afrique\kernel\user\forgotpassword.php on line 136
"
What can i do?
thanks in advance.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

André R.

Monday 19 May 2008 2:23:06 am

Search is your friend (in issue tracker in this case):
http://issues.ez.no/IssueView.php?Id=12902

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom