1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RM 1.0 Create Resource Error - Unknown column 'resource_stencil'

Discussion in 'Resource Manager Support' started by Wesker, Sep 30, 2013.

  1. Wesker

    Wesker Active Member

    Server Error Log

    Error Info

    Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'resource_stencil' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77
    Generated By: Admin, A moment ago

    Stack Trace

    #0 /var/www/vhosts/(Domain Hidden)/httpdocs/(Domain Hidden)/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('UPDATE `xf_reso...')
    #1 /var/www/vhosts/(Domain Hidden)/httpdocs/(Domain Hidden)/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'UPDATE `xf_reso...')
    #2 /var/www/vhosts/(Domain Hidden)/httpdocs/(Domain Hidden)/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('UPDATE `xf_reso...')
    #3 /var/www/vhosts/(Domain Hidden)/httpdocs/(Domain Hidden)/library/Zend/Db/Adapter/Abstract.php(632): Zend_Db_Adapter_Abstract->query('UPDATE `xf_reso...', Array)
    #4 /var/www/vhosts/(Domain Hidden)/httpdocs/(Domain Hidden)/library/XenForo/DataWriter.php(1628): Zend_Db_Adapter_Abstract->update('xf_resource_cat...', Array, 'resource_catego...')
    #5 /var/www/vhosts/(Domain Hidden)/httpdocs/(Domain Hidden)/library/XenForo/DataWriter.php(1597): XenForo_DataWriter->_update()
    #6 /var/www/vhosts/(Domain Hidden)/httpdocs/(Domain Hidden)/library/XenForo/DataWriter.php(1393): XenForo_DataWriter->_save()
    #7 /var/www/vhosts/(Domain Hidden)/httpdocs/(Domain Hidden)/library/XenResource/ControllerAdmin/Category.php(157): XenForo_DataWriter->save()
    #8 /var/www/vhosts/(Domain Hidden)/httpdocs/(Domain Hidden)/library/Waindigo/CustomFields/Extend/XenResource/ControllerAdmin/Category.php(84): XenResource_ControllerAdmin_Category->actionSave()
    #9 /var/www/vhosts/(Domain Hidden)/httpdocs/(Domain Hidden)/library/ResourceStencil/Extend/XenResource/ControllerAdmin/Category.php(19): Waindigo_CustomFields_Extend_XenResource_ControllerAdmin_Category->actionSave()
    #10 /var/www/vhosts/(Domain Hidden)/httpdocs/(Domain Hidden)/library/XenForo/FrontController.php(337): ResourceStencil_Extend_XenResource_ControllerAdmin_Category->actionSave()
    #11 /var/www/vhosts/(Domain Hidden)/httpdocs/(Domain Hidden)/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #12 /var/www/vhosts/(Domain Hidden)/httpdocs/(Domain Hidden)/admin.php(13): XenForo_FrontController->run()
    #13 {main}

    Request State

    array(3) {
    ["url"] => string(73) "http://(Domain Hidden)/admin.php?resource-categories/example-category.1/save"
    ["_GET"] => array(1) {
    ["resource-categories/example-category_1/save"] => string(0) ""
    }
    ["_POST"] => array(20) {
    ["category_title"] => string(25) "Test - Buy"
    ["category_description"] => string(79) "Test"
    ["parent_category_id"] => string(1) "0"
    ["display_order"] => string(2) "95"
    ["allow_local"] => string(1) "1"
    ["allow_external"] => string(1) "1"
    ["allow_commercial_external"] => string(1) "1"
    ["allow_fileless"] => string(1) "1"
    ["usable_user_group_type"] => string(3) "sel"
    ["user_group_ids"] => array(6) {
    [0] => string(1) "3"
    [1] => string(1) "8"
    [2] => string(1) "4"
    [3] => string(1) "6"
    [4] => string(1) "7"
    [5] => string(1) "2"
    }
    ["thread_node_id"] => string(1) "3"
    ["thread_prefix_id"] => string(1) "3"
    ["resource_stencil_html"] => string(25) "<p>Total Skill Points</p>"
    ["_xfRelativeResolver"] => string(73) "http://(Domain Hidden)/admin.php?resource-categories/example-category.1/edit"
    ["header"] => string(0) ""
    ["footer"] => string(0) ""
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(54) "/admin.php?resource-categories/example-category.1/edit"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
    }
    }
     
  2. Mike

    Mike XenForo Developer Staff Member

    That's not a standard column. It looks like an issue with an add-on that creates "stencils" of some sort.
     
  3. Dan

    Dan Well-Known Member

  4. Wesker

    Wesker Active Member

    Yes I am. Just wanted you guys to confirm this. Reporting the error to the author now.
     
    Dan likes this.

Share This Page