Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-9809

IE7 hangs when site policy is accepted/rejected (And IE6 as well)...

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 1.8
    • Themes
    • None
    • Server is Redhat FC6 / php5 / apache.
      Workstation is IE7/XP-Sp2 and IE6/Win2003
    • MySQL
    • MOODLE_18_STABLE

      See http://moodle.org/mod/forum/discuss.php?d=71258

      IE7 hangs when site policy is accepted/rejected (And IE6 as well)...

      This happens on the Site Policy Accept page (Yes Button or No Button) and Choose Theme page (Choose Button).

      I have had to disable the Site Policy Accept page as it hangs the 1.8.+ because ALL New Users and Guests do not get on... other wise I would leave it in place on our live system so you could see what happens.

      I think it is work station based... not a server error... but only came in with 1.8 .

      Ajos1

      The Snippets below explain the problem.

      ------------------
      John Mc Hale - Friday, 11 May 2007, 12:34 AM

      I am in the process of deciding to upgrade from Moodle version 1.61 to version 1.8 + (2007021502). My problem is as follows.

      In version 1.61 if a Site Policy URL was set, then when the user accepted the policy, the policyaccepted flag in the MDL_USER table was updated = 1, and the user was loggged on (and possibly re-directed to a requested URL).

      In version 1.8, when the user accepts the same policy agreement, the policyaccepted flag in the MDL_USER table is updated = 1, but after a short time, the Internet Explorer (IE7) status bar displays 'waiting for http://www.mysite.com/...' and the browser appears to hang, but after a couple of minutes a warning dialog appears advising the user to "Stop running this script? A script on this page is causing Internet Explorer to run slowly.... your computer may become unresponsive."

      ------------------

      Antony OSullivan - Tuesday, 15 May 2007, 04:31 AM

      IE6 and IE7 here!!

      I had a policy/disclaimer that were inside... and outside... of the moodle data and program directories...

      http://www.tbshs.herts.sch.uk/tbshsdis.htm
      http://www.tbshs.herts.sch.uk/moodle/tbshsdis.htm
      /tbshsdis.htm

      In 1.7 it worked perfectly...

      In 1.8... You get the Site Policy Agreement page come up... but... when you press yes/no to "You must agree to this policy to continue using this site. Do you agree?" ... The local work station goes into hyperdrive and the page crashes after a while... with a warning about slow scripts.

      Sometimes... if it is just: "/tbshsdis.htm" ... it still runs very very slow... but then allows the user to continue using the public materials... after you say "yes" to stopping the slow script.

      I also notice... that... when you look at the source for the page... it says:

      <h2 class="main">Site Policy Agreement</h2><div class="noticebox"><object id="policyframe" data="http://www.tbshs.herts.sch.uk/tbshsdis.htm" type="text/html"><a title="Popup window" href="http://www.tbshs.herts.sch.uk/moodlehttp://www.tbshs.herts.sch.uk/tbshsdis.htm" Xonclick="this.target='agreement'; return openpopup('http://www.tbshs.herts.sch.uk/tbshsdis.htm', 'agreement', 'menubar=0,location=0,scrollbars,resizable,width=500,height=500', 0);">Click here to read the Site Policy Agreement</a></object></div><div id="notice" class="box generalbox"><p>You must agree to this policy to continue using this site. Do you agree?</p><div class="buttons"><div class="singlebutton"><form action="policy.php" method="post"><div><input type="hidden" name="agree" value="1" />

      The <a title="Popup window" href... bit has the href mentioned TWICE in ONE link. (ie)

      http://www.tbshs.herts.sch.uk/moodlehttp://www.tbshs.herts.sch.uk/tbshsdis.htm
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      ------------------

            urshunkler Urs Hunkler
            ajos1 Antony O'Sullivan (Inactive)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.