[ Zen Cart ] SSL Pages unreachable ...

Technical difficulties? Ask for help here.

[ Zen Cart ] SSL Pages unreachable ...

Postby testuser » Fri Jun 27, 2008 4:18 pm

Hello,

Using Zen Cart SEO mod and can't seem to get to any secure pages on the catalog side.

FireFox gives the error:
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
testuser
 
Posts: 11
Joined: Fri Jun 27, 2008 4:15 pm

Re: [ Zen Cart ] SSL Pages unreachable ...

Postby ~J~ » Fri Jun 27, 2008 5:15 pm

This usually happen when web server is configured incorrectly (SERVER_PORT variable is wrong).
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: [ Zen Cart ] SSL Pages unreachable ...

Postby testuser » Sat Jun 28, 2008 9:54 am

Can you go into any detail on how Magic uses that? It works fine without the mod, but when enabled the error occurs.

Any ideas on how to solve it?
testuser
 
Posts: 11
Joined: Fri Jun 27, 2008 4:15 pm

Re: [ Zen Cart ] SSL Pages unreachable ...

Postby ~J~ » Sat Jun 28, 2008 10:20 am

What is your Zen Cart URL?

I need to see phpinfo() output or at least some HTTP headers in order to provide appropriate work around.
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: [ Zen Cart ] SSL Pages unreachable ...

Postby testuser » Sat Jun 28, 2008 11:13 am

http://xxxxx.com/jmodzen.php
Last edited by testuser on Mon Jun 30, 2008 5:07 am, edited 1 time in total.
testuser
 
Posts: 11
Joined: Fri Jun 27, 2008 4:15 pm

Re: [ Zen Cart ] SSL Pages unreachable ...

Postby ~J~ » Sat Jun 28, 2008 4:16 pm

Issue you are experiencing is caused by incorrect value of HTTP_HOST variable when HTTPS is used. Please place following code before installation line:

Code: Select all
$_SERVER['HTTP_HOST'] = substr($_SERVER['HTTP_HOST'], 0, strpos($_SERVER['HTTP_HOST'], ':') - strlen($_SERVER['HTTP_HOST']));
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: [ Zen Cart ] SSL Pages unreachable ...

Postby testuser » Sun Jun 29, 2008 8:20 am

Ok that got the secure pages functioning properly, but now the non-secure pages throw the same error as before.

What's causing that?
testuser
 
Posts: 11
Joined: Fri Jun 27, 2008 4:15 pm

Re: [ Zen Cart ] SSL Pages unreachable ...

Postby ~J~ » Sun Jun 29, 2008 8:50 am

Then use this code (I am not sure it will work - phpinfo is no longer available):

Code: Select all
if($_SERVER['HTTPS'] == 'on') $_SERVER['HTTP_HOST'] = substr($_SERVER['HTTP_HOST'], 0, strpos($_SERVER['HTTP_HOST'], ':') - strlen($_SERVER['HTTP_HOST']));
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: [ Zen Cart ] SSL Pages unreachable ...

Postby testuser » Mon Jun 30, 2008 5:06 am

Problem solved.

Is this a host configuration error that causes this to happen, or a combination of the script and the server settings?
testuser
 
Posts: 11
Joined: Fri Jun 27, 2008 4:15 pm

Re: [ Zen Cart ] SSL Pages unreachable ...

Postby ~J~ » Mon Jun 30, 2008 5:12 am

It is host configuration error (HTTP_HOST variable have to match http host in URL).
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


Return to Troubleshooting

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron