xeno010 / Wp-Pro-Quiz

Wordpress WP-Pro-Quiz Plugin (Official)
GNU General Public License v2.0
116 stars 112 forks source link

START QUIZ - doesn't work #39

Open timmodugdale opened 8 years ago

timmodugdale commented 8 years ago

When I add shortcode to a page, the start page is displayed but the start quiz button does not respond.

I am using 4.6 1 and version .37 of WP-Pro-Quiz.

I recently moved to a new template that using multiple content sections, if that matters.

Any insight is welcome.

page example: https://wwwtest.blendedtoolkit.wisc.edu/day-two-quiz/

Jscript errors wpProQuiz_front.min.js?ver=0.37:1 Uncaught TypeError: n.find(...).parents(...).sortable is not a functionstartQuiz @ wpProQuiz_front.min.js?ver=0.37:1(anonymous function) @ wpProQuiz_front.min.js?ver=0.37:1dispatch @ main.min.js?ver=1.0.0-alpha.4:5elemData.handle @ main.min.js?ver=1.0.0-alpha.4:5 wpProQuiz_front.min.js?ver=0.37:1 Uncaught TypeError: Cannot read property 'time' of undefinedquestionStop @ wpProQuiz_front.min.js?ver=0.37:1questionStart @ wpProQuiz_front.min.js?ver=0.37:1startQuiz @ wpProQuiz_front.min.js?ver=0.37:1(anonymous function) @ wpProQuiz_front.min.js?ver=0.37:1dispatch @ main.min.js?ver=1.0.0-alpha.4:5elemData.handle @ main.min.js?ver=1.0.0-alpha.4:5

wpProQuiz_front.min.js?ver=0.37:1 Uncaught TypeError: Cannot read property 'time' of undefinedquestionStop @ wpProQuiz_front.min.js?ver=0.37:1questionStart @ wpProQuiz_front.min.js?ver=0.37:1startQuiz @ wpProQuiz_front.min.js?ver=0.37:1(anonymous function) @ wpProQuiz_front.min.js?ver=0.37:1dispatch @ main.min.js?ver=1.0.0-alpha.4:5elemData.handle @ main.min.js?ver=1.0.0-alpha.4:5

xeno010 commented 8 years ago

Have you a link?

timmodugdale commented 8 years ago

https://blendedtoolkit.wisc.edu/day-two-quiz/ https://blendedtoolkit.wisc.edu/day-two-quiz/

On Oct 25, 2016, at 9:36 AM, Julius notifications@github.com wrote:

Have you a link?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/xeno010/Wp-Pro-Quiz/issues/39#issuecomment-256053143, or mute the thread https://github.com/notifications/unsubscribe-auth/AV_RlEEmAhbuRjGVaREl50xN3XEqnLWbks5q3hPogaJpZM4KgEEg.

xeno010 commented 8 years ago

I found the problem. It is not a wp-pro-quiz problem.

You have two jquery integrations.

First: normal integrations in the header (Wordpress default) second: custom integration in your Themes "wp-content/themes/uw-madison-2016/dist/main.min.js"

The "main.min.js" override the first jquery instance (with all plugins (e.g. ui-sortable)).

That's why it does not work anymore. -> wpProQuiz_front.min.js?ver=0.37:1 Uncaught TypeError: n.find(...).parents(...).sortable

fenind commented 7 years ago

i am also facing this problem please any one tail me how to fix it my quiz page is http://www.hindstudy.in/computer-important-question-quiz-english-hindi-exams-4157.html

Naresh206 commented 7 years ago

Working Fine please keep this one dnt change any thing

dabarks commented 7 years ago

Having the same problem here, can anyone advise?

whatsapp image 2017-03-15 at 3 59 49 pm

www.safesteptubs.ca/at-home-safety-calculator

I have suspicions that some field names breaking HTML code and affecting JS too? I can see the

code inside the javascript which should be before the Githubissues.
  • Githubissues is a development platform for aggregating issues.