• Resolved arunkott

    (@arunkott)


    When I have more than 124 questions, the results are not recorded correctly at the back end. The test summary in browser shows the results but the email has no results. I see that the POST request at the end of test has all information. I printed the the data variable from the Ajax serving php file for debugging and it seems that somewhere it stripped the array at 124th element. Since the results are the last element in the array, it is not working if there are more than 124 questions. I don’t know where it is getting stripped.

    • This topic was modified 7 years, 7 months ago by arunkott.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Ar you sure about the 124 questions? I am using with 1000+ questions. Stop e-mail results and test it again.

    Thread Starter arunkott

    (@arunkott)

    Yes I am sure. I experimented with number of questions and it breaks exactly at 125. I printed the array size to a log file from the plugin ajax handler function after receiving the post request at server and it has only 125 elements though the browser sent 150. Somewhere it is getting limited (May be at wordpress core itself). All of my questions are single answer multiple choice questions. The leader board and the end of the test results on the page works fine.

    Thread Starter arunkott

    (@arunkott)

    Figured the issue was not with the plugin. It was the max var size for post setting at my hosting provider. Increased that and the issue got fixed. @nsaral your reply made me think in that direction. Thank you very much

    • This reply was modified 7 years, 7 months ago by arunkott.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issues when more than 124 questions’ is closed to new replies.