Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moving osCommerce


Vesper

Recommended Posts

I just bought a new host for my site, so I'm wondering what steps do I have to do to successfuly make the move?

 

On my new host, I already installed oscommerce, changed the configure.php to fit the right settings for my mysql database, and I uploaded all the files from my old host to the new one.

 

The problem I'm having is that on the admin pages the catalog appears correct, but when I view my page as a typical user it uses the default catalog.

Link to comment
Share on other sites

I found some important information, when I click the "catalog" button on the admin page that allows me to add/remove products, it takes me back to my old site and not the new one. Where is the catalog located and how should i fix this?

Link to comment
Share on other sites

you have to edit your configure.php file in the admin area. however, you can not do any adding of products, etc until DNS propogates (ie no longer see the old server/site)

Link to comment
Share on other sites

I understand what you're saying, but I don't know what values to enter. . .

 

define('HTTP_SERVER', 'http://s123949004.onlinehome.us'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://s123949004.onlinehome.us');

define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/bearswim.com/httpdocs/oscomerce/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/'); // absolute path required

define('DIR_FS_CATALOG', '/home/httpd/vhosts/bearswim.com/httpdocs/oscomerce/catalog/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

thats what my admin config looks like, here's my situation: before my oscomerce site was just a folder on another site. it's location was /oscomerce/catalog/. However, when I check the config file it shows /home/httpd/vhosts/bearswim.com/httpdocs/oscomerce/catalog/ (bearswim.com was my old domain, my new temporary one is s123949004.onlinehome.us)

 

Is there a way for me to have oscomerce "reset" these values to fit my server. Should I just reinstall oscommerce and copy everything over from my old site except the admin, then just restore the database?

Link to comment
Share on other sites

define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/bearswim.com/httpdocs/oscomerce/catalog/'); // where the pages are located on the server

is

define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/bearswim.com/httpdocs'); // where the pages are located on the server

 

ask your host for your correct document root path

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...