Quiz Master

Quiz Master 1.1.0b

No permission to download
Received this server error @Mike2020 :

Code:
rrorException: Array to string conversion - library/QuizMaster/Model/QuizMaster.php:431
Generated By: admin, Yesterday at 5:31 PM
Stack Trace
#0 /home/admin/public_html/community/library/QuizMaster/Model/QuizMaster.php(431): XenForo_Application::handlePhpError(8, 'Array to string...', '/home/admin/pub...', 431, Array)
#1 /home/admin/public_html/community/library/QuizMaster/LikeHandler/Quiz.php(18): QuizMaster_Model_QuizMaster->GetQuizInfo(Array)
#2 /home/admin/public_html/community/library/XenForo/Model/Like.php(441): QuizMaster_LikeHandler_Quiz->getContentData(Array, Array)
#3 /home/admin/public_html/community/library/XenForo/ControllerPublic/Account.php(1452): XenForo_Model_Like->addContentDataToLikes(Array)
#4 /home/admin/public_html/community/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_Account->actionLikes()
#5 /home/admin/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#6 /home/admin/public_html/community/index.php(13): XenForo_FrontController->run()
#7 {main}
Request State
array(3) {
  ["url"] => string(45) "http://mysite.com/community/account/likes"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

And this one:

Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'Array' in 'where clause' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: admin, Yesterday at 5:31 PM
Stack Trace
#0 /home/admin/public_html/community/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('\r\n\t\tSELECT \t\tQ....')
#1 /home/admin/public_html/community/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '\r\n\t\tSELECT \t\tQ....')
#2 /home/admin/public_html/community/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('\r\n\t\tSELECT \t\tQ....')
#3 /home/admin/public_html/community/library/Zend/Db/Adapter/Abstract.php(753): Zend_Db_Adapter_Abstract->query('\r\n\t\tSELECT \t\tQ....', Array)
#4 /home/admin/public_html/community/library/QuizMaster/Model/QuizMaster.php(443): Zend_Db_Adapter_Abstract->fetchRow('\r\n\t\tSELECT \t\tQ....')
#5 /home/admin/public_html/community/library/QuizMaster/LikeHandler/Quiz.php(18): QuizMaster_Model_QuizMaster->GetQuizInfo(Array)
#6 /home/admin/public_html/community/library/XenForo/Model/Like.php(441): QuizMaster_LikeHandler_Quiz->getContentData(Array, Array)
#7 /home/admin/public_html/community/library/XenForo/ControllerPublic/Account.php(1452): XenForo_Model_Like->addContentDataToLikes(Array)
#8 /home/admin/public_html/community/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_Account->actionLikes()
#9 /home/admin/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /home/admin/public_html/community/index.php(13): XenForo_FrontController->run()
#11 {main}
Request State
array(3) {
  ["url"] => string(45) "http://mysite.com/community/account/likes"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

And about 10 of these:

Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP BY    Q.id_quiz, Q.title, Q.description, Q.image, Q.p' at line 35 - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Unknown Account, Yesterday at 5:11 PM
Stack Trace
#0 /home/admin/public_html/community/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('\r\n\t\tSELECT \t\tQ....')
#1 /home/admin/public_html/community/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '\r\n\t\tSELECT \t\tQ....')
#2 /home/admin/public_html/community/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('\r\n\t\tSELECT \t\tQ....')
#3 /home/admin/public_html/community/library/Zend/Db/Adapter/Abstract.php(753): Zend_Db_Adapter_Abstract->query('\r\n\t\tSELECT \t\tQ....', Array)
#4 /home/admin/public_html/community/library/QuizMaster/Model/QuizMaster.php(443): Zend_Db_Adapter_Abstract->fetchRow('\r\n\t\tSELECT \t\tQ....')
#5 /home/admin/public_html/community/library/QuizMaster/ControllerPublic/index.php(1794): QuizMaster_Model_QuizMaster->GetQuizInfo(NULL)
#6 /home/admin/public_html/community/library/XenForo/FrontController.php(347): QuizMaster_ControllerPublic_index->actionViewchallenge()
#7 /home/admin/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /home/admin/public_html/community/index.php(13): XenForo_FrontController->run()
#9 {main}
Request State
array(3) {
  ["url"] => string(71) "http://mysite.com/community/QuizMaster/harry-potter.2/viewchallenge"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Received this server error @Mike2020 :

Code:
rrorException: Array to string conversion - library/QuizMaster/Model/QuizMaster.php:431
Generated By: admin, Yesterday at 5:31 PM
Stack Trace
#0 /home/admin/public_html/community/library/QuizMaster/Model/QuizMaster.php(431): XenForo_Application::handlePhpError(8, 'Array to string...', '/home/admin/pub...', 431, Array)
#1 /home/admin/public_html/community/library/QuizMaster/LikeHandler/Quiz.php(18): QuizMaster_Model_QuizMaster->GetQuizInfo(Array)
#2 /home/admin/public_html/community/library/XenForo/Model/Like.php(441): QuizMaster_LikeHandler_Quiz->getContentData(Array, Array)
#3 /home/admin/public_html/community/library/XenForo/ControllerPublic/Account.php(1452): XenForo_Model_Like->addContentDataToLikes(Array)
#4 /home/admin/public_html/community/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_Account->actionLikes()
#5 /home/admin/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#6 /home/admin/public_html/community/index.php(13): XenForo_FrontController->run()
#7 {main}
Request State
array(3) {
  ["url"] => string(45) "http://mysite.com/community/account/likes"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

And this one:

Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'Array' in 'where clause' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: admin, Yesterday at 5:31 PM
Stack Trace
#0 /home/admin/public_html/community/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('\r\n\t\tSELECT \t\tQ....')
#1 /home/admin/public_html/community/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '\r\n\t\tSELECT \t\tQ....')
#2 /home/admin/public_html/community/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('\r\n\t\tSELECT \t\tQ....')
#3 /home/admin/public_html/community/library/Zend/Db/Adapter/Abstract.php(753): Zend_Db_Adapter_Abstract->query('\r\n\t\tSELECT \t\tQ....', Array)
#4 /home/admin/public_html/community/library/QuizMaster/Model/QuizMaster.php(443): Zend_Db_Adapter_Abstract->fetchRow('\r\n\t\tSELECT \t\tQ....')
#5 /home/admin/public_html/community/library/QuizMaster/LikeHandler/Quiz.php(18): QuizMaster_Model_QuizMaster->GetQuizInfo(Array)
#6 /home/admin/public_html/community/library/XenForo/Model/Like.php(441): QuizMaster_LikeHandler_Quiz->getContentData(Array, Array)
#7 /home/admin/public_html/community/library/XenForo/ControllerPublic/Account.php(1452): XenForo_Model_Like->addContentDataToLikes(Array)
#8 /home/admin/public_html/community/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_Account->actionLikes()
#9 /home/admin/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /home/admin/public_html/community/index.php(13): XenForo_FrontController->run()
#11 {main}
Request State
array(3) {
  ["url"] => string(45) "http://mysite.com/community/account/likes"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

And about 10 of these:

Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP BY    Q.id_quiz, Q.title, Q.description, Q.image, Q.p' at line 35 - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Unknown Account, Yesterday at 5:11 PM
Stack Trace
#0 /home/admin/public_html/community/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('\r\n\t\tSELECT \t\tQ....')
#1 /home/admin/public_html/community/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '\r\n\t\tSELECT \t\tQ....')
#2 /home/admin/public_html/community/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('\r\n\t\tSELECT \t\tQ....')
#3 /home/admin/public_html/community/library/Zend/Db/Adapter/Abstract.php(753): Zend_Db_Adapter_Abstract->query('\r\n\t\tSELECT \t\tQ....', Array)
#4 /home/admin/public_html/community/library/QuizMaster/Model/QuizMaster.php(443): Zend_Db_Adapter_Abstract->fetchRow('\r\n\t\tSELECT \t\tQ....')
#5 /home/admin/public_html/community/library/QuizMaster/ControllerPublic/index.php(1794): QuizMaster_Model_QuizMaster->GetQuizInfo(NULL)
#6 /home/admin/public_html/community/library/XenForo/FrontController.php(347): QuizMaster_ControllerPublic_index->actionViewchallenge()
#7 /home/admin/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /home/admin/public_html/community/index.php(13): XenForo_FrontController->run()
#9 {main}
Request State
array(3) {
  ["url"] => string(71) "http://mysite.com/community/QuizMaster/harry-potter.2/viewchallenge"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
will have a look and let you know as soon as i can
 
Array to string conversion - library/QuizMaster/Model/QuizMaster.php:431 Generated By: admin, Yesterday at 5:31 PM Stack Trace

All these errors are down to the likes so i will look into this more and find out but i can see from one of your errors that an unknown tried to use it.
 
@Mike2020
What about my errors?
I installed Quiz on test server for testing.

http://kanji.aikidoka.ru/forum/QuizMaster/
login: test
pass: 123456
this is regular user

Some errors on this site the same I wrote above:

When I try challenge anybody without name in field I have server error:
Server Error
Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' play_limit = "13", ' at line 4

  1. Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
  2. Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
  3. Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
  4. Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 753
  5. Zend_Db_Adapter_Abstract->fetchRow() in QuizMaster/Model/QuizMaster.php at line 3557
  6. QuizMaster_Model_QuizMaster->InsertQuizChallengeInfo() in QuizMaster/ControllerPublic/index.php at line 1589
  7. QuizMaster_ControllerPublic_index->actionDochallengeuser() in XenForo/FrontController.php at line 347
  8. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  9. XenForo_FrontController->run() in /home/kanji.aikidoka.ru/public_html/forum/index.php at line 13

if someone needs a translation into Russian:
 

Attachments

Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' play_limit = "13", ' at line 4

  1. Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
  2. Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
  3. Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
  4. Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 753
  5. Zend_Db_Adapter_Abstract->fetchRow() in QuizMaster/Model/QuizMaster.php at line 3557
  6. QuizMaster_Model_QuizMaster->InsertQuizChallengeInfo() in QuizMaster/ControllerPublic/index.php at line 1589
  7. QuizMaster_ControllerPublic_index->actionDochallengeuser() in XenForo/FrontController.php at line 347
  8. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  9. XenForo_FrontController->run() in /home/kanji.aikidoka.ru/public_html/forum/index.php at line 13

i will get this fixed as if there is no user entered it should not try and add a challenge
 
Hi all

If you take a look at my site you will see there is a new version of the quiz system.

Changes that have been made are:
Template changes
Added new templates
Changes the home page to look like a forum.
Fixed bug with challenging a user ( if no user entered )

Some other bug fixes and database updates.
 
Mike2020 updated Quiz Master with a new update entry:

Quiz Master 1.0.5

There has been a few changes to this version as the category images where not aligning right so,

Front page changed to look more like a forum category list.
Added some side blocks.

New templates as this now uses the xf category templates for showing the categories.

Database changes to the categories table for the quiz system.
Some other small bug fixes.

Please post a review if you like this version.

Read the rest of this update entry...
 
Hi there, I should ask what is the install at this point for this ?
Looking to try it soon was unsure if it worked with the addon for installs or how this was done for this.
Thanks.
 
Hi there, I should ask what is the install at this point for this ?
Looking to try it soon was unsure if it worked with the addon for installs or how this was done for this.
Thanks.
it only works the normal way to install at this point.
if you can point me to and threads that show how to use the install add-on then please post them here.
 
Top Bottom