INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Runtime error: 'document.body' is null or not an object  (Read 2827 times)

phiba

  • Member
  • *
  • Posts: 4
Runtime error: 'document.body' is null or not an object
« on: January 16, 2014, 10:56:16 am »

The error I get in MC19 is "Error - A runtime error has occurred. Do you wish to debug? Line 0 - Error: 'document.body' is null or not an object'". I click "No" and the same message appears a 2nd time. I click "No" again, and the error disappears, and the program runs normally. I get the error every time I start MC19 or make a setup change and then save it.

This same problem was reported in the MC18 forum, and the resolution given there was to "change the browser engine in MC Options > Tools > Startup from IE to Google Chrome.

But when I go in MC19 to Tools > Options > Startup, I don't see any place to select or change the browser engine. I looked in all the other Options categories as well, and searched the Wiki, all without results. Any suggestions?

I am running Windows XP SP3 and IE7. Google Chrome is set as my default Windows browser. I am in the process of upgrading to IE8 in case that might help.

It would be nice to have this solved before stepping up to buy the software, as it is somewhat annoying.

Thanks!
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Runtime error: 'document.body' is null or not an object
« Reply #1 on: January 16, 2014, 10:58:44 am »

The option you're looking for is set via:

Options > Tree & View > Web Browser > Engine

Remember that the Options box has a search feature.  I found that one easily by searching the options dialog for "browser".

(By the way, I have no idea what would cause your particular error or if this will solve it.  I'm not sure how people's browser engine is getting set to Chromium, as it defaults to IE, and it is NOT connected to your default browser on the system in any way.  But, it is probably worth trying.  Unless you have a good reason to reset this engine to Chromium, it is best to leave it alone.)
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

phiba

  • Member
  • *
  • Posts: 4
Re: Runtime error: 'document.body' is null or not an object
« Reply #2 on: January 16, 2014, 08:41:58 pm »

Excellent, glynor, thank you!

I don't know why, but changing the browser engine from IE to Chromium solved the problem. No more errors! :o ;D

I suspect it has something to do with my running Windows XP SP3 and IE7. I think that is the same configuration as the poster in the MC18 forum who reported the same problem and the same solution.

Also, it seems like it might be associated with the Facebook, Twitter, Google, and/or Share links, as the error was coming just as those buttons appears on the screen.
Logged
Pages: [1]   Go Up