Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Private messages disappearing
Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Nov 17, 2013 - 1:37 pm

We've had several reports now on our forum that private messages are being lost. I myself experienced it twice, having received a PM notification but no message in my inbox. It's sporadic at best. So far there have been only a handful of reports. However, we never had this issue before and have been using PMs ever since the beginning.

Users also report that the message count is correct so the messages were captured as sent or received, but the corresponding messages are missing. Example: the feed shows 6 messages but only 5 are there.

I am not quite sure how to go about troubleshooting. We have no problems with our forums whatsoever, so no topics or posts disappearing or not being saved. So I don't believe this to be a connection issue. Any feedback would be much appreciated.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 17, 2013 - 2:07 pm

Not sure how a pm would disappear and no other reports... but lets start with the db... is it possible, its part of a thread? and you are not seeing it or it didnt bubble to the top?

can you check the sfpmrecipients table and for your user_id, see how many are listed... does this match the number of message shown?

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Nov 17, 2013 - 2:28 pm

It's tricky because I am not affected at the moment, but others are.

One of our students just contacted me on my Tech Support forum and stated she lost a message she'd sent to another student. She said it's part of a thread that shows 6 messages, but only 5 pull. At least two other people reported that behavior as well.

So I just went in to sfpmrecipients and checked her user ID. I see a thread that matches what she posted. It shows 6 messages. Next I went under sfpmmessages and checked for her ID there. There are 6 messages for that particular thread. I can tell she's resent one message, apparently the one she reported lost. However, I do see the 'lost' message as well because they have identical content.

I've asked a few more details from that user and am awaiting response. So far it looks like all messages are accounted for but not all are being pulled.

Also, how can I tell that a message was received by the intended recipient? Or is this all part of pulling the thread?

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Nov 17, 2013 - 2:58 pm

Not sure if this is related but I am seeing a few of the following warnings in my server log:

mod_fcgid: stderr: PHP Warning:  Cannot modify header information - headers already sent by

They are all triggered by Simple:Press, some of them for private messages:

[Sun Nov 17 05:26:04 2013] [warn] [client 173.245.54.135] mod_fcgid: stderr: PHP Warning:  Cannot modify header information - headers already sent by (output started at xxxxxx/public_html/ecourses/wp-includes/plugin.php:429), referer: http://decor8blog.com/ecourses/forum/private-messaging/thread/615/

Here's what's in the S:P error_log:

November 17, 2013
11:26 am
32 php file: s/simple-press/sp-startup/site/sp-ahah-handler.php
line: 21
function: header
Warning | Cannot modify header information - headers already sent by (output started at xxxxxx/public_html/ecourses/wp-includes/plugin.php:507)

 

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Nov 17, 2013 - 6:24 pm

Quick update: I checked another user who has responded now. She, too, stated that her message to another student had disappeared form her inbox, also a reply hence in a thread. I checked the backend and see that all messages are there. So none are actually lost. But it seems some aren't showing up in the message threads. I'm still waiting on further confirmation from these students.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 17, 2013 - 7:42 pm

for the thread id in question, please post a view of the users thread view (view of messages in thread) and from the db, in the sfpmmessages, all of the messages for the thread...

anything odd about the thread?  cc, bcc? forwarded?

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Nov 18, 2013 - 4:42 am

Got some feedback and there is definitely something amiss here. I have three screenshots now. One shows the PM thread status, stating 6 messages. One shows the actual thread - with only 5 messages pulled. And one is of the thread in sfpmmessages, showing all 6 messages. How can I get those to you since I can't upload theme due to size constraints (same for the ZIP I created)? There's nothing odd as far as I can tell, no cc, bcc and no forward, just replies.

01-PM-Inbox-Main-5.pngImage Enlarger

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Nov 18, 2013 - 4:56 am

I see one screenshot uploaded. I'll try the next one, albeit highly compressed. This one shows the actual thread with just 5 messages being pulled.

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
Nov 18, 2013 - 4:57 am

And here's the db view, showing all 6 messages. I highlighted the one that's actually missing in the thread view.

Capture-3.PNGImage Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 18, 2013 - 5:36 am

I have to be honest and say I am not totally sure where Steve (Mr Papa) was heading with this so I can only work my own take here and that is that the sfpmrecipients table would be more revealing. This should list all the recipients for each message in a thread in a relational way. My guess is that one of those rows is missing for this particular user. If it is possible for you to analyse that and let us know it might help. Don't need a screenshot. It would answer the question on whether the issue is with the data recording or with the display queries which is a first step.

IF this works out to be the database issue I suspect then I am also interested in these warnings you are getting on PMs. We have no other reports of this and what would be useful is if you have one of these messages for each missing recipient entry. The thread ID is shown so do they match up?

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620