What Do You Need In The Xf2 Xengallery Version? Vote for your choices here: http://www.sonnb.com/threads/what-do-you-need-in-the-xf2-xengallery-version.1539/

Question Problems With [bd] Attachment Store.

Discussion in 'XenGallery' started by Russoroni, Jan 23, 2014.

  1. Russoroni

    Russoroni Member

    I have [BD Attachment Store setup and its working fine with Amazon S3. All attachments/images are served from Amazon but it's not working with XenGallery

    Image 1.gif

    Image 2.gif

    Image 3.gif
     
  2. Russoroni

    Russoroni Member

    Also getting this error when trying to rebuild cache/move files...


    Server Error
    Cannot read file /home/trailpeople/public_html/data/photos/o/0/1-1386935714-b3fa9599c36f855e43cf0daea13b104a.jpg

    1. Zend_Service_Amazon_S3->putFile() in bdAttachmentStore/Model/File.php at line 147
    2. bdAttachmentStore_Model_File->_s3_saveFile() in bdAttachmentStore/Model/File.php at line 11
    3. bdAttachmentStore_Model_File->saveFile() in sonnb/XenGallery/DataWriter/ContentData.php at line 407
    4. sonnb_XenGallery_DataWriter_ContentData->moveContentData() in sonnb/XenGallery/DataWriter/Content.php at line 911
    5. sonnb_XenGallery_DataWriter_Content->rebuildCounters() in sonnb/XenGallery/DataWriter/Photo.php at line 86
    6. sonnb_XenGallery_DataWriter_Photo->rebuildCounters() in sonnb/XenGallery/CacheRebuilder/Content.php at line 77
    7. sonnb_XenGallery_CacheRebuilder_Content->rebuild() in XenForo/ControllerHelper/CacheRebuild.php at line 26
    8. XenForo_ControllerHelper_CacheRebuild->rebuildCache() in XenForo/ControllerAdmin/Tools.php at line 82
    9. XenForo_ControllerAdmin_Tools->actionCacheRebuild() in XenForo/FrontController.php at line 337
    10. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    11. XenForo_FrontController->run() in /home/trailpeople/public_html/admin.php at line 13
     
  3. Russoroni

    Russoroni Member

    Ok, so I enabled "force permissions" in the [BD] attachment store options and the photos are successfully uploading but sometimes the thumbnails in album view are broken.
     
  4. Russoroni

    Russoroni Member

    Ok so heres an update. I turned off image magick and rebuilt all cache stuff. I used the file move tool to move to S3 and that error happened but after that I look on the gallery and everything is working perfectly. Amazon S3 is totally working on my site! All file links point to S3.
     
  5. Russoroni

    Russoroni Member

    I spoke too soon. I just tried uploading a bunch of large sized jpegs and all looked good at first. The thumbnails were there in the first phase (where you can add descriptions) but then when I click done...

    Image 4.gif
     
  6. Russoroni

    Russoroni Member

    When I import from thread the photos show in album view but dont show in the overlay
     
    Last edited: Jan 23, 2014
  7. a.tushkanov

    a.tushkanov Authorized Member Authorized

    got same problem :(
     
  8. sonnb

    sonnb Administrator Staff Member

    Please rebuild after import to calculate photo's information. Overlay need it.

    For S3 concern, as I have mentioned in the option where you turn on Attachment Store in XenGallery, since you need connection to S3 so if you upload a file it will need to: upload to forum -> upload to S3 -> Create Thumbnails -> upload to S3. It will take time to make this done so sometime, if you server gets timeout, thumbnail might be broken.
     
  9. Russoroni

    Russoroni Member

    There is an option in the Attachment Store to delay processing. So when I upload something it goes into the standard xenforo attachments folder and stays there for a bit until attachment store comes along and sends it to S3 and then deletes the local copy.
     
  10. Russoroni

    Russoroni Member

    There was an update to attachment store yesterday. As far as I know all it did was add the ability to exclude certain file types. I updated and now xengallery doesnt work. Uploaded photos are broken 100% This really sucks. I wanna cry...
     
  11. Russoroni

    Russoroni Member

    I'm using S3 + Cloudfront.
     
  12. Russoroni

    Russoroni Member

    Ok so here's an update. Cloudfront does not work with Xengallery. I disabled Cloudfront and am only using S3 now and now it's working. However... the import from thread does not work.
     
  13. sonnb

    sonnb Administrator Staff Member

    That is behavior for XenForo's attachments, not XenGallery so I am not sure it will be 100% working as I have not check it yet.

    You mean import from threads which using attachments from S3?
     
  14. Russoroni

    Russoroni Member

    Yes. The import from thread isn't working. I am now using S3 without the delayed processing and it's working great... Except for the importing from thread function in Xengallery. PLEASE HELP SONNB!
     
  15. sonnb

    sonnb Administrator Staff Member

    I will check the latest update of Attachment Store.
     
  16. Russoroni

    Russoroni Member

    This is a different subject but I just noticed that when viewing in the overlay and you get to the last photo it does start over from the beginning in Google Chrome but it does not in Firefox and IE.
     
  17. sonnb

    sonnb Administrator Staff Member

    Okay. I will note that.
     

Share This Page