Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1755

[3.3.x] Support Forum • How To Delete queue.php Email Notifications

$
0
0
Over a year ago I moved my site to a new server. The move was successful but email notification stopped. This includes emails such as "Active User Account" messages sent to admins, as well as "Forum X received a new topic" sent to forum users. I ignored this for a while but today I decided to find out why.

I noticed I had set:

Run periodic tasks from system cron: = Yes

and then realised no such cron job existed! So by manually running:

Code:

/usr/bin/php /home/mysite/public_html/myforum/bin/phpbbcli.php cron:run
things started getting moving, with some emails appearing.

Unfortunately it seems these have been queued up waiting to be sent since late 2023. Everytime I run the cron job a new batch of belated emails are sent and this is annoying users. The queue.php file is holding these notifications and that file is over 30,000 lines long. Each message notification seems to be 15 lines so I estimate there are 2,000 messages queued up. :?

Deleting queue.php is futile because it gets generated again. So is there an ACP option to delete all outstanding email notifications? If not what table is holding this information and can I truncate it? Is it phpbb_notification_emails? or is it linked to phpbb_notifications and phpbb_notification_type and thus can't be truncated manually without screwing up the board?

Until I can toast these email notifications I have had to disable the cron job.

Statistics: Posted by Frank Rizzo — Wed Jan 01, 2025 7:27 pm



Viewing all articles
Browse latest Browse all 1755

Trending Articles