Fazza09 Posted February 13, 2009 Share Posted February 13, 2009 Hi!I've been setting up Prestashop on a domain that I already had and now that I have finished playing around with Prestashop I am ready to 'go live' so to speak, part of which is changing website hosts.How do I go about moving Prestashop from one website host to another?Is it a case of downloading the whole of my site to my computer and then FTP it up to my new one? How do I go about moving the database?Many thanks in advance. Link to comment Share on other sites More sharing options...
TropischBruin Posted February 13, 2009 Share Posted February 13, 2009 Copy (FTP) the complete PS folders to your PC and than back to you new host.Make a backup via your phpMyAdmin and restore this at you new host.adjust the setting,inc.php to match your new host. Link to comment Share on other sites More sharing options...
prestabase Posted February 13, 2009 Share Posted February 13, 2009 You may want to package your stores content on the server first, then download via FTP. Once you upload via FTP to your new host simply extract the package. This will ensure all files were downloaded/uploaded and maintain the same permissions. Link to comment Share on other sites More sharing options...
Coi Xuong Shop Posted February 14, 2009 Share Posted February 14, 2009 I've done the same thing form http://coixuongshop.com to http://vnrock.com/shop But It doesn't work (blank page). Data has backup ok. Help Link to comment Share on other sites More sharing options...
prestabase Posted February 15, 2009 Share Posted February 15, 2009 Did you be sure to update your settings within the setting.inc.php file like TropischBruin mentioned? Link to comment Share on other sites More sharing options...
Fazza09 Posted February 18, 2009 Author Share Posted February 18, 2009 Hi!I have ftp'd all the files to my new host and have restored the database.Where will I find the file called setting.inc.php as I cant seem to find it?I've downloaed prestashop 1.1, uncompressed it to do a search for any file with the word setting or inc in its file name but get no results found?Any ideas anyone - am I missing something or I am looking in the wrong place? Link to comment Share on other sites More sharing options...
prestabase Posted February 18, 2009 Share Posted February 18, 2009 Fazza09,You can find the setting.inc.php file within the config directory. Link to comment Share on other sites More sharing options...
Fazza09 Posted February 18, 2009 Author Share Posted February 18, 2009 Thanks for that! I must need my eyes testing!!!I've opened up the file in notepad and to be honest I'm not sure exactly what I need to change to get it to work on my new domain?At the moment what I have done is download and then upload all the prestashop files, created a blank database with the same name as my original host and then imported the database that I exported from my original host.Now when I go to my website I get an error message as follows:"Link to database cannot be established" Link to comment Share on other sites More sharing options...
prestabase Posted February 18, 2009 Share Posted February 18, 2009 Within that file you will need to enter all of your database connection settings (ie, database name, username, password, etc.). Once entered, your prestashop will connect to the database.If you are transfer the shop to a new blank database, why not just run the install wizard? Link to comment Share on other sites More sharing options...
Fazza09 Posted February 18, 2009 Author Share Posted February 18, 2009 Hi PrestaBase! Thanks for your help.I have looked through the file and can not see any reference to my prestashop database. When I created the database I kept the same name, username and password so dont understand why it's not working. I have tried to re-run the install but when I do so IE & FireFox both tell me that "This application need you to activate Javascript to correctly work" - javascript is enabled in both browsers so not sure why I'm getting this message. Link to comment Share on other sites More sharing options...
prestabase Posted February 18, 2009 Share Posted February 18, 2009 Fazza09,Don't you see the following content within settings.inc.php?define('__PS_BASE_URI__', 'example');define('_THEME_NAME_', 'example');define('_DB_NAME_', 'example');define('_DB_SERVER_', 'localhost');define('_DB_USER_', 'exampledefine('_DB_PREFIX_', 'ps_');define('_DB_PASSWD_', 'example');define('_DB_TYPE_', 'MySQL');define('_COOKIE_KEY_', 'example');define('_COOKIE_IV_', 'ppRuJrzx');define('_PS_VERSION_', '1.1.0.5'); Link to comment Share on other sites More sharing options...
Fazza09 Posted February 18, 2009 Author Share Posted February 18, 2009 Thanks for a quick reply!There is nothing to do with the database in the file. There is no mention of anything begining with DB_NAME, DB_SERVER, DB_USER or anything with DB_ at all. 1 Link to comment Share on other sites More sharing options...
prestabase Posted February 18, 2009 Share Posted February 18, 2009 You may need to upload the PrestaShop zip archive again and extract. Also, it may help to get a host that will do this for you ; ) Link to comment Share on other sites More sharing options...
nedu Posted November 7, 2010 Share Posted November 7, 2010 @FAZZA09Whith all due respect, if you are looking for the file settings.inc.php it is impossibleto do not find the strings indicated above.All you have to do is to put the new values for your new database.Pay atention to the database IP or location, for example for me worked better when instead "localhost"I put there the IP.If you are saying that in rest, the db name and pass are the same all you have to do is to goin cPanel to mySQL admin and restore the saved dbase.After that, the connection will be established and, voila!, your old shop in its new host. Link to comment Share on other sites More sharing options...
henriihof Posted March 17, 2012 Share Posted March 17, 2012 Hi, I am facing same "blank page" problems but with different error message First I make a database back up at original website, Then I install a new prestashop on a new server. It works wells After that, I restore backup.sql nto new database by mysql > source backup.sql It displayed without any error, but then the new website is not accessible either from front end or back office, only a blank page is shown. Database name, user name, and password are with different at different servers. But I table names at those two servers are same. After I turn on debug, I got following error "Notice: Use of undefined constant _RIJNDAEL_KEY_ - assumed '_RIJNDAEL_KEY_' in /html/prestashop/classes/Cookie.php on line 76 Notice: Use of undefined constant _RIJNDAEL_IV_ - assumed '_RIJNDAEL_IV_' in /html/prestashop/classes/Cookie.php on line 76 Fatal error: Call to undefined function mcrypt_decrypt() in /html/prestashop/classes/Rijndael.php on line 61" Anyone could help? Link to comment Share on other sites More sharing options...
henriihof Posted March 17, 2012 Share Posted March 17, 2012 I tested with setting up a new database with same user name, password, but problems is still the same. Does it have something to do with _COOKIE_KEY_ _COOKIE_IV_ values at config/settings ) What should be the right value for above 2 fields? How to generate those? Link to comment Share on other sites More sharing options...
DIT Posted March 18, 2012 Share Posted March 18, 2012 Hi Henriihof, First of all you got an error on "rijandel_key" that is a setup of "performances" so right now it is difficult to solve it because you must access your BO, so my suggestion is to chenage the way: You have twisted things (new install and DB) too much so right now your situation is not clear at all. I hope that you have a backup (ps files and DB) so my suggestion is: 1) Delete new installation and copy your previous PS (backup) files on your web folder 2) Clean or delete your database, what you have right now on your web server. 3) Create an empty DB using same NAME, USER, PASSWORD as at the beginning 4) Restore your new DB with your BD Backup 5) Check your restored settings.inc.php that must contain same details of point 3 I did such procedure with 2 ps sites (moving from 1 server to another one) and everythings was fine. Ciao Davide http://www.universweb.biz Link to comment Share on other sites More sharing options...
somits1 Posted September 21, 2016 Share Posted September 21, 2016 Hi, I am using prestashop 1.5.6 english for my website http://www.slmobileprice.com Could you please tell me how to move my website from windows plesk to linux operating system. (want to change host server). so please tell me requirements to change. thanks, Somit Link to comment Share on other sites More sharing options...
Naldinho Posted October 11, 2016 Share Posted October 11, 2016 You may want to package your stores content on the server first, then download via FTP. Once you upload via FTP to your new host simply extract the package. This will ensure all files were downloaded/uploaded and maintain the same permissions. Can you elaborate on what you mean by package? I will be moving my site from a shared hosting environment to a VPS in a few days. Link to comment Share on other sites More sharing options...
somits1 Posted October 21, 2016 Share Posted October 21, 2016 Hi, I am using prestashop 1.5.6 english for my website http://www.slmobileprice.com Could you please tell me how to move my website from windows plesk to linux operating system (Godaddy). (want to change host server). so please tell me requirements to change. thanks, Somit 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