SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 24, 2012, 12:44:12 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: 81
Total: 81
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: SQL Error when sending NewsLetter  (Read 2743 times)
Scoobie
Community Suite Customer
Jr. Member
******
Offline Offline

Posts: 51



View Profile
« on: July 14, 2009, 11:11:13 pm »

I'm getting this:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'EMAIL'),('3','EMAIL'),('3','EMAIL'),' at line 3
File: /home/ACCOUNT/public_html/Sources/ManageNews.php
Line: 531

....email addresses replaced with 'EMAIL'

When Sending a newsletter,

Sending out to 5400+ members, the script gets down to 30% or somewhere in there- had to get some pop while it was cooking & came back to this error.

Running SMF 1.1.9
« Last Edit: July 14, 2009, 11:17:45 pm by scoobie » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #1 on: July 14, 2009, 11:40:56 pm »

Hmm, what options did you select when creating the newsletter? What groups did you send to do? Did you copy and paste a list into the texbox?

If it was not copied and paste can you attempt to resend to the exact same people but do NOT send.

Just copy the emails to a text file and save it. Then try to search for "EMAIL" inside that text file and see if you can find it.
Logged
Scoobie
Community Suite Customer
Jr. Member
******
Offline Offline

Posts: 51



View Profile
« Reply #2 on: July 15, 2009, 06:50:50 pm »

Selected all Groups,

Did not copy and paste a list into the textbox.- The Script did that for me,

When I posted the error message onto this forum I removed the email addresses and replaced them with 'EMAIL' to protect my users (or at least two) ...  No where in all the email addresses (text box) is there the text 'EMAIL'

The server is running a very new version of MySQL 5 something... issue?

Any thoughts?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #3 on: July 15, 2009, 07:13:11 pm »

Any specials characters in the emails you removed such as ' or " ?
I am interested to see what caused this erorr
Quote
MySQL server version for the right syntax to use near 'EMAIL'),('3','EMAIL'),('3','EMAIL'),'
Logged
Scoobie
Community Suite Customer
Jr. Member
******
Offline Offline

Posts: 51



View Profile
« Reply #4 on: July 15, 2009, 11:10:03 pm »

Here is the exact message w/email addresses- after you see them could you edit this message and remove? 
.. I kept it in a text file on my desktop...

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near  at line 3
File: /home/fordpint/public_html/Sources/ManageNews.php
Line: 531
« Last Edit: July 15, 2009, 11:19:37 pm by SMFHacks » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #5 on: July 15, 2009, 11:20:21 pm »

Look in your text file and look what is before 'Boyl  for that email address
Logged
Scoobie
Community Suite Customer
Jr. Member
******
Offline Offline

Posts: 51



View Profile
« Reply #6 on: July 15, 2009, 11:40:42 pm »

k,-- Can you delete these also...

 was in the text file but the error had  om') ... Ahhhh...

SO, I've got a user that entered an email address bad,, yes?


Is that what you see?...   
« Last Edit: July 16, 2009, 12:22:57 am by SMFHacks » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #7 on: July 16, 2009, 12:22:14 am »

Yup that was it. the ' mesesed it up.
What you could do to send the rest is grab all the emails after the ones that were sent and send the newsletter out to those.

I am working on newslette pro 2.0 which should released after I finish the last updates for the gallery.
Logged
Pages: [1] 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.26 seconds with 19 queries.