Skip to main content
Participant
April 5, 2011
Question

Webpage error on VPN

  • April 5, 2011
  • 1 reply
  • 814 views

I was wondering if anyone had encountered an issue with the published RoboHelp receiving error on javascripts when the contents are being access via VPN.  We started to face the issue once we've upgraded from RH7 to RH8.

We tried the convert to html feature in RH8 to cleanup the HTML but it is still an issue.

The VPN that is being used Juniper.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Tue, 5 Apr 2011 15:13:24 UTC


Message: Object expected
Line: 1
Char: 1
Code: 0
URI:
https://vpn1.../Procedures/Close_a_MAC_Call/,DanaIn fo=help.com,SSL+Loto-PM.htm

This topic has been closed for replies.

1 reply

rd4Author
Participant
April 6, 2011

The issue is due to the javascript format

The Javascript failed because the "</script>" is commented out as it's on the same line as the // (comment close for the CDATA)

<script type="text/javascript" language="JavaScript1.2">//<![CDATA[
if( typeof( TextPopupInit ) != 'function' ) TextPopupInit = new Function();
TextPopupInit('a2','POPUP380679909');
//]]></script>

Does anyone know if there is a setting in RH8 HTML to format the scripts correctly?  Having to update the format each time the library is published will be a pain.

<script type="text/javascript" language="JavaScript1.2">//<![CDATA[
if( typeof( TextPopupInit ) != 'function' ) TextPopupInit = new Function();
TextPopupInit('a2','POPUP380679909');
//]]>

</script>

instead of:

<script type="text/javascript" language="JavaScript1.2">//<![CDATA[
if( typeof( TextPopupInit ) != 'function' ) TextPopupInit = new Function();
TextPopupInit('a2','POPUP380679909');
//]]></script>

Peter Grainge
Community Expert
Community Expert
April 8, 2011

The only thing I can offer is if you remove this in one of the source topics, does it reappear. If not a one off find and replace could be used.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
MergeThis
Inspiring
April 8, 2011

Duplicate postings are a drain on the resources of this forum. I believe this was resolved in the other posting (which was submitted the day after this one).

Good luck,

Leon