[CubeCart] Can't access https pages
-
- Posts: 12
- Joined: Mon Sep 14, 2009 8:44 am
[CubeCart] Can't access https pages
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.
Thanks in advance for your help.
Felix.
Re: [CubeCart] Can't access https pages
Please post your web site URL and steps how to reproduce the problem.
-
- Posts: 12
- Joined: Mon Sep 14, 2009 8:44 am
Re: [CubeCart] Can't access https pages
http://eldoradogems.com
To 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.
To 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
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.
-
- Posts: 12
- Joined: Mon Sep 14, 2009 8:44 am
Re: [CubeCart] Can't access https pages
I have PM-ed you the FTP details.
Thanks,
Felix.
Thanks,
Felix.
-
- Posts: 12
- Joined: Mon Sep 14, 2009 8:44 am
Re: [CubeCart] Can't access https pages
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.com
May 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.
I paid attention that all my http URLs are generated as http://eldoradogems.com, but my SSL certificate is for www.eldoradogems.com
May 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
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:
to
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'] : '')));
-
- Posts: 12
- Joined: Mon Sep 14, 2009 8:44 am
Re: [CubeCart] Can't access https pages
Thank you very much! Much appreciated.
Everything is working fine.
Everything is working fine.