Page 1 of 1
[CubeCart] Can't access https pages
Posted: Wed Sep 16, 2009 1:33 pm
by eldoradogems
I installed Magic SEO and everything works fine, all URLs were generated successfully. The only problem I have is when I click "View Cart" I'm redirecting to the main page instead of going to the "Cart" page. I suspect that the problem is that "Cart" is https page, but I don't know how to fix it. I tried to search the forum, but couldn't find the answer for this.
Thanks in advance for your help.
Felix.
Re: [CubeCart] Can't access https pages
Posted: Wed Sep 16, 2009 1:38 pm
by inveo
Please post your web site URL and steps how to reproduce the problem.
Re: [CubeCart] Can't access https pages
Posted: Wed Sep 16, 2009 3:14 pm
by eldoradogems
http://eldoradogems.comTo reproduce the problem just click on "View Cart" on the left side menu from any page and instead of going to cart you will be redirected to the main page.
Re: [CubeCart] Can't access https pages
Posted: Thu Sep 17, 2009 12:35 pm
by inveo
I was unable to reproduce this issue. I will need your FTP login details in order to find what is going wrong. PM me if you can.
Re: [CubeCart] Can't access https pages
Posted: Thu Sep 17, 2009 6:08 pm
by eldoradogems
I have PM-ed you the FTP details.
Thanks,
Felix.
Re: [CubeCart] Can't access https pages
Posted: Thu Sep 17, 2009 6:20 pm
by eldoradogems
I just want to add more details...
I paid attention that all my http URLs are generated as
http://eldoradogems.com, but my SSL certificate is for
www.eldoradogems.comMay it be a reason why I can't access https URLs?
Actually, I want to work with
www.eldoradogems.com only and before installing Magic SEO I had redirection to
www.eldoradogems.com in .htaccess file, but it was overwritten.
Thank you for your help.
Felix.
Re: [CubeCart] Can't access https pages
Posted: Sat Sep 19, 2009 2:07 pm
by inveo
Solved.
It was caused by improper usage of a $_SERVER['REQUEST_URI'] reserved variable in CubeCart. Changing following line in includes/sslSwitch.inc.php file will help:
Code: Select all
$url_elements = parse_url(html_entity_decode($_SERVER['REQUEST_URI']));
to
Code: Select all
$url_elements = parse_url(html_entity_decode($_SERVER['SCRIPT_NAME'].(!empty($_SERVER['QUERY_STRING']) ? '?'.$_SERVER['QUERY_STRING'] : '')));
Re: [CubeCart] Can't access https pages
Posted: Sun Sep 20, 2009 7:33 pm
by eldoradogems
Thank you very much! Much appreciated.
Everything is working fine.