SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 24, 2012, 09:07:41 pm

Login with username, password and session length
Members
Total Members: 10071
Latest: cdavidson012
Stats
Total Posts: 28687
Total Topics: 4977
Online Today: 94
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 54
Total: 54
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 Go Down Print
Author Topic: Initial Newsletter Problems  (Read 2686 times)
xhoster1
Newsletter Pro Customer
Newbie
*****
Offline Offline

Posts: 12


View Profile
« on: October 30, 2010, 05:05:07 am »

@Smfhacks:

I've just attempted to send my first newsletter from my forum, which is version 1.1.11.

First off, I want to mention I really like the mod. But I have two problems preventing me from sending the newsletter this weekend:

1. I have a large list (5000) and 1320 emails were successfully sent. Three minutes later, my isp connection dropped (of course). So I clicked continue, and after no response refreshed the page. The remaining emails were sent, but with a blank newsletter.

Is this error merely the result of refreshing the page?

2. I went back in to try to send the newsletter to the 3700 members who received the blank message and received the following database error:

SELECT would examine more than MAX_JOIN_SIZE rows;

check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay


Would you please tell me exactly how the following line should read?

WHERE l.email IN ('" . implode("', '", addslashes__recursive($send_list)) . "')", __FILE__, __LINE__);

Thank you

-GL
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #1 on: October 30, 2010, 09:51:09 am »

For #2. that is a mysql setting on what line did that error occur? It should say the line number along with the filename for the error.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #2 on: October 30, 2010, 02:55:09 pm »

Posted an update that should help. You will need to uninstall the old version then install the new version.

2.0.6
+Optimized the select query for newsletters removed unused field membername
+Added checks to prevent blank emails from being sent out
+Added code to increase max_execution time in php in case mailing takes a little longer to help prevent connection resets

Download:
http://www.smfhacks.com/index.php/topic,2407.0.html
Logged
xhoster1
Newsletter Pro Customer
Newbie
*****
Offline Offline

Posts: 12


View Profile
« Reply #3 on: October 30, 2010, 03:06:53 pm »

Thanks for the link:

I'll reinstall  to fix the problems. Do I also need to change the mysql settings?

The line I referenced is line #708

Also, do you know whether the smaller lists I have used--along with the opt-out names-- will survive the reinstall?

-GL
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #4 on: October 30, 2010, 03:13:37 pm »

Uninstalling does not remove data or lists so your data is safe.

If you get that MAX_JOIN_SIZE error again let me know I have some other options I can do. Reference: http://stackoverflow.com/questions/966815/mysql-max-join-size-errors

Logged
xhoster1
Newsletter Pro Customer
Newbie
*****
Offline Offline

Posts: 12


View Profile
« Reply #5 on: October 30, 2010, 03:21:53 pm »

@Smf Hacks

-Okay, I'll look at that as well. Thanks for the detailed responses.

I'm not able to update from the link you posted. I get a "The topic or board you are looking for appears to be either missing or off limits to you" message.

-GL
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #6 on: October 30, 2010, 03:27:33 pm »

To access customer forums go to
http://www.smfhacks.com/index.php?action=license
And enter license key from the email and you will be moved to the customer group.
Logged
xhoster1
Newsletter Pro Customer
Newbie
*****
Offline Offline

Posts: 12


View Profile
« Reply #7 on: October 30, 2010, 04:23:57 pm »

I'll do that

Thanks for the prompt responses

-GL
Logged
xhoster1
Newsletter Pro Customer
Newbie
*****
Offline Offline

Posts: 12


View Profile
« Reply #8 on: October 30, 2010, 11:14:57 pm »

@SMFHacks

I tried sending the newsletter again tonight, after upgrading to the version you recommended.
The progress got to 97% before displaying an error. Under both the “lists” and “reports” tabs.  No e-mails were sent to any members.

I received the following errors

1.   The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay
File: /home/icfreeho/public_html/Sources/Load.php(1733) : eval()'d code
Line: 473

•   I know we’ve discussed this error and would like to modify the code, rather than select an option at start up. Please let me know if you'd like me to send you the actual line of code.

2.    Today at 09:52:13 PM
 65.103.111.253      a9ba67869d730f86e7af363f27451d58
 http://icfreehosting.com/index.php?action=news;sa=mailingsend
8: Undefined index: message
File: /home/icfreeho/public_html/Sources/ManageNews.php
Line: 521

3. Today at 09:52:13 PM
 65.103.111.253      a9ba67869d730f86e7af363f27451d58
 http://icfreehosting.com/index.php?action=news;sa=mailingsend
8: Undefined index: subject
File: /home/icfreeho/public_html/Sources/ManageNews.phpLine: 520
   
 4.    Today at 09:52:12 PM
 65.103.111.253      a9ba67869d730f86e7af363f27451d58
 http://icfreehosting.com/index.php?action=news;sa=mailingsend
8: Undefined index: emails
File: /home/icfreeho/public_html/Sources/ManageNews.php
Line: 510

Thank you
GL

Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #9 on: October 31, 2010, 01:16:03 pm »

Yes please attach your Sources/ManageNews.php file
Logged
xhoster1
Newsletter Pro Customer
Newbie
*****
Offline Offline

Posts: 12


View Profile
« Reply #10 on: October 31, 2010, 04:36:54 pm »

@SMF Hacks

I've attached that file for you.

Thank you!
GL
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #11 on: October 31, 2010, 05:11:37 pm »

Try this ManageNews.php attached. Added code to run SET SQL_BIG_SELECTS=1 and see if that fixes that one max join error.

rename it as ManageNews.php file attached to this post
Logged
xhoster1
Newsletter Pro Customer
Newbie
*****
Offline Offline

Posts: 12


View Profile
« Reply #12 on: October 31, 2010, 11:14:34 pm »

SMFHacks

-I've noticed that your version addresses one of the issues. Does it also contain a fix for issue numbers 2, 3 and 4 from this message?

http://www.smfhacks.com/index.php/topic,5089.msg23150.html#msg23150 

I appreciate your help, but want to be confident that all the issues have been fixed before testing again

Thank you
-GL
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #13 on: October 31, 2010, 11:55:05 pm »

The file was missing some code so should help with those as well.
Logged
xhoster1
Newsletter Pro Customer
Newbie
*****
Offline Offline

Posts: 12


View Profile
« Reply #14 on: November 01, 2010, 05:36:36 pm »

Thank you. I'll test it again in several days

-GL
Logged
Pages: [1] 2 Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 08:02:50 am]

[Today at 04:11:41 am]

[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 0.411 seconds with 19 queries.