runtime errors on main mi page?

Discuss Scott McCloud's current online comic project. Be sure to check out <a href="http://www.scottmccloud.com/comics/mi/mi.html">the latest improv</a>!

Moderators: Scott McCloud, Moderators

Locked
jpwoo

runtime errors on main mi page?

Post by jpwoo »

Has anyone else been getting runtime errors on the morning improv blog page? I suspect that page isn't broken but I just want to rule that option out. It seems to be blowing up at line 10, 20 and 30. giving an object expected error.

Thanks!
Fett101
Regular Poster
Posts: 31
Joined: Sun Apr 28, 2002 10:31 pm
Location: TN
Contact:

Post by Fett101 »

Security Error: Content at http://www.scottmccloud.com/comics/mi/mi.html may not load or link to file:///80%20GB%20Drive/Users/scottmcleod/Library/Preferences/Adobe/GoLive/Settings/JScripts/GlobalScripts/CSScriptLib.js.

Error: CSInit is not defined
Source File: http://www.scottmccloud.com/comics/mi/mi.html
Line: 11

Error: CSScriptInit is not defined
That's what Netscape JS console tells me.
The JS file with the follover function isn't linking, and I doubt that's the proper path down there.

<script type="text/javascript" src="file:///80%20GB%20Drive/Users/scottmcleod/Library/Preferences/Adobe/GoLive/Settings/JScripts/GlobalScripts/CSScriptLib.js"></script>
<a href="http://fgmma.com"><img src="http://fett101.mine.nu/space/avatar/fett101/fett101.php" border="0">
These wallpapers and more at the FGMMA</a>
Rip Tanion
Reinvents understanding
Posts: 635
Joined: Fri Apr 12, 2002 4:47 pm
Location: The Riptania Sky-Palace in da beauuuuuutiful Bronx.
Contact:

Post by Rip Tanion »

Yeah, I've been getting the same JS errors on the MI main page for months.

I get an error messsage everytime the page loads. It's calling a function that it can't find. The same happens when you mousover the top menu bottons.

I examined the page's code. I have to agree with Fett. The pathname looks like it for a local harddrive, not a web server.

On an unrelated note, maybe Scott is related to Gavin McLeod after all.
"Park the beers, and grab the smiles. It's flight time." - LtCdr. J. Robert "Bobby" Stone, USN (R.I.P.)
jpwoo

Post by jpwoo »

Thanks! I'm not crazy!
Fett101
Regular Poster
Posts: 31
Joined: Sun Apr 28, 2002 10:31 pm
Location: TN
Contact:

Post by Fett101 »

While we're on a the subject.

And when you select a doctyle, it gives about 200 or so errors for HTML2, 3.2, 4.01, and XHTML. Then again, no one but us geeks care so long as it renders right.

Should also note that jpwoo may still be crazy, but not when it comes to JS errors on the main page.
<a href="http://fgmma.com"><img src="http://fett101.mine.nu/space/avatar/fett101/fett101.php" border="0">
These wallpapers and more at the FGMMA</a>
William G
Reinvents understanding
Posts: 560
Joined: Wed Jan 15, 2003 4:06 am
Location: South central...Korea. Word.

Post by William G »

Jesus, only use the validator if you need to find out why your page doesn't work, or you're in the mood to feel like a schmuck because your page can't live up to 1992 web-standards. Alt tags for images? If you cant see images, you shouldn't be wasting your time visitng webcomics.

HTML is a pretty fluent language and as long as you make sure that your page works in the top three browsers, that's all you'll need.
Scott McCloud
The one and only
Posts: 293
Joined: Wed May 23, 2001 7:00 pm
Contact:

Post by Scott McCloud »

Try it now. Any difference?

GoLive has this maddening habit of inserting local addresses, such as when I move a document out of a folder; instead of just taking one of my "../"s out, the program lists its absolute location on my friggin' hard drive. Thought I caught those but apparently I missed one.

One of these days, I'll just switch to Dreamweaver, but I have more urgent things to spend my money on right now. (Like Ween albums, dammit).
Fett101
Regular Poster
Posts: 31
Joined: Sun Apr 28, 2002 10:31 pm
Location: TN
Contact:

Post by Fett101 »

William Beckerson wrote: HTML is a pretty fluent language and as long as you make sure that your page works in the top three browsers, that's all you'll need.
"Yeah, but being a geek is what I do best" said the guy who makes sure all the pages on his site are valid XHTML 1.0 strict, and uses a computer that looks like this.
<a href="http://fgmma.com"><img src="http://fett101.mine.nu/space/avatar/fett101/fett101.php" border="0">
These wallpapers and more at the FGMMA</a>
User avatar
Greg Stephens
Forum Founder
Posts: 3862
Joined: Sat Apr 14, 2001 7:00 pm
Location: Los Angeles, California, USA
Contact:

Post by Greg Stephens »

Scott McCloud wrote:Try it now. Any difference?
I'm still not seeing rollovers working on that page (they do work on you index page, though). The JavaScript console claims an error in line 8:

Code: Select all

CSInit is not defined
CSInit[CSInit.length] = new Array(CSILoad,/*CMP*/'button',/*URL*/'../../-menu/1a.gif',/*URL*/'../../-menu/1b.gif',/*URL*/'../../-menu/1c.gif','');
William Beckerson wrote:HTML is a pretty fluent language and as long as you make sure that your page works in the top three browsers, that's all you'll need.
Well, I'm fluent in English and I'm sure you meant "fluid." The point of saying that is to raise the fact that many browsers, like humans, can parse less-than-perfect input and still arrive at a meaningful conclusion. That doesn't mean non-compliant HTML is correct- Only that it's good enough for current browsers. More and more, these days, people are accessing the web using technologies other than desktop (or laptop) PCs using traditional web-browsers and it's those kinds of situations that standards are all about. ALT tags for comics? Well, there's a good argument to be made there, that anyone surfing with something that doesn't show images probably isn't interested in comics, but you never know. You don't know who's surfing with the images turned off in their browser because they like to surf quickly, or kill ads, or whatever. For casual, hobby or personal sites, you can probably leave them out, but for professional sites, they're a good idea. Many people have evangelized web standards so I'll give it a rest here. You are right, after all, that for most people's sites, blogs and webcomics, standards aren't a critical or crucial issue, but anyone who's serious about web design should look into making valid code.
Good morning! That's a nice tnetennba.
Scott McCloud
The one and only
Posts: 293
Joined: Wed May 23, 2001 7:00 pm
Contact:

Post by Scott McCloud »

The fact that the index page works was an eye opener.

I found a lot of differences, so I duped the index's head and other relevant code and just brought it in (with a few modifications).

Please tell me if this works now:
http://www.scottmccloud.com/comics/mi/miNEW.html

Thanks!
Rip Tanion
Reinvents understanding
Posts: 635
Joined: Fri Apr 12, 2002 4:47 pm
Location: The Riptania Sky-Palace in da beauuuuuutiful Bronx.
Contact:

Post by Rip Tanion »

The "miNew.html" page seems to work error-free on my browser. Now all you have to do is link it to your main page. The old page links are still there. Or change the name of the new page to that of the old one.

Sorry for causing you extra headaches, Scott. Web page coding can be a royal pain in the tuchas, sometimes.

So how's Uncle Gavin doing? :wink:
"Park the beers, and grab the smiles. It's flight time." - LtCdr. J. Robert "Bobby" Stone, USN (R.I.P.)
Fett101
Regular Poster
Posts: 31
Joined: Sun Apr 28, 2002 10:31 pm
Location: TN
Contact:

Post by Fett101 »

Is everything goold old fashioned HTML on scottmccloud.com, or is there any PHP, CGI, etc behind the scenes? :D
<a href="http://fgmma.com"><img src="http://fett101.mine.nu/space/avatar/fett101/fett101.php" border="0">
These wallpapers and more at the FGMMA</a>
User avatar
Greg Stephens
Forum Founder
Posts: 3862
Joined: Sat Apr 14, 2001 7:00 pm
Location: Los Angeles, California, USA
Contact:

Post by Greg Stephens »

Scott McCloud wrote:Please tell me if this works now:
http://www.scottmccloud.com/comics/mi/miNEW.html

Thanks!
That's not causing any errors that my browser can detect (Firefox 0.8, WinXP). The JavaScript console is clean, clean.
Good morning! That's a nice tnetennba.
Scott McCloud
The one and only
Posts: 293
Joined: Wed May 23, 2001 7:00 pm
Contact:

Post by Scott McCloud »

Just uploaded the fix. Thanks, everybody!

scottmccloud.com is indeed a very old-fashioned html site. Just a little PHP when needed (formmail and the BitPass gateway, for example). No css, no rss feeds, (yet...).

If there are any features you guys think are especially needed, please let me know.
William G
Reinvents understanding
Posts: 560
Joined: Wed Jan 15, 2003 4:06 am
Location: South central...Korea. Word.

Post by William G »

Needs more dancing robots
Rip Tanion
Reinvents understanding
Posts: 635
Joined: Fri Apr 12, 2002 4:47 pm
Location: The Riptania Sky-Palace in da beauuuuuutiful Bronx.
Contact:

Post by Rip Tanion »

Or even better, dancing robot monkeys.

Not to give you more headaches, Scott, but the MI archive page has the same errors that need to be fixed.
"Park the beers, and grab the smiles. It's flight time." - LtCdr. J. Robert "Bobby" Stone, USN (R.I.P.)
Locked