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/

Not a bug Sonnbgllaery Bug With Bd Attachment Store

Discussion in 'Bug Reports' started by fingon, Feb 3, 2016.

  1. fingon

    fingon Authorized Member Authorized

    my english is not good.

    I was used AWS S3 Tokyo to store my attachments, it works fine.
    Few days ago S3 released new area - Seoul ,and I moved all my attachments to Seoul for better ping.

    but with Seoul it can not works, shows errors:
    PHP:
    XenForo_Exceptionsonnb_xengallery_failed_to_write_photo_thumbnail_file library/sonnb/XenGallery/DataWriter/ContentData.php:243
    生成于
    阿呆民今天 10:29
    Stack 跟踪
    #0 /data/wwwroot/mysite.com/library/XenForo/DataWriter.php(1423): sonnb_XenGallery_DataWriter_ContentData->_postSave()
    #1 /data/wwwroot/mysite.com/library/sonnb/XenGallery/Model/PhotoData.php(400): XenForo_DataWriter->save()
    #2 /data/wwwroot/mysite.com/library/sonnb/XenGallery/ControllerPublic/XenGallery/Photo.php(439): sonnb_XenGallery_Model_PhotoData->insertUploadedPhotoData(Object(sonnb_XenGallery_Model_PhotoUpload), Array)
    #3 /data/wwwroot/mysite.com/library/XenForo/FrontController.php(351): sonnb_XenGallery_ControllerPublic_XenGallery_Photo->actionDoUpload()
    #4 /data/wwwroot/mysite.com/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #5 /data/wwwroot/mysite.com/index.php(13): XenForo_FrontController->run()
    #6 {main}
    请求状态
    array(3) {
      [
    "url"] => string(107"http://mysite.com/index.php?gallery/photos/do-upload.json&hash=91c31d5bf7472befb185a898f59fb039&album_id=3"
      
    ["_GET"] => array(3) {
        [
    "gallery/photos/do-upload_json"] => string(0""
        
    ["hash"] => string(32"91c31d5bf7472befb185a898f59fb039"
        
    ["album_id"] => string(1"3"
      
    }
      [
    "_POST"] => array(6) {
        [
    "Filename"] => string(15"Bg_Btn_Blue.png"
        
    ["_xfResponseType"] => string(4"json"
        
    ["_xfNoRedirect"] => string(1"1"
        
    ["_xfSessionId"] => string(32"445287763c74d89400474703387d7c30"
        
    ["_xfToken"] => string(8"********"
        
    ["Upload"] => string(12"Submit Query"
      
    }
    }

    first time I thought it's internet connection error, but after I tried it with other 2 servers for test(in US and HK), bug still happend:choose TOKYO ,works fines , Seoul buged.

    BD Attachmenet Store version:1.2.1b
    SonnbGlallery=the newest one
    please fix it.

    thanks
     
    Last edited: Feb 3, 2016
  2. sonnb

    sonnb Administrator Staff Member

    Can you upload attachment (forum attachment) with this Attachment Store version?
     
  3. fingon

    fingon Authorized Member Authorized

    I tried to upload picture as forum attacehment.
    Japan = Ok
    Seoul = Error.
     
    Last edited: Feb 5, 2016
  4. sonnb

    sonnb Administrator Staff Member

    Then it should be the issue of [bd] attachment addon. You should contact xfrock (the author) to address the issue.
     
  5. fingon

    fingon Authorized Member Authorized

  6. fingon

    fingon Authorized Member Authorized

    it's a not a bug, my fault , AWS permission setting error.
     
    sonnb likes this.

Share This Page