Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2023
    Location
    Ohio
    Posts
    1
    Plugin Contributions
    0

    Default Old zen-cart shop completely broken from old age- possible to salvage the database?

    Hello!

    I set up a site using zen-cart for my mother's business a long time ago (more than 10 years) and didn't have the time to maintain it. I believe I only updated it once, and that was less than a year into its life.

    Needless to say, the site doesn't work at all right now- 500 error page is all you get when you visit the store or the admin side. This is a pretty recent development I believe, probably within the past few months, because my mom has been receiving emails, phone calls, and letters from customers asking about it recently.

    We have a plan to completely revamp the site, probably starting from scratch with the newest zen-cart, but it would be amazing if we could plug the old database into the new one. I imagine I'd have to make some updates to it before it would work. I have access to all of the files through my ftp. Does anyone have any ideas on how to accomplish this? Or will I be better off writing SQL to move data from the old database and insert it into the new one once it's set up?

    I have no idea what version of zen-cart I was using. Is it somewhere in a config file?

    Thanks for any thoughts or help any of you can provide!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Old zen-cart shop completely broken from old age- possible to salvage the databas

    Fortunately the zc_install utility that comes with each version of Zen Cart is capable of taking your existing database and upgrading its content to whatever new structure is required for that new version. It can support as far back as 1.2.5 to bring it up to current.

    You can find your Zen Cart version in the /includes/ version.php file of your Zen Cart store.
    And in your database there's a project_version table that has 2 records that indicate what version of Zen Cart your database was last upgraded to.

    You can find Zen Cart's server-requirements at https://docs.zen-cart.com/user/first..._requirements/

    --
    An upgrade is basically a re-build of your store on top of the new version ... and that can be accelerated by using a text-file-compare utility to show you what files you'd customized in your own store.
    So, that fits well with what you'd indicated your plans are anyway.
    https://docs.zen-cart.com/user/upgra...led_upgrading/
    https://docs.zen-cart.com/user/upgrading/
    .

    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.

 

 

Similar Threads

  1. v139h The Age Old Question of Affiliate Feeds
    By fwood in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 28 Nov 2013, 02:53 PM
  2. v151 can i salvage very old shipping settings from old database?
    By enddes in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 8 Oct 2012, 08:27 AM
  3. Importing Data from Old Zen Database
    By rka81 in forum General Questions
    Replies: 3
    Last Post: 19 Oct 2011, 07:57 AM
  4. install zen cart with old database
    By chadkan in forum General Questions
    Replies: 2
    Last Post: 20 Oct 2009, 12:21 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR