• 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
    • Please enter a value for the required field 'title'.

    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: Please enter a value for the required field 'title'.

    • Issue Tools
      • View Changes
    1. issueid=6165 February 4, 2021 4:56 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Please enter a value for the required field 'title'.

      When I try to edit the article on my site: /wiki/About_Us
      Then I get this error:

      Please correct the following errors:

      Please enter a value for the required field 'title'.
      Please enter a value for the required field 'dateline'.
      Please enter a value for the required field 'userid'.
      Please enter a value for the required field 'username'.
    Issue Details
    Issue Number 6165
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Editing Pages
    Status Duplicate
    Priority 3 - Loss of Functionality
    Affected Version 4.1.1
    Fixed Version (none)
    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. February 5, 2021 4:35 AM
      pegasus pegasus is offline
      VaultWiki Team
      Okay, this is caused by fixing the other issue: https://www.vaultwiki.org/issues/6164/

      This is a big problem with XenForo 1.x apparently, it's trying to read the table name before it's known, which causes the required fields to be marked for the wrong database table.

      This means we have to duplicate some code for now. In library/vw/XenForo/DataWriter.php, find:
      Code:
      	public function getTable()
      	{
      		return $this->table;
      	}
      Replace with (beware scrollbar):
      Code:
      	public function getTable()
      	{
      		if (!$this->table)
      		{
      			$node = $this->controller->instance->get_node();
      
      			if (!$node)
      			{
      				$dmkey = strtolower($this->dmkey);
      
      				$node = array(
      					'idfield' => $dmkey . 'id',
      					'table' => $dmkey
      				);
      
      				$this->controller->node = $node;
      			}
      
      			$this->table = 'vw_' . $node['table'];
      		}
      
      		return $this->table;
      	}
      Reply Reply  
    2. February 7, 2021 2:21 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Thanks!
      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:45 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.