473,473 Members | 2,169 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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=\"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
1 1694
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: theonlydrayk | last post by:
the script that show image is : <?php include('dbinfo.inc.php'); mysql_connect($localhost,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query =...
8
by: Vavel | last post by:
Hi all! I used google, but I found nothing. I have got smiple code: #include <sql.h> int main() { } when I compiled this in Borland C++ 5.5.1 for Win32 Copyright (c) 1993,
0
by: WithPit | last post by:
I have some problems with the instantiating new objects. For example I have the following code //Headerfile (Texture1D.h> #pragma once #using <mscorlib.dll> #include <osg/Texture1D> #include...
8
by: Razak | last post by:
Hi, I have a class which basically do Impersonation in my web application. From MS KB sample:- ++++++++++++++++++++code starts Dim impersonationContext As...
6
by: Patrick Dugan | last post by:
Hello, I'm trying to load different images (icons) into a PictureBox1.Image. The first image loads just fine, but the second image always returns the error "Invalid property used." It doesn't...
1
by: rsteph | last post by:
I've got some product information pages, with images and text, all setup within a table. I'm trying to add a small image in the upper right hand corner of the content div (where all the important...
0
by: =?Utf-8?B?Qi4gQ2hlcm5pY2s=?= | last post by:
I have not tried this before. I have been building an ASP.Net 2.0 app for some weeks now and up till now I have not had any problems publishing. I was given a Word doc to include in the app. I...
5
by: RomeoPapacy | last post by:
I'm trying to write what should be a very simple program - a system tray based menu to allow me to quickly access files in a folder (for me a bunch of disc images). Unfotunately i'm stumped near...
1
n8kindt
by: n8kindt | last post by:
i just spent nearly 3hrs trying to debug this problem so i figured i would post this just in case someone else has the same problem in the future. if you're trying to output binary data as an image...
11
by: JRough | last post by:
I'm trying to use output buffering to cheat so i can print to excel which is called later than this header(). header("Content-type: application/xmsdownload"); header("Content-Disposition:...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.