Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
New Posts New Topics All Posts All Forums Index General Modules Themes Development International XOOPS.org

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $65.00
Net Balance: $61.80
Left to go: $38.20

Donations
studioC  ($25)May-17
Anonymous ($15)May-16
Anonymous ($25)May-4

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

2 2.5 2.6 3.0 2013 Abuse AntiHarvesting AntiMalUser AntiSpam API Attack Balancing Banning Beats billige black Blocks blue Captcha cell Christmas chronolabs Cloud content Conversion dating demo docek download Dresses editor evden eve facebook familia floor forms free Friendica herre Honeypot Human Hymn inStyler Invoice IP IPLog jQuery JSON kantor lamps List log logger mobile module modules Monster MyAlbum-p newbb news online Outlet PageRank Party Permissions pink Plugin Plus portal Prevention profile project Protector publisher Rights rmcommon Room sale security Server site Smarty Spam stem Studio svn tag tags tdmcreate Theme themes Transaction userlog website Whitepaper Wishcraft xoops Xortify ZendFramework

New Users

Registering user

# 136023

qinxian123

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  Register To Post



#1 Posted on: 2005/8/25 3:58 Problem with mailing users
Hiya

When sending mail to my site members I get the following error

Quote:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 184320 bytes) in /home/sites/worldwidemediums.com/public_html/modules/system/xoops_version.php on line 276


Can anyone help please?

Top

annie
Just popping in
Just popping in
Joined:
2005/7/28 19:34
Group:
Registered Users
Posts: 87
(Show More) (Show Less)


#2 Posted on: 2005/8/25 4:10 Re: Problem with mailing users
You potentially have a lot of users and the datastructure that the XoopsMailer tries to set-up exeeds the limit set in the PHP config file and/or the mail you are trying to send is very large.
If this involves a site hosted by yourself you should try to change the memory_limit variable to say 16M and see if that works.
Otherwise you will have to ask your hosting provider to allow your scripts to allocate more memory.

Hope that helps.

EDIT: Why this out of memory issue occurs in your /modules/system/xoops_version.php file is a bit of a mystery though. Could be a weird coincidence but maybe you could post the contents of that file just to be sure?

Top

Antoine
Friend of XOOPS
Friend of XOOPS
Joined:
2004/11/13 23:44
From Utrecht, Netherlands
Group:
Registered Users
Posts: 112
(Show More) (Show Less)


#3 Posted on: 2005/8/25 4:22 Re: Problem with mailing users
this is line 276

$modversion['profile']['field'][7]['required'] = 0;

Top

annie
Just popping in
Just popping in
Joined:
2005/7/28 19:34
Group:
Registered Users
Posts: 87
(Show More) (Show Less)


#4 Posted on: 2005/8/25 5:03 Re: Problem with mailing users
Must be the proverbial drop that floods the bucket then.
Well, I guess setting the maximum script memory to just one or two megs more should likely fix it.
Still seems to me that using the mailer shouldn't normaly use over 8M of memory (looking at the Core Developers here).

Top

Antoine
Friend of XOOPS
Friend of XOOPS
Joined:
2004/11/13 23:44
From Utrecht, Netherlands
Group:
Registered Users
Posts: 112
(Show More) (Show Less)


#5 Posted on: 2005/9/23 16:43 Re: Problem with mailing users
I use 2.0.13.1 on two sites both hosted by the same company (so I don't host the sites myself).

Whenever I try to send e-mail or PMs to all the users (which is 200 on one site, and 500 on the other) I get a 'Service Unavailable' message in black type in FireFox.

However, if I use the 'Find Users' feature, enter '@' as a search term in the field 'E-Mail --> Contains' it will obviously list all the users. I then click the 'Only those that wish to receive e-mail' radio button, and I can send e-mails to each seperate page listing using the 'Send Mail' drop down menu.

Is the problem I'm having likely to be that the Mail Users feature is trying to send mails to those that do not wish to receive them, or is a hosting issue?

Thanks

Ted

Top

tedsmith
Home away from home
Home away from home
Joined:
2004/6/2 5:00
From Antarctica
Group:
Registered Users
Posts: 1135
(Show More) (Show Less)


#6 Posted on: 2005/9/24 12:28 Re: Problem with mailing users
*bump*

Top

tedsmith
Home away from home
Home away from home
Joined:
2004/6/2 5:00
From Antarctica
Group:
Registered Users
Posts: 1135
(Show More) (Show Less)


#7 Posted on: 2005/9/24 13:17 Re: Problem with mailing users
I'm using version 2.2 with 233 members and growing daily.

I tried your method above and it worked using the default php mail()

So what is the problem with the normal way of sending email? I didn't have a problem until we got over 150 members, so is the problem something to do with the amount of members a site has?

I also found this error after sending mails by the above method

Warning [PHP]: implode(): Bad arguments. in file class/mail/xoopsmultimailer.php line 171

Line 171 reads:

$this->Host = implode(';',$xoopsMailerConfig['smtphost']);

Top

annie
Just popping in
Just popping in
Joined:
2005/7/28 19:34
Group:
Registered Users
Posts: 87
(Show More) (Show Less)







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You can vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.

[Advanced Search]