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

XF 1.1 Cannot Overwrite style (Updating Style) Beta 2 & 3

Discussion in 'Troubleshooting and Problems' started by Steve F, Oct 21, 2011.

  1. Steve F

    Steve F Well-Known Member

    When trying to update a style from my local test install to a live my site I receive this error upon trying to overwrite the current installed style. This is happening on 2 different local installs plus my live site. It may be a bug but figured I would post it here first.

    Code:
    Server Error
    
    mysqli_stmt::bind_param() [mysqli-stmt.bind-param]: Number of variables doesn't match number of parameters in prepared statement
    
    XenForo_Application::handlePhpError()
    mysqli_stmt->bind_param()
    call_user_func_array() in Zend/Db/Statement/Mysqli.php at line 204
    Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
    Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
    Zend_Db_Adapter_Abstract->query() in XenForo/Model/Template.php at line 581
    XenForo_Model_Template->deleteTemplatesInStyle() in XenForo/Model/Style.php at line 510
    XenForo_Model_Style->importStyleXml() in XenForo/ControllerAdmin/Style.php at line 181
    XenForo_ControllerAdmin_Style->actionImport() in XenForo/FrontController.php at line 310
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
    XenForo_FrontController->run() in /home/qwk86gn/public_html/csgonation/community/admin.php at line 13
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Confirmed in 1.1.0 b3. To reproduce, overwrite an existing style with an imported style.
     
    Steve F likes this.
  3. ragtek

    ragtek Guest

Share This Page