Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    Rochester, New York
    Posts
    165
    Plugin Contributions
    0

    Default Data base merging

    My host moved my site to a new server. The ver 1.3.9h I had did not work on the newer php version they have using php ver 5.3.14. So I decided to install a fresh zen cart and start from scratch. However, I would like to retain my customers, products, emails ect. I am not sure what to extract from the old data base and what format to, (txt,cvs, sql ect) to insert it into the new database. Can you point me to a direction or help?
    It is:
    •Server: Localhost via UNIX socket
    •Server version: 5.5.25a-cll
    •Protocol version: 10
    •MySQL charset: UTF-8 Unicode (utf8)
    Web server
    •sw-cp-server/1.0.0
    •MySQL client version: 5.1.59
    PHP version 5.3.14

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

    Default Re: Data base merging

    What specific reason prevents you from simply restoring the backup and continuing with that, thus losing nothing?
    .

    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. #3
    Join Date
    Nov 2005
    Location
    Rochester, New York
    Posts
    165
    Plugin Contributions
    0

    Default Re: Data base merging

    I wasn't sure I could do that being the old cart was 1.3.9h and the new is 1.5.1. The old cart database is named cat1 and the new is named rlaw_cartzen. That was the only reason. This will be the first time I am doing this also and am a little green when it come to data bases and MySQL.

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

    Default Re: Data base merging

    When changing from one server to another, one should always use the *same* version of Zen Cart.
    Then if an upgrade is also desired, do that afterward. (Or do the upgrade beforehand).

    Else you run into this exact symptom.
    .

    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. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Data base merging

    So:
    1. Install v1.3.9 to "someplace".
    2. Restore your 1.3.9 data to that "someplace"'s database.
    3. Test that it can show the store.
    4. Install v1.5.1 to that same "someplace"
    5. Run zc_install and choose "database upgrade"
    6. Test that it can show the store.

    Now you'll have a v1.5.1 database ready to be used on your v1.5.1 site, and it will contain all the customer/etc data that you didn't want to lose, instead of the blank database you've got now.
    .

    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
    Nov 2005
    Location
    Rochester, New York
    Posts
    165
    Plugin Contributions
    0

    Default Re: Data base merging

    I read a thread that says 1.3.9 and higher are compatible with php 5.3 but what about php 5.5. My host just upgraded to 5.5.25 and now I get a blank page and these errors:
    /var/www/vhosts/rochesterlaw.org/httpdocs/store/includes/classes/db/mysql/query_factory.php on line 406
    [Wed Feb 20 21:37:46 2013] [error] [client 66.66.232.57] PHP Deprecated: Function ereg() is deprecated in /var/www/vhosts/rochesterlaw.org/httpdocs/store/includes/classes/db/mysql/query_factory.php on line 406
    [Wed Feb 20 21:37:46 2013] [error] [client 66.66.232.57] PHP Fatal error: Cannot redeclare date_diff() in

 

 

Similar Threads

  1. data base
    By scooter in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 9 Jul 2012, 06:29 PM
  2. Merging Product Data from another store.
    By SDImagine in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 13 Apr 2010, 06:29 PM
  3. Can't access my data MySql data base
    By Roon in forum Installing on a Linux/Unix Server
    Replies: 23
    Last Post: 6 Sep 2007, 03:26 PM
  4. Upgraded ready to go live. Merging new data?
    By inksale in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 17 Dec 2006, 08:11 PM
  5. data base
    By sparktronic in forum General Questions
    Replies: 6
    Last Post: 1 Jun 2006, 09:55 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