View Full Version : no hits for image problem
wrldpc
07-17-2007, 02:23 PM
I'm looking for some enlightenment.
After examining my web logs for the last week, I found that there are no records for hits on one of my images. That is, there is no http code, 200, 403, 404, 304, etc. associated with that image in the logs when visitors access the Web page that contains the image. It is as if that piece of the html code is being ignored. There are other 200 records for other images and the permissions for all images are identical. The html code is identical for all images except for the file name. Can anyone explain this to me?
Basil
07-18-2007, 04:52 AM
Maybe it doesn't exist.
Shonky
07-18-2007, 05:11 AM
Could be a malformed <img> call, if the browser is ignoring the <img> tag for whatever reason you will not see any access on the image in the logs. Can you post the URL of the site, for us to take look?
wrldpc
07-18-2007, 06:09 AM
The file exists. The site is www.enterprisesystemtheory.net. It does not appear to be a malformed <img> tag but a fresh set of eyes may see something I'm not.
lazynitwit
07-18-2007, 02:47 PM
The file exists. The site is www.enterprisesystemtheory.net (http://www.enterprisesystemtheory.net). It does not appear to be a malformed <img> tag but a fresh set of eyes may see something I'm not.
its not a malformed image, but it is a slight error in HTML:
<a href="http://www.mathet.com"
<img src="images/mathetlogoweb.jpg" alt="mathetlogoweb™" height="100" width="125" border="ffffff" />
</a><br>You're missing the '>' for the a tag.
LeMarque
07-18-2007, 03:15 PM
Not sure what this is even tho it's commented out, but looking at your page source shows:
<!-- Base href="file:///C:/Mathet/mathetit/buildtime/dev/website/newpublic_html/est/" --><!-- /base -->
Wouldn't think it should be pointing to href="file:///C:/
wrldpc
07-19-2007, 07:47 AM
lazywit,
Thanks for pointing that out! This may indeed be the problem. After looking at code for hours sometimes it's hard to see the obvious, especially since everything seemed to working fine up to about a week or so ago and every once in a while everything works as expected. I'll make the change immediately and let you know the results.
Lemarque,
That piece of code uses the Base tag for easy movement of code between environments. It is developed on one site and moved to Bluehost. When in the Bluehost environment that line is commented out and a different Base is used. The urls are relative to the Base.
wrldpc
07-19-2007, 09:28 AM
lazywit,
So far, so good. We'll see what happens over the next couple of days. Thanks again.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.