guitar Posted May 27, 2011 Share Posted May 27, 2011 Hi, Following the faq which recommends creating a site on your domain and then creating a test local site (both pointing to the same db), I found that the local site front end always redirects to the one hosted in the domain.I then found a post that mentioned that in the local site I needed to change the value of a couple of fields in a table (don't recall the details), I already changed the local config entries.If this is the case and fixes the issue (havent tried yet) then surely the domain version will also point to the local copy?Is the faq wrong? Should I have two seperate dbs and then update the domain versions everytime I make an update? Whats the recommended strategy?TIA Link to comment Share on other sites More sharing options...
guitar Posted May 27, 2011 Author Share Posted May 27, 2011 Would a mod please move this to the Configuring & using PrestaShop forum as it sounds more appropriate.thanks. Link to comment Share on other sites More sharing options...
guitar Posted May 27, 2011 Author Share Posted May 27, 2011 So it turns out that the faq is now out of date from version 1.4. See here: http://alvinjiang.blogspot.com/2011/04/prestashop-tips-domain-name-and.html"Most PrestaShop owners or potential owners do not realize a small change in PrestaShop 1.4. The domain name or the hostnbame now is saved in database ps_configuration table."So there is no choice but to use seperate dbs in you have a local test copy as well as a live version. Link to comment Share on other sites More sharing options...
tomerg3 Posted May 27, 2011 Share Posted May 27, 2011 The whole idea of a test server is to have a place where you can try things that will not disrupt the live site.Separate database is definitely the way to go. Link to comment Share on other sites More sharing options...
guitar Posted May 28, 2011 Author Share Posted May 28, 2011 yes makes sense when you think about it, but was misled (or misunderstood) the faq.thanks. 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