3 Replies Latest reply: Mar 6, 2013 9:37 AM by User732816-Oracle RSS

    PT_PAGESCRIPT/PT_COMMON java script Permission denied issue

    user410911
      Hi All,

      Recently we have upgraded our PeopleTools from 8.49.23 to 8.52.09.

      After this we are facing the issue like the processing image is keep on running. For ex: If I navigate to Structure and Content --> Portal Objects --> Home Page-->Tabs -->Home

      In that if I am clicking any tab it will load the page but the processing image keeps running. I see an error in the status bar like below

      Webpage error details

      User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

      Timestamp: Thu, 11 Oct 2012 05:19:41 UTC

      Message: Permission denied

      Line: 1602

      Char: 5

      Code: 0

      URI: http://askhrtest.hk.standardchartered.com:8522/cs/DGEPUPG1/cache/PT_PAGESCRIPT_win0_291.js

      Message: Permission denied

      Line: 1602

      Char: 5

      Code: 0

      URI: http://askhrtest.hk.standardchartered.com:8522/cs/DGEPUPG1/cache/PT_PAGESCRIPT_win0_291.js.

      Sometimes it is showing permission denied error on PT_COMMON script.

      We are not facing this issue when we do the same thing in Chrome Version 22.0.1229.79. But our organization standard browser is Internet Explorer .8.0.6001.18702

      Please help us to find the issue.

      Thanks for your time.
        • 1. Re: PT_PAGESCRIPT/PT_COMMON java script Permission denied issue
          user410911
          We have finally found the below error is not due to the permission issue

          Message: Permission denied

          Line: 1602

          Char: 5

          Code: 0

          URI: http://askhrtest.hk.standardchartered.com:8522/cs/DGEPUPG1/cache/PT_PAGESCRIPT_win0_291.js

          It looks like there is some problem with the Java Script execution. While loading the page JS getting error and stops further processing due to this we are getting the processing image as its waiting for the execution to complete.

          When I try to debug the JS error it stops at the below line (which is given as bold text)

          function doModalOnLoad_win0(bStartUp) {
          mTop = MTop(); // top window
          <b> if (!mTop || typeof mTop.oParentWin == 'undefined' || !mTop.oParentWin) return;</b>

          Not sure how this Mtop() is working and what it is expecting to complete the execution? Could you please help us?

          Thanks a lot for your time.
          • 2. Re: PT_PAGESCRIPT/PT_COMMON java script Permission denied issue
            user10460546
            We upgraded to 8.52.10 and are now experiencing a similar issue. Were you able to resolve this issue and if yes, would you please share what was done to fix it?

            Edited by: user10460546 on Feb 22, 2013 10:51 AM
            • 3. Re: PT_PAGESCRIPT/PT_COMMON java script Permission denied issue
              User732816-Oracle
              this solved out error a similar error with PT_COMMON. Not sure if this will work on this. There seems to be an IE8 / tools 8.52 incompatibility.

              Anyway, you have to modify the PT_COMMON HTML object in tools.

              http://peoplesoft.ittoolbox.com/groups/technical-functional/peopletools-l/pt_pagescriptpt_common-java-script-permission-denied-issue-4973235



              function MTop() {

              try {

              //use top.document.getElementsByTagName("BODY")[0] != null to judge if frameset template is not used in top window

              //typeof top.gFocusId != 'undefined' is always true which can't be used to judge this after PT852

              // modified code

              if (typeof top.gFocusId == 'undefined')

              {

              top.toSource();

              }

              Edited by: user732816 on Mar 6, 2013 7:36 AM