Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28
  1. #21
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Importing Database into new Installation

    Quote Originally Posted by heavenlynights View Post
    ... wondering ... if i can import a database which is for zen version 1.3.7.1 into a database for a fresh install of zen version 1.3.8a?

    If this is possible, I am guessing that i would have to re-upload the zc_install directory for version 1.3.8a and then run the install and choose update database.

    Could someone please be kind enough to either confirm my thoughs or correct me if I am wrong.
    Yes, that is correct.
    .

    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.

  2. #22
    Join Date
    Jan 2006
    Location
    Australia
    Posts
    330
    Plugin Contributions
    0

    Default Re: Importing Database into new Installation

    Thanks Doc for confirmation

  3. #23
    Join Date
    Mar 2006
    Location
    Melbourne, Australia
    Posts
    377
    Plugin Contributions
    0

    Default Re: Importing Database into new Installation

    Can I open this again?

    I have setup and installed 1.3.8a on a new server, and followed the procedure above by deleting the database of the clean install, creating a new one of the same name, and importing a database from an old install on another server - the old version being, I think, 1.3.6.

    So I run the installer and get to the point where I can run 'upgrade database'. When I do so, I get this:

    in:
    [select admin_id, admin_name, admin_pass from admin where admin_name = 'my zc_admin username']

    I have the same admin user in the old database as in the new setup.

    The upgrade does not proceed, so far as I can tell. I have run the fix_cache_key.

    What am I missing?
    Last edited by godt; 14 Nov 2008 at 04:06 AM.

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

    Default Re: Importing Database into new Installation

    If you're going to move from one server to another, be sure you're using the SAME version of Zen Cart on both sides.

    If you need to do an upgrade, do that AFTER you've got the OLD version working perfectly on the new server first.

    https://www.zen-cart.com/tutorials/i...hp?article=100
    .

    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
    Mar 2006
    Location
    Melbourne, Australia
    Posts
    377
    Plugin Contributions
    0

    Default Re: Importing Database into new Installation

    That would be a difficult one for me, as I'm moving the site to a server which runs PHP/mySQL5. On which zencart 1.3.6 won't run?

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

    Default Re: Importing Database into new Installation

    Well, you could do the whole upgrade on the old server first, and then do the move afterwards.


    The only big caveat for v1.3.6 with respect to PHP 5 is the /includes/functions/sessions.php file which needs a small update for PHP5 compatibility. If I remember correctly, you can use the v1.3.8 version of that file to bridge that gap.
    .

    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
    Mar 2006
    Location
    Melbourne, Australia
    Posts
    377
    Plugin Contributions
    0

    Default Re: Importing Database into new Installation

    Thing is, my client isn't happy with the idea of the site being down. Path of least resistance, I'm afraid. But if I installed 1.3.6 with the 1.3.8 sessions.pph, is it your feeling I'd get away with it?

    I appreciate your assistance. been playing with this one for quite a while.

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

    Default Re: Importing Database into new Installation

    Quote Originally Posted by godt View Post
    Thing is, my client isn't happy with the idea of the site being down.
    Naturally.
    Why are they moving hosts then?

    Quote Originally Posted by godt View Post
    But if I installed 1.3.6 with the 1.3.8 sessions.pph, is it your feeling I'd get away with it?
    That's a bandage only. Intended just for getting rid of PHP5 errors specifically. It doesn't fix the fact that the MySQL 5 support in v1.3.8 is missing in v1.3.6 ... and that v1.3.6 is officially no longer supported.
    .

    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. v139h Problem Importing SQL database to new database ready for testing Zencart 1.5
    By gillpotsoffun in forum Upgrading to 1.5.x
    Replies: 8
    Last Post: 24 Aug 2015, 11:24 PM
  2. 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
  3. Error importing old database to the new database
    By wmorris in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 3 Jan 2012, 08:27 AM
  4. Replies: 4
    Last Post: 15 Oct 2010, 07:18 AM
  5. Help importing data into database...
    By dbunch in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 18 Jan 2007, 11:45 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