Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Mar 2010
    Location
    Finland
    Posts
    463
    Plugin Contributions
    0

    Default The site uses https, but when selecting anything from a menu it goes to http

    When starting the site it's https:// (as defined in configure.php), but if I then press e.g. front page or shopping cart the connection becomes unprotected. Same for buying an item. My account seems to be the only one remaining https://.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: The site uses https, but when selecting anything from a menu it goes to http

    1. What's the URL?
    2. What are the definitions for HTTP_SERVER and HTTPS_SERVER in your /includes/configure.php file?
    3. Why do you want all pages to be https? What's the specific business reason?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Mar 2010
    Location
    Finland
    Posts
    463
    Plugin Contributions
    0

    Default Re: The site uses https, but when selecting anything from a menu it goes to http

    1. t g e .fi
    2.
    PHP Code:
     define('HTTP_SERVER''http:// see above with no spaces /');
     
    define('HTTPS_SERVER''https:// see above with no spaces/'); 
    3.When testing I got a warning that the secure contents is sent over a non secure connection.

    Now I am however not able to reproduce the warning!

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: The site uses https, but when selecting anything from a menu it goes to http

    Quote Originally Posted by kalastaja View Post
    3.When testing I got a warning that the secure contents is sent over a non secure connection.

    Now I am however not able to reproduce the warning!
    1. What was the test that gave the warning? This kind of warning shows only in your browser, and not in logs ... so ... should be easy to know when it's present or not.

    2. This article deals with fixing the warning: http://www.zen-cart.com/content.php?...lly-encrypted) ... but requires you to be able to reproduce the warning.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Mar 2010
    Location
    Finland
    Posts
    463
    Plugin Contributions
    0

    Default Re: The site uses https, but when selecting anything from a menu it goes to http

    Quote Originally Posted by DrByte View Post
    1. What was the test that gave the warning? This kind of warning shows only in your browser, and not in logs ... so ... should be easy to know when it's present or not.
    I ordered a product and when adding to cart I got the message. Now when I add to cart - nothing out of the ordinary. Does the browser remember the warning and avoids repeating it?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: The site uses https, but when selecting anything from a menu it goes to http

    Quote Originally Posted by kalastaja View Post
    Does the browser remember the warning and avoids repeating it?
    No, but there are other things happening on the page which could cause it:
    - maybe you selected a different product? (vs one that has unsecured assets on it)
    - maybe you have certain advertising banners that appear in random order, so don't always trigger the error on every page?
    - maybe you have other addons such as social media boxes which appear only at certain times, and those are causing your problems?
    - etc
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 15
    Last Post: 6 Jul 2010, 03:24 AM
  2. Replies: 1
    Last Post: 20 Apr 2010, 04:33 AM
  3. Catalog goes HTTPS despite explicit HTTP setting
    By dreamdaily in forum General Questions
    Replies: 5
    Last Post: 9 Feb 2010, 05:30 AM
  4. Replies: 0
    Last Post: 7 Jan 2009, 05:49 PM
  5. moving site - want the WHOLE thing https not http
    By humbll in forum General Questions
    Replies: 5
    Last Post: 2 Jun 2007, 01:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg