Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL installed but not working?


mslodge

Recommended Posts

Hi I'm a newbie.

 

I have installed my ssl certificate. When i got to https://montecitosequoia.com/giftshop/catalog/login.php I see that the page is secure. However when I click on any of the links to move to my account or shopping cart it is no longer secure. Am I missing something.

 

I have enabled my ssl on the config.php files both in admin/includes and includes/

 

Is there another step i'm missing.

 

Thanks! - Kim

Link to comment
Share on other sites

Did you buy a certificate for

 

montecitosequoia.com

 

or

 

www.montecitosequoia.com

 

See

 

http://www.oscommerce.com/forums/index.php?showtopic=233458

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

Did you buy a certificate for

 

montecitosequoia.com

 

or

 

www.montecitosequoia.com

 

See

 

http://www.oscommerce.com/forums/index.php?showtopic=233458

 

 

I think I got it resolved, but now have a new problem. My ssl cert was purchased for montecitosequoia.com with no "www".

 

I think I'm getting closer to a solution. Because when I click on "My Accounts" it tries to go to this secure url:

https://montecitosequoia.comlogin.php

 

but it's suppose to go to https://montecitosequoia.com/giftshop/catalog/account.php

 

Where do I go to fix this?

 

Thank Geoffrey for the reply!

 

- Kim

Link to comment
Share on other sites

I think I got it resolved, but now have a new problem. My ssl cert was purchased for montecitosequoia.com with no "www".

 

I think I'm getting closer to a solution. Because when I click on "My Accounts" it tries to go to this secure url:

https://montecitosequoia.comlogin.php

 

but it's suppose to go to https://montecitosequoia.com/giftshop/catalog/account.php

 

Where do I go to fix this?

 

Thank Geoffrey for the reply!

 

- Kim

 

 

I've been reading that thread for two days now...trying to see if anything can resolve my problems before posting... but I'm about to pull my hair out!!!

Link to comment
Share on other sites

I've been reading that thread for two days now...trying to see if anything can resolve my problems before posting... but I'm about to pull my hair out!!!

Could you post your configure.php file?

Do NOT include the database portion.

Link to comment
Share on other sites

Could you post your configure.php file?

Do NOT include the database portion.

 

/includes/configure.php

 

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

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

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

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

define('HTTPS_COOKIE_DOMAIN', '');

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

define('HTTPS_COOKIE_PATH', '');

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

define('DIR_WS_HTTPS_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', '/hsphere/local/home/smatechu/montecitosequoia.com/giftshop'.'/catalog/');

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

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

 

/admin/includes/configure.php

 

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

define('HTTP_CATALOG_SERVER', 'https://'.'montecitosequoia.com/');

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

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

define('DIR_FS_DOCUMENT_ROOT', '/hsphere/local/home/smatechu/montecitosequoia.com/giftshop'.'/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/giftshop'.'/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/hsphere/local/home/smatechu/montecitosequoia.com/giftshop'.'/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/giftshop'.'/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/hsphere/local/home/smatechu/montecitosequoia.com/giftshop'.'/catalog/'); // 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/');

 

Thanks!

Link to comment
Share on other sites

Try this.

 

/includes/configure.php

 

define('HTTP_SERVER', 'http://www.montecitosequoia.com');

define('HTTPS_SERVER', 'https://montecitosequoia.com');

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

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

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

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_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', '/hsphere/local/home/smatechu/montecitosequoia.com/giftshop/catalog/');

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

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

 

/admin/includes/configure.php

 

define('HTTP_SERVER', 'https://www.montecitosequoia.com');

define('HTTP_CATALOG_SERVER', 'https://montecitosequoia.com');

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

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

define('DIR_FS_DOCUMENT_ROOT', '/hsphere/local/home/smatechu/montecitosequoia.com/giftshop/catalog/');

define('DIR_WS_ADMIN', '/giftshop/catalog/admin/');

define('DIR_FS_ADMIN', '/hsphere/local/home/smatechu/montecitosequoia.com/giftshop/catalog/admin/');

define('DIR_WS_CATALOG', '/giftshop/catalog/');

define('DIR_FS_CATALOG', '/hsphere/local/home/smatechu/montecitosequoia.com/giftshop/catalog/');

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

 

Is there any reason why you chose osCommerce MS2.x instead of the latest release which is RC2A?

Also, go to your webhost cpanel and password protect your admin.

Link to comment
Share on other sites

Try this.

 

/includes/configure.php

 

define('HTTP_SERVER', 'http://www.montecitosequoia.com');

define('HTTPS_SERVER', 'https://montecitosequoia.com');

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

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

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

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_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', '/hsphere/local/home/smatechu/montecitosequoia.com/giftshop/catalog/');

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

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

 

/admin/includes/configure.php

 

define('HTTP_SERVER', 'https://www.montecitosequoia.com');

define('HTTP_CATALOG_SERVER', 'https://montecitosequoia.com');

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

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

define('DIR_FS_DOCUMENT_ROOT', '/hsphere/local/home/smatechu/montecitosequoia.com/giftshop/catalog/');

define('DIR_WS_ADMIN', '/giftshop/catalog/admin/');

define('DIR_FS_ADMIN', '/hsphere/local/home/smatechu/montecitosequoia.com/giftshop/catalog/admin/');

define('DIR_WS_CATALOG', '/giftshop/catalog/');

define('DIR_FS_CATALOG', '/hsphere/local/home/smatechu/montecitosequoia.com/giftshop/catalog/');

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

 

Is there any reason why you chose osCommerce MS2.x instead of the latest release which is RC2A?

Also, go to your webhost cpanel and password protect your admin.

 

 

Hi BryceJr

 

I tried the the above revision and now my images are not loading and my links don't work.

Link to comment
Share on other sites

Hi BryceJr

 

I'm not sure what I did but it's working now. I took your advice and went to my cpanel and password protected my admin directory. However now when I go to http://montecitosequoia.com/giftshop/catalog/admin to access my admin i get an error and no login prompt. HELP! Sorry I'm such a pain. Thanks for all your help.

 

- Kim

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...