Page 1 of 1

[ Zen Cart ] SSL Pages unreachable ...

Posted: Fri Jun 27, 2008 5:18 pm
by testuser
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.

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

Posted: Fri Jun 27, 2008 6:15 pm
by inveo
This usually happen when web server is configured incorrectly (SERVER_PORT variable is wrong).

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

Posted: Sat Jun 28, 2008 10:54 am
by testuser
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?

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

Posted: Sat Jun 28, 2008 11:20 am
by inveo
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.

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

Posted: Sat Jun 28, 2008 12:13 pm
by testuser
http://xxxxx.com/jmodzen.php

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

Posted: Sat Jun 28, 2008 5:16 pm
by inveo
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']));

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

Posted: Sun Jun 29, 2008 9:20 am
by testuser
Ok that got the secure pages functioning properly, but now the non-secure pages throw the same error as before.

What's causing that?

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

Posted: Sun Jun 29, 2008 9:50 am
by inveo
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']));

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

Posted: Mon Jun 30, 2008 6:06 am
by testuser
Problem solved.

Is this a host configuration error that causes this to happen, or a combination of the script and the server settings?

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

Posted: Mon Jun 30, 2008 6:12 am
by inveo
It is host configuration error (HTTP_HOST variable have to match http host in URL).

Cart  
(empty)

Cart Check out  »

Prices are tax inclusive.

The VAT rate for your country (US) * is 0,0 % because it is not a member of the European Union (EU).

* Please create an account if your country does not match.

Community feed
  • [phpBB3] AJAX Userinfo Extension
    Hi! I'm having trouble with this extension: https://www.phpbb.com/customise/db/exte ... _userinfo/ I tried asking support from the author but for no avail, since now. My request for support...
    by Lord Phobos
  • [phpBB3] Upgrade to phpBB 3.2.3
    Hello.. after Upgrade to phpBB 3.2.3 I am getting this message.. How can I solve this issue..? Thank you
    by ingbrzy
  • [phpBB3] URL path changed
    Hello.. I have changed my site path after moving to new hosting and now can not activate SEO module.. new path http://www.miuios.cz/domains/miuios.cz/ could you help me? thank you
    by ingbrzy2
  • [phpBB3] Chinese language support
    Hi, i bought magic seo for phpbb because it says that it supports a wide range of alphabets and UTF-8, however i found that it doesn't. I'm preparing a website in Chinese and all forums having a...
    by iwsmike
  • [WP2PS] Yoast SEO plugin
    Thanks for your support installing the PS-WP integration. However there is some errors when PS-WP integration is activated. 1. Error generating sitemap with Yoas SEO plugin (it disappears when...
    by argidomin
Join our support forum » Pre-Sales Questions »
Featured Testimonials

Guys, thank you for all your support, you've been absolutely amazing! Please feel free to use this as a review on your website.

Veronica, the owner of Rave Kit

Thanks for a wonderful product, works great with phpBB3. Thanks for the prompt support.

Ravi, the owner of Sharesguru

More Testimonials »