Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't Create New Customer Acct with SSL enabled


coraldynamics

Recommended Posts

I have searched thru the board and can't seem to get a handle on this one.

 

When SSL is enabled, current customer accounts can log in and all is well. New customer accounts fail to get created. The Create Account page just keeps loading- blanked. I noticed that the autofill for IE does not work when SSL is enabled either.

 

I have checked with the hosting company and they say the SSL is installed correctly. The create account works fine if SSL is disabled as does the autofill for IE.

 

The following is the configure.php without the database server info:

<?php

define('HTTP_SERVER', 'http://www.247aquariumsupply.mobi');

define('HTTPS_SERVER', 'https://www.247aquariumsupply.mobi');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', '247aquariumsupply.mobi');

define('HTTPS_COOKIE_DOMAIN', '247aquariumsupply.mobi');

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/content/a/q/u/aquariumsupply/html/');

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

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

 

Any help out there?

 

Thanx

Steve

Link to comment
Share on other sites

i had a similar problem to yours. i'd fill out the required fields to create a new account and when i click on SUBMIT it give me an error like:

PHP error: sendmail_from not set in php.ini. So then i would refresh the page and the new customer was logged in.

 

if you can check your error logs somewhere, i have no clue where you would, but look for an error message for details, then you might find the same problem i did.

 

also, create a new php file with this code:

 

<?php

phpinfo();

?>

 

and view it in a browser to see all your php.ini settings. if you find 'sendmail_from' to 'no value' then that might be your problem. cause that was my problem.

Link to comment
Share on other sites

Thanks for the reply I checked via the code you supplied and sendmail_from is "no value" on local and master

 

sendmail_from no value no value

sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i

 

How do I change that value?

 

Thanks

Link to comment
Share on other sites

This is really causing issues with customers registering for an account... anything recommended to try and stop this from happening?

 

 

This is what I had to do. Try replacing that code with this:

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'https://www.247aquariumsupply.mobi'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.247aquariumsupply.mobi'); // 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', '247aquariumsupply.mobi');
 define('HTTPS_COOKIE_DOMAIN', '247aquariumsupply.mobi');
 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('HTTP_CATALOG_SERVER', 'http://www.247aquariumsupply.mobi'); 
 define('HTTPS_CATALOG_SERVER', 'https://www.247aquariumsupply.mobi'); 
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module   
 define('ENABLE_SSL', 'true'); // secure webserver for catalog 
 define('DIR_FS_DOCUMENT_ROOT', 'https://www.247aquariumsupply.mobi'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/home/content/a/q/u/aquariumsupply/html/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

this is also assuming that your catalog is in your root directory. If not, post back.

 

*****Backup everything before you put this in though just in case*******

 

Clint

Link to comment
Share on other sites

That snippit of code looks like the includes/configure.php and admin/includes/configure.php combined.

 

I tried it as you have written, and it broke the site, puked up some error messages about things already defined in header.php

so I made the changes as they apply to each of the two files mentioned above...page times out after clicking continue for a new account.

 

So I changed just the includes/configure.php -> no change...still has to refresh

So I changed just the admin/includes/configure.php -> no change...still has to refresh.

 

I appreciate the effort, thank you.

 

Still looking.

Link to comment
Share on other sites

UPDATE: I figured out, Windows Vista has the problem. Windows XP does not. Both have IE7. Have not tried it with other browsers... If you have a spare minute or two... need different OS and maybe a firefox browser create account attempt.

 

You can use bogus info as long as it fits the parameters of the field.

 

http://www.247aquariumsupply.com

 

Thank you in advance

Steve

Link to comment
Share on other sites

Digging deeper :

 

I had an old install of Windows Vista Home Premium (running in a VM environment inside the Vista Ultimate I use all the time)

The account create process went without a hitch! Could it be an update of some kind or Windows Ultimate may be the problem?

 

Really confused and wondering if this is not such a big deal now... Could it be speed, when the VM is running it uses a ton of resources...will try Vista Ultimate again with VM running in background to slow things way down and see what we get....

 

If anyone creates an account with this site, please pm or note here what OS you are using.

 

Steve

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...