CHM output corrupt

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

CHM output corrupt

Unread postby Gerold Krommer » Mon Apr 17, 2017 12:03 pm

Hi,

I moved my H&M installation from one computer to another, means I installed 7.2 4025 on the new computer and am about to abandon the old installation.

Just about in time I found that CHM output is not working correctly. All other formats (PDF, Webhelp) have no issues.
The latest and 'greatest' chm compiler from the H&M website has been installed and the compilation gives no errors in the report. Still when opening the CHM it says on every page (sorry german)

Der Wert der Eigenschaft "$" ist NUll oder undefiniert, kein Function-Objekt
Code:0
URL: mk:@MSITStore usw....

As anyone who reports a problem: I have not done anything unusual :-)
As I am suspecting the help compiler I have reinstalled to no avail...
Also I could have sworn this is a deja-vu, but my brain is getting older...

Thanks,

/Gerold
Gerold Krommer
 
Posts: 34
Joined: Fri Mar 06, 2015 12:09 pm

Re: CHM output corrupt

Unread postby julio » Mon Apr 17, 2017 12:34 pm

This is usually a JavaScript error regarding jQuery library, which is always embedded in H&M. As jQuery defines this symbol ($) for use everywhere, there is probably a piece of code inside this file loading before jQuery, hence the error. But this is definitely not an error you should see, please check the topic file or else the HTML Page Template for this topic (Configuration - HTML Page Templates).

Gerold Krommer wrote:Hi,

I moved my H&M installation from one computer to another, means I installed 7.2 4025 on the new computer and am about to abandon the old installation.

Just about in time I found that CHM output is not working correctly. All other formats (PDF, Webhelp) have no issues.
The latest and 'greatest' chm compiler from the H&M website has been installed and the compilation gives no errors in the report. Still when opening the CHM it says on every page (sorry german)

Der Wert der Eigenschaft "$" ist NUll oder undefiniert, kein Function-Objekt
Code:0
URL: mk:@MSITStore usw....

As anyone who reports a problem: I have not done anything unusual :-)
As I am suspecting the help compiler I have reinstalled to no avail...
Also I could have sworn this is a deja-vu, but my brain is getting older...

Thanks,

/Gerold
User avatar
julio
 
Posts: 74
Joined: Wed May 28, 2008 12:06 am
Location: Porto Alegre, RS - Brasil

Re: CHM output corrupt

Unread postby Gerold Krommer » Mon Apr 17, 2017 1:11 pm

Thanks,

I moved the project back to my old installation and the output is fine there, so it cannot be the content of the manual.

Kind regards,

/Gerold
Gerold Krommer
 
Posts: 34
Joined: Fri Mar 06, 2015 12:09 pm

Re: CHM output corrupt

Unread postby Gerold Krommer » Mon Apr 17, 2017 11:13 pm

False alarm insofar as when I copy the working .chm from source to target system it exhibits the same problems.

So it must be the environment not H&M or the help compiler. But it used to work before with other chms.... so the user said...

I go and ask Dr. Google and let you know of any findings

Thanks,

/Gerold
Gerold Krommer
 
Posts: 34
Joined: Fri Mar 06, 2015 12:09 pm

Re: CHM output corrupt

Unread postby Tim Green » Tue Apr 18, 2017 7:54 am

Gerold Krommer wrote:False alarm insofar as when I copy the working .chm from source to target system it exhibits the same problems.

The first thing to check is whether the file is blocked. When you copy CHM files to different devices or send them by mail Windows usually blocks them because of their potential to transport malware. Right-click on the CHM file in Windows Explorer and select Properties. If there is an "unblock" option at the bottom of the Properties dialog apply it.

That probably isn't the problem here because blocked CHMs don't show errors, they just don't display any content. What the message you are getting means is that the main jQuery object is unrecognized, which means that jQuery hasn't initialized at all. However, jQuery is actually included in the CHM itself, so it isn't that it is unavailable. The most likely cause is that the configuration of Internet Explorer on the new machine is restricting scripting in some way that is preventing jQuery from initializing. (The Microsoft CHM Viewer uses the embeddable version of IE to display the HTML pages, and it uses all the same settings as the regular IE on your machine.)

If you continue to have problems you can mail the project and your skin to us at support AT ec-software.com (replace the AT with @) and we will check it for you, to make sure that there is nothing there that is causing the issues. However, it sounds like it is most likely that it is being caused by the JavaScript environment on the new machine.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Tim Green
Site Admin
 
Posts: 19548
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany


Return to Help & Manual 7 Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron