Title: Time limit
Last modified: August 31, 2016

---

# Time limit

 *  Resolved [landonbm](https://wordpress.org/support/users/landonbm/)
 * (@landonbm)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/time-limit-5/)
 * Hello again
    I’ve met several errors. 1. i got this message as i submitted my
   answer:”Incorrect Action, please contact Site Administrator”. 2. I couldn’t add
   time limit to a quiz.:( pliz take a look Thanks
 * [https://wordpress.org/plugins/quiz-tool-lite/](https://wordpress.org/plugins/quiz-tool-lite/)

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

 *  Plugin Author [Alex Furr](https://wordpress.org/support/users/alexfurr/)
 * (@alexfurr)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/time-limit-5/#post-7061035)
 * Hi,
 * were sorry you’re having problems using the incorrect message isn’t one of our
   warnings so it sounds like some conflict with either the theme or another plugin
   perhaps. Could you send me a link to the quiz you’re taking when seeing that 
   message so I can investigate please.
 * Re:2 is it simply not saving the time limit on the quiz? Or you’ve added the 
   time limit but it’s not being added on the front end of the quiz itself? I can
   try to reproduce if you give me more info. Do you see any error messages, or 
   does it simply not save correctly?
 * Thanks,
    Alex
 *  Thread Starter [landonbm](https://wordpress.org/support/users/landonbm/)
 * (@landonbm)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/time-limit-5/#post-7061042)
 * 1. Here is my link [http://hocvuivl.com/toeic-part-1-photo/](http://hocvuivl.com/toeic-part-1-photo/).
   Yes, perhaps it could be the conflict with my theme.I’ll check it later
    2. yes,
   it is simply not able to save the time limit. As i click on “Update Quiz”, it
   is immediately redirected to “overview” tab.
 *  Plugin Author [Alex Furr](https://wordpress.org/support/users/alexfurr/)
 * (@alexfurr)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/time-limit-5/#post-7061046)
 * Its asking me to login to take the quiz – could you create a subscriber account
   for me so I can test thanks.
 * I can reproduce the time limit bug on our dev server so will fix today and upload
   a new version this afternoon.
 * Alex
 *  Thread Starter [landonbm](https://wordpress.org/support/users/landonbm/)
 * (@landonbm)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/time-limit-5/#post-7061076)
 * I unchecked the participants must be logged in to take part. Plz take a look:
   D
 *  Thread Starter [landonbm](https://wordpress.org/support/users/landonbm/)
 * (@landonbm)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/time-limit-5/#post-7061087)
 * Hello, I’ve checked error log, it is said that wp-user does not exist as following:
   ”
   WordPress database error Table ‘******.wp_users’ doesn’t exist for query Select
   wp***_AI_Quiz_tblQuizAttempts.*, wp_users.display_name From wp***_AI_Quiz_tblQuizAttempts
   Inner Join wp_users ON wp***_AI_Quiz_tblQuizAttempts.username = wp***_users.user_login
   Where wp***_AI_Quiz_tblQuizAttempts.quizID = 1″. As i know, it could be that 
   not using default prefix wp_ caused this error. Shall i have to change the wp***_
   into default one??i dont want to do so:(
 *  Plugin Author [Alex Furr](https://wordpress.org/support/users/alexfurr/)
 * (@alexfurr)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/time-limit-5/#post-7061103)
 * How bizarre. It should work regardless of the prefix.
    Is this a new installation
   of the plugin, or something that has come in since an update and has previously
   worked?
 * The second issue I’ve fixed on our Dev site but haven’t had time to update the
   plugin version yet… Will check the second issue tomorrow morning.
    Don’t change
   the default prefix yet, let me do do some further testing! Alex
 *  Plugin Author [Alex Furr](https://wordpress.org/support/users/alexfurr/)
 * (@alexfurr)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/time-limit-5/#post-7061130)
 * Hi – this was perfect – just the answer I was looking for.
 * Could you please try the following and let me know if it works on your installation.
 * 1. Open the file quit-tool-lite/scripts/qry_functions.php
    2. Find the function“
   getQuizResults”. It should be line 323.
 * Replace that function with this one:
    public static function getQuizResults($
   quizID)
 *  {
 *  global $wpdb;
    $attempt_table = $wpdb->prefix . “AI_Quiz_tblQuizAttempts”; $
   user_table = $wpdb->base_prefix . “users”;
 *  $SQL=’Select ‘.$attempt_table.’.*, ‘.$user_table.’.display_name From ‘;
 *  $SQL.=$attempt_table.’ Inner Join ‘.$user_table.’ ON ‘.$attempt_table.’.username
   = ‘.$user_table.’.user_login ‘;
 *  $SQL.=’Where ‘.$attempt_table.’.quizID = ‘.$quizID;
    $rs = $wpdb->get_results(
   $SQL, ARRAY_A ); return $rs;
 *  }
 * Please let me know if this removes the error message – if so I can add it to 
   the latest release this afternoon. I don’t have an installation available that
   doesn’t have “wp_” as the prefix so its hard to test.
 * Thanks again,
 * Alex
 *  Thread Starter [landonbm](https://wordpress.org/support/users/landonbm/)
 * (@landonbm)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/time-limit-5/#post-7061155)
 * Sorry for a late reply.
    It’s strange that if i disable one of my plugin, it 
   works perfectly:D. So i will request a support from my theme provider. In addition,
   I’ve tried add the above script, but it made no difference:). Thank you for supporting.
 *  Plugin Author [Alex Furr](https://wordpress.org/support/users/alexfurr/)
 * (@alexfurr)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/time-limit-5/#post-7061169)
 * OK Well thats strange – I’m sure the issue above is causing the error message
   so will update the plugin and perhaps that will help. Let me know if you get 
   a resolution,
    Alex
 *  Thread Starter [landonbm](https://wordpress.org/support/users/landonbm/)
 * (@landonbm)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/time-limit-5/#post-7061204)
 * Ok,sure, i keep you in touch:).
    Thanks for really good and fast support:D
 *  Thread Starter [landonbm](https://wordpress.org/support/users/landonbm/)
 * (@landonbm)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/time-limit-5/#post-7061209)
 * Can i ask a question?
    Is there anyway to copy Grade Boundary from a quiz to 
   another one? I’m really interested in using this functionality:D
 *  Thread Starter [landonbm](https://wordpress.org/support/users/landonbm/)
 * (@landonbm)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/time-limit-5/#post-7061239)
 * Hello
    I’ve found out the reason why Quiz tool Lite conflicted with the installed
   plugin on my website. If i insert the shortcode [QTL-Quiz id=1] into a page, 
   it will appear the above error.However if i put that one into a post, it works
   perfectly:D. The mentioned plugin is front end creation plugin. It works with
   pages and got query on url, i guess:D. Perhaps it conflicts with Quiz tool lite
   so. What do you think?:D Landon
 *  Plugin Author [Alex Furr](https://wordpress.org/support/users/alexfurr/)
 * (@alexfurr)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/time-limit-5/#post-7061241)
 * Ok well done finding the conflict. I’ll install that plugin and to reproduce 
   the error.
 * Can’t comment more until I’ve seen the plugin you mention. Thanks for letting
   us know!
 * Best wishes,
 * Alex

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

The topic ‘Time limit’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/quiz-tool-lite_e3e3e5.svg)
 * [Quiz Tool Lite](https://wordpress.org/plugins/quiz-tool-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quiz-tool-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quiz-tool-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/quiz-tool-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quiz-tool-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quiz-tool-lite/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [Alex Furr](https://wordpress.org/support/users/alexfurr/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/time-limit-5/#post-7061241)
 * Status: resolved