Quiz Master

Quiz Master 1.1.0b

No permission to download
Korikus was this resolved for you ??
As I spoke before - last update resolved problem with installing Quiz_XML.xml

i will try and have a look at this before i go away for a few days.
OK.
I'll wait.
This add-on very interesting.
I still hope to try this add-on in the work.

I'll try to disable all the add-ons in adminCP.
Maybe there is some sort of conflict.
 
I have new information.

I installed a new forum for testing without any add-ons.
Install the module "Quiz"

All errors I have described above, there are on this forum.

I can do admin access to the forum if it necessary.

Perhaps these errors occurs due to improper location of the source files during installation?

Тow I have this structure:

 
No any user permission for user groups? :eek:
AND:
PHP:
Template Errors: QuizMaster_admin_edit_category
Illegal string offset 'id_quiz' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 3:
2: $__extraData['title'] = '';
3: $__extraData['title'] .= (($GetCategory['id_quiz']) ? ('Edit Category' . ': ' . htmlspecialchars($GetCategory['title'], ENT_QUOTES, 'UTF-8')) : ('Add Category'));
4: $__output .= '
Illegal string offset 'id_quiz' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 9:
8: $__extraData['navigation'][] = array('href' => XenForo_Template_Helper_Core::adminLink('QuizMaster/categories', false, array()) . '#' . XenForo_Template_Helper_Core::callHelper('listitemid', array(
9: '0' => $GetCategory['id_quiz']
10: )), 'value' => 'Category List');
Illegal string offset 'id_quiz' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 17:
16:
17:         <input type="hidden" name="id_category" value="' . htmlspecialchars($GetCategory['id_quiz'], ENT_QUOTES, 'UTF-8') . '" />
18:         <input type="hidden" name="oldimage" value="' . htmlspecialchars($GetCategory['image'], ENT_QUOTES, 'UTF-8') . '" />
Illegal string offset 'image' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 18:
17:         <input type="hidden" name="id_category" value="' . htmlspecialchars($GetCategory['id_quiz'], ENT_QUOTES, 'UTF-8') . '" />
18:         <input type="hidden" name="oldimage" value="' . htmlspecialchars($GetCategory['image'], ENT_QUOTES, 'UTF-8') . '" />
19:       
Illegal string offset 'title' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 21:
20:         ';
21: $__compilerVar3 .= XenForo_Template_Helper_Admin::textBoxUnit('Category Title' . ':', 'name', htmlspecialchars($GetCategory['title'], ENT_QUOTES, 'UTF-8'), array(), array());
22: $__compilerVar3 .= '
Illegal string offset 'description' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 25:
24:     ';
25: $__compilerVar3 .= XenForo_Template_Helper_Admin::textBoxUnit('Description' . ':', 'description', htmlspecialchars($GetCategory['description'], ENT_QUOTES, 'UTF-8'), array(), array(
26: 'rows' => '2',
Illegal string offset 'id_parent' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 37:
36:                 <dd>
37:                     <select class="textCtrl" label="' . 'Select Category' . ':" name="id_parent" value="' . htmlspecialchars($GetCategory['id_parent'], ENT_QUOTES, 'UTF-8') . '">
38:                     ' . $allcats . '


PHP:
Template Errors: QuizMaster_admin_edit_quiz
Illegal string offset 'id_quiz' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 3:
2: $__extraData['title'] = '';
3: $__extraData['title'] .= (($GetQuiz['id_quiz']) ? ('Edit Quiz' . ': ' . htmlspecialchars($GetQuiz['title'], ENT_QUOTES, 'UTF-8')) : ('Add Quiz'));
4: $__output .= '
Illegal string offset 'id_quiz' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 9:
8: $__extraData['navigation'][] = array('href' => XenForo_Template_Helper_Core::adminLink('QuizMaster/listquizzes', false, array()) . '#' . XenForo_Template_Helper_Core::callHelper('listitemid', array(
9: '0' => $GetQuiz['id_quiz']
10: )), 'value' => 'Quizzes List');
Illegal string offset 'id_quiz' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 17:
16:
17:         <input type="hidden" name="id_quiz" value="' . htmlspecialchars($GetQuiz['id_quiz'], ENT_QUOTES, 'UTF-8') . '" />
18:         <input type="hidden" name="oldimage" value="' . htmlspecialchars($GetQuiz['image'], ENT_QUOTES, 'UTF-8') . '" />
Illegal string offset 'image' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 18:
17:         <input type="hidden" name="id_quiz" value="' . htmlspecialchars($GetQuiz['id_quiz'], ENT_QUOTES, 'UTF-8') . '" />
18:         <input type="hidden" name="oldimage" value="' . htmlspecialchars($GetQuiz['image'], ENT_QUOTES, 'UTF-8') . '" />
19:         <input type="hidden" name="isadmin" value="1" />
Illegal string offset 'title' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 22:
21:         ';
22: $__compilerVar4 .= XenForo_Template_Helper_Admin::textBoxUnit('Title' . ':', 'title', htmlspecialchars($GetQuiz['title'], ENT_QUOTES, 'UTF-8'), array(), array());
23: $__compilerVar4 .= '
Illegal string offset 'id_parent' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 28:
27:                 <dd>
28:                     <select class="textCtrl" label="' . 'Select Category' . ':" name="id_category" value="' . htmlspecialchars($GetQuiz['id_parent'], ENT_QUOTES, 'UTF-8') . '">
29:                     ' . $allcats . '
Illegal string offset 'description' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 35:
34:     ';
35: $__compilerVar4 .= XenForo_Template_Helper_Admin::textBoxUnit('Description' . ':', 'description', htmlspecialchars($GetQuiz['description'], ENT_QUOTES, 'UTF-8'), array(), array(
36: 'rows' => '2',
Illegal string offset 'play_limit' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 42:
41:         ';
42: $__compilerVar4 .= XenForo_Template_Helper_Admin::textBoxUnit('Play Limit' . ':', 'limit', htmlspecialchars($GetQuiz['play_limit'], ENT_QUOTES, 'UTF-8'), array(), array());
43: $__compilerVar4 .= '
Illegal string offset 'seconds_per_question' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 46:
45:         ';
46: $__compilerVar4 .= XenForo_Template_Helper_Admin::textBoxUnit('Seconds Per Question' . ':', 'seconds', htmlspecialchars($GetQuiz['seconds_per_question'], ENT_QUOTES, 'UTF-8'), array(), array());
47: $__compilerVar4 .= '
Illegal string offset 'show_answers' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 54:
53: 'name' => 'showanswers',
54: 'selected' => ($GetQuiz['show_answers'])
55: );

Linux 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64 GNU/Linux

PHP 5.6.4 (cli) (built: Dec 17 2014 21:45:04)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
with the ionCube PHP Loader v4.7.2, Copyright (c) 2002-2014, by ionCube Ltd., and
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
 
Now I tried create test from website (not adminCP).
I got this error:
imagecreatefrompng(): '/tmp/phpK15419' is not a valid PNG file
  1. XenForo_Application::handlePhpError()
  2. imagecreatefrompng() in QuizMaster/Model/QuizMaster.php at line 2905
  3. QuizMaster_Model_QuizMaster->uploadImage() in QuizMaster/ControllerPublic/index.php at line 650
  4. QuizMaster_ControllerPublic_index->actionSaveupdate() in XenForo/FrontController.php at line 347
  5. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  6. XenForo_FrontController->run() in /home/mysite/public_html/forum/index.php at line 13

If I don't try upload image - all OK.
 
Sounds like its not ready for prime time yet, but is in the works. I still might go with SMF linked its free and works
for my application, would be nice to have it in one forum but if not I need stability for the training we will use this for.
I will see by the 1st of Jan if its working maybe ;).
 
how do you add a quiz tried creating one then put in title etc.
but where do you put the questions and answers before submiting?

Doesn't look like there will be any support on this new addon for a few days, the developer of it said he wont be
around after releasing it yesterday. So may be a few days before he works on this .
 
No any user permission for user groups? :eek:
AND:
PHP:
Template Errors: QuizMaster_admin_edit_category
Illegal string offset 'id_quiz' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 3:
2: $__extraData['title'] = '';
3: $__extraData['title'] .= (($GetCategory['id_quiz']) ? ('Edit Category' . ': ' . htmlspecialchars($GetCategory['title'], ENT_QUOTES, 'UTF-8')) : ('Add Category'));
4: $__output .= '
Illegal string offset 'id_quiz' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 9:
8: $__extraData['navigation'][] = array('href' => XenForo_Template_Helper_Core::adminLink('QuizMaster/categories', false, array()) . '#' . XenForo_Template_Helper_Core::callHelper('listitemid', array(
9: '0' => $GetCategory['id_quiz']
10: )), 'value' => 'Category List');
Illegal string offset 'id_quiz' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 17:
16:
17:         <input type="hidden" name="id_category" value="' . htmlspecialchars($GetCategory['id_quiz'], ENT_QUOTES, 'UTF-8') . '" />
18:         <input type="hidden" name="oldimage" value="' . htmlspecialchars($GetCategory['image'], ENT_QUOTES, 'UTF-8') . '" />
Illegal string offset 'image' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 18:
17:         <input type="hidden" name="id_category" value="' . htmlspecialchars($GetCategory['id_quiz'], ENT_QUOTES, 'UTF-8') . '" />
18:         <input type="hidden" name="oldimage" value="' . htmlspecialchars($GetCategory['image'], ENT_QUOTES, 'UTF-8') . '" />
19:      
Illegal string offset 'title' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 21:
20:         ';
21: $__compilerVar3 .= XenForo_Template_Helper_Admin::textBoxUnit('Category Title' . ':', 'name', htmlspecialchars($GetCategory['title'], ENT_QUOTES, 'UTF-8'), array(), array());
22: $__compilerVar3 .= '
Illegal string offset 'description' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 25:
24:     ';
25: $__compilerVar3 .= XenForo_Template_Helper_Admin::textBoxUnit('Description' . ':', 'description', htmlspecialchars($GetCategory['description'], ENT_QUOTES, 'UTF-8'), array(), array(
26: 'rows' => '2',
Illegal string offset 'id_parent' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 37:
36:                 <dd>
37:                     <select class="textCtrl" label="' . 'Select Category' . ':" name="id_parent" value="' . htmlspecialchars($GetCategory['id_parent'], ENT_QUOTES, 'UTF-8') . '">
38:                     ' . $allcats . '


PHP:
Template Errors: QuizMaster_admin_edit_quiz
Illegal string offset 'id_quiz' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 3:
2: $__extraData['title'] = '';
3: $__extraData['title'] .= (($GetQuiz['id_quiz']) ? ('Edit Quiz' . ': ' . htmlspecialchars($GetQuiz['title'], ENT_QUOTES, 'UTF-8')) : ('Add Quiz'));
4: $__output .= '
Illegal string offset 'id_quiz' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 9:
8: $__extraData['navigation'][] = array('href' => XenForo_Template_Helper_Core::adminLink('QuizMaster/listquizzes', false, array()) . '#' . XenForo_Template_Helper_Core::callHelper('listitemid', array(
9: '0' => $GetQuiz['id_quiz']
10: )), 'value' => 'Quizzes List');
Illegal string offset 'id_quiz' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 17:
16:
17:         <input type="hidden" name="id_quiz" value="' . htmlspecialchars($GetQuiz['id_quiz'], ENT_QUOTES, 'UTF-8') . '" />
18:         <input type="hidden" name="oldimage" value="' . htmlspecialchars($GetQuiz['image'], ENT_QUOTES, 'UTF-8') . '" />
Illegal string offset 'image' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 18:
17:         <input type="hidden" name="id_quiz" value="' . htmlspecialchars($GetQuiz['id_quiz'], ENT_QUOTES, 'UTF-8') . '" />
18:         <input type="hidden" name="oldimage" value="' . htmlspecialchars($GetQuiz['image'], ENT_QUOTES, 'UTF-8') . '" />
19:         <input type="hidden" name="isadmin" value="1" />
Illegal string offset 'title' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 22:
21:         ';
22: $__compilerVar4 .= XenForo_Template_Helper_Admin::textBoxUnit('Title' . ':', 'title', htmlspecialchars($GetQuiz['title'], ENT_QUOTES, 'UTF-8'), array(), array());
23: $__compilerVar4 .= '
Illegal string offset 'id_parent' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 28:
27:                 <dd>
28:                     <select class="textCtrl" label="' . 'Select Category' . ':" name="id_category" value="' . htmlspecialchars($GetQuiz['id_parent'], ENT_QUOTES, 'UTF-8') . '">
29:                     ' . $allcats . '
Illegal string offset 'description' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 35:
34:     ';
35: $__compilerVar4 .= XenForo_Template_Helper_Admin::textBoxUnit('Description' . ':', 'description', htmlspecialchars($GetQuiz['description'], ENT_QUOTES, 'UTF-8'), array(), array(
36: 'rows' => '2',
Illegal string offset 'play_limit' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 42:
41:         ';
42: $__compilerVar4 .= XenForo_Template_Helper_Admin::textBoxUnit('Play Limit' . ':', 'limit', htmlspecialchars($GetQuiz['play_limit'], ENT_QUOTES, 'UTF-8'), array(), array());
43: $__compilerVar4 .= '
Illegal string offset 'seconds_per_question' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 46:
45:         ';
46: $__compilerVar4 .= XenForo_Template_Helper_Admin::textBoxUnit('Seconds Per Question' . ':', 'seconds', htmlspecialchars($GetQuiz['seconds_per_question'], ENT_QUOTES, 'UTF-8'), array(), array());
47: $__compilerVar4 .= '
Illegal string offset 'show_answers' in /library/XenForo/Template/Abstract.php(265) : eval()'d code, line 54:
53: 'name' => 'showanswers',
54: 'selected' => ($GetQuiz['show_answers'])
55: );

Linux 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64 GNU/Linux

PHP 5.6.4 (cli) (built: Dec 17 2014 21:45:04)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
with the ionCube PHP Loader v4.7.2, Copyright (c) 2002-2014, by ionCube Ltd., and
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
Have made some changes that i hope will fix this problem you are having.
 
Top Bottom