Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

configure.php to catalog - need a little help


code dance

Recommended Posts

I accidentally uploaded to the catalog directory a configure.php file that was for the admin directory. I realized my error after a while.

 

Some of these lines would have been configured during the install process most likely. Could someone help me with these, give me an idea of what paths should be here:

 

define('HTTP_COOKIE_DOMAIN', '---');

define('HTTPS_COOKIE_DOMAIN', '---');

define('HTTP_COOKIE_PATH', ''---);

define('HTTPS_COOKIE_PATH', '---');

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

define('DIR_WS_HTTPS_CATALOG', '?full path to secure/catalog/');

 

Thanks.

Link to comment
Share on other sites

define('HTTP_COOKIE_DOMAIN', '---');

define('HTTPS_COOKIE_DOMAIN', '---');

define('HTTP_COOKIE_PATH', ''---);

define('HTTPS_COOKIE_PATH', '---');

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

define('DIR_WS_HTTPS_CATALOG', '?full path to secure/catalog/');

In mine, the HTTP and HTTPS are the same in all three cases. Cookie domain is the same as HTTP_SERVER minus the http://. Cookie path is the same as DIR_WS_HTTP_CATALOG.

 

Hth,

Matt

Link to comment
Share on other sites

I seem to be having a problem with my new install of MS2 -

in the http://www.shopnz.co.nz/catalog/index.php viewed on the browser it shows as an examle when I click on a category link

 

http://www.shopnz.co.nzdir_ws_http_catalog...dex.php/cPath/1

 

For some reason its not puting /catalog/ into the path

 

Can someone help me with this... Something is stuffed up in the configure.php and I can seem to get it correct

 

here is what I have

 

define('HTTP_SERVER', 'http://www.shopnz.co.nz');

define('HTTPS_SERVER', 'https://www7.secure-website.net');

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

define('HTTP_COOKIE_DOMAIN', 'www.shopnz.co.nz');

define('HTTPS_COOKIE_DOMAIN', '~shopnz');

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

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

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

define('DIR_WS_HTTPS_CATALOG', '/~shopnz/catalog/');

 

I would appreciate some help.. thanks

Link to comment
Share on other sites

I just followed the suggestion by Matt above and this seems to work. I am testing this on a new server/hosting service. We have not yet changed the nameserver. So, it works up until click checkout when it reverts to the domain name's nameserver - then get an error page. This is normal and I am going to trust that this configure is correct for the time being.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...