Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Jed C on November 20, 2009, 02:43:15 AM

Title: another email and news letter problem
Post by: Jed C on November 20, 2009, 02:43:15 AM
i have read through the recent problems some members are having but nothing seem to apply to me

after upgrading to RC2
when i send news letters my members do not receive them
if i type an email address in the box under advanced (which is empty) then that email receives the news letter but no member do

also when new member joins they are not getting activation emails although if i set the forum up so a new member gets instant access admins receive email telling them a new member has joined

i have checked the settings and its set to PHP although i have tried SMTP with the same results

the only error i get in the error log points to when i go into the Admin Registration Setting
http://myforum.com/index.php?action=admin;area=regcenter;sa=settings
Apply Filter: Only show the errors with the same message
8: Undefined index: coppaType
Apply Filter: Only show the errors from this file
File: /my forum.com/Sources/ManageServer.php Line: 1802

==>1802: 
'value' => $config_var[0] == 'select' ? $modSettings[$config_var[1]] : (isset($modSettings[$config_var[1]]) ? htmlspecialchars($modSettings[$config_var[1]]) : (in_array($config_var[0], array('int', 'float')) ? 0 : '')),


these are the mods installed
Quote
1.     Aeva ~ Auto-Embed Video & Audio      7.0      
2.    Sitemap                                                     2.1.0    
3.    Users Online Today                                  1.5.5    
4.    Welcome Topic Mod                              2.0.2    
5.    Activity_Bar                                            1.0.1.2    
6.    Birthday Posts                                          0.11.2 Beta    
7.    RSS Feed Poster                                    2.0.1    
8.    SimplePortal                                        2.3.1


i have also run THIS (http://www.simplemachines.org/community/index.php?topic=348175.msg2358243#msg2358243) script
and got the following results

QuoteFirst Mail Results: We sent the email
Secon Mail Results: We sent the email
Third Results:
Notice: Undefined variable: mail in /my forum.com/email.php on line 32

Notice: Undefined offset: 106 in /my forum.com/email.php on line 32

Notice: Undefined offset: 152 in /my forum.com/email.php on line 32

Notice: Undefined offset: 164 in /my forum.com/email.php on line 32

Notice: Undefined offset: 153 in /my forum.com/email.php on line 32
We failed to send the email
Now Check your inbox, spam or whereever for your mail

any help would be appreciated  ;)
Title: Re: another email and news letter problem
Post by: Jed C on November 21, 2009, 05:21:22 AM
i know you don't like bumps but hey i need help  ;)
Title: Re: another email and news letter problem
Post by: butchs on November 21, 2009, 11:13:36 AM
I have had activation message problems too.  Some spam filter seem to stop it.  I am thinking about re-writing it.

I think it is a bug in a mod.  Try uninstalling birthday posts (and other mods one at a time), reset your forum and browser cache and see if you can send news to yourself.
Title: Re: another email and news letter problem
Post by: Kill Em All on November 21, 2009, 12:39:59 PM
Why are members not getting emails sent from forum. (http://docs.simplemachines.org/index.php?topic=856.msg1882#msg1882)
Title: Re: another email and news letter problem
Post by: Norv on November 27, 2009, 06:14:55 PM
About the CoppaType error: this is actually a bug in SMF 2.0 RC2. In order to have it solved, do this (ManageServer.php):
Code (find) Select

'value' => $config_var[0] == 'select' ? $modSettings[$config_var[1]] : (isset($modSettings[$config_var[1]]) ? htmlspecialchars($modSettings[$config_var[1]]) : (in_array($config_var[0], array('int', 'float')) ? 0 : '')),

Code (replace) Select

'value' => isset($modSettings[$config_var[1]]) ? ($config_var[0] == 'select' ? $modSettings[$config_var[1]] : htmlspecialchars($modSettings[$config_var[1]])) : (in_array($config_var[0], array('int', 'float')) ? 0 : ''),

Title: Re: another email and news letter problem
Post by: Jed C on December 23, 2009, 05:29:07 PM
tried that Norv will let you know if it works  ;)
Title: Re: another email and news letter problem
Post by: aka Fusion on January 01, 2010, 01:49:39 PM
Was there an update on this .....ie did it work?
Title: Re: another email and news letter problem
Post by: GazOutEast on January 03, 2010, 01:15:20 AM
Bump for the fix - need to know if it works - I am getting the same error as the OP
Title: Re: another email and news letter problem
Post by: Norv on January 11, 2010, 03:46:34 PM
Did you try the fix?

Make a copy of your file, just in case, then do the modification as above, and reupload your file. You'll see if it works.
Title: Re: another email and news letter problem
Post by: GazOutEast on January 11, 2010, 09:07:09 PM
Thanks Norv, but following the advice elsewhere on SMF, I simply disabled OpenID and the problem stopped - I'll wait until it's fixed in a future release as it's not really essential on my site.

Gaz
Title: Re: another email and news letter problem
Post by: JimM on January 27, 2010, 08:37:55 PM
Were you able to try this Jed C?  Is this issue solved or do you still require assistance?
Title: Re: another email and news letter problem
Post by: oOo--STAR--oOo on February 13, 2010, 03:15:48 PM
Hi Norv i was experiancing the same error.. I tried the method u have put down there.. and so far so good.

Eactly what is it changing..
Will it effect anythng else on the forum?

Thanks for the fix worked a treat..

I tested making a user
signing in
and no error. :) Thanks
Title: Re: another email and news letter problem
Post by: Norv on February 13, 2010, 05:27:39 PM
The fix shouldn't have any side effects. It simply makes sure that it checks before trying to use configuration options which were not set. It was a little bug in RC2, currently solved in svn as well if I remember correctly.
Title: Re: another email and news letter problem
Post by: oOo--STAR--oOo on February 14, 2010, 11:08:40 AM
Nice one well it works anyway.. also.. whats SVN? lol..

Is that the latest edition?

And yeah my forum is error free upto now.. still in the process of setting it up.. just undergoing some errors in it not sending the welcome email :(

Thanks nord.. I hate errors. even if it doesnt matter its still and error.
Title: Re: another email and news letter problem
Post by: Norv on February 14, 2010, 11:44:11 AM
SVN is a code repository and versioning system, and it's used currently by SMF developers to keep track of the SMF code. That is, yes, I was using the word to refer to the latest (development - not released yet) version.
Please feel free to post another topic (this one doesn't seem appropriate) if you need assistance with welcome email errors.
Title: Re: another email and news letter problem
Post by: oOo--STAR--oOo on February 14, 2010, 12:36:17 PM
Thanks nov i have already done that no cure upto now :(