Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moving oscommerce from a development server to a live hosted site


Ramsay

Recommended Posts

I have been working locally with oscommerce on my development server. Now I want to move the site onto my live server with SSL. I have not done this before any advice would be appreciated :blink: .

 

-What files will I need to change for database settings?

-Is there any other hidden problems that I may experience?

-Is there anything I need to edit in my mysql dump from my development server before running it on my live server?

-My development server is not running SSL is there an easy way to change this for my live server?

 

Cheers,

Ramsay

Contributions Installed: STSv43 (Simple Template System), Protx Direct v3.0a, Secure Admin Login - Logout 1.5, UK Royal Mail & Overseas Shipping v 1.2 (FULL), Order Editor v2.8.2 With some Bug Fix - New, Ultimate SEO URLs v2.2.1, Easy Populate 2.76d-MS2 (with attributes)

Link to comment
Share on other sites

I have been working locally with oscommerce on my development server. Now I want to move the site onto my live server with SSL. I have not done this before any advice would be appreciated :blink: .

 

-What files will I need to change for database settings?

-Is there any other hidden problems that I may experience?

-Is there anything I need to edit in my mysql dump from my development server before running it on my live server?

-My development server is not running SSL is there an easy way to change this for my live server?

 

Cheers,

Ramsay

 

 

it is straight forward.

just make sure the configure.php files in the catalog & admin sections are correct for your new server & database details.

i had a problem when i moved to the live server with sessions, due to incorrect fileserver location of the catalog (DIR_FS_CATALOG). strangely, it took a while to find this location.

you'll see this problem in action when you try to checkout the goods, and the application returns to the login screen.

 

upload the contents of the development database into the live database without editing.

 

SSL is enabled by adding the location of your https server, and changing the SSL switch from false to true:

 
 define('HTTP_SERVER', 'http://www.mysite.com');
 define('HTTPS_SERVER', 'https://mysite.com');
 define('ENABLE_SSL', true);
 define('HTTP_COOKIE_DOMAIN', 'www.mysite.com');
 define('HTTPS_COOKIE_DOMAIN', 'mysite.com');

 

good luck.

j.

Link to comment
Share on other sites

Great cheers :thumbsup:

 

I have the 'Admin Login - Logout 1.5_1' contribution installed for SSL logins to the admin area. Will need to have a look into that being integrated into my live shop. Thats the only other problem i see perhaps.

 

-R

Contributions Installed: STSv43 (Simple Template System), Protx Direct v3.0a, Secure Admin Login - Logout 1.5, UK Royal Mail & Overseas Shipping v 1.2 (FULL), Order Editor v2.8.2 With some Bug Fix - New, Ultimate SEO URLs v2.2.1, Easy Populate 2.76d-MS2 (with attributes)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...