Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 11795
Latest: LaurieluvsGH
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 41468
Total Topics: 7262
Most Online Today: 79
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 31
Total: 31

Author Topic: SQL Error when sending NewsLetter  (Read 6372 times)

0 Members and 1 Guest are viewing this topic.

Offline Scoobie

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
SQL Error when sending NewsLetter
« 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 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15689
    • View Profile
Re: SQL Error when sending NewsLetter
« 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.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Scoobie

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: SQL Error when sending NewsLetter
« 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?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15689
    • View Profile
Re: SQL Error when sending NewsLetter
« 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'),'
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Scoobie

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: SQL Error when sending NewsLetter
« 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 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15689
    • View Profile
Re: SQL Error when sending NewsLetter
« 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
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Scoobie

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: SQL Error when sending NewsLetter
« 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 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15689
    • View Profile
Re: SQL Error when sending NewsLetter
« 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.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
5838 Views
Last post October 28, 2008, 03:37:48 am
by clive
2 Replies
5036 Views
Last post December 31, 2008, 05:54:57 am
by ke4obt
14 Replies
11043 Views
Last post November 01, 2009, 04:14:02 am
by Vincent Volmer
3 Replies
4862 Views
Last post March 26, 2013, 01:40:57 pm
by SMFHacks
1 Replies
134 Views
Last post July 30, 2021, 09:11:45 pm
by SMFHacks

+- Recent Topics

Question (Gallery Pro) by mickjav
Today at 11:59:10 am

Image View by SMFHacks
October 14, 2021, 11:55:21 am

From SMF Gallery Lite to SMF Gallery Pro by SMFHacks
October 11, 2021, 08:00:29 am

Picture Orientation by mickjav
October 09, 2021, 01:25:54 pm

4. Global Headers and Footers by mickjav
October 07, 2021, 12:22:09 am

S3 System For SMF Attachments by shuban
October 06, 2021, 07:58:50 am

Download Page images by mickjav
October 04, 2021, 01:28:07 pm

Agree To Licence by mickjav
October 03, 2021, 10:00:27 am

Install Problems by mickjav
October 01, 2021, 01:33:14 pm

Can SMF2WPBridge bridge SMF membergroups into WP? by SMFHacks
September 30, 2021, 02:07:34 pm

Powered by EzPortal