Connecting Tech Pros Worldwide Help | Site Map

Error trying to include an image or css file?

bobmct
Guest
 
Posts: n/a
#1: Oct 25 '06
Gentlemen;

I must be blind because I cannot determine why I am getting the following
error when I reference other files on my server:

(8)Exec format error: exec of '/srv/www/sites/pix/xxx.png' failed,
referer: http://dev2.xxx.net/xxx.css
(8)Exec format error: exec of '/srv/www/sites/pix/xxx.png' failed,
referer: http://dev2.xxx.net/xxx.php

Yes - I am setting up a new server machine using apache 2.0.55 and my config
is based on other working systems. I've checked the permissions on all the
directories and files referenced and the paths thereof.

The html statements causing these errors are:

<link rel=\"stylesheet\" type=\"text/css\" href=\"xxx.css\" />

in the head sections (for the css) and

<div class=\"_Heading\">
<img src=\"../pix/xxx.png\" width=\"123\" height=\"85\" alt=\"logo\">
<img src=\"../pix/xxx.png\" width=\"406\" height=\"63\" alt=\"xxx\">
..
..
..
The escaped double-quotes (\") are there because these statements are
written as output strings from a print statement.

I've searched/googled the groups and I cannot find a definitive direction to
look regarding these errors.

Any ideas, suggestions, recommendations GREATLY appreciated.

Thanks,

Bob

David Stone
Guest
 
Posts: n/a
#2: Oct 25 '06

re: Error trying to include an image or css file?


In article <ehnmf6$jod$1@newsdbm01.news.prodigy.com>,
bobmct <bobmct1@gmail.comwrote:
Quote:
Gentlemen;
[snip]
Quote:
>
The html statements causing these errors are:
>
<link rel=\"stylesheet\" type=\"text/css\" href=\"xxx.css\" />
>
in the head sections (for the css) and
>
<div class=\"_Heading\">
<img src=\"../pix/xxx.png\" width=\"123\" height=\"85\" alt=\"logo\">
<img src=\"../pix/xxx.png\" width=\"406\" height=\"63\" alt=\"xxx\">
.
.
.
The escaped double-quotes (\") are there because these statements are
written as output strings from a print statement.
First thing I'd do would be fix the print statement so that it's
output is correctly formatted for an html page...

To check the server errors, write a simple html test page in a text
editor (to avoid the above problem completely) and use that to test
the system.
Closed Thread