Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Oct 2007
    Location
    Lakewood, CO
    Posts
    40
    Plugin Contributions
    0

    help question Image missing from Blank Sidebox on SSL pages

    I'm sure it's because I'm stabbing in the dark, but I've looked high and low for an answer... I've even tried the google search hint using the site:zen-cart.com/forum/ suggestion. My problem is that the image I've got in my Blank Sidebox contribution won't show on my SSL pages. I see the alternate text and I can get to the image if I enter the page address without problem so I'm *assuming* that it is because I've got something wrong in includes/templates/MY_TEMPLATE/sideboxes/tpl_blank_sidebox.php

    Everything I've managed to kludge together so far has been taken from responses to other's posts and since I don't know what I'm doing I suspect that I've typed something that applied in one instance and not to mine
    Here are the contents of tpl_blank_sidebox.php:
    Code:
    /**
     * blank sidebox - allows a blank sidebox to be added to your site
     *
     * @package templateSystem
     * @copyright 2007 Kuroi Web Design
      * @copyright Portions Copyright 2003-2007 Zen Cart Development Team
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: blank_sidebox.php 2007-05-26 kuroi $
     */
    
      $content = '';
      $content .= '<div align="center" id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
    
      // Replace the text and HTML tags between the apostophes on lines 19 and 20.
      // Use as many or as few lines using this model as you need for your custom content.
      // If you have a multilingual site define your text in the languages/YOUR_LANGUAGE/extra_definitions/blank_sidebox_defines.php and include it as shown in line 19.
      // If your site is monolingual, you can put the text right here as shown on line 20 (and nobody will know!)
      $content .= zen_image(DIR_WS_IMAGES . 'litessl_tl_trans.gif', 'COMODO Logo');
      $content .= '</div>';
    ?>
    The side box works fine on non-SSL pages (see my site at www.remarkablepens.com ). I've placed a copy of the image in both images and secure/images ...

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Image missing from Blank Sidebox on SSL pages

    I see the image on your secure pages. Have you solved this problem?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Oct 2007
    Location
    Lakewood, CO
    Posts
    40
    Plugin Contributions
    0

    Default Re: Image missing from Blank Sidebox on SSL pages

    Quote Originally Posted by kuroi View Post
    I see the image on your secure pages. Have you solved this problem?
    Huh? I didn't change a thing since posting the request for help! Now it works for me too... This is WAY too strange. I was testing by going to the HOME page, hitting "Log In", and seeing that the image wasn't there

    Nope, not a clue, but as you have seen, things seem to be OK. Thanks for looking.

    Mark

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Image missing from Blank Sidebox on SSL pages

    I wondered if it might be related to a problem with your SSL cert which Firefox warned me about before letting me onto your secure pages. It seems that it's registered to a subdomain secure.remarkablepens.com rather than the main site www.remarkablepens.com. Maybe not the cause of this problem, I'm not an expert in this area, but certainly offputting for visitors.

    Also gotta say that I'm not a fan of these hosting arrangements where you need to keep a separate copy of the code in a secure area. That can be a big and unnecessary overhead.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Oct 2007
    Location
    Lakewood, CO
    Posts
    40
    Plugin Contributions
    0

    Default Re: Image missing from Blank Sidebox on SSL pages

    After your post this morning I've looked at the site again using another browser (Camino) and I'm seeing the same behavior - Logo's alternate text label but not gif image. Thankfully I don't get any warnings about the certificate's validity....

    I'm also seeing the first reported behavior in Firefox again this morning. Looks like if I enter the image's URL all by itself (https://secure.remarkablepens.com/im...l_tl_trans.gif) and then go to a secure page like Login the gif shows up OK. If I empty Camino's cache the problem is back. Any thoughts on who may be a source for SSL type stuff?

    Thanks again,
    Mark

  6. #6

    Default Re: Image missing from Blank Sidebox on SSL pages

    I know nothing about SSL, but I find all the images on my https:// pages (such as checkout) disappear when I enable Hotlinking protection on my Cpanel (I am using Camelot hosting). If I disable the Hotlink protection, the images are back.

    Mike

  7. #7
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Image missing from Blank Sidebox on SSL pages

    Did you remember to add the Secure link to the hotlinking exclusion list?

  8. #8

    Default Re: Image missing from Blank Sidebox on SSL pages

    Aha!! That's it; I didn't. Thanks for the tip!

    Mike

  9. #9
    wifidoc Guest

    Default Re: Image missing from Blank Sidebox on SSL pages

    IMAGE NOT DISPLAYING IN SIDEBOX - I have a problem viewing the image in the sidebox. The alt text is there and I can locate the image path via properties, and the image is in the folder /images/banners/image.jpg but it wont display. I am using the template override system, is there something else I need to do to get the image to display.

  10. #10
    Join Date
    Oct 2007
    Location
    Lakewood, CO
    Posts
    40
    Plugin Contributions
    0

    Default Re: Image missing from Blank Sidebox on SSL pages

    Quote Originally Posted by wifidoc View Post
    IMAGE NOT DISPLAYING IN SIDEBOX - I have a problem viewing the image in the sidebox. The alt text is there and I can locate the image path via properties, and the image is in the folder /images/banners/image.jpg but it wont display. I am using the template override system, is there something else I need to do to get the image to display.

    This is the exact same behavior I was seeing... Once I put the path to the banner in my browser (like https://secure.somefakedomain.com/images/foo.jpg) the sidebox worked OK. Once I cleared my cache or used a different browser the problem was back. If I looked in my servers error messages I saw "client denied by server configuration" ... I ended up just turning off the "Show SSL" option in the Banner Manager. Not a real fix, but.....

    Mark Ewell
    www.remarkablepens.com
    Last edited by mewell; 9 Feb 2008 at 06:17 AM. Reason: edited secure domain name

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. remove search sidebox from SSL pages
    By gorie in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 17 Aug 2010, 02:55 AM
  2. image missing from Blank side box
    By irishshopper in forum Addon Sideboxes
    Replies: 1
    Last Post: 7 Aug 2010, 06:57 PM
  3. Missing images in SSL pages?
    By aly22 in forum General Questions
    Replies: 8
    Last Post: 11 Aug 2008, 09:08 AM
  4. Replies: 0
    Last Post: 17 Jan 2008, 12:37 AM
  5. Replies: 2
    Last Post: 18 Nov 2006, 09: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