freddyfudfucker
asked on
FIREFOX does not display .ASP
Im trying to view my web site (inbuild) and the .asp pages are displayed as text in firefox, yet works fine in Chrome and IE 7/8. iM HOSTING WITH 1 & 1 so no problems with the server side.
Iv seen other answers but it does not help . Is it content type ?
Iv seen other answers but it does not help . Is it content type ?
>All the asp pages say: content="text/html;
Yes, that's what the pages say, but the mime type is still wrong - For instance, in Firefox, have a look at Tools > Page Info - Type,
you will see it's "text/plain".
>It's an Apache server & it can't handle asp pages. That's probably it.
Sounds like you could be right...
What are you talking about thiyaguk:
You are in the wrong post I believe.
Carrzkiss
You are in the wrong post I believe.
Carrzkiss
ASKER
The server is IIS 7 and just to confirm that the .asp pages work fine in IE. Have alook http://www.hornetsailingclub.co.uk/marina.asp
Freddy.
Can you please provide the code that breaks under FF?
As I request above http:Q_24420337.html?cid=1066#a24420324
Your code is not working in FF because something is missing.
IE is more leniant then other browsers are in displaying your code properly.
If you can provide the code, either myself or someone else can
Help you to resolve the issue.
If you do not want to supply the code then follow these steps.
(Using FF ONLY)
Create a dusplicate copy of your code marina.asp
Then
Remove all the code and put it in a text file.
Add in a little at a time, refreshing the FF page on each code insertion.
This way, you can see which line(s) of code are breaking once you see the code being written to the page.
Other then this, we will need to see your actual code.
Carrzkiss
Can you please provide the code that breaks under FF?
As I request above http:Q_24420337.html?cid=1066#a24420324
Your code is not working in FF because something is missing.
IE is more leniant then other browsers are in displaying your code properly.
If you can provide the code, either myself or someone else can
Help you to resolve the issue.
If you do not want to supply the code then follow these steps.
(Using FF ONLY)
Create a dusplicate copy of your code marina.asp
Then
Remove all the code and put it in a text file.
Add in a little at a time, refreshing the FF page on each code insertion.
This way, you can see which line(s) of code are breaking once you see the code being written to the page.
Other then this, we will need to see your actual code.
Carrzkiss
awesome.
I just viewed your site in FF and wow!!!
It turned it into a Notepad Browser... :~)
Not good at all.
OK>
Going to look at your code, may not need your source, will let you know in a few what I find out.
Carrzkiss
I just viewed your site in FF and wow!!!
It turned it into a Notepad Browser... :~)
Not good at all.
OK>
Going to look at your code, may not need your source, will let you know in a few what I find out.
Carrzkiss
OK.
Going to have to see your code.
I saved your page to my computer and ran it inside&outside of IIS.
And the page displays perfect in FF.
So, the asp code is needed to duplicate what we are seeing on the serverside.
Carrzkiss
Going to have to see your code.
I saved your page to my computer and ran it inside&outside of IIS.
And the page displays perfect in FF.
So, the asp code is needed to duplicate what we are seeing on the serverside.
Carrzkiss
ASKER
Actually it is hosted hosted on linux lite ... but it still displays in IE .. here is the code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/main.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<!-- InstanceBeginEditable name="doctitle" -->
<title>Hornet Marina</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link href="tg1.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
background-color: #E3DDCB;
}
body,td,th {
color: #333;
}
-->
</style></head>
<body>
<div id="container">
<table width="850" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/bannerhi.jpg" width="851" height="293" alt="hornet" /></td>
</tr>
</table>
<table width="850" border="0" cellspacing="0" cellpadding="0" height="40" background="images/slicebackground.jpg">
<tr>
<td> <a href="index.html" class="topnavgrey">Home</a> | <a href="com.asp" class="topnavgrey">Committee & Staff</a> | <a href="clubhouse.asp" class="topnavgrey">The Club House</a> | <a href="marina.asp" class="topnavgrey">The Marina </a>| <a href="membership.asp" class="topnavgrey">Membership</a> | <a href="history.asp" class="topnavgrey">History</a> | <a href="contacts.asp" class="topnavgrey">Contacts</a></td>
</tr>
</table>
<!-- InstanceBeginEditable name="top" -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><p> </p>
<table width="100%" border="0" cellspacing="0" cellpadding="8">
<tr>
<td width="4%"> </td>
<td width="67%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="40" background="images/slicebackground.jpg" class="headlinedarkgrey"> The Marina</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="8" cellspacing="0" class="normaltext">
<tr>
<td><p>The club operates its Marina facilities under Licences from the Ministry of Defence who own the land and waterfront and the Marina is shared with the Joint Services Adventurous Sail Training Centre (JSASTC).</p>
<p>The Marina has approximately 210 berths for sailing yachts up to 40 feet LOA. Yachts are generally double berthed alongside pontoons which have fresh water but not electricity supply.</p>
<p>The Marina has a very high level of occupancy and applicants for a berth generally have to join a waiting list. In accordance with the Clubs Constitution, priority is given to serving members of the armed forces who live or work in the Portsmouth area and who are full members of the RNSA, ASA or RAFSA. Because yachts are double berthed, compatibility of yachts alongside each other will also be taken into account when allocating berths. Time on the waiting list will therefore depend on a number of factors and may extend to several years particularly for yachts over 30 feet LOA. Double berthing also precludes berthing for multihull yachts.</p>
<p>Facilities are available for members to lift masts, and to slip and store yachts ashore for the winter. Short term lift-outs for maintenance are available to members throughout the year. Members who do not have an annual berth may be able to berth alongside in the marina in the winter season, depending on availability. All these facilities are limited and must be booked well in advance with the Marina Manager. Application forms are available in the Members section of this site. All these facilities are charged to members at reasonable rates and must be paid in advance. </p>
<p>The Marina is operated by the Marina Manager, Stewart Peters, and two assistants. Members are generally required to attend and assist when their yachts are lifted or launched. </p>
<p><a href="membership.asp" class="smalllinks">... apply here for membership </a></p></td>
</tr>
</table></td>
<td width="29%" valign="top"><table width="100%" border="0" cellpadding="2" cellspacing="0" class="bdr_text">
<tr>
<td height="36" background="images/slicebackground.jpg" class="headlinedarkgrey"> Club House Opening Times</td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="2" cellspacing="0">
<tr>
<td width="33%" bgcolor="#E3DDCB">Day Time</td>
<td width="33%" bgcolor="#E3DDCB">Bar</td>
<td width="34%" bgcolor="#E3DDCB">Galley</td>
</tr>
<tr>
<td class="textsmall">Monday</td>
<td class="textsmall">1200 1400</td>
<td class="textsmall">0945 1345</td>
</tr>
<tr>
<td class="textsmall">Tuesday</td>
<td class="textsmall">1200 1400</td>
<td class="textsmall">0945 1345</td>
</tr>
<tr>
<td class="textsmall">Wednesday</td>
<td class="textsmall">1200 1400</td>
<td class="textsmall">0945 1345</td>
</tr>
<tr>
<td class="textsmall">Thursday</td>
<td class="textsmall">1200 1400</td>
<td class="textsmall">0945 1345</td>
</tr>
<tr>
<td class="textsmall">Friday</td>
<td class="textsmall">1200 1500</td>
<td class="textsmall">0945 1430</td>
</tr>
<tr>
<td class="textsmall">Saturday</td>
<td class="textsmall">1200 1500</td>
<td class="textsmall">0945 1430</td>
</tr>
<tr>
<td class="textsmall">Sunday</td>
<td class="textsmall">1200 1500</td>
<td class="textsmall">0945 1430</td>
</tr>
</table>
<br/>
<table width="100%" border="0" cellpadding="2" cellspacing="0">
<tr>
<td width="33%" bgcolor="#E3DDCB">Evenings</td>
<td width="33%" bgcolor="#E3DDCB">Bar</td>
<td width="34%" bgcolor="#E3DDCB">Galley</td>
</tr>
<tr>
<td class="textsmall">Monday</td>
<td class="textsmall">closed</td>
<td class="textsmall">closed</td>
</tr>
<tr>
<td class="textsmall">Tuesday</td>
<td class="textsmall">closed</td>
<td class="textsmall">closed</td>
</tr>
<tr>
<td class="textsmall">Wednesday</td>
<td class="textsmall">closed</td>
<td class="textsmall">closed</td>
</tr>
<tr>
<td class="textsmall">Thursday</td>
<td class="textsmall">closed</td>
<td class="textsmall">closed</td>
</tr>
<tr>
<td class="textsmall">Friday</td>
<td class="textsmall">1830- 2300</td>
<td class="textsmall">1830 2100</td>
</tr>
<tr>
<td class="textsmall">Saturday</td>
<td class="textsmall">1830- 2300</td>
<td class="textsmall">1830- 2300</td>
</tr>
<tr>
<td class="textsmall">Sunday</td>
<td class="textsmall">closed</td>
<td class="textsmall">closed</td>
</tr>
</table></td>
</tr>
<tr>
<td></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<!-- InstanceEndEditable -->
<p> </p>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="40" background="images/bottomslice.jpg">
<tr>
<td width="30%" background="images/bottomslice.jpg" class="textsmall"> © Hornet Sailing Club 2009</td>
<td width="23%" class="smalllinks"> </td>
<td width="47%" background="images/bottomslice.jpg" class="textsmall"><p>Hornet Sailing Club | Haslar Road | Gosport | Hants | PO12 2AQ</p></td>
</tr>
</table>
</div>
</body>
<!-- InstanceEnd --></html>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
By the way.
Changing the file extention, is the actual file itself.
Save it as marina.htm
Changing the file extention, is the actual file itself.
Save it as marina.htm
freddyfudfucker:
What is the deal with this issue?
I think that I gave you the proper information and thus fixed your issue.
This needs to be finalized.
Carrzkiss
What is the deal with this issue?
I think that I gave you the proper information and thus fixed your issue.
This needs to be finalized.
Carrzkiss
Can you please provide a sample of the code that you are using.
(Make sure that you test it with FF and that it displays as text first)
This happens ONLY when you forget something.
It should not be to much trouble to find it.
Carrzkiss