Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2006
    Posts
    17
    Plugin Contributions
    0

    Default SQL syntax error message when emailing

    Hello,

    I receive a error when trying to email all newsletter subscribers. I get the following message -

    1064 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 1

    I guess this is due to an incorrectly entered email address, or maybe ################## should be in lower case?

    Could anyone advise me how to fix this? Or is there a way to export email addresses for all subscribers?

    thanks allot
    Sam

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: SQL syntax error message when emailing

    1. might be related to an apostrophe in an email address.

    2. There's an export tool in the downloads section:
    http://www.zen-cart.com/index.php?ma...products_id=80
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Aug 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: SQL syntax error message when emailing

    Great - I'll check out the export tool.

    whoops, I should have posted this thread in the email section!

 

 

Similar Threads

  1. Replies: 1
    Last Post: 25 Aug 2011, 05:58 AM
  2. Error message 1064 you have an error in your sql syntax
    By honrheart in forum General Questions
    Replies: 1
    Last Post: 11 Sep 2009, 02:38 AM
  3. Replies: 3
    Last Post: 21 Sep 2008, 12:45 AM
  4. error message 1064 you have an error in your sql syntax
    By ngsl in forum General Questions
    Replies: 0
    Last Post: 22 Aug 2008, 06:44 AM
  5. Error message while installing (1064 - SQL syntax)
    By DataJack in forum Installing on a Windows Server
    Replies: 7
    Last Post: 29 Oct 2007, 11:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR