Thread: email error

Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Posts
    277
    Plugin Contributions
    2

    Default Re: email error

    is there a sql string that would do that? or manual only?
    when i do the search (and thank you for pointing how to do that in a DB)
    i now searched the whole DB for that table name and it ended to show 3 query strings in that query builder.
    Last edited by stevefriedman71; 21 Feb 2011 at 07:35 PM.

  2. #2
    Join Date
    Sep 2006
    Posts
    277
    Plugin Contributions
    2

    Default Re: email error

    here are the querries (these are the only finds when i searched the whole DB for "TABLE_SUBSCRIBE"
    SELECT email_address as customers_email_address FROM TABLE_SUBSCRIBERS WHERE email_format != 'NONE' and confirmed = 1 and (customers_id IS NULL or customers_id = 0) order by email_address
    select c.customers_firstname, c.customers_lastname, s.email_address as customers_email_address from TABLE_SUBSCRIBERS as s left join TABLE_CUSTOMERS as c on c.customers_id = s.customers_id
    SELECT s.email_address as customers_email_address FROM TABLE_SUBSCRIBERS as s LEFT JOIN TABLE_CONFIGURATION as q on LOCATE( s.email_address, q.configuration_value) >= 1 WHERE configuration_key = 'NEWSONLY_SUBSCRIPTION_TEST_GROUP'

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: email error

    As I said, delete those records
    .

    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.

  4. #4
    Join Date
    Sep 2006
    Posts
    277
    Plugin Contributions
    2

    Default Re: email error

    thank you soooo much sensai :) can i use the same process with this error: http://www.zen-cart.com/forum/showth...070#post998070

  5. #5
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: email error

    Be CAREFUL when trying to paint all pictures with the same brush.

    More appropriate: when an addon involves SQL changes, the uninstall of that addon needs to include undoing those SQL changes
    .

    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.

  6. #6
    Join Date
    Dec 2007
    Location
    Southern Maine
    Posts
    281
    Plugin Contributions
    0

    Default Re: email error

    I am getting a similar error. I have the Mailchimp integration addon but there is no SQL with it.

    I had to recently upgrade from 138 because my host upgraded the version PHP. When I rebuilt the cart I chose not to install every addon I had on the previous cart. I have manually upgraded all files to version h, the most current version of Zen. Could a file be corrupted or something?

    Herre is my error:
    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 'as s left join customers as c on c.customers_id = s.customers_id' at line 1
    in:
    [select c.customers_firstname, c.customers_lastname, s.email_address as customers_email_address from as s left join customers as c on c.customers_id = s.customers_id ]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
    Last edited by daneh; 25 Feb 2011 at 08:46 PM.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: email error

    Same issue. Note the "select ... from as". There should be a table name between the "from" and "as". And since there isn't one in your case, that's where your problem is.
    You'll need to do the same cleanup.
    .

    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.

 

 

Similar Threads

  1. v151 Error Logs about Email, but email works.
    By joejoejoe in forum General Questions
    Replies: 1
    Last Post: 28 Nov 2012, 12:31 AM
  2. Replies: 2
    Last Post: 15 Feb 2012, 09:08 PM
  3. Email Error: ~ 1 in 8 emails produces blank email error page
    By CheapStairParts in forum General Questions
    Replies: 0
    Last Post: 20 Jan 2010, 06:14 PM
  4. Replies: 0
    Last Post: 27 Jul 2009, 12:22 PM
  5. Email Error when checking out using SMTP email
    By YellowStarS2k in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 18 Jun 2009, 08:20 AM

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