SSL Install Issue

Hello everyone, I hope you can help me with this SSL setup issue I am having.

I have my SSL Cert installed on my server, got it from godaddy. All https:// links seems to be working well on the website itsself.



To use the cert i just need https: with my url and not a separate url like some.



When I check:

Enable secure connection at checkout (SSL certificate is required to be installed on your server)

Enable secure connection in the administration panel (SSL certificate is required to be installed on your server)

Enable secure connection for authentication, profile and orders pages (SSL certificate is required to be installed on your server)



in the admin section all report the error: The secure connection check has failed. Please check HTTPS settings in the “config.php” file and make sure that SSL certificate is installed on your server.



When i manually enter [url]https://www.eastwick.edu/Store[/url] the URL changed to [url]http://www.eastwick.edu/Store[/url]



this is my config settings

// Host and directory where software is installed on no-secure server

$config[‘http_host’] = ‘www.eastwick.edu’;

$config[‘http_path’] = ‘/Store’;



// Host and directory where software is installed on secure server

$config[‘https_host’] = ‘www.eastwick.edu’;

$config[‘https_path’] = ‘/Store’;



please help

-Mark

Any ideas I can try?

I’m not sure how you have everything set up but remove “/Store” and see what that does.


// Host and directory where software is installed on no-secure server
$config['http_host'] = 'www.eastwick.edu';
$config['http_path'] = '/Store';

// Host and directory where software is installed on secure server
$config['https_host'] = 'www.eastwick.edu';
$config['https_path'] = '';

Try without WWW on SSL, it is possible you got SSL without WWW before the domain.



// Host and directory where software is installed on no-secure server

$config[‘http_host’] = ‘www.eastwick.edu’;

$config[‘http_path’] = ‘/Store’;



// Host and directory where software is installed on secure server

$config[‘https_host’] = ‘eastwick.edu’;

$config[‘https_path’] = ‘/Store’;

Thanks for the help, unfortunately both changes didn’t work. Same error. Any thing else I can try?

thank you

Since your cart is set up in a subfolder, did you set it up as a subdomain or did you just simply add the folder/directory?

Hi your SSL has been issued for www.eastwick.edu and eastwick.edu:



[url]SSL Checker



That means it has to work in all your subfolders but won’t work on a subdomain (what’s not your case).

That was my understanding. It works in the /Store.



[url]SSL Checker

OK, it seems that somewhere is a redirect from https to http. If your settings in the admin area are right and the config.local.php has been altered properly, then I guess it is on the server. Did you ask your hosting provider?

I would up expensing some credits for CS cart support, issues was resolved in 24hr. Always been happy with their service and response times.



see below solution:

Thank you for purchasing our support service and for providing us with a temporary FTP access to your server.



The problem with HTTPS check is caused by some settings of your server. We have checked your server for HTTPS compatibility and there is no problem with that.



I have replaced the following part of code:


// Disable https
db_query("UPDATE ?:settings SET value = 'N' WHERE section_id = 'General' AND option_name LIKE 'secure\_%'");
$new_value = 'N';

fn_set_notification('W', fn_get_lang_var('warning'), fn_get_lang_var('warning_https_disabled'));


with this one:


// Disable https
//[nastena]
//db_query("UPDATE ?:settings SET value = 'N' WHERE section_id = 'General' AND option_name LIKE 'secure\_%'");
//$new_value = 'N';

//fn_set_notification('W', fn_get_lang_var('warning'), fn_get_lang_var('warning_https_disabled'));
//[/nastena]






in the “actions.php” file located in the “schemas/settings” directory of your CS-Cart installation, so the problem has been resolved.



Please check it and let us know the result.



Thank you.

Just curious… Assuming that the code that was commented out was distributed by cs-cart, why did you pay to have them resolve a defect in code the delivered?

Im having the same issue, but I checked my ACTIONS.PHP file and cant find the original code to modify… Should I just add it ?


[quote name=‘mhulbrock’]I would up expensing some credits for CS cart support, issues was resolved in 24hr. Always been happy with their service and response times.



see below solution:

Thank you for purchasing our support service and for providing us with a temporary FTP access to your server.



The problem with HTTPS check is caused by some settings of your server. We have checked your server for HTTPS compatibility and there is no problem with that.



I have replaced the following part of code:


// Disable https
db_query("UPDATE ?:settings SET value = 'N' WHERE section_id = 'General' AND option_name LIKE 'secure\_%'");
$new_value = 'N';

fn_set_notification('W', fn_get_lang_var('warning'), fn_get_lang_var('warning_https_disabled'));


with this one:


// Disable https
//[nastena]
//db_query("UPDATE ?:settings SET value = 'N' WHERE section_id = 'General' AND option_name LIKE 'secure\_%'");
//$new_value = 'N';

//fn_set_notification('W', fn_get_lang_var('warning'), fn_get_lang_var('warning_https_disabled'));
//[/nastena]






in the “actions.php” file located in the “schemas/settings” directory of your CS-Cart installation, so the problem has been resolved.



Please check it and let us know the result.



Thank you.[/QUOTE]

[quote name=‘mhulbrock’]I would up expensing some credits for CS cart support, issues was resolved in 24hr. Always been happy with their service and response times.



see below solution:

Thank you for purchasing our support service and for providing us with a temporary FTP access to your server.



The problem with HTTPS check is caused by some settings of your server. We have checked your server for HTTPS compatibility and there is no problem with that.



I have replaced the following part of code:


// Disable https
db_query("UPDATE ?:settings SET value = 'N' WHERE section_id = 'General' AND option_name LIKE 'secure\_%'");
$new_value = 'N';

fn_set_notification('W', fn_get_lang_var('warning'), fn_get_lang_var('warning_https_disabled'));


with this one:


// Disable https
//[nastena]
//db_query("UPDATE ?:settings SET value = 'N' WHERE section_id = 'General' AND option_name LIKE 'secure\_%'");
//$new_value = 'N';

//fn_set_notification('W', fn_get_lang_var('warning'), fn_get_lang_var('warning_https_disabled'));
//[/nastena]






in the “actions.php” file located in the “schemas/settings” directory of your CS-Cart installation, so the problem has been resolved.



Please check it and let us know the result.



Thank you.[/QUOTE]





Tried the same way as you did, but I got this warning message when I clicked checkout link:

The URL was redirected to [url]https://www.mydomain.com/store/index.php?dispatch=checkout.checkout[/url]. Please click the link to go there



…Another Headache. Need a Help!

Thanks for posting that solution. I had this same issue and this solution worked for me.

[quote name=‘MINISTAR4U’]Tried the same way as you did, but I got this warning message when I clicked checkout link:

The URL was redirected to [url]https://www.mydomain.com/store/index.php?dispatch=checkout.checkout[/url]. Please click the link to go there



…Another Headache. Need a Help![/QUOTE]



Man coding is quite complex. You are struck some were pay $$ to company and get out of problem. Don’t mistake me, just my opinion to save time at the cost of $$.

For me it is a bug, that is one thing what i HATE on Cs-Cart. They know a failure (BUG) but they do not solve it. No they realease the same bug in next version, again next version but they have this litle code to solve it. I cant understand this politic.

[quote name=‘Triplex’]For me it is a bug, that is one thing what i HATE on Cs-Cart. They know a failure (BUG) but they do not solve it. No they realease the same bug in next version, again next version but they have this litle code to solve it. I cant understand this politic.[/QUOTE]



Hello Triplex,



It is not a bug.



The problem is caused by the specific server settings.



Sometimes the HTTPS request checking cannot be done. So the solution is to remove this checking. But it is not for all servers. Most of the servers work properly.



Thank you.





Mikhail Ponomarev

CS-Cart Support team

Thank you very much! Great support, its working now. I have do write as secure domain https://www.mydomain.com instead of www.mydomain.com

This post solved problems I was having with Go-Daddy SSL also, thank you for sharing the code!

Tried the same thing. Was able to enable the SSL in the admin but when I tested the checkout when it tries to go to the https I get a “the page isn't directing properly” error.



www.blackdressandpearls.com