Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Apr 2008
    Posts
    24
    Plugin Contributions
    0

    Default logo shows as non-secure on SSL.. where to change?

    hi

    have a couple of images that cause the SSL area to read... 'this page contains secure and non secure items...

    I've learned it is a case of finding the HARD coded items.. in my case two images in my template/images.
    Also have learned they need to be made to read /mytemplate/images/logo.jpg (without any http:// at the front)

    Q: where is this done?

    I have found the template header:
    Code:
    <div id="logo_box"><img src="<?php echo HTTP_SERVER . DIR_WS_CATALOG.'includes/templates/'.$template_dir.'/'; ?>images/logo.jpg" alt="" border="0" /></div>
    and was expecting to find the http:// and so remove it... but it seems coded code, so must be elsewhere.

    So where is the code actually written that can be altered (this is for the main standard logo set top left in zen cart)

    Appreciate any know how on this
    Thanks
    Stephenn

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: logo shows as non-secure on SSL.. where to change

    Provide a link to your site so we can see the offending image url's .

    They are probably full url's and appear on a defined page. If so, change the url from http://... to https://...

  3. #3
    Join Date
    Apr 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: logo shows as non-secure on SSL.. where to change

    the site is:

    www.pickandclickshop-lingerie.com

    the two offending pics are:
    1. logo.jpg (top left)
    1. new_collections.jpg (very bottom right)

    nb/ the logo should be a standard prob as we have only replced (renamed) our own image where the zencart logo was... none of the code was altered.

    cheers stephenn

  4. #4
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: logo shows as non-secure on SSL.. where to change

    You're using a very strange kind of shared ssl,

    HTML Code:
    https://web232.secure-secure.co.uk/pickandclickshop-lingerie.com/index.php?main_page=login
    so you may need to ask your host for the correct path th SSL and then take a look at your setting in configure.php files

    The banner image seems to be using a full URL... check your input in banner manager for that image reference.

  5. #5
    Join Date
    Apr 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: logo shows as non-secure on SSL.. where to change

    The SSL - the host applied it 'as they prefer'. I dont know any different... what seems wierd?

    The banner image - (the very bottom one) is actually not on the banners.... the two above are and they are fine in and out of SSL. The banner management therefore works ok... but the bottom of page image is the prob one...

    There still must be a place to change the two images from http:// to /images? maybe, hopeso.

    cheers
    Stephenn

  6. #6
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: logo shows as non-secure on SSL.. where to change

    Compare your tpl_header to the stock file - You will find the coding is the problem. Use the proper override system by defining your logo in the header.php in your language directory.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  7. #7
    Join Date
    Apr 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: logo shows as non-secure on SSL.. where to change

    had a look at default compared to my choice template....

    default says this:
    Code:
    <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>

    my template says this:
    Code:
    <div id="logo_box"><img src="<?php echo HTTP_SERVER . DIR_WS_CATALOG.'includes/templates/'.$template_dir.'/'; ?>images/logo.jpg" alt="" border="0" /></div>

    I'm experimenting with something to get rid of the src.... like this, (but this gives blank page, as is... working on it):
    Code:
    <div id="logo_box"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . 'includes/templates/'.$template_dir.'/' '</a>' images/logo.jpg alt="" border="0" ; ?></div>

    It could be I'm barking up wrong tree here..... I did really hope to find the page where the image/logo said 'http/:' and i could change it to '/mytemplate/myimages'... but i guess this is learning! This is a cool cart, loads to learn.

  8. #8
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: logo shows as non-secure on SSL.. where to change

    Put the STOCK logo call in your template and indicate your logo's name in the includes/languages/english/header.php like you are supposed to and you won't have any problems.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  9. #9
    Join Date
    Apr 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: logo shows as non-secure on SSL.. where to change?

    thanks for info.... will try and test a way of doing this.... not fluent at structure yet... so will have a play and see what results we create (usually putting most alterations back!)

    now that youve given ball park area to work in, we'll have a play.

    Cheers
    Stephenn

  10. #10
    Join Date
    Apr 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: logo shows as non-secure on SSL.. where to change?

    Put the STOCK logo call in your template and indicate your logo's name in the includes/languages/english/header.php like you are supposed to and you won't have any problems.
    lesson learned regarding CUSTOM ... (its a brilliant design thought of the zen team)

    we swapped our custom for the STOCK logo code, then adjusted the ../english/header.php, but did not work, so had a closer look...

    the stock code refered to 'header_logo' and our new template refered to 'header_logo_box' so we adjusted the stock code to match. Then made a CUSTOM folder in ../english and placed in it an adjusted 'header.php...... adjusted to match the 'header_logo_box' followed by the image name.

    Now the logo shows in the SSL areas as well... much more reassuring for the customers

    Thank you for your thoughts and pointers. The more I discover about the workings/structure/design of the zen cart, the more impressive it reveals itself to be.

    cheers for now
    stephenn

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 SSL warning mixed secure non-secure content
    By familynow in forum Basic Configuration
    Replies: 2
    Last Post: 1 Oct 2013, 04:13 PM
  2. *update* SSL secure non-secure warnings
    By hawlisjawt in forum General Questions
    Replies: 3
    Last Post: 26 Jan 2011, 05:56 AM
  3. Replies: 1
    Last Post: 7 May 2009, 09:06 AM

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