6 Replies Latest reply: Nov 13, 2014 1:56 PM by Rottimom RSS

    Captivate 8 Unknown Error returned after post of quiz results

    Rottimom Community Member

      I am posting quiz results to an Internal Server using the InternalServerReporting.php script.  The entry gets written to the server but a result of "Unknown Error" is returned to the student.  I have the captivate HTML file at the root (C:/Inetpub/wwwroot/).  I have tried suppressing the Popup window for Student Name and Student ID by entering values in the cpQuizInfoStudentID and cpQuizInfoStudentName variables but I still get a return popup window with the "Unknown Error"

        • 1. Re: Captivate 8 Unknown Error returned after post of quiz results
          AntiCruelty Community Member

          I am receiving the same error. quiz results are reported fine, but on the user's end they get a window that says "unknown error".

          Would someone please address this, thank you

          • 2. Re: Captivate 8 Unknown Error returned after post of quiz results
            RodWard CommunityMVP

            Have you verified that your web server is set up to serve PHP pages?  (IIS doesn't do this straight out of the box.)

            • 3. Re: Captivate 8 Unknown Error returned after post of quiz results
              AntiCruelty Community Member

              yes, PHP is setup and it works. As I mentioned, I'm able to use the Quiz Results Analyzer to pull quiz results just fine from the internalserverread.php file, even though the users get an "unknown error" message.

               

              So we do run a Windows domain based on a Windows Server 2008 domain controller; strangely, when I'm logged in to a workstation and take the quiz, I don't get the "unknown error". It only seems to happen to other users, which points to a permissions problem but all of the permissions are clearly set on the PHP files to allow read/write for all domain users. I even created a dummy account replicating all of my profiles memberships/permissions and it didn't work on that one. Besides, if it really was a permissions issue, why would Captivate allow those people to post their results to the internalServerReporting.php at all? As it is, despite the "unknown error" message, they post their results just fine.

              • 4. Re: Captivate 8 Unknown Error returned after post of quiz results
                RodWard CommunityMVP

                Is it possible those users have their browser permissions set up to notify them about ALL JavaScript errors?  Maybe they're using more strict permissions than you are.

                • 5. Re: Captivate 8 Unknown Error returned after post of quiz results
                  AntiCruelty Community Member

                  Turns out you were right; I created a dummy user as an Active Directory admin, and from their profile they get no problem, only normal users do (I thought I tested that before, but anyway..)

                  It's kind of strange because I never thought users had browsing restrictions, only restrictions to system settings (e.g. installing apps). Sometimes they also get a message that says "no connection". Weird.

                   

                  Good call.

                  • 6. Re: Captivate 8 Unknown Error returned after post of quiz results
                    Rottimom Community Member

                    AD is not the problem here as I just tested it with our AD Admin's login and I still get the error. As for the response that it may be the JS setting that might be possible but if it is writing to the file it should not be getting a JS error. I did find a work around.   Since the data is being written to the server as wanted I just went into the Captivate JS file and modified the error message to say that the user has complete the quiz. While this works I think the whole method that Captivate is using to track results is terrible.   First there is the whole security issue that is created with the PHP InternalServerReporting script.   Then there is the issue of a pop-up box that you have no control over unless you go into the JS (which I did to modify the box descriptions).