Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

from htttp to https not happening


Guest

Recommended Posts

I just had a dedicated SSL installed, which seems to work fine at both https://bellafavori.com/index.html and https://bellafavori.com/store/index.php however when you go to any page other than the index page of my store the geotrust seal no longer shows correctly and in addition if you put something in the cart & go to check out the pages do not go to https. I have both my configure files as follows:

 

in store/includes configure:

 

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

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

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

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

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

 

in admin/includes/configure:

 

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

define('HTTP_CATALOG_SERVER', 'http://bellafavori.com');

define('HTTPS_CATALOG_SERVER', 'https://bellafavori.com');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 

Is there something else I'm supposed to do or is this an error in configuration by my host (which has been an ongoing prob)???

Link to comment
Share on other sites

I just had a dedicated SSL installed, which seems to work fine at both https://bellafavori.com/index.html and https://bellafavori.com/store/index.php however when you go to any page other than the index page of my store the geotrust seal no longer shows correctly and in addition if you put something in the cart & go to check out the pages do not go to https. I have both my configure files as follows:

 

in store/includes configure:

 

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

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

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

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

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

 

in admin/includes/configure:

 

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

define('HTTP_CATALOG_SERVER', 'http://bellafavori.com');

define('HTTPS_CATALOG_SERVER', 'https://bellafavori.com');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 

Is there something else I'm supposed to do or is this an error in configuration by my host (which has been an ongoing prob)???

 

 

I has a similar problem. One thing you could check for is to see if you have another set of config files to set the enable SSL.

 

I had another set of config files in admin/includes/local/ and catalog/includes/local. see this forum: http://www.oscommerce.com/forums/index.php?sho...1162&st=360

 

I also had to re-enter my full SSL cert details in my host control panel as I only added one part of the cert.

Link to comment
Share on other sites

I has a similar problem. One thing you could check for is to see if you have another set of config files to set the enable SSL.

 

I had another set of config files in admin/includes/local/ and catalog/includes/local. see this forum: http://www.oscommerce.com/forums/index.php?sho...1162&st=360

 

I also had to re-enter my full SSL cert details in my host control panel as I only added one part of the cert.

 

 

Oh, ok I'll go check on that thanks.

 

I'm wondering if it also have anything to do with adding the www to url??????

 

I'm also now getting this scary thing at the top of my pages:

 

"Warning: I am able to write to the configuration file: /home/users/web/b1104/sl.bellafavori/public_html/store/includes/configure.php. This is a potential security risk - please set the right user permissions on this file."

 

I don't know what the permissions are supposed to be and I seem to be unable to ftp all of a sudden :angry: So I'm unable to change the permissions anyway, unless there's a way to do it in admin.

Link to comment
Share on other sites

Oh, ok I'll go check on that thanks.

 

I'm wondering if it also have anything to do with adding the www to url??????

 

I'm also now getting this scary thing at the top of my pages:

 

"Warning: I am able to write to the configuration file: /home/users/web/b1104/sl.bellafavori/public_html/store/includes/configure.php. This is a potential security risk - please set the right user permissions on this file."

 

I don't know what the permissions are supposed to be and I seem to be unable to ftp all of a sudden :angry: So I'm unable to change the permissions anyway, unless there's a way to do it in admin.

 

 

I just checked, I don't have any config files in local, not in admin/includes or in store/inclues

Link to comment
Share on other sites

It looks like your cert was issued with www. (https://www.bellafavori.com/store/index.php)

 

Try changing the https server details in your config files to include the www. in the domain name.

 

I changed the permissions on the config files which got rid of the warning but now look at the mess I have:

https://www.bellafavori.com/store/

 

I also added "www" to the config files, but I have the mess with or without it.

 

I ordered my cert for www.bellafavori.com - that should include the main site & the store, I would assume????

Link to comment
Share on other sites

I'm assuming I have something wrong here somewhere??

 

store/includes/configure.php

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.bellafavori.com'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.bellafavori.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','bellafavori.com');
 define('HTTPS_COOKIE_DOMAIN', 'bellafavori.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', 'bellafavori/public_html/store/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

store/admin/includes/configure.php

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.bellafavori.com'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.bellafavori.com');
 define('HTTPS_CATALOG_SERVER', 'https://www.bellafavori.com');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', 'bellafavori/public_html/store/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/store/admin/'); // absolute path required
 define('DIR_FS_ADMIN', 'bellafavori/public_html/store/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/store/'); // absolute path required
 define('DIR_FS_CATALOG', 'bellafavori/public_html/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/');

 

 

I'm dazed & confused & I have no idea what to do...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...