Forums / Installing on a Mac Server / Installing client site on MAMP for testing and upgrade

Installing client site on MAMP for testing and upgrade

Views: 13,258

Results 1 to 3 of 3
21 Jan 2015, 1:36 AM
#1
aestheticdesign avatar

aestheticdesign

New Zenner

Join Date:
Aug 2011
Posts:
29
Plugin Contributions:
0

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?

21 Jan 2015, 9:15 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

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?142-i-want-to-move-my-zen-cart-installation-to-another-host-or-a-different-server
http://www.zen-cart.com/entry.php?3-How-do-I-rebuild-my-site-on-the-new-version-instead-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.

21 Jan 2015, 11:50 PM
#3
aestheticdesign avatar

aestheticdesign

New Zenner

Join Date:
Aug 2011
Posts:
29
Plugin Contributions:
0

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!