• 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 index: attachfileid

    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 index: attachfileid

    • Issue Tools
      • View Changes
    1. issueid=4160 January 27, 2015 4:35 PM
      hollosch hollosch is offline
      Senior Member
      ErrorException: Undefined index: attachfileid

      Error during upload a new file without caption:
      Code:
      ErrorException: Undefined index: attachfileid - vault/core/view/ui/edit/attach/vw.php:60
      Generiert durch: hollosch, Vor 8 Minuten
      
      Stapelverfolgung
      #0 /../vault/core/view/ui/edit/attach/vw.php(60): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/vhosts...', 60, Array)
      #1 /../vault/core/view/ui/edit/vw.php(101): vw_UI_Edit_Attach_View->get_fields(Object(vw_UI_Area_Controller))
      #2 /../vault/core/controller/ui/edit/vw.php(689): vw_UI_Edit_View->edit(Object(vw_UI_Area_Controller))
      #3 /../vault/core/controller/ui/edit/vw.php(173): vw_UI_Edit_Controller->edit(Object(vw_UI_Area_Controller))
      #4 /../vault/core/controller/ui/create/vw.php(262): vw_UI_Edit_Controller->save(Object(vw_UI_Area_Controller))
      #5 /../vault/core/controller/ui/area/vw.php(164): vw_UI_Create_Controller->publish(Object(vw_UI_Area_Controller))
      #6 /../vault/core/controller/ui/area/vw.php(40): vw_UI_Area_Controller->publish()
      #7 /../vault/core/controller/ui/stack/vw.php(221): vw_UI_Area_Controller->execute()
      #8 /../library/vw/XenForo/ControllerPublic/Wiki.php(68): vw_UI_Stack_Controller->execute()
      #9 /../library/XenForo/FrontController.php(347): vw_XenForo_ControllerPublic_Wiki->actionIndex()
      #10 /../library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #11 /../index.php(13): XenForo_FrontController->run()
      #12 {main}
      
      Benötigter Status
      
      array(3) {
        ["url"] => string(57) "http://geislingen.net/wiki/Datei?do=publish&itemtypeid=13"
        ["_GET"] => array(2) {
          ["do"] => string(7) "publish"
          ["itemtypeid"] => string(2) "13"
        }
        ["_POST"] => array(22) {
          ["fakeupload"] => string(22) "Kategorie_Bauwerke.png"
          ["attachfileid"] => string(4) "2010"
          ["filehash"] => string(32) "5c9e9cc34ab4a265b68c245b1c0962bc"
          ["message_html"] => string(0) ""
          ["_xfRelativeResolver"] => string(56) "http://geislingen.net/wiki/Datei?do=create&itemtypeid=13"
          ["prefixid"] => string(1) "0"
          ["edittitle"] => string(0) ""
          ["rename_redirect"] => string(0) ""
          ["typelist"] => array(4) {
            [11] => string(1) "0"
            [12] => string(1) "0"
            [20] => string(1) "0"
            [21] => string(1) "0"
          }
          ["itemlangid"] => string(1) "1"
          ["_xfToken"] => string(8) "********"
          ["do"] => string(7) "publish"
          ["itemtypeid"] => string(2) "13"
          ["areaid"] => string(1) "5"
          ["section"] => string(1) "0"
          ["posthash"] => string(32) "2b003389322ebdcd7f4012207d0f0d8e"
          ["poststarttime"] => string(10) "1422393233"
          ["revparentid"] => string(0) ""
          ["loggedinuser"] => string(1) "3"
          ["sbutton"] => string(19) "Erstelle neue Seite"
          ["notifytype"] => string(1) "1"
          ["sub_options"] => array(1) {
            ["item_edits"] => string(1) "1"
          }
        }
      }
    Issue Details
    Issue Number 4160
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Attachments
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.0.0
    Fixed Version 4.0.1
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. January 27, 2015 4:58 PM
      pegasus pegasus is offline
      VaultWiki Team
      I think this occurs when creating a new attachment (not editing an existing one) via the standard creation method (same method as creating new pages), if one of the following is true:
      • The "Preview" button is clicked, OR
      • There is an error with the submission and the editor reloads to show the error message.

      In these cases the 'attachfileid' index would not be defined on the "existing" data, because the attachment has not been created yet.

      Fixed in the next release. Note that if your XenForo installation is treating this the same as a fatal error, then you have Debug Mode turned on. In normal XenForo use, this error would be invisible to the end-user and you would only see it occasionally in the log files. The priority of this bug has been changed to reflect that this is only a log-level error.
      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 7:38 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.