Guest Posted December 9, 2011 Share Posted December 9, 2011 I have a working prestashop install on line. I was wondering about testing new themes etc but I am anxious that I could cause problems with a live site So someone on facebook suggested a local install with XAMPP Is it possible to do this now with the site I already have running? Is it possible to sysn? So for example test a theme locally, if it works, then 'magically' upload the modifications? or Are they two totally separate installations? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 9, 2011 Share Posted December 9, 2011 Hi haylau, You can copy all of the files from your site via FTP onto a local install, but if you make any changes beyond the theme files themselves, you'll need to make them to your live install as well. However, if you only make changes to the theme files, or if you don't make any code changes at all, there should be no issues moving the theme onto your live site. I hope this helps. -Mike Link to comment Share on other sites More sharing options...
Guest Posted December 9, 2011 Share Posted December 9, 2011 Thanks Mike So will the process be Install xampp Install Presta restore DatabaseB from a backup Copy files via FTP OR Do I miss out the initial presta install? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 9, 2011 Share Posted December 9, 2011 Thanks Mike So will the process be Install xampp Install Presta restore DatabaseB from a backup Copy files via FTP OR Do I miss out the initial presta install? That should do it! -Mike Link to comment Share on other sites More sharing options...
Guest Posted December 9, 2011 Share Posted December 9, 2011 Tried that, getting an error message in FO and BO "Link to database cannot be established" I did name the local database the same as the on-line one Any ideas? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 9, 2011 Share Posted December 9, 2011 Hi haylau, I would create a separate database for your local install. Like I said, if you're just testing a new theme, all you'll need to do once you test it is use the theme installer to install it on your live site once you're satisfied. -Mike Link to comment Share on other sites More sharing options...
bellini13 Posted December 9, 2011 Share Posted December 9, 2011 on your local test copy, update the file named "settings.inc.php" in the "config" folder. it contains references to your database, which you should now have a local copy within xampp Link to comment Share on other sites More sharing options...
Guest Posted December 10, 2011 Share Posted December 10, 2011 @mike -the problem is I need to see how a new theme or module will look with all the other mods I have installed. So i really do need a local "copy" of the live system. @bellini13 - thanks tried that. Now, when I go to the FO, even though I type in localhost/prestashop/ it takes me to the online version. And I still cannot get access to the BO I fear I am fighting losing battle Will this work: I have a database and file backup system from Presto-changeo. If I disable the store. Do an immediate backup, try the new theme / upgrade etc if itall works great, if not can I simply restore all the files and databse from the backup or is it possible that the new theme could leave behind debris? For example i want to install the new prestashop version - but what if it goes wrong. Will the method above also work - I am worried that my mods will stop working (CMS pages, mods to PDF etc) Link to comment Share on other sites More sharing options...
bellini13 Posted December 10, 2011 Share Posted December 10, 2011 in the backoffice on your local computer, ensure you updated the URL of your store correctly. should be in preferences. also, under the root folder of the store, which should be the folder prestashop, check if there is an .htaccess file. if so, there may be redirects in that pointing to your live site, you would need to update that. I would not advise doing any testing against your live site, but if you try, always ensure that you have a full backup of both your web content and database content. Technically you can always restore your website to those backs ups. Make sure you store those backups on your local computer, or even burn it to CD/DVD. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted December 12, 2011 Share Posted December 12, 2011 Hi haylau, Additionally, you can always temporarily put your shop in maintenance mode to test it out for yourself. Just be sure to add your Maintenance IP to ensure that you are seeing the front office properly, even if your customers temporarily cannot. -Mike Link to comment Share on other sites More sharing options...
Guest Posted December 12, 2011 Share Posted December 12, 2011 Thanks Mike, that is what I will have to do. I just can't get the local copy to work, even with the best efforts of bellini13 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