Skip to content Skip to main navigation Skip to footer

Quiz not loading properly

Welcome to QSM Support Forum. Forums QSM Pro Support Quiz not loading properly

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1835
    Rajkumar SMRajkumar SM
    Participant

    Hi Team,

    Expected behavior: Once someone opens a quiz, a welcome page with the next (quiz continue) button should display.

    But this is not happening. Whenever I open a quiz, a complete list of questions is displaying and after some time its disappearing and coming back to an actual state.

    Kindly provide a solution.

    Thanks,
    Rajkumar

    #1836
    Rajkumar SMRajkumar SM
    Participant
    This reply has been marked as private.
    #1844
    Kriti SharmaKriti Sharma
    Keymaster

    Hi Rajkumar,

    Welcome to the QSM Pro Support Forum. hope you are having a nice day.

    I watched the video and noticed that the webpage is loading very slowly to fulfil the requests from the server. Even after the quiz loads on the page, it’s settings are not loading properly because of the ongoing requests from the server.

    This thing happens when the website is too heavy for processing or the server is too slow for processing all the requests. My suggestion would be to deactivate all the unnecessary plugins/any other content that you do not need on your website. Test your page loading speed with the tools available online. Complete the suggestions they provide to you. And also contact your webserver to check with the speed.

    Kind Regards,
    Kriti

    #4399
    Paul Borg-BarthetPaul Borg-Barthet
    Participant

    Hi Kriti
    I have the same issue at the moment.

    I do have a Redirection plugin installed on this website, but I am still housing an online test here.

    Could the above be the issue?

    Paul

    #4406
    Kriti SharmaKriti Sharma
    Keymaster

    Hi Paul,

    I request you to please share the website’s url so that I can check the issue. And may I know what redirection plugin you are using on your website so that I can check it on my staging website.

    Regards,
    Kriti

    #4408
    Paul Borg-BarthetPaul Borg-Barthet
    Participant
    This reply has been marked as private.
    #4417
    Kriti SharmaKriti Sharma
    Keymaster

    Hi Paul,

    I don’t think that Redirection plugin is causing the problem here.

    I checked your website and it is too heavy for processing or the server is too slow for processing all the requests. My suggestion would be to deactivate all the unnecessary plugins/any other content that you do not need on your website. Test your page loading speed with the tools available online. Complete the suggestions they provide to you. And also contact your webserver to check with the speed.

    Please let me know if this resolves the issue or not.

    Kind Regards,
    Kriti

    #12226
    Ruthie ChristensenRuthie Christensen
    Participant

    The issue you’re encountering may be due to incorrect state initialization or unnecessary re-renders. To resolve it, ensure that the quiz’s initial state shows only the welcome page with a “Start Quiz” or “Next” button. Once the button is clicked, change the state to display the quiz questions. In React, use useState to control the display, and in Angular, use a flag to toggle between the welcome page and quiz questions. To avoid unnecessary re-renders, check if the state is being reset unintentionally, and ensure smooth transitions using setTimeout or lifecycle hooks to load the quiz questions after the welcome page.
    tut status check login

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.