[CubeCart] Can't access https pages

Technical difficulties? Ask for help here.

[CubeCart] Can't access https pages

Postby eldoradogems » Wed Sep 16, 2009 12:33 pm

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.
eldoradogems
 
Posts: 12
Joined: Mon Sep 14, 2009 7:44 am

Re: [CubeCart] Can't access https pages

Postby ~J~ » Wed Sep 16, 2009 12:38 pm

Please post your web site URL and steps how to reproduce the problem.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1055
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [CubeCart] Can't access https pages

Postby eldoradogems » Wed Sep 16, 2009 2:14 pm

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.
eldoradogems
 
Posts: 12
Joined: Mon Sep 14, 2009 7:44 am

Re: [CubeCart] Can't access https pages

Postby ~J~ » Thu Sep 17, 2009 11:35 am

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.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1055
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [CubeCart] Can't access https pages

Postby eldoradogems » Thu Sep 17, 2009 5:08 pm

I have PM-ed you the FTP details.

Thanks,
Felix.
eldoradogems
 
Posts: 12
Joined: Mon Sep 14, 2009 7:44 am

Re: [CubeCart] Can't access https pages

Postby eldoradogems » Thu Sep 17, 2009 5:20 pm

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.
eldoradogems
 
Posts: 12
Joined: Mon Sep 14, 2009 7:44 am

Re: [CubeCart] Can't access https pages

Postby ~J~ » Sat Sep 19, 2009 1:07 pm

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'] : '')));
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1055
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [CubeCart] Can't access https pages

Postby eldoradogems » Sun Sep 20, 2009 6:33 pm

Thank you very much! Much appreciated.
Everything is working fine.
eldoradogems
 
Posts: 12
Joined: Mon Sep 14, 2009 7:44 am


Return to Troubleshooting

Who is online

Users browsing this forum: ~J~ and 1 guest