13 replies [Last post]
bgbs
Offline
Enthusiast
Last seen: 9 years 4 weeks ago
Timezone: GMT-6
Joined: 2007-08-29
Posts: 102
Points: 52

I cant figure this out why the page does not want to determine parse mode.
Please help because changing DOCTYPES to different ones does nothing to fix this problem.

I dont know if anything can be determine by looking at the source, but here it is.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
<html>
<head>
<title>
Auction</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
<meta name="description" content="enter general site description.">
<meta name="keywords" content="enter general site keywords"><script language="javascript" src="includes/main_functions.js" type="text/javascript"></script><link href="themes/ultra/style.css" rel="stylesheet" type="text/css" >
<script src="themes/ultra/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="themes/ultra/SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" >
<script src="themes/ultra/SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<link href="themes/ultra/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" >
<style type="text/css">
<!--
.bg {
 background-image: url(themes/ultra/img/subbg.gif);
}
.TabbedPanelsTab {
 BACKGROUND: url(themes/ultra/img/tabg2.gif) no-repeat right top;
}
.TabbedPanelsTab a {
 BACKGROUND: url(themes/ultra/img/tabg1.gif) no-repeat left top;
}
.TabbedPanelsTabSelected {
 BACKGROUND: url(themes/ultra/img/tabbrown2.gif) no-repeat right top;
}
.TabbedPanelsTabSelected a {
 BACKGROUND: url(themes/ultra/img/tabbrown1.gif) no-repeat left top;
}
.placebid {
	font-size: 18px;
	font-weight: bold;
	height: 38px;
}
.lb {
	border-right: 1px solid #111212;
	border-left: 1px solid #606468;
	font-size: 11px;
	font-weight: bold;
	background-image: url(themes/ultra/img/subbg.gif);
}
.lb a {
	color: #ffffff;
	text-decoration: none;
}
.lb a:hover {
	color: #ffffff;
	text-decoration: none;
}
.db {
	font-size: 11px;
	font-weight: bold;
	border-right: 1px solid #111212;
	border-left: 1px solid #606468;
	background-image: url(themes/ultra/img/db_bg.gif);
}
.db a {
	color: #ffffff;
	text-decoration: none;
}
.db a:hover {
	color: #ffffff;
	text-decoration: none;
}
.today {
background: #ffffff url(themes/ultra/img/listedtoday.gif) top right no-repeat;
}
.day {
background: #ffffff url(themes/ultra/img/day.gif) bottom right no-repeat;
}
.hour {
background: #ffffff url(themes/ultra/img/hour.gif) rightleft no-repeat;
}
.hl_item1 {
	border: 2px solid #ffa500;
}
-->
 
</style>
<script language="javascript" src="themes/ultra/main.js" type="text/javascript"></script>
<script language=JavaScript src='scripts/innovaeditor.js' type="text/javascript"></script>
<script type="text/javascript">
var currenttime = 'February 26, 2010 11:10:39';
var serverdate=new Date(currenttime);
 
function padlength(what){
	var output=(what.toString().length==1)? "0"+what : what;
	return output;
}
 
function displaytime(){
	serverdate.setSeconds(serverdate.getSeconds()+1)
	var timestring=padlength(serverdate.getHours())+":"+padlength(serverdate.getMinutes())+":"+padlength(serverdate.getSeconds());
	document.getElementById("servertime").innerHTML=timestring;
}
 
window.onload=function(){
	setInterval("displaytime()", 1000);
}
 
var ie4 = false;
if(document.all) { ie4 = true; }
 
function getObject(id) { if (ie4) { return document.all[id]; } else { return document.getElementById(id); } }
function toggle(link, divId) {
	var lText = link.innerHTML;
	var d = getObject(divId);
	if (lText == '+') { link.innerHTML = '&#8211;'; d.style.display = 'block'; }
	else { link.innerHTML = '+'; d.style.display = 'none'; }
}
 
</script>
</head>
<body>
<div id="top-global-menu">
<table width="1100" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><div class="menu-links">
 
  <ul>
 
    <li><a href="#">Back to Home</a></li>
 
  </ul>
 
</div></td>
  </tr>
</table>
 
</div>
<table width="1100" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><div id="auction-account"><div style="float: right; text-align:right;"> 
                                          Welcome back, <b>peter</b>
 
                     <a href="/auction/index.php?option=logout">LOGOUT</a>
                     <br>Feb. 26, 2010                        <span id="servertime"></span></div></div>
 
 
    <div id="global-header-wrapper"><div class="logo"><a href="auction/"><img border="0" src="themes/ultra/img/auction-logo.png" alt="Wireless Association Auction"  ></a></div>
     <div class="auction-news"></div>
   </div>
</td>
  </tr>
</table>
 
 
<div style="clear:both;"></div>
<table width="1100" border="0" align="center"  cellspacing="0">
<tr>
   <td>
 
   <table width="100%" height="50" border="0" cellspacing="0" cellpadding="0" background="themes/ultra/img/subbg.gif">
      <tr align="center">
         <td width="20%" style="border-right: 1px solid #111212;">	<a style="background-color: transparent; color: #ffffff; border: 0px;" class="MenuBarItemSubmenu" href="index.php">MAIN PAGE</a></td>
 
    <td nowrap width="20%"  class="lb" ONMOUSEOVER="this.className='db';" ONMOUSEOUT="this.className='lb';">
         	<ul id="MenuBarCategories" class="MenuBarHorizontal">
 
               <li style="background-color: transparent;">
               	<a style="background-color: transparent; color: #ffffff; border: 0px;" class="MenuBarItemSubmenu" href="categories.php">CATEGORIES</a>
 
               	<ul>
 
      <li><a style="font-size: 11px; font-weight: normal;" href="auction/categories.php?category=Accessories&parent_id=1868" title="Accessories"><img src="themes/ultra/img/arrow.gif" border="0" hspace="4">Accessories         </a>
   </li>
      <li><a style="font-size: 11px; font-weight: normal;" href="auction/categories.php?category=Parts&parent_id=1867" title="Parts"><img src="themes/ultra/img/arrow.gif" border="0" hspace="4">Parts         (<strong>2</strong>)</a>
 
   </li>
      <li><a style="font-size: 11px; font-weight: normal;" href="auction/categories.php?category=Phones&parent_id=1866" title="Phones"><img src="themes/ultra/img/arrow.gif" border="0" hspace="4">Phones         (<strong>1</strong>)</a>
   </li>
   </ul>
               </li>
            </ul></td>
                  <!-- Members Area Menu -->
 
         <td nowrap  class="db"  width="20%" >
	         <ul id="MenuBar1" class="MenuBarHorizontal">
	            <li style="background-color: transparent;"><a style="background-color: transparent; color: #ffffff; border: 0px;" href="members_area.php">
	               My Account	               </a>
	               <ul>
 
	                  <li><a  href="auction/members_area.php?page=messaging&section=received">
	                     Messaging	                     </a>
	                  </li>
 
	                  <li><a  href="auction/members_area.php?page=bidding&section=current_bids">
	                     Account Menu	                     </a>
	                  </li>
 
 
 
 
	                <li><a  href="auction/members_area.php?page=account&section=editinfo">
	                     Company Info	                     </a>
 
	                  </li>
 
	                  	               </ul>
	            </li>
 
	         </ul>
			</td>
 
	      <!-- EOF MEMBERS AREA MENU -->
	      						          <!--    <form action="auction_search.php" method="post">
            <input type="hidden" name="option" value="basic_search">
            <td class="lb" nowrap width="100%" align="right" style="border-right: 0px;"><input type="text" size="20" name="basic_search" style="background-image: url(themes/ultra/img/searchbg.gif); height: 20px; border: 0px;padding-left: 10px; padding-top: 2px;"></td>
            <td nowrap  style="padding-right: 10px;"><input name="form_basic_search" type="image" src="themes/ultra/img/search.gif" border="0"></td>
         </form>-->
 
      </tr>
   </table>
   <!--<div><img src="themes/ultra/img/pixel.gif" width="1" height="10"></div>-->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
 
   <tr>
      <td width="10"  style="border-left: 1px solid #bbbbbb;"><img src="themes/ultra/img/pixel.gif" width="1" height="1"></td>
      <td width="100%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
         <tr valign="top">
            <td width="100%">
					<div style="margin-top: 15px;"></div>
 
<SCRIPT LANGUAGE="JavaScript"><!--
myPopup = '';
 
function openPopup(url) {
	myPopup = window.open(url,'popupWindow','width=350,height=250,status=yes');
   if (!myPopup.opener) myPopup.opener = self;
}
//-->
</SCRIPT>
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
        <tr>
 
 
        <td width='100%' class='partb'>My Account</td>
 
        </tr>
        </table>
        <div><img src='themes/ultra/img/pixel.gif' width='1' height='3'></div>
<div class="table-wrapper"><table border="0" cellpadding="3" cellspacing="0" width="100%"> 
<tr valign="top">
 
 
      <td width="25%"  class="border"><table border="0" cellpadding="2" cellspacing="1" width="100%" class="contentfont">
            <tr>
               <td><b>Account Menu</b></td>
 
            </tr>
            <tr>
               <td>
               	&raquo; <a href="auction/members_area.php?page=bidding&section=current_bids">Current Bids</a><br>
                  &raquo; <a href="auction/members_area.php?page=bidding&section=won_items">Won Items</a><br>
                  &raquo; <a href="auction/members_area.php?page=bidding&section=invoices_received">Invoices Received</a><br>
 
                  &raquo; <a href="auction/members_area.php?page=bidding&section=item_watch">Watched Items</a><br />
                                    &raquo; <a href="auction/members_area.php?page=bidding&section=keywords_watch">Keywords Watch</a> 
					</td>
            </tr>
         </table></td>
 
 
              <td width="25%" class="border"><table border="0" cellpadding="2" cellspacing="1" width="100%" class="contentfont">
 
            <tr>
               <td><b>Messaging</b></td>
            </tr>
            <tr>
               <td>
               	&raquo; <a href="auction/members_area.php?page=messaging&section=received">Received</a><br>
                  &raquo; <a href="auction/members_area.php?page=messaging&section=sent">Sent</a> 
					</td>
 
            </tr>
 
         </table></td>
   </tr>
</table>
 
<br>
<table cellpadding="0" cellspacing="0" width="100%" border="0">
	<tr>
		<td valign="top"></td>
		<td align="right" valign="top"></td>
	</tr>
 
</table>
<br>
<table width="100%" border="0" cellpadding="3" cellspacing="2" class="border">
   <tr>
      <td colspan="8" class="c7"><div class="partb">Last 5 Bids Placed</div></td>
   </tr>
   <tr>
      <td class="membmenu" align="center">Picture</td>
      <td class="membmenu">Auction ID         <br>
 
         </td>
      <td class="membmenu">Item Title         <br>
         </td>
      <td class="membmenu" align="center">Bid Amount         <br>
         </td>
      <td class="membmenu" align="center">Proxy Bid         <br>
         </td>
 
      <td class="membmenu" align="center">Date         <br>
         </td>
      <td class="membmenu" align="center">Status</td>
      <td class="membmenu" align="center">Options</td>
   </tr>
   <tr class="c5">
      <td><img src="themes/ultra/img/pixel.gif" width="60" height="1"></td>
 
      <td><img src="themes/ultra/img/pixel.gif" width="60" height="1"></td>
      <td width="100%"><img src="themes/ultra/img/pixel.gif" width="1" height="1"></td>
      <td><img src="themes/ultra/img/pixel.gif" width="120" height="1"></td>
      <td><img src="themes/ultra/img/pixel.gif" width="120" height="1"></td>
      <td><img src="themes/ultra/img/pixel.gif" width="120" height="1"></td>
      <td><img src="themes/ultra/img/pixel.gif" width="80" height="1"></td>
      <td><img src="themes/ultra/img/pixel.gif" width="140" height="1"></td>
   </tr>
   <tr><td colspan="8" align="center">You have currently no bids placed on the auctions currently listed on the site.</td></tr>   </table>
 
</td>
</tr>
</table>
 
         	</td>
               <td width="10" style="border-right: 1px solid #bbbbbb;"><img src="themes/ultra/img/pixel.gif" width="1" height="1"></td>
            </tr>
            <tr>
               <td width="10"><img src="themes/ultra/img/c3.gif" width="10" height="10"></td>
               <td width="100%" style="border-bottom: 1px solid #bbbbbb;"><img src="themes/ultra/img/pixel.gif" width="1" height="1"></td>
               <td width="10"><img src="themes/ultra/img/c4.gif" width="10" height="10"></td>
 
            </tr>
         </table>
 
         <div><img src="themes/ultra/img/pixel.gif" width="1" height="5"></div>
         <div align="center">
                     </div>
         <div><img src="themes/ultra/img/pixel.gif" width="1" height="5"></div>
         <!--<div align="center" style="padding: 5px;" class="footerfont">
      		<a href="auction/index.php">HOME</a>
								| <a href="auction/members_area.php">My Account</a>
				| <a href="auction/index.php?option=logout">LOGOUT</a>
				| <a href="auction/content_pages.php?page=help">HELP</a>
				| <a href="auction/content_pages.php?page=faq">FAQ</a>
            | <a href="auction/site_fees.php">SITE FEES</a>
                        | <a href="auction/content_pages.php?page=terms_page">ABOUT US</a>
                                    | <a href="auction/content_pages.php?page=privacy_page">CONTACT US</a>
                         | <a href="auction/content_pages.php?page=custom_page&topic_id=42">HOW DOES THIS WORK?</a>  | <a href="auction/content_pages.php?page=custom_page&topic_id=44">BECOME A BIDDER</a>  | <a href="auction/content_pages.php?page=custom_page&topic_id=45">BECOME A AUCTION SELLER</a>  | <a href="auction/content_pages.php?page=custom_page&topic_id=46">PRIVACY POLICY</a>  | <a href="auction/content_pages.php?page=custom_page&topic_id=47">TERMS AND CONDITIONS</a> 			</div>-->
         <div class="footerfont1"><br>
 
            <p>2007 Wireless Association LLC. &copy;&nbsp;&nbsp; <a href="content_pages.php?page=custom_page&topic_id=46" class="style1">Privacy Policy</a>
            &nbsp;&nbsp;&nbsp;&nbsp;<a href="content_pages.php?page=custom_page&topic_id=47" class="style1">Terms and Conditions </a>
            &nbsp;&nbsp;&nbsp;&nbsp; <a href="content_pages.php?page=custom_page&topic_id=50" class="style1">FAQs </a>
            &nbsp;&nbsp;&nbsp;&nbsp; <a href="contact.php" class="style1">Contact Us </a>             
            </p></div>
 
		</td>
   </tr>
</table>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
var MenuBarCategories = new Spry.Widget.MenuBar("MenuBarCategories", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
var MenuBarHelp = new Spry.Widget.MenuBar("MenuBarHelp", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body></html>

Verschwindende
Verschwindende's picture
Offline
Guru
Last seen: 1 week 1 day ago
Timezone: GMT-4
Joined: 2009-10-09
Posts: 2050
Points: 2282

I have no idea what you're

I have no idea what you're asking but the doctype is incomplete. That means quirks mode.

bgbs
Offline
Enthusiast
Last seen: 9 years 4 weeks ago
Timezone: GMT-6
Joined: 2007-08-29
Posts: 102
Points: 52

Hello Verschwindende What I'm

Hello Verschwindende
What I'm asking is how do I get rid of the Parse Mode error when validating the page?
If you're saying the doctype is incomplete, what should I be using instead?

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 6 years 5 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

use this DTD, and fix your

use this DTD, and fix your many validation errors.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

bgbs
Offline
Enthusiast
Last seen: 9 years 4 weeks ago
Timezone: GMT-6
Joined: 2007-08-29
Posts: 102
Points: 52

Doctype didnt work for some

Doctype didnt work for some reason, still gives me parse error.

The validator is giving me only two validation errors and two warnings (one of which is doctype)

Here is full validator results:

1. No Character Encoding Found! Falling back to UTF-8.

2. Unable to Determine Parse Mode!

3.Line 1, Column 1: no document type declaration; will parse without validation
document.location.href='login.php'document.location.hre

4.Line 1, Column 59: document type does not allow element "SCRIPT" here

…ion.href='login.php'document.location.href='login.php'

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 6 years 5 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

can you provide a link

can you provide a link

Verschwindende
Verschwindende's picture
Offline
Guru
Last seen: 1 week 1 day ago
Timezone: GMT-4
Joined: 2009-10-09
Posts: 2050
Points: 2282

***

Is there an empty line or an xml prolog before the doctype? If not, perhaps you saved the file using UTF-8 which may have included a byte order mark.

What validator are you using?? http://validator.w3.org is the one recommended here. (Are there others?)

bgbs
Offline
Enthusiast
Last seen: 9 years 4 weeks ago
Timezone: GMT-6
Joined: 2007-08-29
Posts: 102
Points: 52

I emailed you the login

I emailed you the login details. It seems the problem occurs after login.

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 6 years 5 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

umm, ok, you just want his

umm, ok, you just want his help then? thats ok, you didnt hurt my feelings or anything. Ill be ok, dont worrie about me, Ill just go sit over here in the corner and talk to my shadow.

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 6 years 5 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

ok, first, you have many

ok, first, you have many validation errors on the main page before logging in.

Now, for the page in question, you have this code...

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

see what happens when you change it to this...

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

bgbs
Offline
Enthusiast
Last seen: 9 years 4 weeks ago
Timezone: GMT-6
Joined: 2007-08-29
Posts: 102
Points: 52

Understand me correctly, I'm

Understand me correctly, I'm just trying to figure out the problem with the Parse Error. I've been working on it all day, and I'm still looking for it. I'm fixing validation errors as I go, but many of those validation erros occur because of the doctype issue I think. The root issue needs to be resolved first before all the other ones.

I appreciate your help thusfar, I know you're not required to help me, I sent you logins only because thats how you will see the root issue.

bgbs
Offline
Enthusiast
Last seen: 9 years 4 weeks ago
Timezone: GMT-6
Joined: 2007-08-29
Posts: 102
Points: 52

I think this issue is taken

I think this issue is taken care of now, but there are number of other issues that I notice, and I'm having difficulty validating them all because, as the validator says, I need looser validation rules than using the strict one.

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 6 years 5 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

have up updated the live site

have up updated the live site with the new code so we can see the new issues?

bgbs
Offline
Enthusiast
Last seen: 9 years 4 weeks ago
Timezone: GMT-6
Joined: 2007-08-29
Posts: 102
Points: 52

I'm not sure what you're

I'm not sure what you're saying. I made only minor css validation adjustments on login.php page prior to login, but nothing much to other pages because of the parse error.