papagino Posted March 10, 2015 Share Posted March 10, 2015 (edited) Hi guys, I am trying to duplicate my existing Prestashop 1.6.0.11 site to local Wamp server but can't get it to work. I have installed Wamp server on my pc and it is running, Wamp icon is green. I then copy my existing live shop files to C:\wamp\www\public_html and created a new database and imported my store database in it. I changed the values of PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL to "localhost" in the ps_configuration table. I also changed the C:\wamp\www\public_html\config\settings.inc.php to this: <?php define('_DB_SERVER_', 'localhost'); define('_DB_NAME_', 'MyDatabaseName'); define('_DB_USER_', 'root'); define('_DB_PASSWD_', ''); ... define('_PS_DIRECTORY_', '/public_html/'); I tried deleting the .htaccess file and unabled the rewrite_module in Apache (via Wamp). I also cleared my browser internet cache. When I try to access my site or my Backoffice by loading "http://public_html/" or "http://public_html/admin****/index.php", I get : This page can’t be displayed Make sure the web address http://public_html is correct. Look for the page with your search engine. Refresh the page in a few minutes. *** My live shop is running under PHP version 5.2.17, but Wamp PHP version is 5.5.12, could this be the problem? Any Ideas on what I am doing wrong? Cheers Dan Edited March 10, 2015 by papagino (see edit history) Link to comment Share on other sites More sharing options...
FastComet Posted March 11, 2015 Share Posted March 11, 2015 Hello, Please check the local configuration of the WAMP server and more precisely the vhost file for this website. There you will need to find the line with the DocumentRoot declaration and check if it ends up with public_html or not. If it ends then you will need to leave the Prestashop configuration for the PS_Directory empty:define('_PS_DIRECTORY_', '/'); This is common error and if that is the case the issue you are experiencing should be resolved. Apart from that I see no other reason for the Duplicated copy to malfunction. Best Regards,FastComet Team Link to comment Share on other sites More sharing options...
papagino Posted March 11, 2015 Author Share Posted March 11, 2015 Hi, thanks for your reply, I've check the ?phpinfo and the DOCUMENT_ROOT is "C:/wamp/www/". So I guess the "define('_PS_DIRECTORY_', '/public_html/');" in settings.inc.php should be fine. Not sure where to look next... Cheers Dan Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now