Sorry for the delay, had a busy work day Friday night into Saturday morning.What is the results of :If you get 0 results from that try:Code:
SELECT * FROM `phpbb_privmsgs_to` WHERE `user_id` = 2 AND`pm_unread` = 1;Note user_id 2 is default admin account created when you install, if yours is different you'll need to change it.Code:
SELECT * FROM `phpbb_privmsgs_to` WHERE `user_id` = 2 AND`pm_new` = 1;
----------------Edit----------------
From the results check if msg_id exists in phpbb_privmsgs, I'm guessing no message exists.
For the first sql, I got this (PM unread 1, everything else 0)
msg_id
user_id
author_id
pm_deleted
pm_new
pm_unread
pm_replied
pm_marked
pm_forwarded
folder_id
1229705
48
4440
0
0
1
0
0
0
0
For the second, I got this
MySQL returned an empty result set (i.e. zero rows). (Query took 0.0004 seconds.)
Statistics: Posted by corleoner — Sun Jul 20, 2025 8:30 am