View Full Version : Adsense throwing Errors in IE6.0
stuart888
09-27-2005, 03:58 PM
Saddly, today IE stopped showing my adsense ads on my site WineDefinitions.com (http://www.winedefinitions.com/learningcenter/learningcenter.htm) and I troubleshooted it to the dynamically created content of adsense. IE puts a "Done, but with errors on the page" on the bottom left. Clicking on the error reports an unterminated string, which is located in the adsense generated code. This even happens on pages that I have not touched in a long time that were working great. Anyone else running in to this? I sent an email into adsense support. Any other ideas?
Thanks a bunch, Stuart www.winedefinitions.com
dragonsage
09-27-2005, 04:41 PM
Looks like it's working now in IE6.0 (WinXP-SP2) and Firefox 1.07.
haakonu
09-27-2005, 05:15 PM
Try installing the HTML Validator (based on Tiny)-extension for Firefox... There are warnings about errors in every adsense-ad.
This is a partial list from one of my ads:
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 5 column 399 - Warning: unescaped & or unknown entity "&hl"
line 5 column 405 - Warning: unescaped & or unknown entity "&client"
line 5 column 436 - Warning: unescaped & or unknown entity "&adU"
line 5 column 456 - Warning: unescaped & or unknown entity "&adT"
line 5 column 491 - Warning: unescaped & or unknown entity "&adU"
line 6 column 2029 - Warning: <td> proprietary attribute "onfocus"
line 6 column 3310 - Warning: <table> proprietary attribute "height"
line 6 column 3407 - Warning: <td> attribute "width" lacks value
line 6 column 3407 - Warning: <td> attribute "height" lacks value
line 6 column 3407 - Warning: <td> attribute "valign" has invalid value "center"
line 6 column 3407 - Warning: <td> proprietary attribute "onfocus"
line 6 column 4732 - Warning: <td> attribute "align" lacks value
0 errors / 52 warnings
Gaston
09-27-2005, 06:27 PM
I had the same thing happen to me in IE. By the way, I only use Firefox now except for testing. Anyway, I couldn't figure out what was causing it. But at the same time, I was fighting a bug of some sort that kept giving fits. I ran Spybot S&D and Adaware and it seemed to fix the bug and the adsense problem.
I'm not sure but I think the bug had reset my privacy settings in my browser.
If you haven't already, you may wnt to try it on a different computer. Or, post a link and I or someone will see if it gives an error.
Hope this helps.
stuart888
10-12-2005, 01:55 PM
Thanks all...I was able to fix this by clearing the cache (IE History, google cookie, and clear cache files). It never happens when loading the same page in Firefox, just IE. Ultimately this is the fix, for others that may get it as well.
Regards, Stuart
www.WineDefinitions.com (http://www.winedefinitions.com/learningcenter/learningcenter.htm)
websitemanagers
10-13-2005, 07:20 AM
If you don't want to wait until the error happens again to fix it, put the code below into the <HEAD> of your pages.
<!-- BLOCK JAVASCRIPT ERRORS -->
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: David Sosnowski (support@codefoot.com) -->
<!-- Web Site: http://www.codefoot.com -->
<!-- Begin
function blockError(){return true;}
window.onerror = blockError;
// End -->
</script>
Jim
Website Managers
http://www.websitemanagers.net
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.