the_el_man Posted November 29, 2012 Share Posted November 29, 2012 Hi, I am moving my website from my test site to the live side. The database is staying put, however the site files are moved over. I followed this http://doc.prestashop.com/display/PS14/System+Administrator+Guide#SystemAdministratorGuide-MovingPrestaShop I have ended up with a 500 error on index. Is there an up to date method to move a site using 1.5 as that guide is for the old version. Thanks Link to comment Share on other sites More sharing options...
tdr170 Posted November 29, 2012 Share Posted November 29, 2012 You will most likely have to edit ps_shop_url in your database and change the shop location. This is different then in previous versions as this was part of settings.inc.php Base URI You may also want to look through ps_configuration and change any links that point to the test server. 1 Link to comment Share on other sites More sharing options...
the_el_man Posted November 30, 2012 Author Share Posted November 30, 2012 (edited) You will most likely have to edit ps_shop_url in your database and change the shop location. This is different then in previous versions as this was part of settings.inc.php Base URI You may also want to look through ps_configuration and change any links that point to the test server. Hey Thanks, My sql search found quite a few instances of the old domain. I take it I should change all of these? EDIT: Turns out most were just referral URL from me. I have change all now, and still getting the 500 error. Any ideas of what I could of missed? If you go on the test server URL it auto directs to the LIVE site 500 page if that helps. Edited November 30, 2012 by the_el_man (see edit history) Link to comment Share on other sites More sharing options...
the_el_man Posted November 30, 2012 Author Share Posted November 30, 2012 (edited) On Advanced Parameters > Configuration > View it has the test server address under store information. How would I change this? The 500 error is: Fatal error: Uncaught Link to database cannot be established: SQLSTATE[HY000] [2005] Unknown MySQL server host 'MY DATABASE ADDRESS' (1) thrown in /websites/123reg/LinuxPackage06/ce/le/br/MYLIVESITEADDRESS/public_html/classes/db/DbPDO.php on line 58 EDIT2: Apparently it is because you cannot have your database on one hosting package and the web domain on another. Edited November 30, 2012 by the_el_man (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted November 30, 2012 Share Posted November 30, 2012 Did you change the addesses under Preferences, SEO & URL's ? 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