Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HTTPS problem


charlieb in ct

Recommended Posts

Posted

just setting up the store front.

If I log on as a new customer instead of the owner, I automatically get moved from the HTTP address to the HTTPS address .. .which is good EXCEPT that I also get the default home page, instead of the home page that I configured in the HTTP folder.

 

What am I doing wrong? How to I get the info to show up correctly when in HTTPS?

 

thanks

charlie

Posted

My guess is you have the wrong info in you configure.php files. Your catalog will only go where you configured it to go.

 

 

just setting up the store front.

If I log on as a new customer instead of the owner, I automatically get moved from the HTTP address to the HTTPS address .. .which is good EXCEPT that I also get the default home page, instead of the home page that I configured in the HTTP folder.

 

What am I doing wrong? How to I get the info to show up correctly when in HTTPS?

 

thanks

charlie

Posted
My guess is you have the wrong info in you configure.php files. Your catalog will only go where you configured it to go.

 

The catalog seems to be OK ... I lose the right and left columns - they go back to default .. and the test on the home page... that also reverts to the default home page...

 

I'll take a look at the configure.php file... I didn't knowingly change anything there ...

 

thanks

 

 

charlie

Posted
My guess is you have the wrong info in you configure.php files. Your catalog will only go where you configured it to go.

 

 

guess this is what you mean (copy/paste below) .. what should it say here??

 

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

define('HTTPS_SERVER', 'https://bali.globat.com/~wecyclect.org'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'wecyclect.org');

define('HTTPS_COOKIE_DOMAIN', 'bali.globat.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

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

define('DIR_WS_HTTPS_CATALOG', '/shop/');

define('DIR_WS_IMAGES', 'images/');

 

many thanks.

charlie

Posted

I could not get to your catalog so all your configure.php is incorrect as you have it in a folder on the server. The installer know where the catalog was located so probably someone make changes during install or after. Try this.

 

 

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

define('HTTP_COOKIE_DOMAIN', 'http://www.wecyclect.org');

define('HTTPS_COOKIE_DOMAIN', 'htts://www.wecyclect.org'); or where your host tells you the https link should be

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

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

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

define('DIR_WS_HTTPS_CATALOG', 'yourcatalog');

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

 

 

 

 

 

 

 

guess this is what you mean (copy/paste below) .. what should it say here??

 

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

define('HTTPS_SERVER', 'https://bali.globat.com/~wecyclect.org'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'wecyclect.org');

define('HTTPS_COOKIE_DOMAIN', 'bali.globat.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

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

define('DIR_WS_HTTPS_CATALOG', '/shop/');

define('DIR_WS_IMAGES', 'images/');

 

many thanks.

charlie

Posted
I could not get to your catalog so all your configure.php is incorrect as you have it in a folder on the server. The installer know where the catalog was located so probably someone make changes during install or after. Try this.

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

;

 

the folder that contains oscommerce is www.wecyclect.org/shop and the secure folder is also named "shop"

 

 

thanks

 

charlie

Posted

Yah, sorry about the https false, just an over site.

 

Try this and don't forget there are 2 configure.php files to change.

 

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

define('HTTP_COOKIE_DOMAIN', 'http://www.wecyclect.org');

define('HTTPS_COOKIE_DOMAIN', 'htts://www.wecyclect.org');

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

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

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

define('DIR_WS_HTTPS_CATALOG', 'shop');

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

 

 

The images and the ssl do not wash through the https://bali.globat.com/~wecyclect.org/shop...es/cemetery.jpg file even if you remove the ~ between the com/~wcyclect.org

 

there are here

 

http://www.wecyclect.org/shop/images/cemetery.jpg

 

but your ssl is not at

 

 

 

 

 

the folder that contains oscommerce is www.wecyclect.org/shop and the secure folder is also named "shop"

 

 

thanks

 

charlie

Posted
Yah, sorry about the https false, just an over site.

 

Try this and don't forget there are 2 configure.php files to change.

 

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

define('HTTP_COOKIE_DOMAIN', 'http://www.wecyclect.org');

define('HTTPS_COOKIE_DOMAIN', 'htts://www.wecyclect.org');

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

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

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

define('DIR_WS_HTTPS_CATALOG', 'shop');

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

The images and the ssl do not wash through the https://bali.globat.com/~wecyclect.org/shop...es/cemetery.jpg file even if you remove the ~ between the com/~wcyclect.org

 

there are here

 

http://www.wecyclect.org/shop/images/cemetery.jpg

 

but your ssl is not at

 

 

I just changed this:

 

define('HTTP_COOKIE_DOMAIN', 'HTTP://www.wecyclect.org');

define('HTTPS_COOKIE_DOMAIN', 'HTTPS://www.wecyclect.org');//and got rid of bali.globat.com/~

 

I changed them in httpdoc/shop/includes

httpsdoc/shop/includes

httpdoc/register/includes

httpdoc/register/includes

 

not sure if I should have changed all of them or not ..

 

appreciate all the advice/help

 

charlie

Posted

Well, it is all working now.

 

I don't know anything about shared ssl's and can say I don't like the warning about the ssl's popping up, but if you can live with it then OK.

 

It doesn't look like you have any products for sale and are using it for a sign up for members so it should be ok.

 

Glad you worked it out.

Posted
Well, it is all working now.

 

I don't know anything about shared ssl's and can say I don't like the warning about the ssl's popping up, but if you can live with it then OK.

 

It doesn't look like you have any products for sale and are using it for a sign up for members so it should be ok.

 

Glad you worked it out.

 

 

don't know how to get rid of the ssl warning .. as I think it is part and parcel of the shared ssl feature.

 

yes.. the store is to register for a bicycling/walking event.

 

thanks

 

charlie

Posted

The warning is browser generated. The browser looks for the name on the SSL and matches it with the domain name. If they don't match the browser sends out an allert. Since you wash through your hostings SSL I doubt there is a work around with a shared SSL.

Archived

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

×
×
  • Create New...