WordPress.org

Ready to get started?Download WordPress

Forums

Wp-Pro-Quiz
[resolved] The Quiz will not start (WP 3.5.2 and WPQ 0.26/0.24) (19 posts)

  1. TorsteinH
    Member
    Posted 10 months ago #

    I can not get the Quiz to start, The preview is just fine. When the Shortcode is added to a page the opening page with the start button is displayed. If you press the Start button, nothing happens.
    I have tried all the settings options and triedto deactivate all other Plugins, but its still not working.

    http://www.telemuseum.no/ny/tt2/

    http://wordpress.org/plugins/wp-pro-quiz/

  2. xeno010
    Member
    Plugin Author

    Posted 10 months ago #

    Hello,

    page not found.

    do you have a new link?

  3. TorsteinH
    Member
    Posted 10 months ago #

    Sorry, I have probably deletedf the page. Here is another one:

    http://www.telemuseum.no/ny/underholdningsavdelingen/quiz/quiz-fra-1993/

  4. xeno010
    Member
    Plugin Author

    Posted 10 months ago #

    Hello TorsteinH,

    I have found the bug (it is not a wp-pro-quiz error).

    Jquery is included twice.

    In the header (line 33-34):

    <script type='text/javascript' src='//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'></script>
    <script>window.jQuery || document.write('<script src="http://www.telemuseum.no/ny/wp-includes/js/jquery/jquery.js"><\/script>')</script>

    and in the footer (line 480):

    <script src="http://www.telemuseum.no/ny/wp-content/themes/retkom-telemuseet/js/vendor/jquery.js"></script>

    Pls remove jquery from the footer or header and try again.

  5. TorsteinH
    Member
    Posted 10 months ago #

    Tanks a lot!

    Mvh Torstein

  6. PatrickDuursma
    Member
    Posted 10 months ago #

    The same problem here.

    Using WordPress 3.6 with an custom theme and WPQ 0.26
    http://le-network.nl/la-game-engels/

    Already tried different settings and deactivate all other plugins.

  7. xeno010
    Member
    Plugin Author

    Posted 10 months ago #

    Hello PatrickDuursma,

    you have a lot of javascript errors on your page.

    1:

    Uncaught TypeError: Object #<Object> has no method 'cycle' (line 162)

    <script type="text/javascript"> $('.pics').cycle('fade'); </script>

    Remove this line or change to:

    <script type="text/javascript"> try{ $('.pics').cycle('fade'); } catch(e){} </script>

    2:

    Uncaught ReferenceError: settings is not defined (line 151 in wp-content/themes/le-network/js/jquery.innerfade.js)

    $("#"+settings.slide_nav_id+" li").each(function() {
         ...
    }); //each

    Remove this block (line 151-167) or change to:

    try{
    $("#"+settings.slide_nav_id+" li").each(function() {
         ...
    }); //each
    } catch(e) {}

    Try again

  8. babacool
    Member
    Posted 10 months ago #

    same problem for me http://www.lifeguarding.nl
    just downloaded the plug and tried to make a test quiz but the quiz wouldn't start??

  9. xeno010
    Member
    Plugin Author

    Posted 10 months ago #

    Hello babacool,

    I have found the bug (it is not a wp-pro-quiz error).

    Jquery is included twice.

    In the header (line 51):

    <script type='text/javascript' src='http://www.lifeguarding.nl/wp-includes/js/jquery/jquery.js?ver=1.10.2'></script>

    (Correct an perfect.)

    and again in the footer (line 96):

    <script src="/wp-content/themes/lifeguarding/js/jquery.js" type="text/javascript"></script>

    (Bad)

    Please remove this line from the header and try again.

  10. paul@glow
    Member
    Posted 10 months ago #

    Hi,

    I am having the same problem mentioned in this thread, the quiz will not load when I click start but the preview is fine. I am relatively new to both WordPress and jQuery so am probably missing something very basic. Can anyone help me out as to what the problem might be?

    http://www.caramoore.co.uk/testsite/?page_id=106

    Thanks in advance.

  11. xeno010
    Member
    Plugin Author

    Posted 10 months ago #

    Hello paul@glow,

    Your jQuery integration is incorrect.

    line 9:
    <script type='text/javascript' src='http://www.caramoore.co.uk/testsitehttphttp://code.jquery.com/jquery-latest.js'></script>

    The url is wrong (404).

    And

    line 18-20:

    <script type="text/javascript"
       src="http://www.caramoore.co.uk/testsite/wp-content/themes/caramoore//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>

    The url is wrong (404).

    And

    Jquery is included twice (line 9 and line 18-20)

    Please fix the errors and check the "Settings in case of problems" option in
    -> Admin
    -> Wp-pro-Quiz
    -> Global settings
    -> Settings in case of problems

    Try again

    xeno010

  12. kiwidivr
    Member
    Posted 9 months ago #

    Having the same problem, after upgrading my theme, WordPress and plugins.
    http://languagemadefun.com/maori-language-week-quiz

  13. xeno010
    Member
    Plugin Author

    Posted 9 months ago #

    Hello kiwidivr,

    you hava a javascript error in "/wp-content/themes/rttheme10/js/script.js" line 193: "Uncaught TypeError: Object [object Object] has no method 'tooltip'"

    Pls replace:

    jQuery(document).ready(function() {
    jQuery(".photo_gallery img[title], .rt_auto_thumb_tooltip[title]").tooltip({
    
       // tweak the position
       offset: [40, 0],
    
       // use the "slide" effect
       effect: 'slide'
    
    // add dynamic plugin with optional configuration for bottom edge
    });
    });

    with:

    jQuery(document).ready(function() {
    	try {
    		jQuery(".photo_gallery img[title], .rt_auto_thumb_tooltip[title]").tooltip({
    
    		   // tweak the position
    		   offset: [40, 0],
    
    		   // use the "slide" effect
    		   effect: 'slide'
    
    			// add dynamic plugin with optional configuration for bottom edge
    		});
    	} catch(e) {}
    });

    in line 192-203

    Try again

    xeno010

  14. kiwidivr
    Member
    Posted 9 months ago #

    Excellent, thanks, that solved it. Thought from the other posts it might be a javascript error.
    Great plug-in by the way.

  15. ilovetesting
    Member
    Posted 9 months ago #

    Hi

    I'm having a similar issue but it doesn't seem that it's because jquery is included twice.

    The page for my installation of the quiz is http://ilovetesting.com/istqb-practice-questions

    Thanks

  16. Tele-Cole
    Member
    Posted 9 months ago #

    Hi there

    I run this amazing plugin in several sites but now i found it not compatible with the plugin Top contributors, tryng to intall it at http://www.desocupadolector.com

    I was unistall all plugins and the problems is just with Top contributors. It stop the quiz to start.

    Any idea pls?

  17. ilovetesting
    Member
    Posted 9 months ago #

    Please ignore my previous message. One of my other plugins was causing the issue, i've updated the plugin and now it's working ok.

  18. anubha23
    Member
    Posted 4 months ago #

  19. Philo22
    Member
    Posted 4 months ago #

    I was having the same issue (http://personalityjunkie.com/typology-iq/). I went to "Global settings" then "Settings in case of problems" and checked "Do not load Java files in footer." This solved the problem. With that said, I don't like the idea of having Java in the header. So I'm hoping xeno (or others) can help me find a better solution.

Reply

You must log in to post.

About this Plugin

About this Topic