Results 1 to 10 of 19

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: No indication of image src not found

    Well, even if you can't "post" the URL here, find out WHAT the URL is, and try to visit it. What happens?
    .

    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.

  2. #2
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: No indication of image src not found

    Quote Originally Posted by DrByte View Post
    Well, even if you can't "post" the URL here, find out WHAT the URL is, and try to visit it. What happens?
    Returns 404 not found.
    Phil Rogers
    A problem shared is a problem solved.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: No indication of image src not found

    ... then it's not in the folder location specified.

    So, you'll need to then backtrack to find out where that image reference is coming from (you haven't said whether it's a manufacturer image, a product image, a template image, whatever), and find out why it's telling it to use a non-existing name.
    .

    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.

  4. #4
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: No indication of image src not found

    Quote Originally Posted by DrByte View Post
    ... then it's not in the folder location specified.

    So, you'll need to then backtrack to find out where that image reference is coming from (you haven't said whether it's a manufacturer image, a product image, a template image, whatever), and find out why it's telling it to use a non-existing name.
    I know that the reference is wrong. I can correct that and make the image show. The question is because I'm am trying to understand why I am not getting any placeholders for images that are incorrectly referenced/don't exist ..
    Phil Rogers
    A problem shared is a problem solved.

  5. #5
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: No indication of image src not found

    Just noticed a difference between te live site and dev site.

    If I go to an image file that doesn't exist on the dev site I get the white 404 error page

    If I go to it on my Live site I get the zen cart page not found page

    So is it to do with this part:

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    ?

    Do you think it need to have the zen cart 404 specified to handle it?
    Last edited by philip937; 13 Feb 2013 at 11:49 PM.
    Phil Rogers
    A problem shared is a problem solved.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: No indication of image src not found

    Um ... you're mixing things up.

    If it's a PRODUCT image, then YOU need to fix the incorrect image filename specified IN YOUR PRODUCT DETAILS.
    Period.

    You said that a 404 on your live site takes you to your store's page_not_found page ... and that's simply because you've got it set up (appropriately) to ensure that visitors to your site who come in on a link that points to an invalid page (ie: basically anything other than index.php) get told that they've used an invalid link, and of course the page_not_found page shows them many other things they can choose from, instead of a blank "404 NOT FOUND" message which is entirely unfriendly.
    The downside is that a broken-image URL (because you've told it the wrong image to use when entering your product data) may display differently such as perhaps the symptoms you are posting about.

    So, really, the *fix* is to put correct image names in your products. THere's no use having invalid names for images anyway, right!
    .

    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.

  7. #7
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: No indication of image src not found

    I think your missing my point.

    If I were to create a blank html document and call it test.html and bung it in the root of my site then put
    <img src="http://www.mysite.com/images/fake-image.jpg" />

    Where fake-image.jpg doesn't actually exist

    Then you visit /test.html

    You will see a completely blank screen

    I am trying to resolve this, not the fact some images are not showing.

    I'm trying to understand why I am not getting a blue image placeholder nothing else.
    Phil Rogers
    A problem shared is a problem solved.

  8. #8
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: No indication of image src not found

    Not Found

    The requested URL /images/43S.jpg was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    WebServerX Server at www.mysite.co.uk Port 80
    Phil Rogers
    A problem shared is a problem solved.

 

 

Similar Threads

  1. Image not found change
    By Beau91324 in forum General Questions
    Replies: 8
    Last Post: 30 Jun 2010, 06:42 PM
  2. how to modify the image SRC for image-handler images?
    By jason1116 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 2 Sep 2009, 01:00 PM
  3. img src not showing image
    By kiwi1066 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Feb 2009, 12:15 PM
  4. Replies: 0
    Last Post: 15 Jan 2009, 03:48 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