Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25
  1. #21
    Join Date
    May 2007
    Posts
    181
    Plugin Contributions
    0

    Default Re: Email Address Exporter (slight problem)

    Quote Originally Posted by DrByte View Post
    What DB_PREFIX are you using in your configure.php file?
    None, I am not using prefixes.

  2. #22
    Join Date
    Jan 2004
    Posts
    66,445
    Plugin Contributions
    81

    Default Re: Email Address Exporter (slight problem)

    Okay.

    What happens if you run the query directly using the SQL tab in phpMyAdmin?
    SELECT DISTINCT c.customers_email_address as customers_email_address, c.customers_lastname as customers_lastname, c.customers_firstname as customers_firstname FROM customers c LEFT JOIN orders o ON c.customers_id=o.customers_id WHERE o.date_purchased IS NULL;
    .

    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. #23
    Join Date
    May 2007
    Posts
    181
    Plugin Contributions
    0

    Default Re: Email Address Exporter (slight problem)

    Quote Originally Posted by DrByte View Post
    Okay.


    What happens if you run the query directly using the SQL tab in phpMyAdmin?
    SELECT DISTINCT c.customers_email_address as customers_email_address, c.customers_lastname as customers_lastname, c.customers_firstname as customers_firstname FROM customers c LEFT JOIN orders o ON c.customers_id=o.customers_id WHERE o.date_purchased IS NULL;
    Same thing as if I had ran ZC Send Mail, Email Exporter...etc, hangs...

    I just did another test. I emptied out orders table and it works again...So now I am suspecting maybe instead of the problem being in the customers table, it might be orders table....At this point, I am just drawing to any conclusion I find....

  4. #24
    Join Date
    Jan 2004
    Posts
    66,445
    Plugin Contributions
    81

    Default Re: Email Address Exporter (slight problem)

    What's special about this database?
    What's its history? Exports/Imports/Backup+Restores? Customer and/or order imports?
    Which versions of Zen Cart has it lived through? Did it start fresh in a clean Zen Cart install, or did data come from somewhere else at some point?

    Try doing a "repair" on both the Customers and Orders tables (click on the table in the left column of phpMyAdmin, then click the Operations tab on top right, then click Repair Table down in the list of choices. Repeat for both tables). Then run the query again via the SQL tab.
    .

    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.

  5. #25
    Join Date
    May 2007
    Posts
    181
    Plugin Contributions
    0

    Default Re: Email Address Exporter (slight problem)

    The database was generated from a fresh 1.3.7 ZC and the cart was updated to 1.3.7.1, thats it.

    I repaired both tables and ran the query again and same thing, hanging..

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Email Address Exporter - How can I export the email addresses of every customer?
    By SpencerW in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 14 Oct 2011, 07:35 AM
  2. email address exporter on 1.3.8
    By vo2sport in forum General Questions
    Replies: 1
    Last Post: 9 Jan 2010, 01:09 PM
  3. email address exporter
    By athena in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 7 Jul 2009, 09:23 PM
  4. Email Address Exporter problem
    By rcrosier in forum General Questions
    Replies: 1
    Last Post: 28 Dec 2006, 07:56 PM

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