Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cookie Usage!!


ritun

Recommended Posts

Hi, we have recently moved servers. We got a new SSL Cert installed in the New server. Everything went okay with our Catalog installation (MS2.2). Now we are facing a peculiar problem whil navigating to SSL pages like (login.php or account.php). We get a 'Cookie Usage' page every time which says the following:

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

Cookie Usage

 

We have detected that your browser does not support cookies, or has set cookies to be disabled.

 

To continue shopping online, we encourage you to enable cookies on your browser.

 

For Internet Explorer browsers, please follow these instructions:

 

Click on the Tools menubar, and select Internet Options

Select the Security tab, and reset the security level to Medium

We have taken this measurement of security for your benefit, and apologize upfront if any inconveniences are caused.

 

Please contact the store owner if you have any questions relating to this requirement, or to continue purchasing products offline.

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

 

 

We have tried to change the Browser security etc.a s per the instruction on the page, but :( it again comes to the same page and it's pretty frustrating. :angry:

 

I don't know waht to do. IMO the Cookie path in the 'Config.php' is creating the problem. Please help me to sort this issue. I've spoken to our Hosts and thay say that it's the problem in your Code and they have installed the SLL properly and they can't do anything more than that.. :(

 

The Config.php looks like this:

 

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

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

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

define('HTTP_COOKIE_DOMAIN', 'ttt.ff');

define('HTTPS_COOKIE_DOMAIN', 'securewww.com/~ttt');

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

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

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

define('DIR_WS_HTTPS_CATALOG', '/cart/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', '/home/ttt/public_html/cart/catalog/');

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

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

 

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

 

 

Please, Help needed..ASAP

 

Many Thanks in advance.. :)

Link to comment
Share on other sites

If you've got an ssl certificate installed this can not be correct.

 

define('HTTPS_COOKIE_DOMAIN', 'securewww.com/~ttt');

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

If you've got an ssl certificate installed this can not be correct.

 

define('HTTPS_COOKIE_DOMAIN', 'securewww.com/~ttt');

 

Well the SSL certificate is installed. The way I've shown might not be correct but it's similar to it.

 

Basically the SSL certificate is in the name like this: 'someservername/~foldername'

 

That's the information our Hosts have given us. So it's like this:

 

Our Domain Name: 'somedomainname.com'

 

Our Secured Server: 'someservername/~foldername'

 

Are we facing the problem due to this?

 

Thanks for the reply.

Link to comment
Share on other sites

Well the SSL certificate is installed. The way I've shown might not be correct but it's similar to it.

 

Basically the SSL certificate is in the name like this: 'someservername/~foldername'

 

That's the information our Hosts have given us. So it's like this:

 

Our Domain Name: 'somedomainname.com'

 

Our Secured Server: 'someservername/~foldername'

Then it's not a true dedicated ssl as you implied, it's shared.

 

As to the cookie warning, see:

 

Cookie usage page and shared ssl

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

Then it's not a true dedicated ssl as you implied, it's shared.

 

As to the cookie warning, see:

 

Cookie usage page and shared ssl

I never implied that it's 'Dedicated SSL'. So what shall I do now? Is there any chance of Forced Cookies and Shared SSL co-existing? I tried to search the forum and got irrelevant topics and am not sure what to do. Please advice..

 

Many Thanks..

Link to comment
Share on other sites

Is there any chance of Forced Cookies and Shared SSL co-existing?

Nope. See the post I linked above.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...