Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newbie trying to understand configure.php


spjrr

Recommended Posts

Posted

Am working on moving from poor hosting service (old html site) and am learning the new the php thing. In playing with the configure.php have found after several days of searching not just this forum but others as well, what is the significance of the WS and FS in the definitions. Below is examples from my /admin/includes/configure.php.

 

 

define('HTTP_SERVER', 'http://67.212.168.58');

define('HTTP_CATALOG_SERVER', 'http://67.212.168.58');

define('HTTPS_CATALOG_SERVER', 'https://spjrr.com');

define('ENABLE_SSL_CATALOG', false);

define('DIR_FS_DOCUMENT_ROOT', '/home/~marksmit/public_html/');

define('DIR_WS_ADMIN', '/~marksmit/admin/');

define('DIR_FS_ADMIN', '/home/marksmit/public_html/admin/');

define('DIR_WS_CATALOG', '/~marksmit/');

define('DIR_FS_CATALOG', '/home/marksmit/public_html/');

 

Am to the point of adding a test product to a category and am getting permission errors when adding a photo to the product. I am thinking it is a path issue and I think understanding the above question will solve my problems. I am at this point working with a temp domain (pointing to an assigned ip) as our other site is active. My goal is too get things working in the temp environment and just swing to the new dns servers at a later date.

 

Thanks,

Mark Smith

Archived

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

×
×
  • Create New...