• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • Undefined index: pageid

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Undefined index: pageid

    • Issue Tools
      • View Changes
    1. issueid=4668 May 21, 2016 4:41 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Undefined index: pageid

      Code:
      ErrorException: Undefined index: pageid - vault/core/controller/dm/last/vw.php:212 
      Generated By: Alfa , Tuesday at 16:36
      
      Stack Trace
      #0 /vault/core/controller/dm/last/vw.php(212): XenForo_Application::handlePhpError(8, 'Undefined index...', '...', 212, Array)
      #1 /vault/core/controller/dm/last/vw.php(129): vw_DM_Last_Controller->page_check(Array)
      #2 /vault/core/controller/dm/base/vw.php(1149): vw_DM_Last_Controller->get(1, Array)
      #3 /vault/core/controller/dm/item/category/vw.php(400): vw_DM_Base_Controller->rebuild_lastupdate(1, Array, false, Array)
      #4 /vault/core/controller/dm/vw.php(113): vw_DM_Item_Category_Controller->delete_multiple(Array)
      #5 /vault/core/controller/ui/assign/category/vw.php(213): vw_DM_Controller->delete_multiple(Array)
      #6 /vault/core/controller/ui/edit/page/vw.php(555): vw_UI_Assign_Category_Controller->save_assignments(Object(vw_UI_Page_Controller_XF), Array, Array)
      #7 /vault/core/controller/ui/edit/vw.php(242): vw_UI_Edit_Page_Controller->process_assignments(Object(vw_UI_Page_Controller_XF), Array, Array)
      #8 /vault/core/controller/ui/page/vw.php(283): vw_UI_Edit_Controller->save(Object(vw_UI_Page_Controller_XF))
      #9 /vault/core/controller/ui/page/vw.php(127): vw_UI_Page_Controller->save()
      #10 /vault/core/controller/ui/page/xf.php(58): vw_UI_Page_Controller->execute()
      #11 /vault/core/controller/ui/stack/vw.php(220): vw_UI_Page_Controller_XF->execute()
      #12 /library/vw/XenForo/ControllerPublic/Wiki.php(68): vw_UI_Stack_Controller->execute()
      #13 /library/XenForo/FrontController.php(351): vw_XenForo_ControllerPublic_Wiki->actionIndex()
      #14 /library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #15 /index.php(13): XenForo_FrontController->run()
      #16 {main}
      Request State
      array(3) {
        ["url"] => string(79) "https://site.com/wiki/?title=title&do=save"
        ["_GET"] => array(2) {
          ["title"] => string(33) “title "
          ["do"] => string(4) "save"
        }
        ["_POST"] => array(23) {
          ["message_html"] => string(11) "<p><br></p>"
          ["_xfRelativeResolver"] => string(79) "https://site.com/wiki/?title= title &do=edit"
          ["query"] => string(0) ""
          ["categoryids"] => array(2) {
            [0] => string(2) "74"
            [1] => string(0) ""
          }
          ["reason"] => string(0) ""
          ["prefixid"] => string(1) "0"
          ["edittitle"] => string(35) " XXL (xxx)"
          ["rename_redirect"] => string(0) ""
          ["typelist"] => array(1) {
            [14] => string(1) "0"
          }
          ["icontype"] => string(0) ""
          ["fonticon"] => string(4) "f016"
          ["icon"] => string(0) ""
          ["iconurl"] => string(0) ""
          ["_xfToken"] => string(8) "********"
          ["do"] => string(4) "save"
          ["section"] => string(1) "0"
          ["posthash"] => string(32) "05ff9c1f837ad8028390c777bf70860c"
          ["poststarttime"] => string(10) "1463495794"
          ["revparentid"] => string(3) "414"
          ["loggedinuser"] => string(1) "4"
          ["sbutton"] => string(4) "Save"
          ["notifytype"] => string(1) "1"
          ["sub_options"] => array(1) {
            ["item_edits"] => string(1) "1"
          }
        }
      }
      This is on a new install. No import.
    Issue Details
    Issue Number 4668
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Categories
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.0.10
    Fixed Version 4.0.12
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. May 21, 2016 6:59 PM
      pegasus pegasus is offline
      VaultWiki Team
      I think this E_NOTICE occurs whenever a page is removed from categories using the editor field. It might also occur when deleting a page that is in a category or in a book. The result of the error is that the Last Update field (e.g. the link to the Last Page that was added to the category when the category appears in an area list, search results, etc) is incorrect after the delete takes place.

      In vault/core/dm/last/vw.php, find:
      Code:
      $lastinfo[$page['nodeid']][$page['dateline']] = $page['pageid'];
      Replace with:
      Code:
      $lastinfo[$page['nodeid']][$page['dateline']] = $page['itemid'];
      Reply Reply
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 10:47 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.