Radified Community Forums
http://radified.com/cgi-bin/yabb2/YaBB.pl
Rad Community Non-Technical Discussion Boards >> YaBB Forum Software + Rad Web Site >> Errors on page when using IE 8
http://radified.com/cgi-bin/yabb2/YaBB.pl?num=1286035537

Message started by NightOwl on Oct 2nd, 2010 at 11:05am

Title: Errors on page when using IE 8
Post by NightOwl on Oct 2nd, 2010 at 11:05am
Rad

Don't know if you use IE 8, but I noticed an *Warning* notice down at the bottom of the IE 8 interface--the *Status Bar* line.

This is when on the forum's main *Home* page--it says:


Quote:
!  Done, but with errors on page.


Double clicked the ! symbol and this is the results when copied to the Clipboard and pasted here:


Quote:
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.5; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Fri, 1 Oct 2010 15:13:30 UTC


Message: Object expected
Line: 52
Char: 1
Code: 0
URI: http://radified.com/cgi-bin/yabb2/YaBB.pl


A similar warning occurs on other sub-pages, but the line # of the error changes--so when on the page after clicking on *Rad Web Site*:


Quote:
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.5; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Sat, 2 Oct 2010 15:53:56 UTC


Message: Object expected
Line: 55
Char: 1
Code: 0
URI: http://radified.com/cgi-bin/yabb2/YaBB.pl?board=forum_website


If I click on a particular thread:


Quote:
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.5; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Sat, 2 Oct 2010 15:55:04 UTC


Message: Object expected
Line: 73
Char: 1
Code: 0
URI: http://radified.com/cgi-bin/yabb2/YaBB.pl?num=1283114394


Pages load fine, so I don't know if this of any particular significance....but thought I'd point it out to you!

Title: Re: Errors on page when using IE 8
Post by Christer on Oct 3rd, 2010 at 2:22am
I too use IE 8 and have the same "problem" on the RADIFIED home page but only prior to logging in to the forum (I think).

Title: Re: Errors on page when using IE 8
Post by Dan Goodell on Oct 3rd, 2010 at 5:53am
LOL!  I find it (perversely) humorous that IE would complain about "errors" when all the other browsers don't have a problem with the page.  IE has a long history as being the least compliant browser on the market.  Version after version, Microsoft steadfastly refuses to adhere to the W3C standards.  (And from what I can see, IE9 won't be any different.)

BTW, this symptom is not limited to IE8, but is also seen in IE6 and IE7, too.  FTR, Firefox, Chrome, and Safari don't complain of any problems.

IE is a well-known PITA amongst website designers.  I've spent countless frustrating hours having to tweak webpages so they display more or less as intended in IE.  After designing a webpage and making it W3C compliant, it will display the same in all the other browsers, but not IE.  You have to "break it" to accommodate IE's idiosyncrasies.  Oftentimes, that means I have to dumb down my pages more than I'd like for the other browsers, just so they don't become unreadable in IE.  The alternative (and a number of professional sites actually do this!) is to use javascript to sniff out what browser is being used and return one of two versions of the page -- either a IE-specific page, or a W3C-compliant page for everybody else.

Venting aside, I think a "code 0: object expected" error is a javascript issue.  I'm no javascript expert, but it seems like the "error" is being flagged in the area where javascript is rendering the time and date in the top-left corner of the page.

If I am not logged in, I see the IE error msg but no time and date at the top of the page.  If I am logged in, I see the time and date but no error msg.  I wonder if the js function is left to work with an undefined variable if you aren't logged in?

As far as I can see, this isn't something to lose any sleep over.


Title: Re: Errors on page when using IE 8
Post by NightOwl on Oct 3rd, 2010 at 10:28am
@ Dan Goodell


Quote:
If I am not logged in, I see the IE error msg but no time and date at the top of the page.  If I am logged in, I see the time and date but no error msg.

Are you using the *default* forum template--I don't have the *time/date* in the upper left corner whether logged in or not!  I'm using the *midnyte* template.

Warning shows up whether logged in or not on my system and using the *midnyte* template!



@ Christer


Quote:
I too use IE 8 and have the same "problem" on the RADIFIED home page but only prior to logging in to the forum

Which template are you using for the forum?




Quote:
As far as I can see, this isn't something to lose any sleep over.

From my perspective, I have to agree--just wanted to bring it to Rad's attention!

Title: Re: Errors on page when using IE 8
Post by Christer on Oct 3rd, 2010 at 1:23pm
NightOwl,


Quote:
Which template are you using for the forum?

blk_gry3D

Is that the default?

Title: Re: Errors on page when using IE 8
Post by Dan Goodell on Oct 3rd, 2010 at 1:29pm

NightOwl wrote on Oct 3rd, 2010 at 10:28am:
Are you using the *default* forum template--I don't have the *time/date* in the upper left corner whether logged in or not!I'm using the *midnyte* template.

I'm using the "blk_gry3d" template, but as near as I can tell, it's a duplicate of "midnyte".  I can't see any difference between the two of them.

I tried "midnyte" and a few of the other choices, with consistent behavior.  When logged in I get the time and date in the upper-left corner.  When not logged in, no time and date, plus IE error msg.

Are you running any javascript blockers?


forum-js.jpg (59 KB | 272 )

Title: Re: Errors on page when using IE 8
Post by Spanky on Oct 3rd, 2010 at 4:20pm
There was a problem with the clock. Brian first noticed it when I installed Y2.4. It has been a while, so I'm fuzzy on the details. I brought it to the attention of the YaBB guys, and they basically said, 'you're the only one with the problem'.

I use several 'mods' and I suspect it might be due to a mod, which modifies code. Sometimes these mods can break other stuff if the scripter is not careful.

I coulda played with the various mods, but it didn't seem worth the trouble.

I was expecting Y2.5 to fix the issue, but they haven't updated all the mods I use (with Y2.4). Yet. Y2.5 is installed. See if you get the problem here:

http://radified.com/cgi-bin/yabb25/YaBB.pl

Title: Re: Errors on page when using IE 8
Post by Brian on Oct 3rd, 2010 at 5:56pm
Rad,

On that link, the error is gone and the clock is working when I'm offline. Great.

Title: Re: Errors on page when using IE 8
Post by NightOwl on Oct 3rd, 2010 at 11:00pm
@ Dan Goodell


Quote:
I tried "midnyte" and a few of the other choices, with consistent behavior.  When logged in I get the time and date in the upper-left corner.  When not logged in, no time and date, plus IE error msg.

Are you running any javascript blockers?

No, no blocking of javascript!

But here's the weird thing--I've have never had the clock function in the upper left corner--whether Logged in, or not.  On Rad's link to the 2.5 forum version, I do see the clock--and I'm not Logged in! 

I went into the *User CP* (Control Panel) of the current 2.4 forum, and on the *Options* page there is a choice *Enable dynamic clock at the top of the page?*--it was checked.  After I *unchecked* that box and saved the changes--now I do have the clock!--and no Warning message when logged in!!!!  (I will try later to see what happens when not Logged in.)

I would have thought checking that option would *enable* the clock function--but, oh no, not on my system (I swear--everything is always counter intuitive on my system)!!!!

Anyone else--what is the setting in your *User CP--Options*--clock function has a check or is unchecked in order to get the clock in the upper left corner?



@ Spanky

Using the link to the v2.5 forum, I see the clock function even though I am not *Logged in*, and I do not see an Warning symbol on the status line.

Title: Re: Errors on page when using IE 8
Post by Christer on Oct 4th, 2010 at 2:55am

Quote:
Anyone else--what is the setting in your *User CP--Options*--clock function has a check or is unchecked in order to get the clock in the upper left corner?

It was unchecked. The clock was there but it displayed the time when the page was opened. That is "static" to me as opposed to "dynamic" (ticking away). When I checked it, the clock was removed.

Title: Re: Errors on page when using IE 8
Post by Dan Goodell on Oct 4th, 2010 at 3:44am
Same symptoms here.  Checkbox was clear.  Tested with IE7 on the active (v2.4) forum pages.  No time display and "Done, with errors" when not logged in, vs. time display and no error when logged in.

When I enable the checkbox, I get no time display and "Done, with errors" under both scenarios -- logged in or logged out.

FTR, I looked at the v2.5 testbed page and I see time display and no error when logged out.





Title: Re: Errors on page when using IE 8
Post by NightOwl on Oct 4th, 2010 at 8:42am
@ Dan Goodell

From your reply #2:


Quote:
BTW, this symptom is not limited to IE8, but is also seen in IE6 and IE7, too.  FTR, Firefox, Chrome, and Safari don't complain of any problems.

At least for FireFox, it does not report the *Warning* icon and message in the *Status* line like IE 8, but if you launch the *Error Console* from the *Tools* listing on the menu bar, you get the following in the attached screen capture.

So, the errors are there, just not reported overtly.


FireFox_Errors.JPG (91 KB | 275 )

Title: Re: Errors on page when using IE 8
Post by NightOwl on Oct 4th, 2010 at 8:47am
@ Christer


Quote:
That is "static" to me as opposed to "dynamic" (ticking away). When I checked it, the clock was removed.

Well, at least it's not just my system then  :) !

It does not actively *tick*--not showing seconds--but it does update and increments the minutes!

[edit]Correction:  It is not *dynamic*--the minutes only update when there's a page refresh!  They are static if you don't refresh![/edit]

Title: Re: Errors on page when using IE 8
Post by NightOwl on Oct 4th, 2010 at 9:03am
@ Spanky

On Rad's test page for the forum software v2.5: 

http://radified.com/cgi-bin/yabb25/YaBB.pl

The clock does update *dynamically* without a page refresh.

Title: Re: Errors on page when using IE 8
Post by Christer on Oct 4th, 2010 at 9:29am
I have date, hours, minutes and seconds that get updated on page refresh. I haven't tested v2.5.

Title: Re: Errors on page when using IE 8
Post by NightOwl on Oct 4th, 2010 at 9:39am
@ Christer


Quote:
I have date, hours, minutes and seconds

As always--wonder why there's a difference!  I have no seconds!

Title: Re: Errors on page when using IE 8
Post by Christer on Oct 4th, 2010 at 10:15am
I think it can be set in your Profile > Options.

Title: Re: Errors on page when using IE 8
Post by Dan Goodell on Oct 5th, 2010 at 7:32am

NightOwl wrote on Oct 4th, 2010 at 8:42am:
At least for FireFox, it does not report the *Warning* icon and message in the *Status* line like IE 8, but if you launch the *Error Console* from the *Tools* listing on the menu bar, you get the following in the attached screen capture.

So, the errors are there, just not reported overtly.

Well, it's really a matter of degree.  First, note Firefox calls most of those "warnings".  There is only one real "error" there--the undefined javascript function.  And even then, Firefox isn't complaining about them.  Contrast that with IE, which whines, "Done, but with errors on page."

Those "scrollbar" properties are one example of the kind of noncompliance issues I was complaining about earlier.  Those are IE-specific properties that are not W3C approved.  Firefox is just saying, "I don't recognize those as valid properties, so I'm ignoring them."  Which is not only a legitimate response, it's exactly what you want a browser to do.

Unless you're willing to multiply your workload by coding different html pages for different browsers, you're stuck with embedding alternative tags and properties in your page that one browser or another won't recognize.  If you're building a table, for example, you would embed table properties that Firefox recognizes and also the corresponding properties that IE recognizes.  Yes, it makes your page non-W3C compliant if you do that, but I wouldn't call those actual errors.  You'd like each browser to act on the code meant for it, and ignore the code meant for the other browser.  You don't want a browser to complain just because it sees the code in there for the other browser, you want it to ignore it and move on.  That's what Firefox is doing.

BTW, Firefox's Error Console ignored much more that it could have reported as warnings.  I use several Firefox add-ons to help me when developing a webpage, and one of these, "HTML Validator", identifies 841 warnings on page one of this forum thread!  But again, it's a matter of degree.  HTML Validator is very strict.  Many are for empty tags, such as <font> </font> with nothing between them.  That's superfluous, so if you're the developer it's handy to be alerted, but it's harmless code so you don't want everybody's browser to go around complaining in public about your untidy code.   ::)


Radified Community Forums » Powered by YaBB 2.4!
YaBB © 2000-2009. All Rights Reserved.