• JS error when loading db after login

    By Rune Carlsen 2 decades ago

    Have anyone seen this?

    Set the database with the current settings:



    Default: No Access

    Anonymous: No Access

    SomeUser: Author (create doc)



    Open your database in IE.

    Log in.

    Voila - you are redirected to the database, but you will get a JS error.

    It seems to be domlog.nsf that is the problem, but… again, this is the only database I have this problem with?!?!?!



    I have IE MS JS Debugger installed.



    Rune

    • can't reproduce

      By Christian Brandlehner 2 decades ago

      Anybody else seeing this?

      • I still get this

        By Rune Carlsen 2 decades ago

        It seems to be domlog.nsf that is the problem, or i am not 100% sure.



        Try to log in to: http://pictures.architech.no using rcdemo/password

        It doesn't ALWAYS happen, but TOO often.



        I am using OpenNTF domlog as well.



        Rune

      • even stranger is....

        By Rune Carlsen 2 decades ago

        If I select to "debug" the error (click on the button, you get by the IE JS debugger), I can see the HTML of DOMLOG.nsf ! - not the picture db html!





        Rune

        • try this

          By Christian Brandlehner 2 decades ago

          just for testing, remove the java script code from your login form:



          like this one:



          //submit the form if the user presses the ENTER key

          function checkEnter(event)

          {

          var code = 0<br/>
          <br/>
          if (NN4) {<br/>
              code = event.which<br/>
          } else {<br/>
              code = window.event.keyCode<br/>
          }<br/>
              <br/>
          if (code==13)<br/>
              document.forms[0].submit()<br/>
          

          }

          • no change...

            By Rune Carlsen 2 decades ago
            • no idea, try using another login form

              By Christian Brandlehner 2 decades ago