• 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's

    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's

    • Issue Tools
      • View Changes
    1. issueid=4364 August 27, 2015 5:53 AM
      xH3LLRAIZ3Rx xH3LLRAIZ3Rx is offline
      New Member
      Undefined index's
      Issues with Vaultwiki showing Undefined index

      Im getting these errors:

      Code:
       ErrorException: Undefined index: pageid - vault/core/controller/ui/assign/book/vw.php:110 
      
      Stack Trace
      
      #0 /var/www/html/vault/core/controller/ui/assign/book/vw.php(110): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/html/v...', 110, Array)
      #1 /var/www/html/vault/core/controller/ui/edit/page/vw.php(522): vw_UI_Assign_Book_Controller->start_assignments(Object(vw_UI_Book_Controller), Array, Array)
      #2 /var/www/html/vault/core/controller/ui/edit/vw.php(133): vw_UI_Edit_Page_Controller->start_assignments(Object(vw_UI_Book_Controller), Array, Array)
      #3 /var/www/html/vault/core/controller/ui/create/vw.php(262): vw_UI_Edit_Controller->save(Object(vw_UI_Book_Controller))
      #4 /var/www/html/vault/core/controller/ui/book/vw.php(758): vw_UI_Create_Controller->publish(Object(vw_UI_Book_Controller))
      #5 /var/www/html/vault/core/controller/ui/book/vw.php(81): vw_UI_Book_Controller->publish()
      #6 /var/www/html/vault/core/controller/ui/stack/vw.php(222): vw_UI_Book_Controller->execute()
      #7 /var/www/html/library/vw/XenForo/ControllerPublic/Wiki.php(68): vw_UI_Stack_Controller->execute()
      #8 /var/www/html/library/XenForo/FrontController.php(347): vw_XenForo_ControllerPublic_Wiki->actionIndex()
      #9 /var/www/html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #10 /var/www/html/index.php(13): XenForo_FrontController->run()
      #11 {main}
      Code:
       ErrorException: Undefined index: itembookid - vault/core/controller/ui/assign/book/vw.php:119 
      
      Stack Trace
      
      #0 /var/www/html/vault/core/controller/ui/assign/book/vw.php(119): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/html/v...', 119, Array)
      #1 /var/www/html/vault/core/controller/ui/edit/page/vw.php(522): vw_UI_Assign_Book_Controller->start_assignments(Object(vw_UI_Book_Controller), Array, Array)
      #2 /var/www/html/vault/core/controller/ui/edit/vw.php(133): vw_UI_Edit_Page_Controller->start_assignments(Object(vw_UI_Book_Controller), Array, Array)
      #3 /var/www/html/vault/core/controller/ui/create/vw.php(262): vw_UI_Edit_Controller->save(Object(vw_UI_Book_Controller))
      #4 /var/www/html/vault/core/controller/ui/book/vw.php(758): vw_UI_Create_Controller->publish(Object(vw_UI_Book_Controller))
      #5 /var/www/html/vault/core/controller/ui/book/vw.php(81): vw_UI_Book_Controller->publish()
      #6 /var/www/html/vault/core/controller/ui/stack/vw.php(222): vw_UI_Book_Controller->execute()
      #7 /var/www/html/library/vw/XenForo/ControllerPublic/Wiki.php(68): vw_UI_Stack_Controller->execute()
      #8 /var/www/html/library/XenForo/FrontController.php(347): vw_XenForo_ControllerPublic_Wiki->actionIndex()
      #9 /var/www/html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #10 /var/www/html/index.php(13): XenForo_FrontController->run()
      #11 {main}
      and it shows this:
    Issue Details
    Issue Number 4364
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Books / Chapters
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 4.0.5
    Fixed Version 4.0.6
    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. August 27, 2015 9:59 AM
      pegasus pegasus is offline
      VaultWiki Team
      The log entries occur only when creating new pages as chapters of a book. They are fixed in the next release already. I am having trouble finding a relevant bug report, so I have marked this report as fixed.

      Regarding your screen-shot, it is not related to the log entries at all, but it looks like your database is damaged similar to this user's: https://www.vaultwiki.org/issues/4312/
      An index is probably missing from your database which prevents this behavior (vw_counter.routeid is supposed to be a PRIMARY KEY). You may need to request Ticket Support here in order to repair it: https://www.vaultwiki.org/members/?d...e&productid=20
      If you have some coding ability, you may be able to repair it yourself:
      • In table vw_counter, make sure that there are no values for the column 'routeid' that appear more than once (there should be no empty values in this column). 'routeid' should always be a unique value. Considering there are duplicates in the screen-shot, then there are likely duplicate values in this column.
      • Create a PRIMARY KEY on vw_counter.routeid (this will not be possible while any value appears more than once).
      • Page counts, etc will be wrong forever. Currently this can only be fixed via Ticket Support.
      Reply Reply
    2. August 27, 2015 8:47 PM
      xH3LLRAIZ3Rx xH3LLRAIZ3Rx is offline
      New Member
      what are Page Counts, as in how many people went to page?
      Reply Reply
    3. August 27, 2015 8:55 PM
      pegasus pegasus is offline
      VaultWiki Team
      Yes, but also how many pages in each part of the wiki.
      Reply Reply
    4. August 27, 2015 8:56 PM
      xH3LLRAIZ3Rx xH3LLRAIZ3Rx is offline
      New Member
      is that really important to know?
      Reply Reply
    5. August 27, 2015 8:58 PM
      pegasus pegasus is offline
      VaultWiki Team
      Mainly it is used for statistics that might not be important to you, but sometimes it is used to take shortcuts in the code. Such as, don't do X task if there were 0 pages counted over here. The ability to rebuild this manually will probably be added in a future version, so if it's not important to you, then you don't have to worry over it.
      Reply Reply
    6. August 27, 2015 9:23 PM
      xH3LLRAIZ3Rx xH3LLRAIZ3Rx is offline
      New Member
      alright, I gonna submit a ticket to fix this issue, one question, how do I fix: ERROR 130 (HY000): Incorrect file format 'host' when trying to flush privileges so I can make a Mysql Account for you
      Reply Reply
    7. August 27, 2015 9:53 PM
      xH3LLRAIZ3Rx xH3LLRAIZ3Rx is offline
      New Member
      actually better question, will the issues be fixed if I just reinstalled the Addon? if so, how do I do that properly
      Reply Reply
    8. This petition for a change to Not a Bug was rejected
      August 28, 2015 12:07 AM
      xH3LLRAIZ3Rx xH3LLRAIZ3Rx is offline
      New Member
      actually on second though, Im going to redo my entire site because it feels clunky and I want a fresh start, thanks for your help anyways
    + 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:06 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.