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

    Default Re: Trouble importing data

    Dr Byte: It's not missing fields. It's skipping their data during exporting.

    Let me rephrase: what if I enter values for the fields? And how would you explain the fact that the exported data threw errors during the import even after truncating the address book table? Thanks.

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

    Default Re: Trouble importing data

    Quote Originally Posted by isaacr25 View Post
    Dr Byte: It's not missing fields. It's skipping their data during exporting.

    Let me rephrase: what if I enter values for the fields?
    You could try that for the address-book data.
    Quote Originally Posted by isaacr25 View Post
    And how would you explain the fact that the exported data threw errors during the import even after truncating the address book table?
    Because it crashed later on your banners table ... seemingly for potentially similar reasons.


    Why don't you try using the admin plugin for doing mysql backups and see if it generates a better backup?
    http://www.zen-cart.com/index.php?ma...products_id=81
    .

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

    Default Re: Trouble importing data

    Here is the banners 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 'Cart, 'http://www.zen-cart.com', banners/zencart_468_60_02.gif, Wide-Banners, ''' at line 2

    Is there no option to restore the database? I dread calling the hosting company since I know I will get a run-around before anything is found.

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

    Default Re: Trouble importing data

    Quote Originally Posted by isaacr25 View Post
    Is there no option to restore the database?
    Yes -- with a working phpMyAdmin tool.
    Or with the admin backup/restore plugin I mentioned in my last post.
    Or with various other MySQL management tools you could purchase.

    Your problem is that the tool intended to do the job isn't working properly. And the only one who can fix it is your hosting company, unless you try using alternate tools as suggested.

    Quote Originally Posted by isaacr25 View Post
    I dread calling the hosting company since I know I will get a run-around before anything is found.
    Are you saying that you've had this problem for a couple days now, and even though we've been telling you to talk to your hosting company, you still haven't?

    If they're that bad, find another.
    .

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

    Default Re: Trouble importing data

    I tried using the backup plugin tool, and when I imported the data into the new server, I got the following error. We also realized that the first server is running mySQL 5.0.24, and the destination server is running 4.1.21.

    SQL query:

    -- MySQL dump 10.10
    --
    -- Host: localhost Database: miramweb_jos
    -- ------------------------------------------------------
    -- Server version 5.0.24
    /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;



    MySQL said:

    #1065 - Query was empty

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

    Default Re: Trouble importing data

    Quote Originally Posted by isaacr25 View Post
    We also realized that the first server is running mySQL 5.0.24, and the destination server is running 4.1.21.
    MySQL said:

    #1065 - Query was empty
    Version compatibility issues often create "query was empty" responses ... mostly because some of the query commands used don't exist in the older version you're trying to restore onto.
    .

    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. #27
    Join Date
    Jul 2007
    Posts
    172
    Plugin Contributions
    0

    Default Re: Trouble importing data

    Quote Originally Posted by DrByte View Post
    Version compatibility issues often create "query was empty" responses ... mostly because some of the query commands used don't exist in the older version you're trying to restore onto.
    Makes sense. I'm looking at other hosts since Network Solutions won't change their db version from 4.1. My current version is 5.0.24. Do you think that migrating to db version 5.0.45 would be an issue? Thanks.

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

    Default Re: Trouble importing data

    Migrating from 5.0.x to 5.0.x should be easier than downgrading would be.


    Talk to your new host (or prospective new hosts) about whether they'll assist you in the data-migration process. Many of the hosts on the hosting link at the top of this page will be glad to help you.
    .

    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 3 of 3 FirstFirst 123

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