Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

could someone sheck my configure.php


14steve14

Recommended Posts

Posted

People tell that my configure php file is wrong, but i cannot see where.

 

The site works propery. The only thing i have noticed is that sometimes i get a oscid in the title, and sometimes i dont. Could this be caused by this file. I sometimes also have the categories box contents dissapear, but if you close the site down and start again it comes back, only to vanish when you click on any page.

 

For those of you willing to look here is the top part of the file.

 

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

  define('HTTP_SERVER', 'http://threecountiescomputers.co.uk'); // eg, http://localhost - should not be empty for productive servers

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

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

  define('HTTP_COOKIE_DOMAIN', 'www.threecountiescomputers.co.uk');

  define('HTTPS_COOKIE_DOMAIN', 'www.threecountiescomputers.co.uk');

  define('HTTP_COOKIE_PATH', '/');

  define('HTTPS_COOKIE_PATH', '/');

  define('DIR_WS_HTTP_CATALOG', '/');

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

 

  define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

  define('DIR_FS_CATALOG', '/homepages/40/d116738499/htdocs/');

  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

Site can be viewed here MY SITE

 

Any help graetly received.

 

Steve

REMEMBER BACKUP, BACKUP AND BACKUP

Posted

To stop the Categories box from disappearing set Use Cache to 'false' in your osCommerce control panel.

 

As you have a full ssl certificate, correctly functioning, you can set Force Cookie Use to 'true' in Configuration --> Sessions. Session ids will then be stored in cookies on the users computer. If people have normal security settings on their computer the use of cookies will not cause a problem. It will only cause a problem for those few people who have set their Internet Zone security to High in their browser settings - but they are few and far between.

 

By setting Force Cookie Use to 'true' you will also (as a by-product) prevent any spider form generating session ids. A good thing.

 

I don't know what payemnt processor your site uses - PayPal would be okay with Force Cookie Use - but some payment processors (HSBC, Barclays) do require that you send them a session id.

 

Vger

Posted
As you have a full ssl certificate, correctly functioning, you can set Force Cookie Use to 'true' in Configuration --> Sessions. Session ids will then be stored in cookies on the users computer.

 

I have tried this, and then i cannot add any products to the basket. The add to cart button just leads to a page that says no products in basket.

 

I am glad to hear that the ssl cert. is working properly, as some people are getting a warning message. I have altered the define HTTPS_SERVER to define('HTTPS_SERVER', 'https://threecountiescomputers.co.uk'); as it had the www. before it. That cured that problem.

 

To stop the Categories box from disappearing set Use Cache to 'false' in your osCommerce control panel.

 

I have now set this to false.

REMEMBER BACKUP, BACKUP AND BACKUP

Archived

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

×
×
  • Create New...