• 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
    • Install Error Step 13

    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: Install Error Step 13

    • Issue Tools
      • View Changes
    1. issueid=5086 June 1, 2017 2:50 AM
      EGVUnna EGVUnna is offline
      New Member
      Install Error Step 13

      Cant install 4.0.18 build001 on XenForo 1.5.13

      Always get this:

      Code:
      Step 13
      
      Importing forum attachment rules for wiki attachments
      /************************************************************************\ * * VaultWiki * Version 4.0.18 * License #********* * * Copyright ©2008-2017 Cracked Egg Studios, LLC. All Rights Reserved. * This file may not be redistributed in whole or significant part. * * VAULTWIKI IS NOT FREE SOFTWARE * [url]https://www.vaultwiki.org/[/url] * [url]https://www.vaultwiki.org/pages/Info:License-Agreement[/url] * \************************************************************************/ class vw_Image_Format_PDF_Model extends vw_Image_Instance_Model { protected static $extension = 'pdf'; public static function supports() { if (class_exists('Imagick', false)) { $test_file = vw_Hard_Core::get_dir() . '/model/image/test.pdf'; try { $test = new Imagick($test_file . '[0]'); if ($test) { return 'imagick'; } } catch (Exception $e) { } } return false; } protected function file_for_resource() { return $this->file . '[0]'; } public function resizable() { return false; } } /*======================================================================*\ * Licensed to: [url]www.....my url[/url] \*======================================================================*//************************************************************************\ * * VaultWiki * Version 4.0.18 * License #D0419CC434 * * Copyright ©2008-2017 Cracked Egg Studios, LLC. All Rights Reserved. * This file may not be redistributed in whole or significant part. * * VAULTWIKI IS NOT FREE SOFTWARE * [url]https://www.vaultwiki.org/[/url] * [url]https://www.vaultwiki.org/pages/Info:License-Agreement[/url] * \************************************************************************/ class vw_Image_Format_PDF_Model extends vw_Image_Instance_Model { protected static $extension = 'pdf'; public static function supports() { if (class_exists('Imagick', false)) { $test_file = vw_Hard_Core::get_dir() . '/model/image/test.pdf'; try { $test = new Imagick($test_file . '[0]'); if ($test) { return 'imagick'; } } catch (Exception $e) { } } return false; } protected function file_for_resource() { return $this->file . '[0]'; } public function resizable() { return false; } } /*======================================================================*\ * Licensed to: [url]www. my url[/url] \*======================================================================*/
      call_user_func() expects parameter 1 to be a valid callback, class 'vw_Image_Format_pdf_Model' not found
      #0: vw_CP_Progress_View->handle_php_error()
      #1: call_user_func() in [path]/vault/core/model/image/vw.php at line 40
      #2: vw_Image_Model->supports() in [path]/vault/install/lib/full/steps/xf.php at line 740
      #3: vw_Install_Full_Steps_Controller_XF->{closure}() in [path]/vault/core/controller/progress/steps/vw.php at line 83
      #4: vw_Progress_Steps_Controller->call() in [path]/vault/core/controller/progress/steps/vw.php at line 53
      #5: vw_Progress_Steps_Controller->execute() in [path]/vault/install/lib/full/steps/vw.php at line 244
      #6: vw_Install_Full_Steps_Controller->execute() in [path]/vault/core/controller/progress/vw.php at line 92
      #7: vw_Progress_Controller->exec_script() in [path]/vault/core/controller/progress/vw.php at line 74
      #8: vw_Progress_Controller->execute() in [path]/vault/core/controller/cp/progress/vw.php at line 37
      #9: vw_CP_Progress_Controller->process() in [path]/vault/core/controller/cp/install/vw.php at line 275
      #10: vw_CP_Install_Controller->install() in [path]/vault/core/controller/cp/install/vw.php at line 62
      #11: vw_CP_Install_Controller->execute() in [path]/library/vw/XenForo/ControllerAdmin/Wiki.php at line 119
      #12: vw_XenForo_ControllerAdmin_Wiki->actionIndex() in [path]/library/vw/XenForo/ControllerAdmin/Wiki.php at line 176
      #13: vw_XenForo_ControllerAdmin_Wiki->actionUpgrade() in [path]/library/vw/XenForo/ControllerAdmin/Wiki.php at line 186
      #14: vw_XenForo_ControllerAdmin_Wiki->actionInstall() in [path]/library/XenForo/FrontController.php at line 351
      #15: XenForo_FrontController->dispatch() in [path]/library/XenForo/FrontController.php at line 134
      #16: XenForo_FrontController->run() in [path]/admin.php at line 13
    Issue Details
    Issue Number 5086
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.18
    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. June 1, 2017 8:12 AM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/core/model/image/format/pdf/vw.php, before the first line, add:
      Code:
      <?php
      Reply Reply  
    2. June 1, 2017 8:20 AM
      EGVUnna EGVUnna is offline
      New Member
      Than I´m getting this error:

      Code:
      Step 13
      
      Importing forum attachment rules for wiki attachments
      
      Fatal error: Access level to vw_Image_Format_PDF_Model::file_for_resource() must be public (as in class vw_Image_Instance_Model) in /www/htdocs/w00c5a95/egv-marketing/vault/core/model/image/format/pdf/vw.php on line 52
      Reply Reply  
    3. June 1, 2017 8:23 AM
      pegasus pegasus is offline
      VaultWiki Team
      Also find:
      Code:
      protected function file_for_resource()
      Replace with:
      Code:
      public function file_for_resource()
      Reply Reply  
    4. June 1, 2017 8:34 AM
      EGVUnna EGVUnna is offline
      New Member
      no fun... Step 13 is fine now.

      But look at Step 20:
      Code:
      Step 20
      
      Importing templates
      - template group: Style Property
      An exception occurred: Mysqli statement execute error : Duplicate entry '0-vw_left' for key 'definition_style_id_property_name' in [path]/library/Zend/Db/Statement/Mysqli.php on line 214
      #0: Zend_Db_Statement_Mysqli->_execute() in [path]/library/Zend/Db/Statement.php at line 297
      #1: Zend_Db_Statement->execute() in [path]/library/Zend/Db/Adapter/Abstract.php at line 479
      #2: Zend_Db_Adapter_Abstract->query() in [path]/library/Zend/Db/Adapter/Abstract.php at line 574
      #3: Zend_Db_Adapter_Abstract->insert() in [path]/library/XenForo/DataWriter.php at line 1638
      #4: XenForo_DataWriter->_insert() in [path]/library/XenForo/DataWriter.php at line 1627
      #5: XenForo_DataWriter->_save() in [path]/library/XenForo/DataWriter.php at line 1419
      #6: XenForo_DataWriter->save() in [path]/library/XenForo/Model/StyleProperty.php at line 2400
      #7: XenForo_Model_StyleProperty->importStylePropertiesFromArray() in [path]/library/XenForo/Model/StyleProperty.php at line 2312
      #8: XenForo_Model_StyleProperty->importStylePropertyXml() in [path]/vault/install/lib/common/xf.php at line 342
      #9: vw_Install_Common_Controller_XF->do_stylevars() in [path]/vault/install/lib/common/xf.php at line 221
      #10: vw_Install_Common_Controller_XF->do_templates() in [path]/vault/install/lib/full/steps/xf.php at line 907
      #11: vw_Install_Full_Steps_Controller_XF->{closure}() in [path]/vault/core/controller/progress/steps/vw.php at line 83
      #12: vw_Progress_Steps_Controller->call() in [path]/vault/core/controller/progress/steps/vw.php at line 53
      #13: vw_Progress_Steps_Controller->execute() in [path]/vault/install/lib/full/steps/vw.php at line 244
      #14: vw_Install_Full_Steps_Controller->execute() in [path]/vault/core/controller/progress/vw.php at line 92
      #15: vw_Progress_Controller->exec_script() in [path]/vault/core/controller/progress/vw.php at line 74
      #16: vw_Progress_Controller->execute() in [path]/vault/core/controller/cp/progress/vw.php at line 37
      #17: vw_CP_Progress_Controller->process() in [path]/vault/core/controller/cp/install/vw.php at line 275
      #18: vw_CP_Install_Controller->install() in [path]/vault/core/controller/cp/install/vw.php at line 62
      #19: vw_CP_Install_Controller->execute() in [path]/library/vw/XenForo/ControllerAdmin/Wiki.php at line 119
      #20: vw_XenForo_ControllerAdmin_Wiki->actionIndex() in [path]/library/vw/XenForo/ControllerAdmin/Wiki.php at line 176
      #21: vw_XenForo_ControllerAdmin_Wiki->actionUpgrade() in [path]/library/XenForo/FrontController.php at line 351
      #22: XenForo_FrontController->dispatch() in [path]/library/XenForo/FrontController.php at line 134
      #23: XenForo_FrontController->run() in [path]/admin.php at line 13
      Reply Reply  
    5. June 1, 2017 9:16 AM
      pegasus pegasus is offline
      VaultWiki Team
      Refresh the page and try again. "Duplicate entry" usually happens because of an accidental double-click on the Next Step button. I need a new mouse myself, because it double clicks all the time when I don't want it to.
      Reply Reply  
    6. June 1, 2017 10:29 AM
      EGVUnna EGVUnna is offline
      New Member
      Quote Originally Posted by pegasus
      Refresh the page and try again. "Duplicate entry" usually happens because of an accidental double-click on the Next Step button. I need a new mouse myself, because it double clicks all the time when I don't want it to.
      It worked, Thank you!

      Will try the rest tomorrow. The Install-Routine is complete now!
      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 11:32 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.