robert100 Posted April 7, 2004 Posted April 7, 2004 Hi, In addition to the original install, I switched over to SSL. Meaning, at first I had /osCommerce succesfully running in a http environment. Copied the osCommerce dir over to the httpsdocs dir, and made the following changes to the configure.php files. All works ok, only for one important thing. My Internet Explorer 6.02 won't let me create a new customer. After filling in all the fields at page create_account.php and hit the Next button, it comes back with a blank create_account.php form? Then when this happens and I hit the refresh button, only then it makes the account. I know this must have something to do with the cookies/sessions. With Mozilla 1.4 I have no problems, it creates account right away... Any ideas what I must do? By the way, Force cookies is set to False in admin section. Also when set to True, it does not make any difference..., the problem persists. I installed an SSL [dedicated IP] The certificate has www.domain.nl. Changed the /admin/includes/configure.php into: define('HTTP_SERVER', 'https://www.domain.nl'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'https://www.domain.nl'); define('HTTPS_CATALOG_SERVER', 'https://www.domain.nl'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/domain.nl/httpsdocs'); changed /includes/configure.php into: define('HTTP_SERVER', 'https://www.domain.nl'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.domain.nl'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'domain.nl'); define('HTTPS_COOKIE_DOMAIN', 'domain.nl'); define('HTTP_COOKIE_PATH', '/http://domain.nl/osCommerce/'); define('HTTPS_COOKIE_PATH', '/https://domain.nl/osCommerce/'); You see that some http_server values are https, instead of http. I did this because links inside the admin module would still point to the http dir, instead of the new https/osCommerce dir...?? Best regards, Robert
Guest Posted April 7, 2004 Posted April 7, 2004 you should not have the whole site as ssl, so follow this below. catalog server still need sto point to http://www.domain.nl from the admin configure.php http_server needs to be http://www.domain.nl cookie path, get rid of the /http:// just use '/' for the path, unless you have a folder where the store is.
Guest Posted April 7, 2004 Posted April 7, 2004 I have the same problem but If I use a computer from a different IP address. I can create account no problem. any help?
robert100 Posted April 7, 2004 Author Posted April 7, 2004 Mibble, I'm sorry to say that your requests did not help. 1. catalog server still need sto point to http://www.domain.nl from the admin configure.php This results in the admin interface link called "Online Catalogus" in upper right, pointing to: http://www.domain.nl/osCommerce. This is wrong because the catalogus is in https://www.domain.nl/osCommerce 2. cookie path, get rid of the /http:// just use '/' for the path, unless you have a folder where the store is. This make no difference to the problem. The store is in the httpsdocs folder under dir "osCommerce". When changing to /osCommerce, instead of /https://domain.nl/osCommerce/ Besides, trying to create an account from different IP does not make any difference for me also...? Also, the 'whole site' as you say [in my case] is in fact totally in a ssl invironment. Meaning there's only 1 dir called osCommerce and it's in httpsdocs directory... More suggestions please. Regards, Robert
Recommended Posts
Archived
This topic is now archived and is closed to further replies.