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

XF 1.5 On trying to create A New Admin

Discussion in 'Troubleshooting and Problems' started by TheBoss, Mar 16, 2016.

  1. TheBoss

    TheBoss Well-Known Member

    As the title indicates , on trying to create a new Forum Admin I get the following error , never had an error before now so I am pretty sure it is only limited to this ( in my case ) having not created any new Admins since board was started 6 months ago..
    The error of course is on my live forum , but also identical on the test forum/backup.. Live board is running v1.5.6 or XF while backup is on v1.5.5a as I reverted files back to that today to see if there was any difference.
    The error shown is from the test board and is identical to live board...

    Error:
    Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'last_note_viewed' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77

    Stack Trace
    #0 /var/www/vhosts/gizabit.info/httpdocs/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('INSERT INTO `xf...')
    #1 /var/www/vhosts/gizabit.info/httpdocs/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'INSERT INTO `xf...')
    #2 /var/www/vhosts/gizabit.info/httpdocs/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('INSERT INTO `xf...')
    #3 /var/www/vhosts/gizabit.info/httpdocs/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
    #4 /var/www/vhosts/gizabit.info/httpdocs/library/XenForo/DataWriter.php(1638): Zend_Db_Adapter_Abstract->insert('xf_admin', Array)
    #5 /var/www/vhosts/gizabit.info/httpdocs/library/XenForo/DataWriter.php(1627): XenForo_DataWriter->_insert()
    #6 /var/www/vhosts/gizabit.info/httpdocs/library/XenForo/DataWriter.php(1419): XenForo_DataWriter->_save()
    #7 /var/www/vhosts/gizabit.info/httpdocs/library/XenForo/ControllerAdmin/Admin.php(133): XenForo_DataWriter->save()
    #8 /var/www/vhosts/gizabit.info/httpdocs/library/XenForo/FrontController.php(351): XenForo_ControllerAdmin_Admin->actionSave()
    #9 /var/www/vhosts/gizabit.info/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #10 /var/www/vhosts/gizabit.info/httpdocs/admin.php(13): XenForo_FrontController->run()
    #11 {main}
    Request State
    array(3) {
    ["url"] => string(41) "http://gizabit.info/admin.php?admins/save"
    ["_GET"] => array(1) {
    ["admins/save"] => string(0) ""
    }
    ["_POST"] => array(8) {
    ["visitor_password"] => string(8) "********"
    ["username"] => string(4) "Plug"
    ["extra_user_group_ids"] => array(1) {
    [0] => string(1) "3"
    }
    ["permissions"] => array(29) {
    [0] => string(6) "option"
    [1] => string(4) "help"
    [2] => string(12) "bbCodeSmilie"
    [3] => string(5) "addOn"
    [4] => string(4) "node"
    [5] => string(6) "thread"
    [6] => string(10) "attachment"
    [7] => string(3) "tag"
    [8] => string(15) "resourceManager"
    [9] => string(6) "notice"
    [10] => string(4) "user"
    [11] => string(9) "userField"
    [12] => string(6) "trophy"
    [13] => string(7) "warning"
    [14] => string(3) "ban"
    [15] => string(9) "userGroup"
    [16] => string(11) "userUpgrade"
    [17] => string(5) "style"
    [18] => string(8) "language"
    [19] => string(4) "cron"
    [20] => string(12) "rebuildCache"
    [21] => string(14) "viewStatistics"
    [22] => string(8) "viewLogs"
    [23] => string(6) "import"
    [24] => string(3) "dev"
    [25] => string(14) "upgradeXenForo"
    [26] => string(16) "manageXenGallery"
    [27] => string(19) "snog_donations_view"
    [28] => string(14) "snog_donations"
    }
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(21) "/admin.php?admins/add"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
    }
    }

    Any ideas please as I am stumped..

    Regards.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Do you have any add-ons installed related to "notes" or similar?
     
  3. TheBoss

    TheBoss Well-Known Member

    I do indeed have Admin Notes and had read it was OK although not maintained and showing as v1.5 compatible..

    So you think I should uninstall it Brogan .. Ok will do and will let you know the outcome.. Thanks for the rapid response ( Yet Again ) (y)
     
  4. TheBoss

    TheBoss Well-Known Member

    Thank You Brogan that worked a charm..(y)
     

Share This Page