Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4229
Latest: Ghost
New This Month: 3
New This Week: 0
New Today: 0
Stats
Total Posts: 43064
Total Topics: 7492
Most Online Today: 124
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 37
Total: 38

Author Topic: SQL Error when sending NewsLetter  (Read 7068 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: 16349
    • 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: 16349
    • 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: 16349
    • 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: 16349
    • 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
6203 Views
Last post October 28, 2008, 03:37:48 am
by clive
2 Replies
5746 Views
Last post December 31, 2008, 05:54:57 am
by ke4obt
14 Replies
11768 Views
Last post November 01, 2009, 04:14:02 am
by Vincent Volmer
3 Replies
5658 Views
Last post March 26, 2013, 01:40:57 pm
by SMFHacks
1 Replies
874 Views
Last post July 30, 2021, 09:11:45 pm
by SMFHacks

+- Recent Topics

Follow / Follower Mod? by Nicole
Today at 07:21:11 pm

[Mod]Discord Web Hooks by SMFHacks
Today at 03:57:28 pm

SMF 2.1.4 Search by Anmer
Today at 01:55:15 pm

Looking for a good video player by SMFHacks
September 21, 2023, 06:06:46 am

Error in thise mode by Ghost
September 15, 2023, 08:42:24 am

Gallery Selection List Order by mickjav
September 07, 2023, 12:46:31 pm

[Mod]Tidy Child Boards 2.0 by Norwinjose
September 02, 2023, 11:42:54 am

PrettyUrls SEO Pro: Unable to submit sitemap to google search conmsole by SMFHacks
August 31, 2023, 10:55:22 am

PrettyURL - SEO4SMF Rewrites? by SMFHacks
August 28, 2023, 06:35:33 pm

Web versus Mobile by SMFHacks
August 28, 2023, 03:12:57 pm

Powered by EzPortal