Stransky Posted December 12, 2015 Share Posted December 12, 2015 Hello all.... I recently copied my 1.5.2 production store code and database from my hosting provider and restored to a local computer to create a test environment based on WAMP. I have successfully got the environment running on this local computer and have upgraded to 1.6.1.3. I had an issue accessing the BO after the upgrade, but have resolved this and can access both BO and FO of the newly upgraded test website. BO seems fine. Everything also looks fine in the FO and I can browse and add items to the shopping cart. However when I go to view the shopping cart, checkout or access any of the following - Contact Us, Sign In, My Account, My Orders, etc. - I get the following error: This webpage is not available ERR_CONNECTION_REFUSED I have checked the error and access logs and only see the following (all 200 status messages): ::1 - - [12/Dec/2015:11:16:56 -0500] "GET /prestashop/themes/an_store/img/bg.jpg HTTP/1.1" 200 24318 ::1 - - [12/Dec/2015:11:17:22 -0500] "POST /prestashop/psadmin/ajax.php?rand=1449937042244 HTTP/1.1" 200 120 ::1 - - [12/Dec/2015:11:19:23 -0500] "POST /prestashop/psadmin/ajax.php?rand=1449937163243 HTTP/1.1" 200 120 ::1 - - [12/Dec/2015:11:20:29 -0500] "POST /prestashop/index.php?rand=1449937229578 HTTP/1.1" 200 780 ::1 - - [12/Dec/2015:11:20:30 -0500] "GET /prestashop//modules/paypal/express_checkout/ajax.php?get_qty=1&id_product=1638&id_product_attribute=&_=1449937229477 HTTP/1.1" 200 1 ::1 - - [12/Dec/2015:11:21:24 -0500] "POST /prestashop/psadmin/ajax.php?rand=1449937284244 HTTP/1.1" 200 120 I get a similar error in browsers other than Chrome (Firefox, IE, etc.). I have tried the obvious stuff like clearing caches, deleting cookies, restarting server processes, etc. Any assistance would be greatly appreciated as I am now stuck until I resolve the access issue. Thanks in advance, Dave Link to comment Share on other sites More sharing options...
Guest Posted December 12, 2015 Share Posted December 12, 2015 Not sure that is a prestashop issue as such - could be something to do with browser settings and network connections There are a few ongoing discussiions here https://www.google.co.uk/search?q=ERR_CONNECTION_REFUSED&oq=ERR_CONNECTION_REFUSED&aqs=chrome..69i57&sourceid=chrome&es_sm=93&ie=UTF-8 Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 12, 2015 Share Posted December 12, 2015 (edited) You copied your web site, good for you. Smart. Did you have SSL turned on when you copied your web site? If so turn off SSL. All of the pages you reference above, that is the one thing they have in common, if you have SSL turned on, those pages require SSL certificate to be installed. Edited December 12, 2015 by Bill Dalton (see edit history) Link to comment Share on other sites More sharing options...
Stransky Posted December 13, 2015 Author Share Posted December 13, 2015 Thank you Bill - turning SSL off was the solution. With no certificate installed locally, that was the one difference between the hosted server and the local one. Cheers and much appreciated. Dave 1 Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 13, 2015 Share Posted December 13, 2015 Dave, a good trick using a local copy ... sometimes you want to test conditions with the real domain name. The way to do that is with your Host file found on all Windows computers at c:\Windows\System32\Drivers\etc\hosts In the beginning, before search engines and domain names we typed IP addresses into out ftp programs to reach a resource. The host file let us give IP address a name so we could remember better. To this day your computer still checks the Host file first for the name and IP address of each web site you go to. So you can create a desktop link to your host file and enter your local IP address in the host file using notepad, here is an example, 192.168.0.101 yoursite.com To find your computer's IP Address on Windows, open the Control Panel and select View network status and tasks. Click the name of your Internet connection to view its status. Click the Details button in the connection's status window. To turn it off you can just comment that line out use this #, like this, # 192.168.0.101 yoursite.com So once you have that setup you can turn it on or off just by clicking on your desktop short cut. Now you may also install your SSL certificate and it will work as well. No one can reach your web site because you are on a private ip. But you can have a fully setup up web site that gives you a test environment that is exact to what you will need to copy. You will not need to change anything when you do. You will need to setup the domain name for your web site on your local server, just like you do on your public server. 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