xeno010 / Wp-Pro-Quiz

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

Statistics have stopped #40

Open Romantic4 opened 8 years ago

Romantic4 commented 8 years ago

Hi,

My statistics stopped being compiled for both of my quizzes in August - I just took the quiz to test it and the stats didn't reflect this.

Any ideas? I used the repair database option, but didn't seem to fix the problem

tdugdale commented 7 years ago

I have the same problem. People complete the quiz. They get their email results. Admin does not get email results and the results do not show up under statistics. Any ideas?

Also, if I enable Leaderboard, the results do appear, so they are being captured.

goldhat commented 7 years ago

this is different from #41 from the report it sounds like no stats are shown?

nsaral commented 7 years ago

Statistics stopped with the new version of WP and there are lots of guys waiting this issue. Please help.

goldhat commented 7 years ago

What version nsaral? Can you expand on how the statistics stopped working? I have just recently setup a test site, latest WP... stats are working, but there were a couple of issues. First the default setting to prevent stats spam prevents more than 1 recorded stat per user, per quiz. You can set that to 0 to track all stats. Second issue I noticed is that trying to activate stats for the quiz fails from the stat tracking page. Instead go to edit quiz, check the box setting for track stats.

nsaral commented 7 years ago

Hi,

You know that the problem is occurred after the new WP 4.6 or 4.7, 2 months ago. There are lots of guys effected from this issue.

There is no problem with stats 0 “track for all stats” and no problem with activate stats. All boxes are OK besides nothing changed in time. After new WP some statistics are working some of them not. After your WP-Pro-Completed nothing changed too.

M.Niyazi Saral

Çizgi Elektronik – Çizgi Tagem

www.cizgi.com.tr http://www.cizgi.com.tr/ - www.cizgi-tagem.org

Tel: 0212 – 356 7070

From: Joel Milne [mailto:notifications@github.com] Sent: Tuesday, December 27, 2016 2:26 PM To: xeno010/Wp-Pro-Quiz Cc: nsaral; Comment Subject: Re: [xeno010/Wp-Pro-Quiz] Statistics have stopped (#40)

What version nsaral? Can you expand on how the statistics stopped working? I have just recently setup a test site, latest WP... stats are working, but there were a couple of issues. First the default setting to prevent stats spam prevents more than 1 recorded stat per user, per quiz. You can set that to 0 to track all stats. Second issue I noticed is that trying to activate stats for the quiz fails from the stat tracking page. Instead go to edit quiz, check the box setting for track stats.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xeno010/Wp-Pro-Quiz/issues/40#issuecomment-269313579 , or mute the thread https://github.com/notifications/unsubscribe-auth/AXpHwFmsAN7L8v10PEEU97Fgul-TUX4Lks5rMPXbgaJpZM4KhL67 . https://github.com/notifications/beacon/AXpHwILNyGyM3OkogPrt31XJh7ZYmdivks5rMPXbgaJpZM4KhL67.gif

goldhat commented 7 years ago

tdugdale says in his report that the stats are collected, and he can see that because he has the leaderboard setup. What about you nsaral, do you have leaderboard? Can you check to see if the stats are stored.

It makes a big difference in debugging to know if the problem is "stats not stored" or "stats store, but not displayed".

WP Pro Quiz Completed would not solve the stats not stored problem, if that is the issue. It is only able to display stats already stored, and it should display the exact same results shown in the admin stats.

nsaral commented 7 years ago

Leaderboard results are OK. No problem.

goldhat commented 7 years ago

I've setup a demo site for testing: http://pq.goldhat.ca/

Admin login is admin, z0mF4f2NQTnX

I ran 3 different tests on a simple quiz. I took the test as admin, as anonymous user, and as basic subscriber user. All 3 results are shown in the quiz stats. These tests did not reproduce the issue.

Perhaps there are different settings in the quiz that cause the problem? Or it involves different user roles?

When you view stats on your site for a quiz, do you see old stats, or no stats at all?

goldhat commented 7 years ago

You mentioned some stats work, others do not... maybe the failure is in one type of quiz? Do you use different quiz types, any chance all the failing ones are from same type?

nsaral commented 7 years ago

I tried the system and your test site again. Thanks. Here are the differences.

http://pq.goldhat.ca/results/

http://www.cizgi-tagem.org/results/

Same

http://pq.goldhat.ca/results/?quiz=3&ref=6

http://www.cizgi-tagem.org/result/?quiz=109&ref=69537

Result ???

http://www.cizgi-tagem.org/result/?quiz=109 http://www.cizgi-tagem.org/result/?quiz=109&ref=69537 &ref=69537 This link is created by the WP-ProQuiz Completed and when I change the result è results manually still doesn’t work.

M.Niyazi Saral

Çizgi Elektronik – Çizgi Tagem

www.cizgi.com.tr http://www.cizgi.com.tr/ - www.cizgi-tagem.org

Tel: 0212 – 356 7070

From: Joel Milne [mailto:notifications@github.com] Sent: Tuesday, December 27, 2016 11:17 PM To: xeno010/Wp-Pro-Quiz Cc: nsaral; Comment Subject: Re: [xeno010/Wp-Pro-Quiz] Statistics have stopped (#40)

I've setup a demo site for testing: http://pq.goldhat.ca/

Admin login is admin, z0mF4f2NQTnX

I ran 3 different tests on a simple quiz. I took the test as admin, as anonymous user, and as basic subscriber user. All 3 results are shown in the quiz stats. These tests did not reproduce the issue.

Perhaps there are different settings in the quiz that cause the problem? Or it involves different user roles?

When you view stats on your site for a quiz, do you see old stats, or no stats at all?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xeno010/Wp-Pro-Quiz/issues/40#issuecomment-269377182 , or mute the thread https://github.com/notifications/unsubscribe-auth/AXpHwCoFXickLOd5TynY6sBvDeaxRI_jks5rMXJDgaJpZM4KhL67 . https://github.com/notifications/beacon/AXpHwIAMdKj7fDu530C81yV1BUx6c-xkks5rMXJDgaJpZM4KhL67.gif

nsaral commented 7 years ago

There are no differences working ones and others.

M.Niyazi Saral

Çizgi Elektronik – Çizgi Tagem

www.cizgi.com.tr http://www.cizgi.com.tr/ - www.cizgi-tagem.org

Tel: 0212 – 356 7070

From: Joel Milne [mailto:notifications@github.com] Sent: Tuesday, December 27, 2016 11:22 PM To: xeno010/Wp-Pro-Quiz Cc: nsaral; Comment Subject: Re: [xeno010/Wp-Pro-Quiz] Statistics have stopped (#40)

You mentioned some stats work, others do not... maybe the failure is in one type of quiz? Do you use different quiz types, any chance all the failing ones are from same type?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xeno010/Wp-Pro-Quiz/issues/40#issuecomment-269377654 , or mute the thread https://github.com/notifications/unsubscribe-auth/AXpHwI93ws_hmQSKRmZFbvEeqD7x7h7yks5rMXNMgaJpZM4KhL67 . https://github.com/notifications/beacon/AXpHwFr-n_-3mpi66TEDcU9d8xzwTXpzks5rMXNMgaJpZM4KhL67.gif

hoohoo1305 commented 7 years ago

I had the same problem aka the statistics were not populating although people were taking the tests - I managed to get them fixed by disabling the admin email notification sending. I have not tested what happens if I still keep the email notifications on for the people taking the tests. Will examine it later today.

esperanzo2008 commented 7 years ago

I've got the same problem - if i turn on admin notification by email - stat's are not recorded

FlatText commented 7 years ago

Thanks everyone. This gave me a bit of a panic but as soon as I turned the emails off it was ok. However, this has happened to me before I even tried the emails. I hope goldhat can deliver a fully functional plugin once they're done

lakshman99 commented 7 years ago

hey can you give us a facility to list all result base time ? i mean spent time to each Quiz . Thank you.

FlatText commented 7 years ago

Quick update on the emails. My quiz is recording statistics and sending emails out to both the quiz taker and a company email. Worked on WP 4.7 and still working on WP 4.8.2.

I just made sure my SMTP details were correct and then it started recording stats and sending emails. You can use a plugin like WP-SMTP to make things easier. So if your site can send emails, then the quiz stats should be recorded.