• 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
    • Now I've commented on an article I cannot edit it or post again

    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: Now I've commented on an article I cannot edit it or post again

    • Issue Tools
      • View Changes
    1. issueid=6025 April 28, 2020 4:15 AM
      expanserpb expanserpb is offline
      Junior Member
      Now I've commented on an article I cannot edit it or post again



      No errors in error log?
    Issue Details
    Issue Number 6025
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.1.0 RC 1
    Fixed Version 4.1.0 RC 3
    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. April 28, 2020 1:22 PM
      pegasus pegasus is offline
      VaultWiki Team
      This is fixed in the next release. On some platforms, it is also not possible to make a first comment due to the invalid URL. The problem is related to the changes to comments from RC 1.

      In src/addons/vw/vw/_core/model/url/discussion/vw.php, find:
      Code:
      		if (!empty($urlinfo['pageid']))
      		{
      			$parent = vw_Hard_Core::controller('Fetch')->get('Page', $urlinfo['pageid']);
      Replace with:
      Code:
      		$contenttypeid = 0;
      		$contentid = 0;
      
      		if (!empty($urlinfo['contentid']))
      		{
      			$contentid = $urlinfo['contentid'];
      			$contenttypeid = $urlinfo['contenttypeid'];
      		}
      		else if (!empty($urlinfo['pageid']))
      		{
      			$contentid = $urlinfo['pageid'];
      			$contenttypeid = vw_Hard_Core::model('Node')->id('Page');
      		}
      
      		if ($contentid)
      		{
      			$parent = vw_Hard_Core::controller('Fetch')->get($contenttypeid, $contentid);
      Reply Reply  
    2. April 28, 2020 2:12 PM
      expanserpb expanserpb is offline
      Junior Member
      Same error
      Reply Reply  
    3. April 28, 2020 2:13 PM
      expanserpb expanserpb is offline
      Junior Member
      Code:
      class vw_URL_Discussion_Model
      {
      	public function get(&$urlinfo)
      	{
      		$contenttypeid = 0;
      		$contentid = 0;
      
      		if (!empty($urlinfo['contentid']))
      		{
      			$contentid = $urlinfo['contentid'];
      			$contenttypeid = $urlinfo['contenttypeid'];
      		}
      		else if (!empty($urlinfo['pageid']))
      		{
      			$contentid = $urlinfo['pageid'];
      			$contenttypeid = vw_Hard_Core::model('Node')->id('Page');
      		}
      
      		if ($contentid)
      		{
      			$parent = vw_Hard_Core::controller('Fetch')->get($contenttypeid, $contentid);
      
      
      			vw_Hard_Core::model('URL')->get($parent);
      Reply Reply  
    4. April 28, 2020 2:59 PM
      pegasus pegasus is offline
      VaultWiki Team
      Your site is working for me: quick-edit on existing comments now loads the editor, and quick-replies submit to the correct URL, after you made the file edit. If you are still experiencing the "same error", you need to describe the original issue in more detail (only a screenshot was posted), because apparently it is different from what I understood from the image.
      Reply Reply  
    5. April 28, 2020 3:26 PM
      expanserpb expanserpb is offline
      Junior Member
      I do apologise. Either I'd missed WinSCP not uploading the new file or something was cashed!
      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 8:41 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.