Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Problem with images - "file does not exist"

Can't find out which file does not exist and why

10:39 am on Jun 11, 2011 (gmt 0)

5+ Year Member

The problem. My server's logfiles are full of:

[Fri Jun 10 13:58:22 2011] [error] [client ***] File does not exist: /var/www/mydomain/start/images, referer: http://www.mydomain.com/start/

There are 2 things what I don't understand:

1. I can not understand what causes this error because it doesn't show any filename which was not found. It shows just "images" folder location.

All images are located in: /var/www/mydomain/images

I have searched all my files and there are no image tags without filenames:
<img src="/images">
There are no image tags like this: <img src="/images/$some_value">

2. Why the path to the non-existing file is /var/www/mydomain/start/images instead of /var/www/mydomain/images ? This may happen if image tags looks like this <img src="images/someimage.jpg"> but my image tags start with "/" and looks like this: <img src="/images/someimage.jpg">

There are not so many images in /var/www/mydomain/images because this folder contains subfolders like /var/www/mydomain/images/smilies /var/www/mydomain/images/backgrounds etc and most of images are located there. So the error should show some subfolder.

One more strange thing. This happends not to all users. Maybe only 10% of users leave leave in my logfiles entries like this. Some users leave 2-3 lines, some users - even 36. I have checked all my files and can't find files with 36 images on the same page. No users have reported problems with non-existing images.

I also found some "File does not exist" from my IP address. So, I checked the file which caused this error but all images are in place.

I also checked css files for errors. Nothing found.

Maybe some javascripts may cause this errors, don't know.

Any ideas? Thanks.

Software error:

Can't locate /home/deploy/webmasterworld/code_format-v6.lib in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at decode-post-v6.lib line 27, <THREADDAT> line 3.

For help, please send mail to the webmaster (it@imninjas.com), giving this error message and the time and date of the error.