BUG!

joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Tue, 2003-05-06 08:35

Just followed up a post. Unchecked signature, checked notification. Clicked on preview. Clicked on preview again (oops) without change, then clicked submit. The post went through ok (twice, because I tried it again), but I didn't get the confirmation page, I just got an error message

Fatal error: Cannot redeclare class emailer in /usr/www/website/gallery.menalto.com/modules/PNphpBB2/includes/emailer.php on line 28

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2003-05-06 08:38

Testing the above bug description.

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Tue, 2003-05-06 08:44

Got it again following your up. This time I used quick reply, and did nothing but post.

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Tue, 2003-05-06 08:44

But no problems following up here! [EDIT] so it's only happening in the "new forum" thread.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2003-05-06 08:50

Ok, I figured it out and fixed it. It only happens when you're subscribed to the topic and the forum. The code I added attempts to load a class multiple times; I've changed it so that won't happen any more. That's why it's happening for you in the "New Forum" thread but not in this one.

Actually to be totally accurate, the "notify me when a reply is posted" would only fire for the first reply since you saw the thread last. So it would have happened for any post that triggered both a topic and a forum notification email (doesn't have to be for you). Also since the topic notifications only happen once per topic until the recipient comes back to view it, you'd probably see other weird behaviour like it would only happen once then the work the second time. But it should all be fixed now.