Solved: 4 Years ago Issue with PM Count/System.
#1
Solved: 4 Years ago
Getting a faulty display on the Private Messages:
[Image: PMCount.jpg]

Shows I have basically 2 times the number of actual messages.
Looks to be caused by duplicate SQL entries.

For my user:

# pmid, uid, toid, fromid, recipients, folder, subject, icon, message, dateline, deletetime, status, statustime, includesig, smilieoff, receipt, readtime, 
'3', '3', '3', '3', 'a:1:{s:2:\"to\";a:1:{i:0;s:1:\"3\";}}', '1', 'hi', '0', 'yo', '1508745223', '0', '0', '0', '0', '0', '1', '0', 
'4', '3', '3', '3', 'a:1:{s:2:\"to\";a:1:{i:0;s:1:\"3\";}}', '2', 'hi', '0', 'yo', '1508745223', '0', '1', '0', '0', '0', '0', '0', 

This is a test account I created and when you send a message it ends up in the MySQL database twice for some reason.

Any possible ideas?

Ok from initial testing it appears to only occur when you send a message to yourself. Not a normal procedure sure but I did so initially to test to see why the counter looked weird before activation.


I'm up to late to be trying to test lol.

Turns out its counting the sent folders and trash folders.
I should have caught the difference in the folder values.
Thats what I get for seeing this late at night.
Reply


Messages In This Thread
Issue with PM Count/System. - by TULOA - 2017-10-23, 08:07 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)