Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Jun 2010
    Posts
    17
    Plugin Contributions
    0

    Default Setting up SSL - Advanced Search returns http page

    I changed my config files to use SSL on my entire site

    define('HTTP_SERVER', 'https://www.YOUR_SHOP.com');
    define('HTTPS_SERVER', 'https://www.YOUR_SHOP.com');

    This setting i left on FALSE because i read on the forum that i could otherwise give unneccesary load.
    define('ENABLE_SSL', 'false');

    But i still do not have the green lock in chrome. Perhaps there are still more issues but this is certainly one of them.
    When i use the advanced search on my site it always returns the http instead of the https.

    Is there a simple solution for this?

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,688
    Plugin Contributions
    9

    Default Re: Setting up SSL - Advanced Search returns http page

    Quote Originally Posted by guyos View Post
    Is there a simple solution for this?
    probably.... but without a link to your site, troubleshooting is just a shot in the dark....

    Quote Originally Posted by guyos View Post
    This setting i left on FALSE because i read on the forum that i could otherwise give unneccesary load.
    define('ENABLE_SSL', 'false');
    definitely change to TRUE. the extra load is negligible and the ENABLE_SSL is used by some of the payment modules and needs to be TRUE.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Jun 2010
    Posts
    17
    Plugin Contributions
    0

    Default Re: Setting up SSL - Advanced Search returns http page

    okay, change the ENABLE_SSL to TRUE - Checked.

    Site : www.compu-square.be

    On my hosting they also have an option to auto redirect all visitors to the https site but i did not enable it (yet) because i rather correct everything in the code then force it.

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,145
    Plugin Contributions
    11

    Default Re: Setting up SSL - Advanced Search returns http page

    You still have some hard-coded links on the page that are http: versus https:. One of them is in the quick_find_header.

    Change the action to "index.php?main_page=advanced_searcch_result"

    You can use view page source to find others.

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,145
    Plugin Contributions
    11

    Default Re: Setting up SSL - Advanced Search returns http page

    Looked a little further. The search seems to be the main culprit but you also have a hard-coded link on the news page going to inno3d

    Also, validators are giving you an error for no favicon. I really like iconifier.net. They can generate all the icons you will need.

  6. #6
    Join Date
    Jun 2010
    Posts
    17
    Plugin Contributions
    0

    Default Re: Setting up SSL - Advanced Search returns http page

    Quote Originally Posted by dbltoe View Post
    You still have some hard-coded links on the page that are http: versus https:. One of them is in the quick_find_header.

    Change the action to "index.php?main_page=advanced_searcch_result"

    You can use view page source to find others.
    Thx, found the hardcoded links for the search, that seems to be resolved.

  7. #7
    Join Date
    Jun 2010
    Posts
    17
    Plugin Contributions
    0

    Default Re: Setting up SSL - Advanced Search returns http page

    Quote Originally Posted by dbltoe View Post
    Looked a little further. The search seems to be the main culprit but you also have a hard-coded link on the news page going to inno3d

    Also, validators are giving you an error for no favicon. I really like iconifier.net. They can generate all the icons you will need.
    Just to be sure i also uploaded a favicon, thx for the tip.

    Unfortunally i still have no green lock after these changes. Still shows mixed content.

    Found this in the html_header, also referring to http vs https. Do i need to change this also or does it have no effect?

    PHP Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[COLOR="#FF0000"]http[/COLOR]://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS?>>
    <head>
    <title><?php echo META_TAG_TITLE?></title>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET?>" />
    <meta name="keywords" content="<?php echo META_TAG_KEYWORDS?>" />
    <meta name="description" content="<?php echo META_TAG_DESCRIPTION?>" />
    <meta http-equiv="imagetoolbar" content="no" />
    <meta name="author" content="The Zen Cart&trade; Team and others" />
    <meta name="generator" content="shopping cart program by Zen Cart&trade;, [COLOR="#FF0000"]http[/COLOR]://www.zen-cart.com eCommerce" />
    <?php if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($current_page_base,explode(",",constant('ROBOTS_PAGES_TO_SKIP'))) || $current_page_base=='down_for_maintenance') { ?>
    <meta name="robots" content="noindex, nofollow" />
    <?php ?>
    <?php 
    if (defined('FAVICON')) { ?>
    <link rel="icon" href="<?php echo FAVICON?>" type="image/x-icon" />
    <link rel="shortcut icon" href="<?php echo FAVICON?>" type="image/x-icon" />
    <?php //endif FAVICON ?>

  8. #8
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,688
    Plugin Contributions
    9

    Default Re: Setting up SSL - Advanced Search returns http page

    Quote Originally Posted by guyos View Post

    Found this in the html_header, also referring to http vs https. Do i need to change this also or does it have no effect?
    that will have no effect on your problem.....

    your problems are here:

    includes/templates/compusquare/css/stylesheet_css_buttons.css:71
    includes/templates/compusquare/css/stylesheet.css:392

    Code:
    background-image:url(http://www.compu-square.be/images/cart.gif); 
    
    background-image:url('http://www.compu-square.be/includes/templates/compusquare/images/test.png');
    a multitude of ways to solve them.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  9. #9
    Join Date
    Jun 2010
    Posts
    17
    Plugin Contributions
    0

    Default Re: Setting up SSL - Advanced Search returns http page

    Is it ok that i just change the http values to https ?

  10. #10
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Setting up SSL - Advanced Search returns http page

    Quote Originally Posted by guyos View Post
    Is it ok that i just change the http values to https ?
    If the content is accessible by https: then yes. As stated there are other ways as well.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 5 Sep 2014, 01:05 PM
  2. Replies: 3
    Last Post: 19 Nov 2010, 12:45 AM
  3. Replies: 5
    Last Post: 20 Apr 2010, 12:54 PM
  4. Remove 'Search by Date Added' field from advanced search page?
    By gaffettape in forum General Questions
    Replies: 7
    Last Post: 24 Jan 2010, 03:34 PM
  5. Replies: 3
    Last Post: 12 Nov 2008, 04:07 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR