Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28
  1. #11
    Join Date
    Jul 2007
    Posts
    172
    Plugin Contributions
    0

    Default Re: Trouble importing data

    Here's a link to the file:

    *** snip ***
    Last edited by DrByte; 14 Oct 2007 at 07:44 PM. Reason: removed link for privacy

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

    Default Re: Trouble importing data

    Access denied.
    .

    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
    Jul 2007
    Posts
    172
    Plugin Contributions
    0

    Default Re: Trouble importing data

    Try this... its the code in a text file:

    **** snip ****
    Last edited by DrByte; 14 Oct 2007 at 07:44 PM. Reason: removed link for privacy

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

    Default Re: Trouble importing data

    I have no idea why it's doing that.

    You have a few options:

    a) Since you have no customers in your database other than the default test account, you could just delete that customer via the admin and then re-export the database.

    b) You could edit the .sql file and add two single quotes between those two commas. But that is only a bandage masking the real root problem ... which I don't know the cause of.

    c) Many of your fields are being exported as hexadecimal data, suggesting that they're being seen as binary fields, but the structure of the tables doesn't have them set to be binary. Thus, it's odd that it's converting a lot of data to hex format. This suggests to me that something's wrong with your server configuration or with phpMyAdmin on your server, such that it's operating wrongly.
    This is borne out in the fact that it should not be leaving that company field blank like that.

    In short, I don't know the cause of your problem. All I can suggest are some workarounds. It would be more prudent for you to talk to your hosting company about why it's behaving like it is ... that's their job to fix.

    NOTE: If you can't get good backups and/or cannot restore your backups ... then you don't have a reliable environment. And, if your environment isn't reliable, it doesn't make sense to run a business there. Maybe another host might be a requirement ...
    .

    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
    Jul 2007
    Posts
    172
    Plugin Contributions
    0

    Default Re: Trouble importing data

    I tried your option a to see what would happen... truncated the Address Book table, exported, and attempted to re-import. Now I get errors pointing to the banners table:

    There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

    ERROR: Unknown Punctuation String @ 978
    STR: ://
    SQL:

    --
    -- Dumping data for table `banners`
    --

    and more...............

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

    Default Re: Trouble importing data

    Are these the options you're choosing for export?
    https://www.zen-cart.com/tutorials/i...hp?article=103
    .

    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
    Jul 2007
    Posts
    172
    Plugin Contributions
    0

    Default Re: Trouble importing data

    Yes... I'm using those options.

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

    Default Re: Trouble importing data

    Time to talk to your hosting company
    .

    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
    Jul 2007
    Posts
    172
    Plugin Contributions
    0

    Default Re: Trouble importing data

    So, the issue is that the data export is dropping fields? Please clarify. What if I enter the missing fields in phpMyAdmin?

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

    Default Re: Trouble importing data

    Quote Originally Posted by isaacr25 View Post
    So, the issue is that the data export is dropping fields?
    It's dropping data for some fields. I'm not sure I see any pattern to it.

    Quote Originally Posted by isaacr25 View Post
    What if I enter the missing fields in phpMyAdmin?
    It's not missing fields. It's skipping their data during exporting.
    .

    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.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Importing Data
    By ysmith877 in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 19 Nov 2013, 11:20 PM
  2. Easy populate trouble importing
    By bridge32 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 23 Sep 2012, 01:44 PM
  3. Trouble importing old database
    By countingsheep in forum Installing on a Windows Server
    Replies: 11
    Last Post: 12 Oct 2011, 05:37 AM
  4. Importing data
    By ConwayMJ in forum Setting Up Categories, Products, Attributes
    Replies: 14
    Last Post: 2 Aug 2011, 12:29 PM
  5. Having trouble importing my database
    By pharry in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 22 Jun 2009, 11:14 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