Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

We need more clear config.ph


himmetcota

Recommended Posts

Hi all,

 

I am confused with config.php.

I do not want to use install procedure since i wanna learn from the base oscommerce.

I need a configure.php line by line explained. The current explanation comes fuzzy in some parts. For example in DIR_WS_HTTPS_CATALOG what should i say?

i have httpsdocs therefore i should write down /httpsdocs/

But it is webserver directory.. I am confused ;)

 

Take care all..

Himmet

Link to comment
Share on other sites

The entry you are looking for should be the directory of your 'cart'. Eg if the directory you uploaded to is 'catalogue' then enter

-------------

define('HTTP_SERVER', 'http://www.mysite.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.mysite.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '');

define('TEMPFIX_DIR_WS_CATALOG', 'http://www.mysite.com/catalog/');

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

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

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/');

---------------

 

The above is for the configure.php in the 'includes' directory. There is another slightly different one in 'admin/includes'.

 

I appreciate that you want to configure manually, but unless you want to read the WIKI docs before doing the install, I suggest you create a second cart (eg testcart) using a second database (if your provider lets you have one) and do the 'install'. You can then go through the admin configuration and then check the results in the configure files.

 

A second cart is also useful for checking/making mods to test before transfering them to your live cart.

 

Hope this helps

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...