Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19
  1. #11
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    280
    Plugin Contributions
    0

    Default Re: Need help importing customers database from csv file into mySQL

    OK Dr, this is getting quite deep and I am getting a bit lost on this.

    If there an application that will just convert about 25000 passwords to MD5+salt?

    thanks so much,

    Jeff

  2. #12
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Need help importing customers database from csv file into mySQL

    How's this?

    Unzip to your /admin folder.
    Then log into your admin
    Then change the URL to call the filename.
    Best to only run once.

    It will convert all passwords less than 30 characters to MD5+salt using Zen Cart's built-in functions.

    [Attachment removed]
    .

    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. #13
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    280
    Plugin Contributions
    0

    Default Re: Need help importing customers database from csv file into mySQL

    I got all the stuff working, but I can't convert even the first password.
    It's happening at the Salt part (it looks like)
    Here's the error message:

    Converting all plain-text passwords less than 30 characters long to Zen Cart MD5+SALT format.
    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 ':63 WHERE customers_id = 5094' at line 1
    in:
    [update customers set customers_password = 5265eddec1d5b0e4fbadca636c3c6a6f:63 WHERE customers_id = 5094]
    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.


    I'll keep trying to find a way around it until I hear something back from you.

    thanks so much for your help

    Jeff

  4. #14
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Need help importing customers database from csv file into mySQL

    Oops. Worked fine on smaller dataset for me. Missed some quotes. Update attached.
    Attached Files Attached Files
    .

    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. #15
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    280
    Plugin Contributions
    0

    Idea or Suggestion Re: Need help importing customers database from csv file into mySQL

    WA HOOOO!!!


    You's the DOCTOR alright!

    This has saved me soooo much time, I can't begin to tell you.
    I hope others can benefit from this little tool also.

    Almost 23,000 imports and it worked perfectly.

    (Hey, is there a tool that will decode one address too if someone calls in on the phone and needs help?)


    I'M SENDING SOME COFFEE RIGHT NOW! You have really made my day...week..year etc.


    thanks again,
    Jeff Michaels
    pres of Musical Creations Ltd.

  6. #16
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Need help importing customers database from csv file into mySQL

    There's no decode option for the encrypted passwords.

    However, there is a "master password" contribution that can be used to allow you to log in to the customer's account using your admin password ... see the "Encrypted Master Password" contribution for a very easy install.
    .

    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.

  7. #17
    Join Date
    Aug 2006
    Location
    North Carolina
    Posts
    280
    Plugin Contributions
    0

    Default Re: Need help importing customers database from csv file into mySQL

    I'll give it a try.
    Thanks....

    There was another Paypal contribution by me today. http://www.zen-cart.com/donate

  8. #18
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Need help importing customers database from csv file into mySQL

    Quote Originally Posted by jeffmic View Post
    There was another Paypal contribution by me today.
    Greatly appreciated !
    .

    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.

  9. #19
    Join Date
    Jan 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: Need help importing customers database from csv file into mySQL

    I also appreciate this support information and the tool.
    This is great help to me.
    Thank you.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Importing Customers into ZC from Another Database
    By clausont in forum Managing Customers and Orders
    Replies: 2
    Last Post: 22 Dec 2012, 10:21 PM
  2. Dreaded mYSQL 1064 error when importing MySQL 4 database into MySQL5
    By dml311071 in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 10 Jun 2008, 05:38 AM
  3. problems importing to mysql from .csv - products not showing
    By TXMagnum in forum General Questions
    Replies: 1
    Last Post: 29 Jan 2008, 05:23 PM
  4. Importing Customers from CSV
    By atracksler in forum Managing Customers and Orders
    Replies: 2
    Last Post: 15 Apr 2007, 02:05 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