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

Error creating a new album

Discussion in 'Media Gallery Support' started by 19ninety, Jan 7, 2015.

  1. 19ninety

    19ninety Member

    Is this something I've broken?
    When I create an album fill in all the details and then click "Create Album" I get the error below:

    Code:
    Server Error Log
    Error Info
    Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'album_rating_weighted' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77
    Generated By: Greg, 3 minutes ago
    Stack Trace
    
    #0 /home/greg/public_html/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('INSERT INTO `xe...')
    #1 /home/greg/public_html/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'INSERT INTO `xe...')
    #2 /home/greg/public_html/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('INSERT INTO `xe...')
    #3 /home/greg/public_html/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xe...', Array)
    #4 /home/greg/public_html/library/XenForo/DataWriter.php(1624): Zend_Db_Adapter_Abstract->insert('xengallery_albu...', Array)
    #5 /home/greg/public_html/library/XenForo/DataWriter.php(1613): XenForo_DataWriter->_insert()
    #6 /home/greg/public_html/library/XenForo/DataWriter.php(1405): XenForo_DataWriter->_save()
    #7 /home/greg/public_html/library/XenGallery/ControllerPublic/Album.php(1005): XenForo_DataWriter->save()
    #8 /home/greg/public_html/library/XenForo/FrontController.php(347): XenGallery_ControllerPublic_Album->actionCreate()
    #9 /home/greg/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #10 /home/greg/public_html/index.php(13): XenForo_FrontController->run()
    #11 {main}
    
    Request State
    
    array(3) {
      ["url"] => string(48) "http://www.talkmountain.bike/media/albums/create"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(11) {
        ["album_title"] => string(21) "The Frozen Devil 2015"
        ["album_description"] => string(21) "The Frozen Devil 2015"
        ["view_media"] => string(6) "public"
        ["view_users"] => string(0) ""
        ["add_media"] => string(7) "private"
        ["add_users"] => string(0) ""
        ["_xfConfirm"] => string(1) "1"
        ["_xfToken"] => string(8) "********"
        ["_xfRequestUri"] => string(21) "/media/add?album=true"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    What version is listed for XenForo Media Gallery in your Admin CP?
     
  3. 19ninety

    19ninety Member

    1.0.0 ... I'm damn sure I updated as I've downloaded 1.01a after the security issue email...
     
  4. 19ninety

    19ninety Member

    Hmm perhaps I didnt run the .xml then. Doh. all ok now.
     
    Chris D likes this.
  5. Chris D

    Chris D XenForo Developer Staff Member

    Thought so ;)
     

Share This Page