Minor error message
I noticed that one of my sites has a tiny error on this page icon show up in the bottom left corner of IE6. When clicked it says:
Line: 4
Char: 6
Error: Syntax error
Code: 0
URL: <a href="http://www.pstvalumni.com" class="bb-url">http://www.pstvalumni.com</a>
Nothing seems wrong with the page display but I checked the code in a validator. The code did not validate due to a hundred other issues but nothing seemed to be causing an error anywhere around Line 4. Below is the beginning of my code. Anybody know why I'm getting that error icon?
<?php
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">
<head>
<title>PSTValumni.com - Plattsburgh State Television Alumni</title>
<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\">
<meta name=\"author\" content=\"Mike Sussman\">
<meta name=\"copyright\" content=\"Copyright 2002-2004 Shooting Storm Media\">
<meta name=\"description\" content=\"PSTValumni.com - The homepage for alumni of Plattsburgh State Television.\">
<meta name=\"keywords\" content=\"PSTValumni, PSTV Alumni, PSTV, Plattsburgh State Television, SUNY Plattsburgh, PSUNY, PSUC, college, televison, tv, DeSilva, Yokum, Mass Communication\">
<meta name=\"Revisit-After\" content=\"14 Days\">
<link rel=\"stylesheet\" href=\"/style.css\" type=\"text/css\">
?>
mairving posted this at 21:38 — 11th February 2004.
They have: 2,256 posts
Joined: Feb 2001
It is a javascript error with your rollover buttons. Doesn't have anything to do with the HTML validating. It only appears in IE. I didn't see the error in Mozilla. You might try going back and retyping the first value image2 = new Image(); since it appears on that line.
Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states
fifeclub posted this at 21:59 — 11th February 2004.
He has: 688 posts
Joined: Feb 2001
Thanks! I'd never have figured that one out on my own.
fifeclub posted this at 14:32 — 13th February 2004.
He has: 688 posts
Joined: Feb 2001
I found it... but couldn't fix it. It turned out not to be the rollovers. It wasn't anywhere near line 4 as the error stated - more like line 104 or something way down there. If I take out the code for my counter/logging then it disappears.
<?php
<script language=\"JavaScript\" type=\"text/javascript\" src=\"/pphlogger.js\"></script>
<noscript><img alt=\"\" src=\"http://www.mikesussman.com/pphlogger/pphlogger.php?id=mikesussman&st=js\"></noscript>
?>
Abhishek Reddy posted this at 21:54 — 13th February 2004.
He has: 3,348 posts
Joined: Jul 2001
The URL doesn't load... I get no page or errors, just a tab titled "Untitled".
Ignore line numbers in IE - they aren't useful, unless you get a proper debugger.
It does look like a problem with pphlogger.js. Now if only I could see the code...
fifeclub posted this at 22:22 — 13th February 2004.
He has: 688 posts
Joined: Feb 2001
You've been having tons of bad luck with me lately . I'm also the guy who had a softball site critique that you couldn't access. Well this time it's completely my host's fault. They've been down for the past six hours. Sorry about that. I hope they'll be back online soon!
Abhishek Reddy posted this at 06:27 — 14th February 2004.
He has: 3,348 posts
Joined: Jul 2001
heh yeah. I was worried I might have some connection with it (pun not intended).
Now I'm getting no response at all. I'll try again later.
Suzanne posted this at 18:31 — 14th February 2004.
She has: 5,507 posts
Joined: Feb 2000
These were not found:
<a href="http://www.pstvalumni.com/pstv-template_02b.jpg" class="bb-url">http://www.pstvalumni.com/pstv-template_02b.jpg</a>
<a href="http://www.pstvalumni.com/pstv-template_04b.jpg" class="bb-url">http://www.pstvalumni.com/pstv-template_04b.jpg</a>
<a href="http://www.pstvalumni.com/pstv-template_05b.jpg" class="bb-url">http://www.pstvalumni.com/pstv-template_05b.jpg</a>
<a href="http://www.pstvalumni.com/pstv-template_06b.jpg" class="bb-url">http://www.pstvalumni.com/pstv-template_06b.jpg</a>
<a href="http://www.pstvalumni.com/pstv-template_07b.jpg" class="bb-url">http://www.pstvalumni.com/pstv-template_07b.jpg</a>
<a href="http://www.pstvalumni.com/pstv-template_08b.jpg" class="bb-url">http://www.pstvalumni.com/pstv-template_08b.jpg</a>
<a href="http://www.pstvalumni.com/pstv-template_09b.jpg" class="bb-url">http://www.pstvalumni.com/pstv-template_09b.jpg</a>
<a href="http://www.pstvalumni.com/pstv-template_10b.jpg" class="bb-url">http://www.pstvalumni.com/pstv-template_10b.jpg</a>
The rollovers are not preloading, leaving a hefty white glitch until they are. You should update and fix your rollover code.
I can't duplicate the error on the mac, if that helps.
Abhishek Reddy posted this at 04:00 — 15th February 2004.
He has: 3,348 posts
Joined: Jul 2001
CP="NOI DSP COR CURa ADMa DEVa TAIa OUR BUS IND UNI COM NAV INT"
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/mikesus/public_html/pphlogger/pphlogger.php:3) in <b>/home/mikesus/public_html/pphlogger/pphlogger.php</b> on line <b>228</b><br />
document.open()
document.write(' ')
document.close()
Everything from to shouldn't be there -- it's a PHP error output, which is interfering with your JavaScript. Also, add semicolons to the ends of your JS lines.
Source File: http://www.mikesussman.com/pphlogger/pphlogger.php?id=pstvalumni&referer=http%3A//www.webmaster-forums.net/showthread.php%3Ft%3D23728&r=1024x768&c=24&showme=n&st=js&title=PSTValumni.com%20-%20Plattsburgh%20State%20Television%20Alumni&url=http://www.pstvalumni.com/
Line: 3, Column: 5
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.