serendipity_event_forgotpassword:
Something that I think are buggs or improvement needs.
1) In the form that appears after 'Forgot pasword' is clicked: When the visitor enters username, that is not registered at all (nonexistent in DB) PLUGIN_EVENT_FORGOTPASSWORD_EMAIL_DB_ERROR message appears ('Cannot connect to Database'). In fact there is connection to the database but no such user is available. May be these two situations should be separated and two messages to appear : 'No such user' and 'Cannot connect to Database' ?
2) In the situation of no net/no internet, here are the messages that appear (and come from PHP).
serendipity_event_forgotpassword
serendipity_event_forgotpassword
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
OKTO-7 Co., Botevgrad
Bulgaria
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: serendipity_event_forgotpassword
I've fixed that MB_send_mail error within the core s9y version, since the charset doesn'T seem to be encoded within double-quotes.
However, without a connection to the net, no mail can be sent. I think we can expect that serendipity is able to send a mail, but a "pretty error" would mabe be nice.
I'll leave that up to the plugin author, hope he's reading this.![Smile :-)](./images/smilies/icon_smile.gif)
Best regards,
Garvin
However, without a connection to the net, no mail can be sent. I think we can expect that serendipity is able to send a mail, but a "pretty error" would mabe be nice.
I'll leave that up to the plugin author, hope he's reading this.
![Smile :-)](./images/smilies/icon_smile.gif)
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: serendipity_event_forgotpassword
My test installation was too old, may be a month or more. Today downloaded the last nighly.garvinhicking wrote:I've fixed that MB_send_mail error within the core s9y version, since the charset doesn'T seem to be encoded within double-quotes.
Yes it sends mails, but tried to see what happens when there is no way to send - these "OS" messages are not pretty. May be the author reads this, indeed.garvinhicking wrote:However, without a connection to the net, no mail can be sent. I think we can expect that serendipity is able to send a mail, but a "pretty error" would mabe be nice.
![Smile :)](./images/smilies/icon_smile.gif)
Regards
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
OKTO-7 Co., Botevgrad
Bulgaria
Thanks JWalker.1) In the form that appears after 'Forgot pasword' is clicked: When the visitor enters username, that is not registered at all (nonexistent in DB) PLUGIN_EVENT_FORGOTPASSWORD_EMAIL_DB_ERROR message appears ('Cannot connect to Database'). In fact there is connection to the database but no such user is available. May be these two situations should be separated and two messages to appear : 'No such user' and 'Cannot connect to Database'?
i will fix that asap
![Smile :)](./images/smilies/icon_smile.gif)
May be the author reads this, indeed.
![Wink :wink:](./images/smilies/icon_wink.gif)
My Blog, powered by s9y is http://oxygenws.com/blog/
updated, could you test it please?
(i update it now, wait for CVS updates)
(i update it now, wait for CVS updates)
My Blog, powered by s9y is http://oxygenws.com/blog/
tested: OK
tested:
It recognizes invalid userame and the new string PLUGIN_EVENT_FORGOTPASSWORD_USER_NOT_EXIST appears. Not tested with 'db connection is missing' but it appears it will work.
My configuration is on a single box: Apache+PHP+MySQL+database+Firefox browser. Mail SMTP is on another box in our intranet. Regarding this, when I tested with valid username and unplugged ethernet cable it does not find SMTP -- that is right. Here is the message that appears:
This message is a result of PHP mail() call. (php.ini is OK). I don't know if this can be replaced with more user friednly message and if it can, where it should be done: in the plugin or in include/functions.inc.php.
Uploaded updated BG files just now.
It recognizes invalid userame and the new string PLUGIN_EVENT_FORGOTPASSWORD_USER_NOT_EXIST appears. Not tested with 'db connection is missing' but it appears it will work.
My configuration is on a single box: Apache+PHP+MySQL+database+Firefox browser. Mail SMTP is on another box in our intranet. Regarding this, when I tested with valid username and unplugged ethernet cable it does not find SMTP -- that is right. Here is the message that appears:
Code: Select all
Warning: mb_send_mail() [function.mb-send-mail]: Failed to connect to mailserver at "192.168.24.201" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in D:\biz\apps\s9y\include\functions.inc.php on line 403
Uploaded updated BG files just now.
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
OKTO-7 Co., Botevgrad
Bulgaria
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: tested: OK
I think that error message is a good warning string that tells the user what is wrong, and it shouldn't ever happen on live blogs so I do think we could leave it that way...
$0.02![Smile :-)](./images/smilies/icon_smile.gif)
Regards,
Garvin
$0.02
![Smile :-)](./images/smilies/icon_smile.gif)
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
It recognizes invalid userame and the new string PLUGIN_EVENT_FORGOTPASSWORD_USER_NOT_EXIST appears.
![Very Happy :D](./images/smilies/icon_biggrin.gif)
![Smile :)](./images/smilies/icon_smile.gif)
thanks Garv.
My Blog, powered by s9y is http://oxygenws.com/blog/
Re: tested: OK
Yes ... this is beyond s9y; the end user should not see this -- it is up to site administrator to get the blog working. 10xgarvinhicking wrote:I think that error message is a good warning string that tells the user what is wrong, and it shouldn't ever happen on live blogs so I do think we could leave it that way...
$0.02
Regards,
Garvin
![Smile :)](./images/smilies/icon_smile.gif)
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
OKTO-7 Co., Botevgrad
Bulgaria