Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2010
    Posts
    30
    Plugin Contributions
    0

    Default Transferring files from another server

    I inherited a web site to host that is currently on a different server with another hosting company. I am a web designer that has basic knowledge of php and mysql (very basic). The current site is a mess. It started out as another shopping cart and then at some point was changed to a zen cart. The structure contains several copies of the same zen cart folders and files (actually about 4 copies of the zen cart folders and files). In addition, there are redirects to other web sites and plenty of hacks. There are more than 20,000 files! Honest! Many of them have no use and effectively clutter the site. It's very difficult to determine which files are live and which are just dead weight.

    My original idea (not yet knowing at the time the colossal mess) was to upload the files to the new server (different hosting company as well), and modify the configure files. I have never work with Zen Cart, but I have known about for a long time and been aware that there is a strong Zen Cart community that is very supportive.

    Uploading the files to my server and modifying the configure files hasn't work for me because of all the hacks and moving of files. There are also 3 different databases in phpMyAdmin for this site. I create backup files for them and imported them into my server. I then noticed that the databases were duplicates with the same tables. I found the one that was populated with info (like settings, customer info, etc) and I am using that one.

    I am trying to get this done this weekend so I may be asking some questions on the forum.

    My first request is to get some feedback from some expert that may have been down the same road. What I decided to do is this: Start fresh with new Zen Cart files and then try to make some sense out to the old files to reconstruct the web site. Does anyone have any advice or warnings?

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

    Default Re: Transferring files from another server

    Follow this FAQ on the topic of moving from one server to another: https://www.zen-cart.com/tutorials/i...hp?article=100
    No doubt you've already got the content from the old server in backups.
    Follow the FAQ to do the basic config for the new server. Preserve the generated config files. Upload the old files. Replace the old config files with the new ones.
    Import the old database into the new one. You can determine which of the 3 databases was in use by finding it in the DB_xxxx settings of the old site's configure.php files. If you're only restoring Zen Cart data, you only need *that* database. You can deal with the content in the other databases some other time down the road, if ever.
    .

    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
    Jan 2010
    Posts
    30
    Plugin Contributions
    0

    Default Re: Transferring files from another server

    Thanks for the advice but I have done all you suggested before I posted my reply-even looked at that tutorial. I have spent days trying to rehabilitated this site and I think the best idea, as I mentioned, is to start a new site and use some of the old files if I need to. I think I will need some help with the templates when I get to them, so I hope that you and others will be kind enough to help me with some questions I might have soon.

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

    Default Re: Transferring files from another server

    Quote Originally Posted by john_c View Post
    ... will be kind enough to help me with some questions I might have soon.
    Sure. If your questions are unrelated to the issue discussed in this thread, be sure to post a new thread for the new question.
    .

    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. v139a MySQL problems - moving db files from crashed server to another
    By olgaki in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 24 Feb 2012, 07:39 PM
  2. problem: Images do not display after transferring files to new server
    By john_c in forum Customization from the Admin
    Replies: 2
    Last Post: 2 Mar 2010, 01:04 AM
  3. Transferring site from one cpanel to another
    By webby2009 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 18 Dec 2009, 05:42 PM
  4. Transferring from Local Server
    By stars62 in forum General Questions
    Replies: 1
    Last Post: 15 Sep 2009, 12:01 AM
  5. Transferring from localhost to server?
    By Nimbuz in forum General Questions
    Replies: 2
    Last Post: 4 Nov 2007, 05:04 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