Skip navigation
jrszin
Currently Being Moderated

Javascript error prevents TOC, Index, Search from displaying

May 3, 2012 7:55 AM

Tags: #error #toc #javascript #robohelp_8 #webhelp #toc_error #not_displayed

I generated webhelp from my RoboHelp HTML project and got a javascript error (this.maCom[...]' is null or not an object) when viewing the result. See below for the full error text. As a result the TOC, index, and search do not display. The javascript error can be found in the browser status bar which indicates "Error on page." I found that if I viewed the result from robohelp, the browser that launched shows the TOC, index, and search, but has a security warning about a restriction from running scripts or ActiveX controls. However, when I move the generated webhelp to my production server, the help does not have the security warning, but does produce the error so that the TOC, index, and search do not show. I had performed the same process to generate webhelp about 8 months ago but did not have any error whatsoever. As a matter of fact, that version is still in production and works fine.

 

In my research of the problem, I found this is the same error as forum message 4063663 (http://forums.adobe.com/message/4063663). I didn't have a second system with RoboHelp to be able to get another whphost.js, however, I diff'd the generated file with the one found in template_stock and found only two lines different. Those differences were only replacing a couple of variables with static text so I don't think replacing this file will solve any problem for me. This was the only forum message I could find that addressed this issue.

 

I was originally on RoboHelp 8.0.0 when I first encountered the problem, but went ahead and patched to 8.0.2 and still had the same problem. I even created a new simple project. Once I moved the simple project to the production server, it also would not display the TOC, index, and search.

 

The odd thing is that just 8 months ago, I used the same process to generate (on 8.0.0) the webhelp without any error. The only thing I can come up with is there was a WinXP patch that affected the webhelp generation. By the way, I also tried this in Chrome and that also produced the error.

 

I'm not sure what is causing this problem or how to resolve the problem. Any one have any ideas?

 

Versions:
RoboHelp 8.0.2
Windows XP
IE 8.0.6001.18702CO
Chrome 18.0.1025.168 m


Javascript Error
-------------------------
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MS-RTC LM 8; InfoPath.2; .NET4.0C; .NET4.0E)
Timestamp: Wed, 2 May 2012 16:32:00 UTC


Message: Object expected
Line: 344
Char: 2
Code: 0
URI: http://server1/robohelp/whphost.js


Message: 'this.maCom[...]' is null or not an object
Line: 171
Char: 3
Code: 0
URI: http://server1/robohelp/whphost.js
--------------------------

 
Replies
  • Currently Being Moderated
    May 4, 2012 1:49 AM   in reply to jrszin

    When you have the help local I think what you are seeing is the yellow information bar. It's an IE thing and if you allow those files to run, the help should work, other issues apart.

     

    Once the help gets to the server, that will not happen. However then you see another issue. See Item 6 a http://www.grainge.org/pages/snippets/snippets.htm#webhelp as that could be the problem.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    May 8, 2012 12:46 AM   in reply to jrszin

    No good asking Adobe anything here, it is a User to User forum. This is something you need to take up with Adobe. Installation issues are supported free and I think you could argue this is an installation issue.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

    @petergrainge

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points