By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,853 Members | 2,186 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,853 IT Pros & Developers. It's quick & easy.

Error trying to include an image or css file?

P: n/a
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

Oct 25 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
In article <eh**********@newsdbm01.news.prodigy.com>,
bobmct <bo*****@gmail.comwrote:
Gentlemen;
[snip]
>
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.
Oct 25 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.