• 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 variable: 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 variable: pageid

    • Issue Tools
      • View Changes
    1. issueid=4784 November 10, 2016 3:15 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Undefined variable: pageid

      Code:
      ErrorException: Undefined variable: pageid - vault/core/controller/dm/page/vw.php:2407 
      Generated By: Alfa, 1 minute ago
      
      Stack Trace
      #0 /vault/core/controller/dm/page/vw.php(2407): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home/...', 2407, Array)
      #1 /vault/core/controller/dm/page/vw.php(1448): vw_DM_Page_Controller->generate_language_record()
      #2 /library/vw/XenForo/DataWriter.php(470): vw_DM_Page_Controller->post_save_each()
      #3 /library/XenForo/DataWriter.php(1423): vw_XenForo_DataWriter->_postSave()
      #4 /vault/core/controller/dm/xf.php(408): XenForo_DataWriter->save()
      #5 /vault/core/controller/ui/edit/vw.php(221): vw_DM_Controller_XF->save()
      #6 /vault/core/controller/ui/create/vw.php(275): vw_UI_Edit_Controller->save(Object(vw_UI_Category_Controller))
      #7 /vault/core/controller/ui/category/vw.php(258): vw_UI_Create_Controller->publish(Object(vw_UI_Category_Controller))
      #8 /vault/core/controller/ui/category/vw.php(63): vw_UI_Category_Controller->publish()
      #9 /vault/core/controller/ui/stack/vw.php(236): vw_UI_Category_Controller->execute()
      #10 /library/vw/XenForo/ControllerPublic/Wiki.php(68): vw_UI_Stack_Controller->execute()
      #11 /library/XenForo/FrontController.php(351): vw_XenForo_ControllerPublic_Wiki->actionIndex()
      #12 /library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #13 /index.php(13): XenForo_FrontController->run()
      #14 {main}
      Request State
      array(3) {
        ["url"] => string(103) "https://asite.com/wiki/Category:area51-Beta-Test-Wiki-Page?do=dolist&itemtypeid=1"
        ["_GET"] => array(2) {
          ["do"] => string(6) "dolist"
          ["itemtypeid"] => string(1) "1"
        }
        ["_POST"] => array(25) {
          ["message_html"] => string(18) "<p>djfowjs<br></p>"
          ["_xfRelativeResolver"] => string(104) "https://asite.com/wiki/Category:area51-Beta-Test-Wiki-Page?do=newitem&itemtypeid=1"
          ["query"] => string(0) ""
          ["categoryids"] => array(1) {
            [0] => string(4) "1404"
          }
          ["prefixid"] => string(1) "0"
          ["edittitle"] => string(12) "sdhjdhcfuhsw"
          ["typelist"] => array(3) {
            [13] => string(1) "0"
            [14] => string(1) "0"
            [24] => string(1) "0"
          }
          ["areaid"] => string(1) "2"
          ["itemlangid"] => string(1) "1"
          ["icontype"] => string(0) ""
          ["fonticon"] => string(4) "f016"
          ["icon"] => string(0) ""
          ["_xfToken"] => string(8) "********"
          ["do"] => string(6) "dolist"
          ["itemtypeid"] => string(1) "1"
          ["categoryid"] => string(4) "1404"
          ["section"] => string(1) "0"
          ["posthash"] => string(32) "40127eaa186690f5007f5b5b1ef98793"
          ["poststarttime"] => string(10) "1478808671"
          ["revparentid"] => string(0) ""
          ["loggedinuser"] => string(1) "1"
          ["sbutton"] => string(15) "Create New Page"
          ["parseurl"] => string(1) "1"
          ["notifytype"] => string(1) "1"
          ["sub_options"] => array(1) {
            ["item_edits"] => string(1) "1"
          }
        }
      }
    Issue Details
    Issue Number 4784
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Editing Pages
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.0.15
    Fixed Version 4.0.15
    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. November 10, 2016 4:26 PM
      pegasus pegasus is offline
      VaultWiki Team
      From what I can tell, this E_NOTICE will not cause any issues other than appearing in your logs. This line was designed as a shortcut. If the shortcut doesn't work, then the normal method will be used.

      Fixed in the next build. In vault/core/controller/dm/page/vw.php, find:
      Code:
      if ($areaid == $pageid)
      Replace with:
      Code:
      if ($areaid == $this->instance->get('pageid'))
      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 2:16 PM.
    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.