• 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
    • ErrorException: Undefined variable: fieldname

    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: ErrorException: Undefined variable: fieldname

    • Issue Tools
      • View Changes
    1. issueid=4872 January 9, 2017 12:00 PM
      hollosch hollosch is offline
      Senior Member
      ErrorException: Undefined variable: fieldname

      Code:
      Fehlerinformation
      ErrorException: Undefined variable: fieldname - vault/core/controller/cp/area/vw.php:501
      Generiert durch: hollosch, Vor 2 Minuten
      Stapelverfolgung
      #0 ../vault/core/controller/cp/area/vw.php(501): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/var/www/vhosts...', 501, Array)
      #1 ../vault/core/controller/cp/area/vw.php(163): vw_CP_Area_Controller->do_save()
      #2 ../vault/core/controller/cp/area/vw.php(148): vw_CP_Area_Controller->process_save(Array)
      #3 ../vault/core/controller/cp/area/vw.php(65): vw_CP_Area_Controller->save()
      #4 ../library/vw/XenForo/ControllerAdmin/Wiki.php(118): vw_CP_Area_Controller->execute('save', 'post')
      #5 ../library/XenForo/FrontController.php(351): vw_XenForo_ControllerAdmin_Wiki->actionIndex()
      #6 ../library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #7 ../admin.php(13): XenForo_FrontController->run()
      #8 {main}
      Benötigter Status
      array(3) {
        ["url"] => string(59) "http://regio-portal.wiki/admin.php?wiki/&panel=area&do=save"
        ["_GET"] => array(3) {
          ["wiki/"] => string(0) ""
          ["panel"] => string(4) "area"
          ["do"] => string(4) "save"
        }
        ["_POST"] => array(20) {
          ["panel"] => string(4) "area"
          ["do"] => string(4) "save"
          ["_xfToken"] => string(8) "********"
          ["baseid"] => string(1) "4"
          ["title"] => string(10) "JUGENDWIKI"
          ["parentid"] => string(1) "0"
          ["displayorder"] => string(3) "110"
          ["autoprotect"] => string(1) "0"
          ["prefixlist"] => array(1) {
            [0] => string(11) "[No Prefix]"
          }
          ["allowtypes"] => array(2) {
            [1] => string(4) "page"
            [14] => string(8) "redirect"
          }
          ["langlist"] => array(1) {
            [0] => string(12) "Any Language"
          }
          ["topiclist"] => array(1) {
            [0] => string(19) "User-Created Topics"
          }
          ["sort"] => string(10) "lastupdate"
          ["sortorder"] => string(4) "desc"
          ["sortfilter"] => string(1) "0"
          ["options"] => array(10) {
            ["list_tiled"] => string(1) "0"
            ["page_img"] => string(1) "2"
            ["page_bbcode"] => string(1) "4"
            ["page_media"] => string(4) "4096"
            ["comment_img"] => string(2) "32"
            ["comment_bbcode"] => string(2) "64"
            ["comment_smile"] => string(3) "128"
            ["comment_media"] => string(4) "8192"
            ["page_header"] => string(1) "1"
            ["uncrawlable"] => string(1) "0"
          }
          [-2] => string(1) "0"
          ["blocklist"] => array(5) {
            [1] => string(13) "Suche im Wiki"
            [2] => string(19) "Letzte Aktivitäten"
            [3] => string(1) "3"
            [4] => string(1) "4"
            [7] => string(1) "7"
          }
          ["sbutton"] => string(9) "Speichern"
          ["url"] => string(51) "http://regio-portal.wiki/admin.php?wiki/&panel=area"
        }
      }
    Issue Details
    Issue Number 4872
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Areas
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version 4.0.16
    Fixed Version 4.0.16
    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. January 10, 2017 9:01 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next build. In vault/core/controller/cp/area/vw.php, find:
      Code:
      $key = $bitfield->get_shortkey('vw_' . $fieldname);
      Replace with:
      Code:
      $key = $bitfield->get_shortkey('vw_' . $field);
      This error caused all permissions copied from an existing area to have nothing set except for Book, Category, and Synonym permissions.
      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:52 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.