eternalc Posted April 23, 2014 Share Posted April 23, 2014 Hi all; I'm trying to setup a dev site (prestashop 1.4.7) on the same (dedicated) server as my live site, and need help! The dev site will be used to test an update to 1.4.11, as well as ongoing tinkering. My host has copied over the files and database from my live site to a separate directory, and I have the dev domain registered. But I have no experience with what to do next... and am very wary of experimenting as I don't want to affect the live site. I need to: - redirect the site to the correct (dev) domain (Frontend still redirects to live site, and BO is just giving me a white screen) - create database user (?) and ensure the dev site is using the dev rather than live database (very important!) This apparently involves an edit to the /config/settings.inc.php file of the new "Test" site to point to the new Database, otherwise it will be pointing to the same database as the live site, and mess up the tables. - Using phpMyAdmin), locate the "ps_configuration" table for the new store and then make sure the values for PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL have been changed to the new URL. - fix permission issues for FTP (I can't FTP any files to the dev right now) - any other steps needed so we can get up and running, with special care to ensure the dev site is not interfering with the live site in any way. For someone who knows what they're doing I'm sure this is a fairly straightforward process. Please let me know if you're interested and how much you would charge. Best regards, Rory Link to comment Share on other sites More sharing options...
indus Posted April 23, 2014 Share Posted April 23, 2014 (edited) Also make sure you change the base url to the subdomain which you are testing for. In the settings.inc.php file. Also change in back office > seo and preferences otherwise it will overwrite over your live site during upgrade. Happened to me once, or maybe more than once Also, i think you are missing an .htaccess file in the subdomain you are testing on, so make this file and give it write permissions. Edited April 23, 2014 by indus (see edit history) Link to comment Share on other sites More sharing options...
eternalc Posted April 23, 2014 Author Share Posted April 23, 2014 Hi Indus, thanks for the tip! I'll add it to my to-do list for any developer who wants to take on the job. The .htaccess file should be there as it's not a subdomain but a separate domain on the same server. So I guess that changes things a bit. Link to comment Share on other sites More sharing options...
indus Posted April 23, 2014 Share Posted April 23, 2014 (edited) Ya i mean a separate folder in your web directory, not subdomain. That is how i do my upgrades. For example, if my site is at /var/www, i make a folder /var/www/testing and do my clone of live store in that folder. You are on the right track. If you have the .htaccess file, then empty the contents so that a new one can be written after you make changes to the base url etc. Else it will redirect to the live site again. Or you can just delete and let presta make a new one for you. That can be done from the back office > seo and urls Edited April 23, 2014 by indus (see edit history) Link to comment Share on other sites More sharing options...
SakshamEsolution Posted April 23, 2014 Share Posted April 23, 2014 Hello Rory, I saw your post here regarding setup a dev site on the same (dedicated) server as your live site.I am interested in your work. You can reach to me via skype "sakshame_solution".I need to discuss once then i can provide you best price and timeline. Thanks, Anoop Singh Saksham E Solution_2.pdf Link to comment Share on other sites More sharing options...
zillo Posted April 23, 2014 Share Posted April 23, 2014 Hi, You must to limit access to your dev site. Some search engine will penalize your site if will find another one with (almost) same content. Also limiting access is needed to not allow your customer to find your dev site by mistake and place order on this one. I use to use this kind of solution. I can help you. PM me if you think so. Thanks, VV Link to comment Share on other sites More sharing options...
eternalc Posted April 30, 2014 Author Share Posted April 30, 2014 Hi all, Thanks for the replies... I have someone who is now looking at this but if there are any issues then I will get in touch with the people who've posted their interest. Best regards R Link to comment Share on other sites More sharing options...
CartExpert.net Posted May 2, 2014 Share Posted May 2, 2014 Hi Rory. PM sent. 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