Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cookis(?) Problem


Guest

Recommended Posts

Posted

@@Gergely

 

Hi

 

Many thanks for taking a look.

The email link ishttps://grandpas.co.nz/account_history_info.php?order_id=3528

 

Please excuse my ignorance, but what is

.."And what is your shop Session Configure?"

 

Again many thanks

 

Kind regards

Grandpa

Step in site admin->configuration->Sessions and you will see the values

:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Posted

@@Gergely

Hi Gergley

 

Here'e the details. Many thanks for taking a look.

 

Session Directory  /home/grandp/public_html/includes/work/  
Force Cookie Use  False 
Check SSL Session ID  False
Check User Agent  False
Check IP Address  False
Prevent Spider Sessions  True 
Recreate Session True

 

Kind regards

Grandpa

Posted

Cookies not forced so it could be problem

:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Posted

@@Gergely

 

Hi

 

Forced cookies to true, However I was then unable to log in to the site, as I kept getting the cookies.php window opening. Tried on FF, Chrome,, IE change the settings as instructed in cookies.php file, but still no go. Think I'll just forget it.

 

Many thanks for your help.

Posted

Probably you have a logical error in your codebase.

Clarify this by a clean install and testing with an official oscommerce version. If the offical version is good your codebase is bad. Another way could be a server config problem.

:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Posted

@@Jack_mcs

Hi Jack

 

Just checking to make sure Ive got this right

 

define('HTTP_SERVER', 'http://www.grandpas.co.nz');
  define('HTTPS_SERVER', 'https://grandpas.co.nz');
  define('ENABLE_SSL', true);
  define('HTTP_COOKIE_DOMAIN', '.www.grandpas.co.nz'); 
  define('HTTPS_COOKIE_DOMAIN', '.www.grandpas.co.nz'); 

 

replaces the first 5 rows in standard config file

 

The following is an option and replaces the first 9 lines including the following 2 lines

define('DIR_WS_HTTP_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/');
 
define('HTTP_SERVER', 'https://www.grandpas.co.nz');
  define('HTTPS_SERVER', 'https://www.grandpas.co.nz');
  define('ENABLE_SSL', true);
  define('HTTP_COOKIE_DOMAIN', '');
  define('HTTPS_COOKIE_DOMAIN', '');
  define('HTTP_COOKIE_PATH', '');
  define('HTTPS_COOKIE_PATH', '');
  define('HTTP_CATALOG_SERVER', 'http://www.grandpas.co.nz');
  define('HTTPS_CATALOG_SERVER', 'https://www.grandpas.co.nz');

 

or am I barking up the wrong tree.

 

Here's what Im currently using.

define('HTTP_SERVER', 'http://www.grandpas.co.nz');
  define('HTTPS_SERVER', 'https://grandpas.co.nz');
  define('ENABLE_SSL', true);
  define('HTTP_COOKIE_DOMAIN', '.grandpas.co.nz');  
  define('HTTPS_COOKIE_DOMAIN', '.grandpas.co.nz');  
  define('HTTP_COOKIE_PATH', '/');
  define('HTTPS_COOKIE_PATH', '/');
  define('DIR_WS_HTTP_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/');
  define('DIR_WS_IMAGES', 'images/');

Again many thanks for your help

 

Kind regards

 

Grandpa

Posted

@@Jack_mcs

Hi Jack

 

My apologies

 

Do you suggest I use this

  Option 1;
define('HTTP_SERVER', 'http://www.grandpas.co.nz');
  define('HTTPS_SERVER', 'https://www.grandpas.co.nz');
  define('ENABLE_SSL', true);
  define('HTTP_COOKIE_DOMAIN', '.www.grandpas.co.nz');  
  define('HTTPS_COOKIE_DOMAIN', '.www.grandpas.co.nz');  
  define('HTTP_COOKIE_PATH', '/');
  define('HTTPS_COOKIE_PATH', '/');
  define('DIR_WS_HTTP_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/');
  define('DIR_WS_IMAGES', 'images/');
 

or this option 2;

define('HTTP_SERVER', 'https://www.grandpas.co.nz');
  define('HTTPS_SERVER', 'https://www.grandpas.co.nz');
  define('ENABLE_SSL', true);
  define('HTTP_COOKIE_DOMAIN', '');
  define('HTTPS_COOKIE_DOMAIN', '');
  define('HTTP_COOKIE_PATH', '');
  define('HTTPS_COOKIE_PATH', '');
  define('HTTP_CATALOG_SERVER', 'http://www.grandpas.co.nz');
  define('HTTPS_CATALOG_SERVER', 'https://www.grandpas.co.nz');
  define('DIR_WS_IMAGES', 'images/');

Many thanks

 

Grandpa

Posted

Hi Jack

 

Thanks for your reply

 

Yes, that is how I would set it up.

Do you mean option 1 or option 2

 

Cheers

 

Grandpa

Archived

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

×
×
  • Create New...