Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customers can't login with https


kamkaz

Recommended Posts

Posted

Hi there,

First, thank you for reading.

 

We recently moved our store from non-ssl to a new domain and to use ssl. Now, we are finding that users can't click on the 'log yourself in' link or get into their accounts. It was working at one point I believe. I know I would have tested it.

 

The store is here: http://sozodistributing.com/store/

 

and our configure.php files look like this:

 

  
 define('HTTP_SERVER', 'http://sozodistributing.com'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://secure.sozodistributing.com'); // eg, [url="https://localhost"]https://localhost[/url] - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'sozodistributing.com');
 define('HTTPS_COOKIE_DOMAIN', 'secure.sozodistributing.com');

 

Any suggestions would be great.

Posted

Who told you to use the secure.yourdomain.com

 

 

I think it is https://www.sozodistributing.com for the ssl.

 

http://sozodistributing.com/store/images/t...-B-015_sys2.jpg

 

but your files are read only. You need to change the permissions

 

post the rest of the configure.php file here (with the username and passwork xxed out) and when we resolve your issues you also have one in admin/includes that needs to be changed also.

Posted
Who told you to use the secure.yourdomain.com

I think it is https://www.sozodistributing.com for the ssl.

The hosting guys have a weird setup. This is how they want ssl handled. Weird, I know.

 

http://sozodistributing.com/store/images/t...-B-015_sys2.jpg

but your files are read only. You need to change the permissions

I changed the permissions to 755 on the important stuff.

 

 

post the rest of the configure.php file here (with the username and passwork xxed out) and when we resolve your issues you also have one in admin/includes that needs to be changed also.

 

Here is /store/includes/configure.php

  
  define('HTTP_SERVER', 'http://sozodistributing.com'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://secure.sozodistributing.com'); // eg, [url="https://localhost"]https://localhost[/url] - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'sozodistributing.com');
 define('HTTPS_COOKIE_DOMAIN', 'secure.sozodistributing.com');
 define('HTTP_COOKIE_PATH', '/store/');
 define('HTTPS_COOKIE_PATH', '/store/');
 define('DIR_WS_HTTP_CATALOG', '/store/');
 define('DIR_WS_HTTPS_CATALOG', '/store/');
 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', '/www/store/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', '*********'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', '**********');
 define('DB_SERVER_PASSWORD', '************');
 define('DB_DATABASE', '************');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

 

And /store/admin/includes/configure.php

 
 define('HTTP_SERVER', 'http://sozodistributing.com'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://sozodistributing.com');
 define('HTTPS_CATALOG_SERVER', 'https://secure.sozodistributing.com');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/www/store/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/store/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/www/store/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/store/'); // absolute path required
 define('DIR_FS_CATALOG', '/www/store/'); // absolute path required
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

// define our database connection
 define('DB_SERVER', '*********'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', '**********');
 define('DB_SERVER_PASSWORD', '************');
 define('DB_DATABASE', '************');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

Posted

define('HTTP_COOKIE_DOMAIN', 'sozodistributing.com');

define('HTTPS_COOKIE_DOMAIN', 'secure.sozodistributing.com');

 

 

change to

 

define('HTTP_COOKIE_DOMAIN', 'sozodistributing.com');

define('HTTPS_COOKIE_DOMAIN', 'sozodistributing.com');

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted

Well that is not how you need to configure you configure.php files.

 

the https://secure.sozodistributing.com does not work.

 

Here is your log in page

 

https://sozodistributing.com/store/login.php

 

but your images are trying to go to

 

https://secure.sozodistributing.com/store/images/header_account.gif and can not be found.

 

 

change both configure.php files to read as follows and your site is fixed.

 

 

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

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

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

define('HTTP_COOKIE_DOMAIN', 'sozodistributing.com');

define('HTTPS_COOKIE_DOMAIN', 'sozodistributing.com');

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

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

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

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

Posted
Well that is not how you need to configure you configure.php files.

 

the https://secure.sozodistributing.com does not work.

 

Here is your log in page

 

https://sozodistributing.com/store/login.php

 

but your images are trying to go to

 

https://secure.sozodistributing.com/store/images/header_account.gif and can not be found.

change both configure.php files to read as follows and your site is fixed.

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

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

 

My hosting guys say that they can't change over to _not_ have the subdomain. We have to keep it as : https://secure.sozodistributing.com . Is there a work around?

Posted
My hosting guys say that they can't change over to _not_ have the subdomain. We have to keep it as : https://secure.sozodistributing.com . Is there a work around?

 

Can you run everything through https://secure.sozodistributing.com?

Do, or do not. There is no try.

 

Order Editor 5.0.6 "Ultra Violet" is now available!

For support or to post comments, suggestions, etc, please visit the Order Editor support thread.

Posted
Can you run everything through https://secure.sozodistributing.com?

 

I finally got the images thing to work. I changed my line in admin/includes/configure.php from:

 

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

 

to

 

define('DIR_FS_CATALOG_IMAGES', '../images/');

 

so far so good.

Posted

I would advise anyone that just gives up and truns their site to all https.

Search engine will not search https pages as they are reserved for personal data so they just will not search them.

Guess you know where your ratings go if you do all https.

 

kamkaz,

 

You should get your own dedicated SSL, Most customers will not check out with SSL wornings.

 

 

Can you run everything through https://secure.sozodistributing.com?
Posted

I would advise anyone that just gives up and truns their site to all https.

Search engine will not search https pages as they are reserved for personal data so they just will not search them.

Guess you know where your ratings go if you do all https.

 

kamkaz,

 

You should get your own dedicated SSL, Most customers will not check out with SSL wornings.

 

 

Can you run everything through https://secure.sozodistributing.com?

Archived

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

×
×
  • Create New...