Skip to main content
Rottimom
Participant
November 7, 2014
Question

Captivate 8 Unknown Error returned after post of quiz results

  • November 7, 2014
  • 3 replies
  • 2645 views

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"

    This topic has been closed for replies.

    3 replies

    CLTom
    Participating Frequently
    November 29, 2016

    Hello,

    After battling with this 'Unknown error' problem for days myself I decided to do a quick ProcMon trace on our Web server and found that for us at least the problem was that the PHP70_errors.log file in C:\Windows\Temp on our IIS 8 server didn't have permissions for IUSR to write to it. After I changed these the popup window now displayed 'Results posted successfully' correctly as shown on the screenshot.

    Tom

    Participant
    November 11, 2014

    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.

    RodWard
    Community Expert
    Community Expert
    November 12, 2014

    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.

    Participant
    November 12, 2014

    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.

    Participant
    November 11, 2014

    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

    RodWard
    Community Expert
    Community Expert
    November 11, 2014

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