FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » E-mail notification problems
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: E-mail notification problems [message #17299 is a reply to message #17065] Tue, 23 March 2004 19:11 Go to previous message
jasonw is currently offline  jasonw   United States
Messages: 1
Registered: March 2004
Karma:
Junior Member
So, here is the problem I am seeing. ALL email notifications seem to not be working after upgrading the forum from 2.5 to 2.6. The notifications are attempting to go out via the email server to address "@pager.icq.com" I checked into the code and found the following in forum/theme/default/post.php which is probably generated from a src file for the theme, but the code is as follows and is around line 1691:
                        if ($r[2] & 16) {
                                $to['EMAIL'] = $r[0];
                        } else {
                                $to['ICQ'] = $r[1].'@pager.icq.com';
                        }
                        if (isset($r[4]) && is_null($r[3])) {
                                $tl[] = $r[4];
                        }


This is changed from 2.5 which used a conditional ternary operator instead of this if/else block. I think, upgrading from 2.5 to 2.6 there may be an issue with the field from the database this block is checking at the beginning. $r[2] resolves to the users_opt field. I think the if check is failing on that field for some reason or another. Assistance is greately appreciated since I can't seem to figure this one out.

[Message index]
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Fud 2.0: File upload > 1meg
Next Topic: Replying to a mailing list results in email with no subject (2.6.2RC1)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Oct 21 05:25:33 GMT 2024

Total time taken to generate the page: 0.04157 seconds