• 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 variable: width

    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 variable: width

    • Issue Tools
      • View Changes
    1. issueid=5053 May 7, 2017 11:10 AM
      hollosch hollosch is offline
      Senior Member
      ErrorException: Undefined variable: width

      Code:
      Fehlerinformation
      ErrorException: Undefined variable: width - vault/core/controller/asset/vw.php:764
      Generiert durch: Unbekanntes Benutzerkonto, Heute um 05:47 Uhr
      Stapelverfolgung
      #0 ../vault/core/controller/asset/vw.php(764): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/var/www/vhosts...', 764, Array)
      #1 ../vault/core/controller/asset/vw.php(125): vw_Asset_Controller->create_thumbnail(Array)
      #2 ../library/vw/XenForo/ControllerPublic/Wiki/Asset.php(42): vw_Asset_Controller->resolve()
      #3 ../library/XenForo/FrontController.php(351): vw_XenForo_ControllerPublic_Wiki_Asset->actionIndex()
      #4 ../library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #5 ../index.php(13): XenForo_FrontController->run()
      #6 {main}
      Benötigter Status
      array(3) {
        ["url"] => string(74) "http://regio-portal.wiki/index.php?wiki-asset/&pid=6438&d=1484838948&x=180"
        ["_GET"] => array(4) {
          ["wiki-asset/"] => string(0) ""
          ["pid"] => string(4) "6438"
          ["d"] => string(10) "1484838948"
          ["x"] => string(3) "180"
        }
        ["_POST"] => array(0) {
        }
      }
    Issue Details
    Issue Number 5053
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.0.17
    Fixed Version 4.0.18
    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. May 7, 2017 12:34 PM
      pegasus pegasus is offline
      VaultWiki Team
      I know this has been reported before, but I can't find it. In vault/core/controller/asset/vw.php, find:
      Code:
      $this->asset['path'] = vw_Hard_Core::model('Attach')->get_path($this->page['attachfileid'], $width);
      Replace with:
      Code:
      $this->asset['path'] = vw_Hard_Core::model('Attach')->get_path($this->page['attachfileid'], $size[0]);
      This is fixed in the next release. The "negative" effect of this was that for the 1 request where the thumbnail was not ready yet, the higher resolution copy of the image was served instead of the newly generated thumbnail.
      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:12 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.