Error with email notifications after sending mass pm

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
User avatar
novanilla
Registered User
Posts: 332
Joined: Wed Jul 02, 2008 1:08 pm
Location: Colorado
Contact:

Error with email notifications after sending mass pm

Post by novanilla »

Support Request Template
What version of phpBB are you using? phpBB 3.0.10
What is your board's URL? www.nova-nilla.com/Members/phpBB3/
Who do you host your board with? frii.com
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Update from a previous version of phpBB3
Is registration required to reproduce this issue? Yes
Do you have any MODs installed? Yes
What version of phpBB3 did you update from? phpBB 3.0.9
What MODs do you have installed? NV Gallery, B3 Portal, Social Network, Mini Chat, Alightner Calendar
What styles do you currently have installed? ProSilver, proFormell
What language(s) is your board currently using? English
Which database type/version are you using? MySQL 5
What is your level of experience? New to PHP but not phpBB
What username can be used to view this issue? No answer given
What password can be used to view this issue? No answer given
When did your problem begin? Today, but it is the first time I've tried it since the update.
Please describe your problem. Sending a mass pm to all registered users, I received this error message: "Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 3626657 bytes) in (host domain)/Members/phpBB3/includes/functions_messenger.php on line 899"

The private messages went through to the users, but the email notifications did not, and I really wanted them to.

Line 899 plus or minus a few of messenger.php reads:

Code: Select all

   if ($fp = @fopen($this->cache_file, 'w'))
    {
    fwrite($fp, "<?php\nif (!defined('IN_PHPBB')) exit;\n\$this->queue_data = unserialize(" . var_export(serialize($this->data), true) . ");\n\n?>");
    fclose($fp);

    phpbb_chmod($this->cache_file, CHMOD_READ | CHMOD_WRITE);
    }
Any ideas? Thank you!
Generated by SRT Generator

User avatar
Mick
Support Team Member
Support Team Member
Posts: 22080
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket.

Re: Error with email notifications after sending mass pm

Post by Mick »

novanilla wrote:"Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 3626657 bytes) in (host domain)/Members/phpBB3/includes/functions_messenger.php on line 899"
The error means that phpBB3 has run out of memory, you need to ask your host to increase the memory available to phpBB3.
"The more connected we get the more alone we become" - Kyle Broflovski

Please read: “Am I In The Right Place?” before posting.

User avatar
novanilla
Registered User
Posts: 332
Joined: Wed Jul 02, 2008 1:08 pm
Location: Colorado
Contact:

Re: Error with email notifications after sending mass pm

Post by novanilla »

Done this many times. I've never had that happen before.

User avatar
novanilla
Registered User
Posts: 332
Joined: Wed Jul 02, 2008 1:08 pm
Location: Colorado
Contact:

Re: Error with email notifications after sending mass pm

Post by novanilla »

Seems lame that just sending the same message to only 600 members would take up so much memory. Is there a way I can set things up so it doesn't require so much?

User avatar
Mick
Support Team Member
Support Team Member
Posts: 22080
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket.

Re: Error with email notifications after sending mass pm

Post by Mick »

novanilla wrote:Done this many times. I've never had that happen before.
Ask your host to up the memory and see what happens, maybe they've changed something.
"The more connected we get the more alone we become" - Kyle Broflovski

Please read: “Am I In The Right Place?” before posting.

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51931
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Error with email notifications after sending mass pm

Post by Brf »

16M is not really that much memory, but it is usually enough for phpBB3 to run, unless a Unicode (16-bit) character is in one of your messages. Those characters make php use twice as much memory.

Locked

Return to “[3.0.x] Support Forum”