• Resolved engulfer

    (@engulfer)


    Hi, I’m testing your plugin on localhost and am getting this error while trying to start a quiz:

    172.19.0.1 - - [02/Nov/2021:21:32:25 +0000]
    "POST /wp-json/masteriyo/v1/quizes/start_quiz HTTP/1.1" 429 988 "http://localhost/learn/course/test-course/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36"
    

    Is there an unminified js code for the backend? Couldn’t find it here: https://plugins.trac.wordpress.org/browser/learning-management-system/tags/
    So without the backend code I couldn’t locate/debug the error.

    Thanks in advance!

    • This topic was modified 4 years, 8 months ago by engulfer.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author masteriyo

    (@masteriyo)

    Hi @engulfer,

    Thanks for your support query.

    While I test on my test environment, all seems to be fine.
    However, I have asked our developers to give a look on your query and error message that you have added on this matter. Once I hear back from them or have more information, I will soon get back to you.

    Thanks.
    Sanjip S.

    Plugin Author masteriyo

    (@masteriyo)

    Sorry for the late follow up on this.

    We checked and following might have happened in your case:
    By default, we have a quiz attempts limit of 5. Now, at the start of the quiz if the attempts limit was already reached, clicking on the Start Quiz button won’t do anything and might have triggered the issue.

    In next update (which will be released within this week), we will show information message right at the start of the quiz if the limit was already reached. This should resolve this issue.

    Yes, our plugin folder does include both minified and unminified JS files, you can check it here https://plugins.svn.wordpress.org/learning-management-system/trunk/assets/js/build/.

    Please let us know if you have any further query on this issue.

    Thanks.
    Sanjip S.

    Thread Starter engulfer

    (@engulfer)

    Hi, thanks for your reply.

    Can I set an unlimited number of attempts?

    Cheers

    Plugin Author masteriyo

    (@masteriyo)

    @engulfer

    This option will be added in our next update which is planned to be released this week.

    Thanks.
    Sanjip S.

    Thread Starter engulfer

    (@engulfer)

    Hi @masteriyo
    thanks for your answers. In the link that you provided the JS files are ALL minified (even the masteriyo-backend.1.2.0.js, which apparently is not supposed to be minified anyway): https://plugins.svn.wordpress.org/learning-management-system/trunk/assets/js/build/

    So my question “is there an unminified JS code for the backend?” still remains.

    There are some unminified JS files in the following directory (such as checkout.1.2.0.js, edit-account.1.2.0.js, login-form.1.2.0.js, single-course.1.2.0.js), however, these are not the part of the quizes’ functionality: /learning-management-system/trunk/assets/js/build/frontend

    Would you maybe also kindly provide the unminified versions of JS files for the backend in the next release?

    Cheers

    Plugin Author masteriyo

    (@masteriyo)

    Hi @engulfer,

    Unlimited attempts option for quiz is now added in version 1.2.1.

    About the unminified version of JS files, yes, we seem to have missed related to some areas. We will adjust that in our next version update.

    Thanks.
    Sanjip S.

    Plugin Author masteriyo

    (@masteriyo)

    Hi @engulfer,

    The new version 1.3.0 now adds all unminified JS to every JS files. Please do give a check. Now, if you meant something else, I suggest you to contact via chat system in our official site and we will provide further help.

    Thanks.
    Sanjip S.

    Plugin Author masteriyo

    (@masteriyo)

    Marking as resolved. You can always start a new thread if you need to.

    Thanks.
    Sanjip S

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘[BUG] Can’t start any quiz’ is closed to new replies.