Results 1 to 8 of 8
  1. #1
    Join Date
    May 2011
    Posts
    24
    Plugin Contributions
    0

    Default Moving from Windows Server to Linux

    I took the advice of the folks on the forum and am moving my zen cart from a Windows hosting to a Linux hosting. But, of course, it doesn't work and I'm stuck.

    I host with GoDaddy. (No lecture at the moment, please! I'm looking for a new host)

    THEY migrated me from Windows to Linux.

    My old cart was hosted in a /SHOP directory which is now renamed to /shop (since Linux doesn't like capital letters!)

    The database name hasn't changed and is still on the server.

    But, I don't know what else do to. I know that I need to update things in the config files to speak linux instead of speaking windows. I've looked in the FAQ but I'm not really sure WHAT I'm looking for.

    Thanks!

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

    Default Re: Moving from Windows Server to Linux

    "it doesn't work" ????????

    If you take your car to the mechanic and say "it doesn't work", they're going to look at you funny.
    If you go to the doctor and say "it doesn't work", he or she is going to know you're off your rocker.

    Same here.

    So, please explain exactly what you really mean by "it doesn't work".
    .

    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
    May 2011
    Posts
    24
    Plugin Contributions
    0

    Default Re: Moving from Windows Server to Linux

    All I get is an error message page at http://www.eatstayplay.com/shop

    The folks at my web host said that .config files need to be altered but I can't find any documentation as to WHAT I need to alter. I'm sorry I'm not giving you enough specifics, I'm not exactly sure what is wrong so I don't know how to fix it.

  4. #4
    Join Date
    May 2011
    Posts
    24
    Plugin Contributions
    0

    Default Re: Moving from Windows Server to Linux

    All I get is an error message page at http://www.eatstayplay.com/shop

    The folks at my web host said that .config files need to be altered but I can't find any documentation as to WHAT I need to alter. I'm sorry I'm not giving you enough specifics, I'm not exactly sure what is wrong so I don't know how to fix it.

    Hello. Thank you for loading Zen Cart™.
    You are seeing this page for one or more reasons:

    This is your first time using Zen Cart™ and you haven't yet completed the normal Installation procedure.
    If this is the case for you, you will need to upload the "zc_install" folder using your FTP program, and then run zc_install/index.php via your browser (or reload this page to see a link to it).

    Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information and/or invalid database-connection information.
    If you recently edited your configure.php files for any reason, or maybe moved your site to a different folder or different server, then you'll need to review and update all your settings to the correct values for your server.
    See the Online FAQ and Tutorials area on the Zen Cart™ website for assistance.
    Additional Details: includes/configure.php file contents invalid. ie: DIR_FS_CATALOG not valid or not set

  5. #5
    Join Date
    Jan 2004
    Posts
    66,380
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Moving from Windows Server to Linux

    Your host didn't do a proper move.
    They should have followed these instructions: 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.

  6. #6
    Join Date
    May 2011
    Posts
    24
    Plugin Contributions
    0

    Default Re: Moving from Windows Server to Linux

    I looked at that but I wasn't sure if it was correct for me since I moved from WINDOW to LINUX.

    Can you tell me if I have the gist of it right:

    Install Zen Cart on my new host (Linux)
    Upload all the files from my old host except the two .config files listed
    Upload the database backup file

    And then do step 6.

    With the new install on the Linux server, that should fix the whole "language of windows" thing, right?

    I guess my only question then is do I need to address anything specifically that the cart USED to be in /SHOP (upper case) and is now in /shop (lower case)?

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

    Default Re: Moving from Windows Server to Linux

    When you run zc_install it will set the SHOP to shop if that's what you enter in the fields where it asks you those questions during zc_install.

    And zc_install does its thing regardless of whether you're on linux or windows.
    Your problem is NOT with linux. Your problem is that your new server has a different folder/path structure, and your existing configure.php files don't contain the correct information. Running through zc_install will populate those files with the correct information for your new server. THAT is why that's part of the instructions in that article.

    Follow the instructions first. Then if there are further questions, feel free to ask.
    .

    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.

  8. #8
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Moving from Windows Server to Linux

    Quote Originally Posted by EatStayPlay View Post

    My old cart was hosted in a /SHOP directory which is now renamed to /shop (since Linux doesn't like capital letters!)
    Its not also that Linux doesn't like capitals, its just case references have to match exactly. You may find when your store is running lots of images don't display if there are capitals in there, which were ignored when you were on Windows, so you'll have to rename them correctly to match exactly.

 

 

Similar Threads

  1. Moving from windows server to linux server - how to restore database ?
    By PatF in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 26 Mar 2011, 02:26 PM
  2. Moving from Windows Server to Linux Server - GoDaddy
    By spetznaz2588 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 19 Feb 2011, 07:20 AM
  3. Moving from a windows server to linux server
    By lwilliams374 in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 13 Oct 2009, 04:40 PM
  4. Welcome to Zecart page after moving from Windows server to Linux Server
    By smartmomma in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 21 May 2008, 12:36 PM
  5. Moving from Linux to Windows
    By callman in forum Installing on a Windows Server
    Replies: 19
    Last Post: 30 Jul 2006, 04:42 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