• 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
    • Error when trying to recreate existing redirect

    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: Error when trying to recreate existing redirect

    • Issue Tools
      • View Changes
    1. issueid=5996 March 28, 2020 11:13 AM
      expanserpb expanserpb is offline
      Junior Member
      Error when trying to recreate existing redirect

      User has made this redirect to a non existing page... Its broken. And I can't fix it.

      https://chroniclesrp.net/Folklore/Elia

      Also if you try and make a new redirect with the same name some error catching is going wrong:

      #1 src/addons/vw/vw/_core/view/ui/special/maintain/doubleredirects/vw.php(57): vw_UI_Special_Maintain_DoubleRedirects_View->process_item(Object(vw_UI_Special_Maintain_DoubleRedirec ts_Controller), Array)
      #2 src/addons/vw/vw/_core/view/ui/special/vw.php(68): vw_UI_Special_Maintain_DoubleRedirects_View->process_itembits(Object(vw_UI_Special_Maintain_DoubleRed irects_Controller))
      #3 src/addons/vw/vw/_core/view/reply/view/vw.php(48): vw_UI_Special_View->view(Array)
      #4 src/addons/vw/vw/_core/view/reply/base/vw.php(134): vw_Reply_View_View->render_type('html')
      #5 src/addons/vw/vw/_core/view/reply/stack/vw.php(44): vw_Reply_base_View->render('html')
      #6 src/addons/vw/vw/XF/Mvc/View.php(25): vw_Reply_Stack_View->render('html')
      #7 src/XF/Mvc/Renderer/AbstractRenderer.php(91): vw\vw\XF\Mvc\View->renderHtml()
      #8 src/XF/Mvc/Renderer/Html.php(45): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('vw\\vw:Wiki', 'public:vw_gener...', Array)
      #9 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('vw\\vw:Wiki', 'public:vw_gener...', Array)
      #10 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
      #11 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
      #12 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
      #13 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
      #14 src/XF.php(391): XF\App->run()
      #15 index.php(20): XF::runApp('XF\\Pub\\App')
      #16 {main}
      Request state
      array(4) {
      ["url"] => string(33) "/Folklore/SpecialoubleRedirects"
      ["referrer"] => string(54) "https://chroniclesrp.net/Folklore/Special:SpecialPages"
      ["_GET"] => array(1) {
      ["/Folklore/SpecialoubleRedirects"] => string(0) ""
      }
      ["_POST"] => array(0) {
      }
      }
    Issue Details
    Issue Number 5996
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.1.0 RC 2
    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. March 28, 2020 12:12 PM
      pegasus pegasus is offline
      VaultWiki Team
      On my board, when I create a synonym for a page that doesn't exist, I can visit the synonym, click its Edit tab, change the target text, and it saves correctly.

      If you are having trouble changing the target for a specific synonym, please provide more information about the synonym in question (where you see it, etc), the steps you are taking from there to make your edit, and the error message you get at that point.

      Fixed the SpecialoubleRedirects E_NOTICE in the next release. It does not affect whether you can edit a synonym or not; it's a completely separate page.
      Reply Reply  
    2. March 28, 2020 1:23 PM
      expanserpb expanserpb is offline
      Junior Member
      Sorry, I've dug into this more.

      If a user makes a double redirect there is no option for them to edit or soft delete the redirect. Only the error.

      Example: https://chroniclesrp.net/Folklore/Testredirect
      Reply Reply  
    3. March 28, 2020 2:40 PM
      pegasus pegasus is offline
      VaultWiki Team
      When I'm logged into your site, the linked redirect has an Edit tab. Is this not the case for you?
      https://chroniclesrp.net/Folklore/Testredirect?do=view

      I see there is an issue where double-redirects are followed. This may make it challenging to get back to the redirect if you don't know to do ?do=view
      Reply Reply  
    4. March 28, 2020 2:51 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed following of double-redirects in XF in the next release. In src/addons/vw/vw/Mvc/Dispatcher.php, find:
      Code:
      $params['target']->set_environment($reply->action(), $params['controller']->get('method'));
      Replace with:
      Code:
      $params['target']->set_environment($reply->runner(), $params['controller']->get('method'));
      Reply Reply  
    5. March 29, 2020 6:12 AM
      expanserpb expanserpb is offline
      Junior Member
      Reply Reply  
    6. March 29, 2020 6:13 AM
      expanserpb expanserpb is offline
      Junior Member
      I responded before I saw the second message, I'll try the fix!
      Reply Reply  
    7. March 29, 2020 8:07 AM
      expanserpb expanserpb is offline
      Junior Member
      That works but now when I visit: https://chroniclesrp.net/Folklore/Sp...oubleRedirects

      I get:

      ErrorException: [E_NOTICE] Undefined index: renderedtitle src/addons/vw/vw/_core/view/ui/special/maintain/doubleredirects/vw.php:85
      Generated by: Raigryn Vayd Mar 29, 2020 at 1:06 PM
      Stack trace
      #0 src/addons/vw/vw/_core/view/ui/special/maintain/doubleredirects/vw.php(85): XF::handlePhpError(8, '[E_NOTICE] Unde...', 's...', 85, Array)
      #1 src/addons/vw/vw/_core/view/ui/special/maintain/doubleredirects/vw.php(57): vw_UI_Special_Maintain_DoubleRedirects_View->process_item(Object(vw_UI_Special_Maintain_DoubleRedirec ts_Controller), Array)
      #2 src/addons/vw/vw/_core/view/ui/special/vw.php(68): vw_UI_Special_Maintain_DoubleRedirects_View->process_itembits(Object(vw_UI_Special_Maintain_DoubleRed irects_Controller))
      #3 src/addons/vw/vw/_core/view/reply/view/vw.php(48): vw_UI_Special_View->view(Array)
      #4 src/addons/vw/vw/_core/view/reply/base/vw.php(134): vw_Reply_View_View->render_type('html')
      #5 src/addons/vw/vw/_core/view/reply/stack/vw.php(44): vw_Reply_base_View->render('html')
      #6 src/addons/vw/vw/XF/Mvc/View.php(25): vw_Reply_Stack_View->render('html')
      #7 src/XF/Mvc/Renderer/AbstractRenderer.php(91): vw\vw\XF\Mvc\View->renderHtml()
      #8 src/XF/Mvc/Renderer/Html.php(45): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('vw\\vw:Wiki', 'public:vw_gener...', Array)
      #9 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('vw\\vw:Wiki', 'public:vw_gener...', Array)
      #10 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
      #11 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
      #12 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
      #13 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
      #14 src/XF.php(391): XF\App->run()
      #15 index.php(20): XF::runApp('XF\\Pub\\App')
      #16 {main}
      Request state
      array(4) {
      ["url"] => string(33) "/Folklore/SpecialoubleRedirects"
      ["referrer"] => string(54) "https://chroniclesrp.net/Folklore/Special:SpecialPages"
      ["_GET"] => array(1) {
      ["/Folklore/SpecialoubleRedirects"] => string(0) ""
      }
      ["_POST"] => array(0) {
      }
      }
      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:17 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.