Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Aug 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: Setting up ZC on a Local Testing Server-MAC

    This may be the place for this post. I have searched for pages and pages and haven't found anyone else with the same problem. I installed XAMPP on my Mac laptop (OS 10.4.11) and am using Zen Cart 1.3.8. Everything installed correctly but I get these three error messages on the main install page.

    PHP GD Support = OFF Click here for more info
    GD Version = GD Click here for more info
    PHP Output Buffering (gzip) = OFF

    Is this important?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Setting up ZC on a Local Testing Server-MAC

    gzip is only for possible speeding up page loading from a hosts server

    GDLib's are only important if you use a mod that requires it to function
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Aug 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: Setting up ZC on a Local Testing Server-MAC

    Thanks Kobra.

    I am installing from the Manual and stuck on page 37. Now, I am getting this error message:
    "* Connection to Database failed
    Access denied for user 'root'@'localhost' (using password: YES) more info..."

    Can anyone tell me what User and Pass my laptop has???? Somehow I naively thought that XAMPP would have addressed these issues...

    Silly me.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Setting up ZC on a Local Testing Server-MAC

    on a local that I use I normally only enter the user as "root" and no password and it allows connection

    But I so not use xamp

    Did you also look for MAMP?
    Zen-Venom Get Bitten

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

    Default Re: Setting up ZC on a Local Testing Server-MAC

    MAMP on the mac uses "root" and "root" for the default MySQL username and password.

    There is another discussion thread on the forum discussing the use of MAMP on a Mac for offline testing.

    I'm not sure how you're using XAMPP ... isn't that package intended for windoze pcs?
    .

    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
    Apr 2008
    Location
    London
    Posts
    596
    Plugin Contributions
    0

    Default Re: Setting up ZC on a Local Testing Server-MAC

    +1 for MAMP.

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Setting up ZC on a Local Testing Server-MAC

    Is this what you are using? Or should be...

    http://www.mamp.info/en/index.php
    Zen-Venom Get Bitten

  8. #8
    Join Date
    Aug 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: Setting up ZC on a Local Testing Server-MAC

    Thanks to all of you for your comments. I apologize for the last post, it was late.

    Here is what I had done:
    Installed the XAMPP (which does have Mac and Linux versions).
    Installed Zen Cart into a catalog folder.
    Then realized that it must be installed in the wrong place and was running on the Mac Apache server, because it went bye bye when I turned off the "Personal Web Sharing" in System Preferences.

    Here is where I am now:
    Downloaded MAMP (I used to have this and didn't find it useful last year, but I am following your instructions)
    Install was successful.
    Opened the zc_install/index.php file and got gibberish (non-PHP text)!
    The MAMP Servers are on.
    The MAMP instructions are not clear at all to me, and are all for the PRO version.
    I tried various routes to this page.
    Pardon me for saying this, but with Apache, phpmyadmin, and MySQL, all working in the same place, a person should be able to open Firefox, navigate to a file, and have it open in their browser.
    I clicked on the "Open start page" on the MAMP window, which takes me to a Welcome page:
    "If you can see this page, MAMP is installed on your Mac and everything is working!"
    That's nice, but if I want to go to MY page, I can't get there.
    Instead, I get messages like this:
    "Not Found
    The requested URL /MAMP/htdocs/zc_install/index.php was not found on this server.
    Apache/2.0.59 (Unix) PHP/5.2.6 DAV/2 Server at localhost Port 8888"
    Isn't the point of this to get to my page?

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

    Default Re: Setting up ZC on a Local Testing Server-MAC

    What exact URL are you attempting to go to?
    MAMP and your browser would assume to start under the "htdocs" folder already ... so ... if you installed the Zen Cart files directly into the htdocs folder, then you would just put http://localhost/zc_install/index.php into the browser.

    Oh, and if you're running on port 8888 instead of 80, then you'll need to change "localhost" to "localhost:8888" above.
    .

    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.

  10. #10
    Join Date
    Aug 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: Setting up ZC on a Local Testing Server-MAC

    Thanks for your very reasonable answer. That is, in fact, what I did and where I put the ZC files. Which is why I do not understand the reply in the browser: "Forbidden
    You don't have permission to access /zc_install/index.php on this server."

    I did "Get Info" on the whole MAMP folder and changed permissions recursively (this is my password protected laptop) with the same result.

    Also, I have just opened the folders to make sure I didn't put the whole thing into a catalog. The address is: Applications/MAMP/htdocs/index.php (or wherever I'm going).

    Next, I opened Firefox to a new tab and clicked on File>Open File, then navigated to the same file. This time I get the text only, without the html/php environment:

    "# * Load application_top.php - see {@tutorial initsystem}
    # * Set main language directory based on $_SESSION['language']
    # * Load all *header_php.php files from includes/modules/pages/PAGE_NAME/
    # * Load html_header.php (this is a common template file)
    # * Load main_template_vars.php (this is a common template file)
    # * Load on_load scripts (page based and site wide)
    # * Load tpl_main_page.php (this is a common template file)..."

    Personal Web Sharing has been both on and off. It doesn't seem to affect this. I clicked the "Open start page" button and it took me to a web page in Firefox that said everything was working. I changed this to redirect to my page. Which then reports:

    "Not Found
    The requested URL /MAMP/htdocs/index.php was not found on this server.
    Apache/2.0.59 (Unix) PHP/5.2.6 DAV/2 Server at localhost Port 8888"

    Thanks for your interest. I hope some of this helps.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Strange error moving store from local mac to linux server
    By beppuzzo in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 23 Jan 2012, 04:56 PM
  2. Setting up a testing server
    By KADesign in forum General Questions
    Replies: 2
    Last Post: 10 May 2010, 06:40 PM
  3. Setting up ZC on a Local Testing Server
    By boukmn in forum Installing on a Windows Server
    Replies: 9
    Last Post: 29 Aug 2008, 10:26 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