Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Migrating OsCommerce to a new web host


vampyr07au

Recommended Posts

Posted

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,

Posted

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

Posted

Mick,

 

No Problem, just ask if you run into problems.

 

 

 

Chris

Posted

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 ?

Posted

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...