Nodge Posted July 17, 2013 Share Posted July 17, 2013 (edited) Edited: To save time, ignore the following and please go straight to post no. 7 which summarises my current status. I have found a guide on how to do this which I am trying to follow but things are not happening as per the guide. I appreciate there are 2 basic steps - move all the Prestashop files to new server and move the database to the new server. With my current setup I have my Prestashop files located in a subfolder called "shop". My home page is a simple http file and a visitor clicks on a link to take them to the "Shop". So what I have done so far is as follows. Using ftp I have downloaded all of the files and directories from the "shop" folder to my hard drive. At my new host I made a new folder called "shop" under the "public_html" directory and ftp'd all the files and directories I had previously downloaded into this new "shop" directory. For the database I used phpMyAdmin to export a backup SQL file (using all the default settings). Moving the database was a bit problematical but tech support at the new host helped out and moved it for me. On the new server I edited the /config/settings.inc.php file with the settings for the new database. My guide then says to login in to the back office and make some changes under the "Preferences" tab but when I try to login to the back office I get an error saying "Error: 'install' directory is missing". I get the same message if I try to enter the front shop as a customer would. I've checked my original working installation I don't have a folder called "install" anywhere at all so I'm lost. So help required please. I'm not all that techie but I can follow simple instructions. My Prestashop is version 1.4.7.3 Thanks John Edited July 20, 2013 by Nodge (see edit history) Link to comment Share on other sites More sharing options...
Abhishek Gupta Posted July 17, 2013 Share Posted July 17, 2013 On 7/17/2013 at 5:47 PM, Nodge said: I have found a guide on how to do this which I am trying to follow but things are not happening as per the guide. I appreciate there are 2 basic steps - move all the Prestashop files to new server and move the database to the new server. With my current setup I have my Prestashop files located in a subfolder called "shop". My home page is a simple http file and a visitor clicks on a link to take them to the "Shop". So what I have done so far is as follows. Using ftp I have downloaded all of the files and directories from the "shop" folder to my hard drive. At my new host I made a new folder called "shop" under the "public_html" directory and ftp'd all the files and directories I had previously downloaded into this new "shop" directory. For the database I used phpMyAdmin to export a backup SQL file (using all the default settings). Moving the database was a bit problematical but tech support at the new host helped out and moved it for me. On the new server I edited the /config/settings.inc.php file with the settings for the new database. My guide then says to login in to the back office and make some changes under the "Preferences" tab but when I try to login to the back office I get an error saying "Error: 'install' directory is missing". I get the same message if I try to enter the front shop as a customer would. I've checked my original working installation I don't have a folder called "install" anywhere at all so I'm lost. So help required please. I'm not all that techie but I can follow simple instructions. My Prestashop is version 1.4.7.3 Thanks John Hello John Go through the links below. This would definitely help you. > http://doc.prestashop.com/display/PS14/System+Administrator+Guide#SystemAdministratorGuide-MovingPrestaShop (Official PS1.4 Guide) > http://www.prestashop.com/forums/topic/97789-solved-problem-with-moving-prestashop-14-final-from-localhost-to-live-server/ Regards Abhishek Link to comment Share on other sites More sharing options...
Nodge Posted July 17, 2013 Author Share Posted July 17, 2013 (edited) Thanks for your reply but the guide you linked to in your first link is the one I referred to in my post that I'm trying to follow. In the section titled Moving Prestashop to a new server, I get as far as 4.C which is where I get the error when I try and login. I've looked at your second link but I don't think its relevent. I've seen somewhere else it says "The final step is to upload all your old Prestashop files to the new server. To do this you need to connect via FTP and drag the files from the 'old site' folder onto the new hosting public_html (or htdocs) folder." In my case I've made a new subdirectoy called "shop" (the same as in my original installation). Is this where i'm going wrong and everything should go directly into the public_html folder instead? John Edited July 17, 2013 by Nodge (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 17, 2013 Share Posted July 17, 2013 Hi Nodge, in your /config/ folder can you list the files you have inside? Also, have you checked in the database that the correct values are in the ps_shop_domain and ps_shop_domain_ssl .. This may be a good guide to check out, http://nerdia.net/2011/05/09/moving-a-prestashop-1-4-webshop/ Link to comment Share on other sites More sharing options...
Nodge Posted July 18, 2013 Author Share Posted July 18, 2013 (edited) Thanks for your reply Benjamin. I found that particular problem was because I hadn't saved the settings.inc.php correctly. I did look at the database and I don't have anything that starts ps_shop. I go from ps_sekeyword to ps_specific_price with nothing in between. Unfortunately I've immediately hit another problem. Now when I try to login at least I get the login page asking me for email and password but when I enter them the screen goes white for a second and then returns to the login page. After a few attempts I got There is 1 error Employee does not exist or password is incorrect." I'm definitely entering the correct details but they are not being accepted. I've clicked on the "lost password" button and I've been emailed a new password but that one isn't working either - the screen goes white and then I just get returned to the login page. Any suggestions gratefully received. Thanks John Edited July 18, 2013 by Nodge (see edit history) Link to comment Share on other sites More sharing options...
Nodge Posted July 18, 2013 Author Share Posted July 18, 2013 I think maybe a little more info might be helpful. My existing shop is live at www.compuprint.co.uk/shop. I'm planning to move it to a new host and I have purchased a monthly plan with a view to changing to a yearly plan once everything is up and running. I have been given a temporary url http://176.32.230.27/compuprint.co.uk which is where I am trying to move prestashop to. This is just a test to make sure I'm actually capable of managing the move and can get evrything up and running before I do the actual move and change the name servers to point to my new hosting. Apart from the problem above with logging in to the back office, I'm also finding that if I try and enter the shop as a customer would by going to http://176.32.230.27/compuprint.co.uk my html home page comes up ok and if you hover the mouse over the "Click Here" link to the shop and look at the status bar at the bottom you will see it points to 176.32.230.27/compuprint.co.uk/shop/index.php which is the correct address for the shop on the new server. But if you actually click on the link you end up going to my actual live shop on the old server which is at www.compuprint.co.uk/shop. So something somewhere is still pointing to my old url. I have a feeling this might be to do with my config/settings.inc.php file. I have this line in the file .. define('__PS_BASE_URI__', '/shop/'); and I'm wondering if this is correct? Or is the problem elsewhere? Thanks John Link to comment Share on other sites More sharing options...
Nodge Posted July 20, 2013 Author Share Posted July 20, 2013 Still no joy with this, even though having done some research I'm pretty sure I've done everything right. Just to recap I'm thinking of moving my shop to a new host. My existing domain is compuprint.co.uk and my new host has given me a temporary domain of 176.32.230.27/compuprint.co.uk. My Prestashop files reside in a directory called "shop" so I have downloaded all the files & folders in this directory to my hard drive. I've created a directory called "shop" at my new host and uploaded all the files and folders into this directory. I exported an sql dump of my database to my hard drive and I've imported it at my new host. I've amended my config/settings.inc.php with my new database name, user and server & password. In the new database under ps_configuration I set PS_Shop_Domain to 176.32.230.27/compuprint.co.uk. There was no entry against PS_ShopDomain_SSL so I just left that. My next step should be to login to the back office and change some settings under "Preferences" but I'm not able to login. The logon screen comes up ok but when I try to login with my email address and password the screen goes white for a second and then the login screen reappears. If I go to the front office at 176.32.230.27/compuprint.co.uk/shop/ then my shop just shows text only - there's no graphics or formatting of any kind. I really don't know what else to try. Looking for suggestions. Thanks John Link to comment Share on other sites More sharing options...
Recommended Posts