1. joey_tbf

    joey_tbf - Apr 20, 2015 Active Member VIP Member

    Credit
    Point
    I have been testing this add-on for a week now on my test board. I can upload images and I don't get problems but i get server errors

    Here is the errors:


    Code:
    Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'media.br_award' in 'where clause' - library/Zend/Db/Statement/Mysqli.php:77
    Generated By: Unknown Account, A moment ago
    #0 /home/myserver/public_html/testforum/library/Brivium/Credits/Model/Credit.php(721): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/myserver...', 721, Array)
    #1 /home/myserver/public_html/testforum/library/Brivium/CreditsMediaIntegration/ControllerPublic/Media.php(273): Brivium_Credits_Model_Credit->requireInclude(Array, Array)
    #2 /home/myserver/public_html/testforum/library/XenForo/FrontController.php(347): Brivium_CreditsMediaIntegration_ControllerPublic_Media->actionGetAmount()
    #3 /home/myserver/public_html/testforum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #4 /home/myserver/public_html/testforum/index.php(13): XenForo_FrontController->run()
    #5 {main}
    Request State
    array(3) {
      ["url"] => string(62) "http://myserver.com/testforum/index.php?media/get-amount.json"
      ["_GET"] => array(1) {
        ["media/get-amount_json"] => string(0) ""
      }
      ["_POST"] => array(6) {
        ["price"] => string(2) "30"
        ["currency_id"] => string(1) "1"
        ["_xfRequestUri"] => string(31) "/testforum/media/add?album_id=9"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfToken"] => string(8) "********"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    
    and
    Code:
    Error Info
    ErrorException: Undefined index: currency_id - library/Brivium/Credits/Model/Credit.php:721
    Generated By: admin, 5 minutes ago
    Stack Trace
    #0 /home/myserver/public_html/testforum/library/Brivium/Credits/Model/Credit.php(721): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/myserver...', 721, Array)
    #1 /home/myserver/public_html/testforum/library/Brivium/CreditsMediaIntegration/ControllerPublic/Media.php(273): Brivium_Credits_Model_Credit->requireInclude(Array, Array)
    #2 /home/myserver/public_html/testforum/library/XenForo/FrontController.php(347): Brivium_CreditsMediaIntegration_ControllerPublic_Media->actionGetAmount()
    #3 /home/myserver/public_html/testforum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #4 /home/myserver/public_html/testforum/index.php(13): XenForo_FrontController->run()
    #5 {main}
    Request State
    array(3) {
      ["url"] => string(62) "http://myserver.com/testforum/index.php?media/get-amount.json"
      ["_GET"] => array(1) {
        ["media/get-amount_json"] => string(0) ""
      }
      ["_POST"] => array(6) {
        ["price"] => string(2) "30"
        ["currency_id"] => string(1) "1"
        ["_xfRequestUri"] => string(31) "/testforum/media/add?album_id=9"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfToken"] => string(8) "********"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    
    and
    Code:
    ErrorException: Undefined index: active - library/Brivium/Credits/Model/Credit.php:722
    Generated By: admin, 5 minutes ago
    Stack Trace
    #0 /home/myserver/public_html/testforum/library/Brivium/Credits/Model/Credit.php(722): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/myserver...', 722, Array)
    #1 /home/myserver/public_html/testforum/library/Brivium/CreditsMediaIntegration/ControllerPublic/Media.php(273): Brivium_Credits_Model_Credit->requireInclude(Array, Array)
    #2 /home/myserver/public_html/testforum/library/XenForo/FrontController.php(347): Brivium_CreditsMediaIntegration_ControllerPublic_Media->actionGetAmount()
    #3 /home/myserver/public_html/testforum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #4 /home/myserver/public_html/testforum/index.php(13): XenForo_FrontController->run()
    #5 {main}
    Request State
    array(3) {
      ["url"] => string(62) "http://myserver.com/testforum/index.php?media/get-amount.json"
      ["_GET"] => array(1) {
        ["media/get-amount_json"] => string(0) ""
      }
      ["_POST"] => array(6) {
        ["price"] => string(2) "30"
        ["currency_id"] => string(1) "1"
        ["_xfRequestUri"] => string(31) "/testforum/media/add?album_id=9"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfToken"] => string(8) "********"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    Delete...
    
     
    Loading...
  2. Chang Lee

    Chang Lee - Apr 20, 2015 XenForo Expert Staff Member

    Credit
    Point
    Hello,

    Thanks for your report. I have noted your feedback. Let us try next update.

    Regards,
     
    joey_tbf likes this.
    #2