Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moving LIVE OSCommerce store to new server


clewist1

Recommended Posts

Posted

Does anyone have any suggestions on how to move an already existing store to a new server? Most of the install instructions around here are for fresh installs. I figured I could just move everything over, then change the links inside the store, and voila! However, I'm running into some problems.

 

First, I can't get my database to link correctly. I'm getting the following error when I try and view my index.php:

1046 - No Database Selected

select configuration_key as cfgKey, configuration_value as cfgValue from configuration

[TEP STOP]

Also, I can't access my admin section. I just get the "Page cannot be found" error.

 

Currently, the links in my new store (all the stuff in the config files) all point to the OLD store. However, I wouldn't think this should be a problem.

 

Anyway, I just didn't know if I needed to run a fresh OSCommerce install, and then copy my existing stuff over that.

 

Any ideas?

Posted

That can be a little trickey to do and I have done both. Move an exsiting store by way of new install and then uploading. That is a problem if you have made adjusments to the original store.

 

If you have made a database dump of both the contents of the database as well as the structure you will need to then upload that information to the new database.

 

Put all of your files on the new server.

 

Then what you will need to do is change the configure.php files in both the catalog/includes folder as well as the admin/includes folder.

 

The issue that I have run in to in the past is that the path to the items needs to be the same in the new store as well as the old one. You will see that path information in the includes files.

 

If you have any other question PM me

Archived

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

×
×
  • Create New...