Mamp Prestashop

Posted on  by 



PrestaShop version: from 1.6.1.24 to 1.7.5. Local server = MAMP PRO 5. Thanks for any reply. The text was updated successfully, but these errors were encountered. PrestaShop PrestaShop has perhaps the most unique and interesting out of the box experience of any e-commerce platform we’ve tried. From the moment you launch PrestaShop with Bitnami, you are greeted with a beautiful pre-built store – with products and all – that gives you a sense of the power and capabilities in PrestaShop.

Hi;

This time i try to import a customer db on a local MAMP installation, so i open terminal and paste :

On MAC, If you don’t know the path of the dump files, drug the file directly in the terminal windows, and the path magically appears..
Insert root MAMP password ( usually is root ), and….. i have an error:

” ERROR 2006 (HY000): MySQL server has gone away “

Mamp Prestashop

Mamp Prestashop Mac

Prestashop

For solve it:
Go on phpMyAdmin and empty the DB, navigate to MAMP installation folder and create a custom configuration file “my.cnf” under “/application/MAMP/Library/ ” and add :

Now you need to shutdown and restar mamp.
Try re import the db,( as made before on top of this article )and, if all is right, now your DB will be imported without problems.

That’s all

Backstory: Today, I was ready to deploy a Prestashop store. But before I put it online, I decided to test something locally. (Something, being: check if our cool AkeebaBackup solution for backing up Prestashop worked).

I almost wish I hadn’t, since I’ve lost almost half an hour trying to figure out why Prestashop kept moaning about redirect errors, Redirect loops and other things about redirecting.

The domain name turned out to be the problem. Since I’m used to Joomla! I’m familiar with a straight forward approach: you enter the full path, and you’re done.

But for Prestashop, you’ve got to change your logic a bit when working on your localhost (be it Wamp, Xamp, LAMP or MAMP). The guide below explains how to setup your domain when you’ve moved your site to your localhost

The Steps

I am going to make two assumptions: You’ve managed to unpack Prestashop, your database is up and running and you can access the backend locally. If that’s the case, do the following:

1. Login to the back-end of your site

2. Go to Preferences > SEO & URLS

3. Go to the Set Shop URL Section of the screen.

4. Configure the fields in this section like this:

Install Prestashop Mamp

  • Shop Domain: http://localhost:<Ports&gt;
    • Replace <Ports> by the port Apache is listening to on your localhost. If you’re using Port 80 just write http://localhost
  • Base URL: the path to your Prestashop installation, relative to your root folder. If, for example, the store is located in a “MyPrestaShop” folder under your root, enter /MyPrestaShop here.

Instalar Prestashop Mamp Mac

Once you have configured both the fields, click “Save. This should help you get rid of that nasty “Redirect” error!





Coments are closed