3 Replies Latest reply on Apr 8, 2011 4:19 AM by MergeThis

    Webpage error on VPN

    rd@m.com

      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

       

        • 1. Re: Webpage error on VPN --> javascript formatting issue
          rd@m.com Level 1

          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>

          • 2. Re: Webpage error on VPN --> javascript formatting issue
            Peter Grainge Adobe Community Professional (Moderator)

            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

            • 3. Re: Webpage error on VPN --> javascript formatting issue
              MergeThis Level 4

              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