• Resolved resolfe

    (@resolfe)


    Hi,

    I have been using Watu Quiz for several months now and didn’t encounter any problems, but today when I tested a new quiz the following problem has arisen:

    At the last question, after pressing the submit button, instead of checking the answers, Watu tries to load the next questions and is caught in a loop since there is no next question (see screenshot here).

    I checked the settings and found the option “The selected quizzes will NOT use Ajax when users submit them.”
    By checking this option the problem is partially solved:
    After pressing the submit button, for a short time the text “question 6 of 5” is shown, while the Final screen is loading.
    After the Final Screen is loaded the page jumps to the top of the page (it is necessary to scoll down to the Final Screen)..

    In order you can reproduce the problems here are 2 links to my quizzes:
    – Quiz with “NOT use Ajax…” checked
    – Quiz with “NOT use Ajax…” unchecked

    As already stated I never had any problems so far and never had to use the “selected quizzes will NOT use Ajax when users submit them” option, but last week I made several changes on my site, which could possibly be involved in the described problem:

    – I migrated from http to https
    – I updated the theme, wordpress and Watu quiz
    – I use the plugin Autoptimize in order to optimize HTML, Javascript and CSS
    – I use Comet Cache

    Is it somehow possible to get the old quiz-behavior back?
    Thanks in advance!

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Bob

    (@prasunsen)

    You have to remove Autoptimize, it has caused a bunch of fatal JS errors on your page.
    Even jQuery is undefined. Disable that plugin and you should be fine.
    Don’t use these plugins, they never work with complex javascript.

    Don’t use these plugins, they never work with complex javascript.

    this is kind of … misinformed I’m afraid @prasunsen; AO can cause issues, but that’s what the settings-screen is for. the troubleshooting-tips in the FAQ explain how to fix such issues. Feel free to reach out to me (futtta-at-gmail-dot-com) if you want to discuss the ideal config for AO+your plugin. I’ve yet have to come accross a site that can’t be autoptimized actually, which would explain why AO has over half a million active installs ??

    Even jQuery is undefined.

    @resolfe you have probably removed js/jquery/jquery.js from the list of JS optimization exclusion, start your troubleshooting be re-adding it there.

    frank (ao dev)

    Plugin Author Bob

    (@prasunsen)

    @optimizingmatters thanks for correction. Unfortunately we’ve got way too many clients with fatal errors caused by similar plugins so I have not checked yours (I really have no time to check each one individually). Hopefully your plugin is really different and will be able to work with our javascript.

    Thread Starter resolfe

    (@resolfe)

    @optimizingmatters and @prasunsen
    Thank you both for your support!

    Adding js/jquery/jquery.js to the list of JS optimization exclusion solved the problem.

    @optimizingmatters
    I would really like to discuss the ideal config for AO+plugins; I will write you a mail. Thanks a lot!!!

    • This reply was modified 7 years, 1 month ago by resolfe. Reason: correction
    Thread Starter resolfe

    (@resolfe)

    @optimizingmatters and @prasunsen
    Thank you both for your support!

    Adding js/jquery/jquery.js to the list of JS optimization exclusion solved the problem.

    @optimizingmatters
    I would really like to discuss the ideal config for AO+plugins; I will write you a mail. Thanks a lot!!!

    Sorry for the double post, please delete!

    • This reply was modified 7 years, 1 month ago by resolfe. Reason: double post, please delete

    happy it works ??

    Plugin Author Bob

    (@prasunsen)

    Now I will know at least ONE optimization plugin which doesn’t break our javascript ??

    so everybody is happy, super! ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Problems with “Submit”’ is closed to new replies.