[bd] Attachment Store for XenForo 2.0 [Paid] 2.0.0

Store attachment differently and more effectively.

  1. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Alien, David, alfa1 and 1 other person like this.
  2. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    pete likes this.
  3. kappadox

    kappadox New Member

    This plugin is awesome. I used xf1.... Can it be used for xf 2.0.1 or xf 2.0.2.
     
  4. kappadox

    kappadox New Member

    Where is the road we show in the picture... I could not run the plugin.

    ayar.png
     
  5. Nesdam1981

    Nesdam1981 New Member

    EU Paris is missing from region.
     
  6. rsi

    rsi New Member

    Hi, will this update work with the new version of Resources? I've heard it's a problem with the Media Gallery, but what about the Resources add-on?
    .
     
  7. rsi

    rsi New Member

    Ok, I tried Attachment Store v2.0.2 last night on my test install with XF v2.0.4 and RM v2.0.2 and it works.
    .
     
  8. rsi

    rsi New Member

    #8 rsi, Mar 20, 2018
    Last edited: Mar 20, 2018
    I did verify what others have said and there is a problem with the XFMG v2.0.3

    P.S. I'm using Attachment Store in ftp mode.

    Code:
    League\Flysystem\FileNotFoundException: File not found at path: 2018/03/21_1.jpg src/vendor/league/flysystem/src/Filesystem.php:385
    
    Stack trace
    
    #0 src/vendor/league/flysystem/src/Filesystem.php(193): League\Flysystem\Filesystem->assertPresent('2018/03/21_1.jp...')
    #1 [internal function]: League\Flysystem\Filesystem->readStream('2018/03/21_1.jp...', Array)
    #2 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(431): call_user_func_array('parent::readStr...', Array)
    #3 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(395): League\Flysystem\EventableFilesystem\EventableFilesystem->callFilesystemMethod('readStream', Array)
    #4 src/addons/Xfrocks/AttachmentStore/Fs.php(29): League\Flysystem\EventableFilesystem\EventableFilesystem->delegateMethodCall('readStream', Array)
    #5 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(154): Xfrocks\AttachmentStore\Fs->delegateMethodCall('readStream', Array)
    #6 [internal function]: League\Flysystem\EventableFilesystem\EventableFilesystem->readStream('2018/03/21_1.jp...')
    #7 src/vendor/league/flysystem/src/MountManager.php(269): call_user_func_array(Array, Array)
    #8 src/vendor/league/flysystem/src/MountManager.php(179): League\Flysystem\MountManager->invokePluginOnFilesystem('readStream', Array, 'Xfrocks-Attachm...')
    #9 src/XF/Util/File.php(91): League\Flysystem\MountManager->__call('readStream', Array)
    #10 src/addons/XFMG/Service/Media/ThumbnailGenerator.php(17): XF\Util\File::copyAbstractedPathToTempFile('Xfrocks-Attachm...')
    #11 src/addons/XFMG/Service/Media/TempCreator.php(107): XFMG\Service\Media\ThumbnailGenerator->createTempThumbnailFromAttachment(Object(XF\Entity\Attachment), 'data://xfmg/tem...', 'image')
    #12 src/XF/Service/ValidateAndSavableTrait.php(40): XFMG\Service\Media\TempCreator->_save()
    #13 src/addons/XFMG/Attachment/Media.php(140): XFMG\Service\Media\TempCreator->save()
    #14 src/XF/Service/Attachment/Preparer.php(225): XFMG\Attachment\Media->onNewAttachment(Object(XF\Entity\Attachment), Object(XF\FileWrapper))
    #15 src/XF/Service/Attachment/Preparer.php(17): XF\Service\Attachment\Preparer->insertTemporaryAttachment(Object(XFMG\Attachment\Media), Object(Xfrocks\AttachmentStore\XF\Entity\AttachmentData), '219c36ee47caa6a...', Object(XF\FileWrapper))
    #16 src/XF/Attachment/Manipulator.php(170): XF\Service\Attachment\Preparer->insertAttachment(Object(XFMG\Attachment\Media), Object(XF\FileWrapper), Object(XFMG\XF\Entity\User), '219c36ee47caa6a...')
    #17 src/XF/Pub/Controller/Attachment.php(86): XF\Attachment\Manipulator->insertAttachmentFromUpload(Object(XF\Http\Upload), NULL)
    #18 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Attachment->actionUpload(Object(XF\Mvc\ParameterBag))
    #19 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Attachment', 'Upload', 'json', Object(XF\Mvc\ParameterBag), '', Object(Xfrocks\AttachmentStore\XF\Pub\Controller\Attachment), NULL)
    #20 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
    #21 src/XF/App.php(1891): XF\Mvc\Dispatcher->run()
    #22 src/XF.php(328): XF\App->run()
    #23 index.php(13): XF::runApp('XF\\Pub\\App')
    #24 {main}
    
    Request state
    
    array(4) {
      ["url"] => string(111) "/_xf2/index.php?attachments/upload&type=xfmg_media&context[category_id]=1&hash=219c36ee47caa6a884c1da6f725d71b2"
      ["referrer"] => string(80) "https://mydomain.net/_xf2/index.php?media/categories/example-category.1/add"
      ["_GET"] => array(4) {
        ["attachments/upload"] => string(0) ""
        ["type"] => string(10) "xfmg_media"
        ["context"] => array(1) {
          ["category_id"] => string(1) "1"
        }
        ["hash"] => string(32) "219c36ee47caa6a884c1da6f725d71b2"
      }
      ["_POST"] => array(11) {
        ["_xfToken"] => string(8) "********"
        ["_xfResponseType"] => string(4) "json"
        ["_xfWithData"] => string(1) "1"
        ["flowChunkNumber"] => string(1) "1"
        ["flowChunkSize"] => string(10) "4294967296"
        ["flowCurrentChunkSize"] => string(5) "15229"
        ["flowTotalSize"] => string(5) "15229"
        ["flowIdentifier"] => string(10) "15229-1jpg"
        ["flowFilename"] => string(5) "1.jpg"
        ["flowRelativePath"] => string(5) "1.jpg"
        ["flowTotalChunks"] => string(1) "1"
      }
    }
    .
     
    megabosx likes this.
  9. megabosx

    megabosx New Member

    Experiencing the same problem,
     
Loading...