Jump to content

LOCAL store does not want to open!


Recommended Posts

I built a store locally, and uploaded it to the web server. Now, after making several changes to the web store, I want to do the reverse: send a copy of the web store to the local server on my computer. I am following the standard procedures of sending the store from one server to another, such as copying all files from the directory; export the database and import the data to another on the local server; correct the URLs in the PS_SHOP_URL and PS_CONFIGURATION tables, but for some reason, the store does not want to open on the local server. I use the WAMP server locally, and when I try to access localhost / store this window appears with an error message. What could be happening?

 

post-1066083-0-13933000-1497626019_thumb.jpg

Link to comment
Share on other sites

Have you changed the db info in settings.inc.php, I assume the db name is not the same for both online and offline.  What about ssl, did you have that on for web, and now need it off?  And, what about your .htaccess file, did you change the domain in there?

Edited by SLiCK_303 (see edit history)
  • Like 1
Link to comment
Share on other sites

Have you changed the db info in settings.inc.php, I assume the db name is not the same for both online and offline.  What about ssl, did you have that on for web, and now need it off?  And, what about your .htaccess file, did you change the domain in there?

Thanks! The problem was a block of code that an employee of my hosting provider inserted into the .HTACCESS file, calling a PHP.INI file in the root directory. Since this snippet of code referred to the root of the web directory, the local store was prevented from opening. I just deleted the code, and the store opens nicely!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...