vampyr07au Posted September 20, 2010 Posted September 20, 2010 Is there a quick and easy way to migrate my OsCommerce application to a new web host with all of its data intact ? I don't want to lose the products and customer data that I have already setup and certainly do not want to have to start all over again to create the lists. cheers,
Guest Posted September 20, 2010 Posted September 20, 2010 Mick, 1) Download all the files maintaining the current directory structure. 2) Export your current database to your local machine using phpmyadmin 3) Upload all files to your new hosting account maintaining the current directory structure 4) Import your database to your new hosting account using phpmyadmin 5) change the TWO configure.php files to the correct path of the new servers (hosting and database) 6) Adjust any hard coded items to match the new hosting provider (if any) Chris
Guest Posted September 21, 2010 Posted September 21, 2010 Mick, No Problem, just ask if you run into problems. Chris
vampyr07au Posted September 21, 2010 Author Posted September 21, 2010 After looking at this again I am finding that I have a bit ofa problem and would like some clarification. You advised me to download all the files and the database and then upload them to the new host. I actually did that - took all the files off the old host as a backup and then uploaded them to the new host and imported the existing database. The problem is that this has led to php code errors (as seen in my other posts on this forum) due to differing versions of php being run by web hosts. So I would need to use the new web hosts OsCommerce app and then just import any customised pages or code into this install as this install would be php 5.3 coded already ? correct ? Oh and the customer lists and product lists ... would they be stored in the sql database only or are they also stored within php pages ?
Guest Posted September 21, 2010 Posted September 21, 2010 Mick, If your new hosting provider is running PHP 5.3 and your store has not been updated to be PHP 5.3 compatible then you will need to apply these changes: PHP Compatible Files ALL customer information, orders, sessions and products are stored in the database, so restoring your back up will restore all information for your site. Chris
vampyr07au Posted September 21, 2010 Author Posted September 21, 2010 Excellent thank you very much :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.