Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2011
    Posts
    29
    Plugin Contributions
    0

    Default Installing client site on MAMP for testing and upgrade

    I have a client who is currently using 1.50.

    I'm trying to install a version of it on my iMac (Mavericks) using MAMP. I have MAMP using port 80 and if I go to http://localhost/test.html I am able to view that file in my browser.

    I was able to set up the database and I made changes to the 2 configuration files. But Zen Cart starts up with the Hello page.

    I then tried copying the zc_install folder for 1.50 and went through the update process. It was able to access the database, so I know that part is configured ok.


    Here then are the applicable lines from my configure.php file:

    define('HTTP_SERVER', 'http://localhost');
    define('HTTPS_SERVER', 'https://localhost');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    define('DIR_FS_CATALOG', '/WD Raid/Web Design/Clients/www.example.com/public_html');

    I'm not sure if that last one is correct or not. The files are on an external drive called "WD Raid".

    Are those all correct?

  2. #2
    Join Date
    Jan 2004
    Posts
    64,748
    Blog Entries
    6
    Plugin Contributions
    214

    Default Re: Installing client site on MAMP for testing and upgrade

    On a Mac, you probably need to prefix it with /Volumes/

    But, an even better approach is: ... Did you actually run zc_install to INSTALL Zen Cart? ie: to let it build the configure.php file content relevant to your MAMP setup?

    If not, do that first.

    Then import the database and run zc_install again to do any relevant database upgrades.

    Related:
    http://www.zen-cart.com/content.php?...fferent-server
    http://www.zen-cart.com/entry.php?3-...d-of-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.

  3. #3
    Join Date
    Aug 2011
    Posts
    29
    Plugin Contributions
    0

    Default Re: Installing client site on MAMP for testing and upgrade

    I needed to start the DIR_FS_CATALOG path with /Volumes. That fixed it. Thanks!

 

 

Similar Threads

  1. Replies: 9
    Last Post: 10 Apr 2013, 01:09 PM
  2. Backing up site and installing local test server with MAMP
    By thebigkick in forum Installing on a Windows Server
    Replies: 2
    Last Post: 27 Jan 2012, 05:34 PM
  3. Replies: 1
    Last Post: 30 Oct 2008, 10:13 AM
  4. Installing on home computer for backup/testing
    By chris32882 in forum Installing on a Windows Server
    Replies: 2
    Last Post: 29 Oct 2008, 12:39 AM
  5. problem installing without SSL (for testing)
    By randallj2877 in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 15 Jan 2008, 11: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