Page 5 of 5 FirstFirst ... 345
Results 41 to 47 of 47
  1. #41
    Join Date
    Oct 2006
    Posts
    75
    Plugin Contributions
    0

    Default Re: MAMP/XAMPP set up local host

    Well, no luck so far...

    I've identified that my MAC (using MAMP) has a newer version of
    PHP 5.2.10
    MySQL client version 5.1.37

    and my live server is
    PHP 4.4.9
    MySQL client version 5.0.51

    I followed the suggestion at the bottom of this tutorial https://www.zen-cart.com/tutorials/index.php?article=103
    which reads "NOTE: If you are going to be RESTORING to a server running different version of MySQL than what your backup came from, you should be careful about which additional switches you check ... you might need to ensure that you have the appropriate MySQL 4 checkboxes set, etc. Ask your hosting company for guidance if you are uncertain."

    Here is the response from my hosting company:

    "Well i can not help you import data from our database to your in house database. We do not provide that kind of support. I would get in trouble trying to help you figure out how to. I would recommend using the same version of mysql phpmyadmin on your pc. Mixing data between two different engines is not good and is sure to cause havoc in the future. I would recommend creating a test table (copy of a zencart table) then try to import it. If the data gets messed up, you know it wont work. If the data is ok, make sure to do one table at a time and be sure to have a backup of everything before you try. Really I would love to help, but this is not something we cover."

    No idea what I should do from this point? Would be really nice to have my ZenCart running on my local machine though. MAMP seems like a great tool if I can get this to work out.

    Again, any help or suggestions is always greatly appreciated.


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

    Default Re: MAMP/XAMPP set up local host

    There is no table with "user" and "pass" as field names in Zen Cart. I'm guessing you're choosing the wrong set of tables or the wrong database when starting your export.
    .

    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. #43
    Join Date
    Feb 2010
    Posts
    5
    Plugin Contributions
    0

    red flag Re: MAMP/XAMPP set up local host

    Quote Originally Posted by DrByte View Post
    To set up www.example.com in MAMP, you follow the same steps as in the book, but with a couple variations due to the way the Mac OS operates:

    1. To edit your "hosts" file, instead of accessing C:\WINDOWS\system32\drivers\etc\hosts , you will need to edit /etc/hosts
    However, since that is a system file, you must do it with admin privileges, as follows:
    a) Open the Terminal.app application
    b) Type: [FONT="Courier New"]sudo vi /etc/hosts[/FONT]
    c) enter your password if prompted (If you are an administrator, use your current password, if you're not an administrator of the computer, ask your administrator for the password, or get them to do it for you)
    d) Use the arrow keys to move down to the existing line that says 127.0.0.1 and press the letter i
    e) On the new line, fill in the new definition and press Return:
    [FONT="Courier New"]127.0.0.1 www.example.com[/FONT]
    f) Press ESC then : then x then Return
    g) Type [FONT="Courier New"]exit[/FONT] and press Return

    2. For the Configuring Apache step, your <xampp-home> refers to /Applications/MAMP/ ... which means you will be editing this file:
    /Applications/MAMP/conf/apache/httpd.conf

    (You can use Finder to locate the file, and edit it with TextEdit or your favorite text-only editor.
    Make the edits described in the book, and then save the file, and restart MAMP. It should work as described in the book, ie: pointing your browser to www.example.com should now show your MAMP sites.
    Hello,
    I'm trying to follow these instructions, however, I can't locate the Terminal.app application. I used the finder icon to look for it, but nothing came up. I can't find it in the applications folder or in the systems preferences. I'm waiting to finish installing Zencart until after I set up the www.example.com domain. Can you PLEASE help me. I'm a bit overwhelmed.
    Thanks in advance.
    debora

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

    Default Re: MAMP/XAMPP set up local host

    Terminal.app is located under/Applications/Utility/
    .

    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.

  5. #45
    Join Date
    Feb 2008
    Location
    Bay Area
    Posts
    1
    Plugin Contributions
    0

    Default Re: MAMP/XAMPP set up local host

    Quote Originally Posted by DrByte View Post
    To set up www.example.com in MAMP, you follow the same steps as in the book, but with a couple variations due to the way the Mac OS operates:

    Thanks for the install instructions DrByte, works great now on my Mac (OS X 10.6.4) ! ! !

  6. #46
    Join Date
    Aug 2010
    Posts
    46
    Plugin Contributions
    0

    Default Re: MAMP/XAMPP set up local host

    I installed XAMPP yesterday before coming here for help and finding that it seems most of you have installed MAMP...

    I've gotten through the entire process of installing, creating the db, editing the files (did not do the email thing as listed in the book) and when the zc-install completes and I click on the button to either view the shop or go to admin, I get a blank browser window.

    The Zen Cart folder is named "shop" and is in XAMPP/htdocs. If I enter the url http://www.example.com/xampp/ I get the XAMPP splash screen. http://www.example.com/shop/admin/index.php is blank.

    Any ideas where I went wrong? TIA

    Lindee

  7. #47
    Join Date
    Aug 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: Setting up MAMP

    Quote Originally Posted by DrByte View Post
    I just, for the first time today, installed MAMP, and set up a Zen Cart site running on my new MacBook Pro. I'd say it was a painless process:

    1. Download the software from the mamp.info website
    2. Agree to install terms
    3. Drag the MAMP folder to the Applications folder (a usual Mac procedure)
    4. In the Applications/MAMP folder, double-click on the MAMP.app file
    5. Accept license, and choose just to use MAMP, and not MAMP PRO.
    6. Click on Start Servers in the MAMP application control window.
    7. Decided that I wanted to change the preferences so that Apache runs on port 80 (so I don't have to say localhost:8888 everything I want to look at my local server), so I clicked on Preferences, then on Apache, then on Use Apache and MySQL defaults, and saved the changes. It asked for my MAC user password in order to allow the system port change to be completed.
    (Make sure you do not have Personal Web Sharing turned on for your Mac if you are running your MAMP server on port 80. You can turn it off in System Preferences.)
    8. Clicked on Open Start Page, and it shows me all my appropriate settings such as my MySQL username and password so I can put them into my Zen Cart when I set it up.
    9. Clicked on the phpMyAdmin tab, and created a new database named zencart138.
    10. Use finder to create an /Applications/MAMP/htdocs/zencart folder (change "zencart" to whatever you prefer)
    11. Unzip a copy of Zen Cart files into that folder.
    12. Open the browser and point it to: http://localhost/zencart ... and Zen Cart fires up in Install mode.
    13. Fill in all the fields as appropriate, and complete installation.
    14. Access my store as usual via http://localhost/zencart and admin as http://localhost/zencart/admin

    I found it to be very straightforward as far as installing an application on the Mac and as far as installing a website application.

    Thanks for this it was really helpful. Installation was as nice and easy.... now the fun begins!

    Duncan

    -----------

    www.takenfromthetop.com

 

 
Page 5 of 5 FirstFirst ... 345

Similar Threads

  1. v139h local host - how do I set up a copy of my site on xampp?
    By Maynards in forum Installing on a Windows Server
    Replies: 2
    Last Post: 3 Mar 2012, 08:23 PM
  2. set up local host : HELP needed for MAC!!!!
    By debora crosby in forum Installing on a Mac Server
    Replies: 5
    Last Post: 4 Mar 2010, 12:19 AM
  3. XAMPP Local Host Page Won't Load
    By jwj11 in forum Installing on a Windows Server
    Replies: 1
    Last Post: 29 Mar 2009, 12:34 AM
  4. Should I continue installing without MAMP (XAMPP)?
    By ProfKT in forum Installing on a Mac Server
    Replies: 17
    Last Post: 15 Jul 2008, 06:18 PM
  5. Local host not finding XAMPP
    By GroverGirl in forum Installing on a Windows Server
    Replies: 1
    Last Post: 26 Jan 2008, 07:23 PM

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