Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Oct 2011
    Posts
    7
    Plugin Contributions
    0

    Default SSL messes up page layout

    Hello All!

    Any help or ideas would help and much appreciated!

    I am using bluehost as my host and using their SSL. I notice whenever I switch to secure (https), the page layout gets funky and top banner (menu image) is gone etc so does the rest of the page.

    I don't think this is a template issue since it has the same problem when I switch back to the original template.

    Any thoughts?

    my site is futureonlinestore.com

    try https://www.futureonlinestore.com (versus http://www.futureonlinestore.com ) and you'll see what i mean...

    thanks!

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

    Default Re: SSL messes up page layout

    Do you happen to have "hotlink protection" turned on in your hosting account for some reason? That can often cause images to not show properly.
    .
    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
    Oct 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: SSL messes up page layout

    you are brilliant! that worked as soon as i turned off hotlink protection.

    now i wonder if there's a better way to hotlink protect the images...hmm..i'm guessing just to watermark them?=(

  4. #4
    Join Date
    Jun 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: SSL messes up page layout

    Hello,

    I also have an issue with our website and even login into Zen Cart's back office after getting the SSL.

    When going to our site www.CHRISAL.net every time when someone clicks on other link on the menus (especially in the Internet Explorer) there's a message that something is not secure and whether you wish to display it or not. Most people click YES, and if they do, then the layout changes and the pictures do not display.

    ...and I can't even log in to Zen Cart back office to do any edits, nor can I re-send the password to my email - it keeps redirecting me to the same login page, and it starts me with the blank user & password. Also, the following message shows up after I click Login or Send: "This form will be sent in a way that is not secure. Are you sure you want to send it?"

    What do I do?? Please help. This is a disaster!

    Thank you.

    Masha

  5. #5
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: SSL messes up page layout

    All of those links are pointing to https when they should be pointing to http. You need to edit your configure.php files and correct the path:

    includes/configure.php
    your_admin_folder/includes/configure.php

  6. #6
    Join Date
    Jun 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: SSL messes up page layout

    I'm sorry, I'm not sure where and how to do that: ...Please help...

    RE: All of those links are pointing to https when they should be pointing to http. You need to edit your configure.php files and correct the path:

    includes/configure.php
    your_admin_folder/includes/configure.php

  7. #7
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: SSL messes up page layout

    Quote Originally Posted by Masha View Post
    I'm sorry, I'm not sure where and how to do that: ...Please help...

    RE: All of those links are pointing to https when they should be pointing to http. You need to edit your configure.php files and correct the path:

    includes/configure.php
    your_admin_folder/includes/configure.php
    Download two sets of those files, one to a folder named edit, the second to a folder named backup. Open up the copies in the edit folder with a plain text editor.

    In the one from includes/ look for this section:

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://www.yoursite.com');
    define('HTTPS_SERVER', 'https://www.yoursite.com');

    Make sure the red highlighted doesn't have an s at the end of http.

    In the one from your_admin_folder/includes, look for this section:

    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://www.yoursite.com');
    define('HTTPS_SERVER', 'https://www.yoursite.com');
    define('HTTP_CATALOG_SERVER', 'http://www.yoursite.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.yoursite.com');

    Same for that section.

 

 

Similar Threads

  1. Rounding messes up payment
    By jagge in forum General Questions
    Replies: 1
    Last Post: 4 Oct 2011, 12:03 AM
  2. Replies: 2
    Last Post: 12 Jun 2010, 08:38 AM
  3. Main page format messes up when window is small
    By jabula in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Mar 2010, 08:38 AM
  4. is this a glitch? Mixing HTML tags messes up my layout
    By studeo in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Feb 2007, 12:51 AM
  5. Help! Client messes up first page and has asked me to help!
    By BrilliantHost in forum Basic Configuration
    Replies: 4
    Last Post: 13 Jul 2006, 10:04 PM

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