i have a problem when transfer PS 1.7 from server domain to my local host
I have followed all the steps of file transfer from the Prestashop documentation.
****I do this step:****
1 - Download all prestashop files from server to my mac and placed it into /mamp/htdocs/prestashop/
2 - Export prestashop database from server, create a database and import the SQL file in phpmyadmin from localhost, then add user to database with all privileges.
3 - Edit the file /app/config/parameters.php:
<?php
define('_DB_SERVER_', 'localhost');
define('_DB_NAME_', 'DBName');
define('_DB_USER_', 'user');
define('_DB_PASSWD_', 'xxxxxxxxx');
define('_PS_VERSION_', '1.7.0.6');
4 - In livehost database change tables: ps_shop_url
shop url table info:
domain=localhost
domain_ssl=localhost
physical_uri=/prestashop/
I also clean the cache and delete all file except index.php in folder:
cache/smarty/compile and /chache/smarty/cache.
I check file rights and made a
chmod -R 777 on /mamp/htdocs/prestashop/
I deleted the .htacess file
When i try co connect in localhost:8888/prestashop/ i am still redirecting to the live server url. Sometime i also get the error 403 Forbidden.
I've got the same problem - here are the steps that worked for me (live->MAMP):
In ps_configuration table:
In ps_shop_url:
Delete .htaccess from the root folder
Disable and enable once again Friendly URLs in admin settings
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With