Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Ssl Error


albalo

Recommended Posts

HI,

 

My store was working fine untill i activated the SSL . after i activated the SSL you CAN'T make any account or login with any axisting account. It doesn't give you any errors, it just doesn't login or create an account.

 

for example if you try to login, it says "Error: No match for E-Mail Address and/or Password."

 

PLEASE help if you know the problem.

thank you guy so much :thumbsup:

Link to comment
Share on other sites

did you make the settings in catalog/includes/configure.php ? If you post the first few lines we will know if its ok or not, (OF COURSE DO NOT POST THE DATABASE LOGIN SECTION)

 

These are all the line untill the database information. and thank you for helping me

 

<?php

 

/*

 

osCommerce, Open Source E-Commerce Solutions

 

http://www.oscommerce.com

 

 

 

Copyright © 2003 osCommerce

 

 

 

Released under the GNU General Public License

 

*/

 

 

 

// Define the webserver and path parameters

 

// * DIR_FS_* = Filesystem directories (local/physical)

 

// * DIR_WS_* = Webserver directories (virtual/URL)

 

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

 

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

 

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

 

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

 

define('HTTPS_COOKIE_DOMAIN', 'mydomain.org');

 

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', '/home/microsha/public_html/');

 

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

 

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

Link to comment
Share on other sites

Instead of

 

define('HTTP_COOKIE_DOMAIN', 'mydomain.org');
define('HTTPS_COOKIE_DOMAIN', 'mydomain.org');

 

try

 

define('HTTP_COOKIE_DOMAIN', '.mydomain.org');
define('HTTPS_COOKIE_DOMAIN', '.mydomain.org');

 

the addition of the "dot"

Link to comment
Share on other sites

Instead of

 

define('HTTP_COOKIE_DOMAIN', 'mydomain.org');
define('HTTPS_COOKIE_DOMAIN', 'mydomain.org');

 

try

 

define('HTTP_COOKIE_DOMAIN', '.mydomain.org');
define('HTTPS_COOKIE_DOMAIN', '.mydomain.org');

 

the addition of the "dot"

 

I tried the dots like you said, but it didn't make any different.

where do you think the problem is?

because i checked all my files, and when i set the SSL to false in configure.php, the site will work fine.

but when i set the SSL to True, it wont create account or let the existing account login.

Link to comment
Share on other sites

I get a security warning for your SSL pages. The cert belongs to host107.hostmonster.com. If this is a shared cert you will have to ask your host where the proper SSL directory is and then copy your pages over to that directory.

 

That is the most obvious (see if it makes sense to you before changing anything) solution to the problem that I can think of. Check your hosts knowledge base to see if there is any info there (the info is there, do a search for "path ssl" and it will be the first option.

 

You will need to move your files over to the secure directory and then change your configure.php files to reflect the change. If you search the forum for "shared ssl" I am sure you will find a lot better answers than mine on how to do this.

Link to comment
Share on other sites

I get a security warning for your SSL pages. The cert belongs to host107.hostmonster.com. If this is a shared cert you will have to ask your host where the proper SSL directory is and then copy your pages over to that directory.

 

That is the most obvious (see if it makes sense to you before changing anything) solution to the problem that I can think of. Check your hosts knowledge base to see if there is any info there (the info is there, do a search for "path ssl" and it will be the first option.

 

You will need to move your files over to the secure directory and then change your configure.php files to reflect the change. If you search the forum for "shared ssl" I am sure you will find a lot better answers than mine on how to do this.

 

thank you web host, i will try that.

Link to comment
Share on other sites

I get a security warning for your SSL pages. The cert belongs to host107.hostmonster.com. If this is a shared cert you will have to ask your host where the proper SSL directory is and then copy your pages over to that directory.

 

That is the most obvious (see if it makes sense to you before changing anything) solution to the problem that I can think of. Check your hosts knowledge base to see if there is any info there (the info is there, do a search for "path ssl" and it will be the first option.

 

You will need to move your files over to the secure directory and then change your configure.php files to reflect the change. If you search the forum for "shared ssl" I am sure you will find a lot better answers than mine on how to do this.

 

IT worked with the proper SSL directory.

thank you web host

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...