Error trying to include an image or css file?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bobmct

    Error trying to include an image or css file?

    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=\"styleshee t\" type=\"text/css\" href=\"xxx.css\ " />

    in the head sections (for the css) and

    <div class=\"_Headin g\">
    <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

    #2
    Re: Error trying to include an image or css file?

    In article <ehnmf6$jod$1@n ewsdbm01.news.p rodigy.com>,
    bobmct <bobmct1@gmail. comwrote:
    Gentlemen;
    [snip]
    >
    The html statements causing these errors are:
    >
    <link rel=\"styleshee t\" type=\"text/css\" href=\"xxx.css\ " />
    >
    in the head sections (for the css) and
    >
    <div class=\"_Headin g\">
    <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.

    Comment

    Working...