1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

MG 1.1 Uploads work on Mobile but, not Desktop browsers

Discussion in 'Media Gallery Support' started by John71, Oct 2, 2015.

  1. John71

    John71 Member

    Hi, I'm just starting to use my installation and I can upload images via my Smartphone (Google Chrome) browser (non-flash uploader). On my Desktop I'm using the fancy flash uploader and it shows the image uploading (with the percent) but, when it goes to 100% and appears it is finished, it says sends message window "Error: Their was a problem uploading your image" with the filename below.

    I saw checked several messages but, still not sure what the fix or issue may be?
     
  2. Mike

    Mike XenForo Developer Staff Member

    Is your forum currently behind password protection? Flash has issues with that in some scenarios.
     
  3. John71

    John71 Member

    I am not sure. How would I know this or find out?
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    If it's for the site assigned to your license, then it isn't password protected, so don't worry about that.

    Does the error happen on all images uploaded via a desktop browser? Even ones that are small, in size?

    After the error happens, bring up the browser console (In Chrome this is F12, then clicking on the Console tab). Are there any errors shown here? If so, what are they?
     
  5. John71

    John71 Member

    Hi Chris, I tried recreating the error in Chrome and it worked fine. Then uploaded it in FireFox and the error occurred again.
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    You can use the FF console tab to check for errors.
    It's F12 to activate it.
     
  7. John71

    John71 Member

    Queued file IMG_5032.JPG (2289953 bytes). media_upload.js:17:406
    XenForo.activate(%o) [object Object] xenforo.js:221
    Attachments changed, total files: 1, images: 1 media_upload.js:16:358
    Uploading IMG_5032.JPG media_upload.js:13:1
    Uploaded 0/2289953 bytes. media_upload.js:18:1
    Uploaded 65536/2289953 bytes. media_upload.js:18:1
    Uploaded 131072/2289953 bytes. media_upload.js:18:1
    Uploaded 163840/2289953 bytes. media_upload.js:18:1
    Uploaded 196608/2289953 bytes. media_upload.js:18:1
    Uploaded 229376/2289953 bytes. media_upload.js:18:1
    Uploaded 262144/2289953 bytes. media_upload.js:18:1
    Uploaded 294912/2289953 bytes. media_upload.js:18:1
    Uploaded 327680/2289953 bytes. media_upload.js:18:1
    Uploaded 360448/2289953 bytes. media_upload.js:18:1
    Uploaded 393216/2289953 bytes. media_upload.js:18:1
    Uploaded 425984/2289953 bytes. media_upload.js:18:1
    Uploaded 458752/2289953 bytes. media_upload.js:18:1
    Uploaded 491520/2289953 bytes. media_upload.js:18:1
    Uploaded 524288/2289953 bytes. media_upload.js:18:1
    Uploaded 557056/2289953 bytes. media_upload.js:18:1
    Uploaded 589824/2289953 bytes. media_upload.js:18:1
    Uploaded 622592/2289953 bytes. media_upload.js:18:1
    Uploaded 655360/2289953 bytes. media_upload.js:18:1
    Uploaded 688128/2289953 bytes. media_upload.js:18:1
    Uploaded 720896/2289953 bytes. media_upload.js:18:1
    Uploaded 753664/2289953 bytes. media_upload.js:18:1
    Uploaded 786432/2289953 bytes. media_upload.js:18:1
    Uploaded 819200/2289953 bytes. media_upload.js:18:1
    Uploaded 851968/2289953 bytes. media_upload.js:18:1
    Uploaded 884736/2289953 bytes. media_upload.js:18:1
    Uploaded 917504/2289953 bytes. media_upload.js:18:1
    Uploaded 950272/2289953 bytes. media_upload.js:18:1
    Uploaded 983040/2289953 bytes. media_upload.js:18:1
    Uploaded 1015808/2289953 bytes. media_upload.js:18:1
    Uploaded 1048576/2289953 bytes. media_upload.js:18:1
    Uploaded 1081344/2289953 bytes. media_upload.js:18:1
    Uploaded 1114112/2289953 bytes. media_upload.js:18:1
    Uploaded 1146880/2289953 bytes. media_upload.js:18:1
    Uploaded 1179648/2289953 bytes. media_upload.js:18:1
    Uploaded 1212416/2289953 bytes. media_upload.js:18:1
    Uploaded 1245184/2289953 bytes. media_upload.js:18:1
    Uploaded 1277952/2289953 bytes. media_upload.js:18:1
    Uploaded 1310720/2289953 bytes. media_upload.js:18:1
    Uploaded 1343488/2289953 bytes. media_upload.js:18:1
    Uploaded 1376256/2289953 bytes. media_upload.js:18:1
    Uploaded 1409024/2289953 bytes. media_upload.js:18:1
    Uploaded 1441792/2289953 bytes. media_upload.js:18:1
    Uploaded 1474560/2289953 bytes. media_upload.js:18:1
    Uploaded 1507328/2289953 bytes. media_upload.js:18:1
    Uploaded 1540096/2289953 bytes. media_upload.js:18:1
    Uploaded 1572864/2289953 bytes. media_upload.js:18:1
    Uploaded 1605632/2289953 bytes. media_upload.js:18:1
    Uploaded 1638400/2289953 bytes. media_upload.js:18:1
    Uploaded 1671168/2289953 bytes. media_upload.js:18:1
    Uploaded 1703936/2289953 bytes. media_upload.js:18:1
    Uploaded 1736704/2289953 bytes. media_upload.js:18:1
    Uploaded 1769472/2289953 bytes. media_upload.js:18:1
    Uploaded 1802240/2289953 bytes. media_upload.js:18:1
    Uploaded 1835008/2289953 bytes. media_upload.js:18:1
    Uploaded 1867776/2289953 bytes. media_upload.js:18:1
    Uploaded 1966080/2289953 bytes. media_upload.js:18:1
    Uploaded 1998848/2289953 bytes. media_upload.js:18:1
    Uploaded 2031616/2289953 bytes. media_upload.js:18:1
    Uploaded 2064384/2289953 bytes. media_upload.js:18:1
    Uploaded 2097152/2289953 bytes. media_upload.js:18:1
    Uploaded 2129920/2289953 bytes. media_upload.js:18:1
    Uploaded 2162688/2289953 bytes. media_upload.js:18:1
    Uploaded 2195456/2289953 bytes. media_upload.js:18:1
    Uploaded 2228224/2289953 bytes. media_upload.js:18:1
    Uploaded 2260992/2289953 bytes. media_upload.js:18:1
    Uploaded 2289953/2289953 bytes. media_upload.js:18:1
    Upload failed: Arguments { 0: Object, 1: -200, 2: "406", 2 more… } media_upload.js:14:454
    XenForo.activate(%o) [object Object] xenforo.js:221
    AttachmentUploadError: Object { type: "AttachmentUploadError", file: Object, errorCode: -200, message: "406", ajaxData: Object, swfUpload: Object, timeStamp: 1443805249576, jQuery111008978847957542028: true, isTrigger: 3, namespace: "", 7 more… } media_upload.js:20:72
    All files uploaded. media_upload.js:15:197
    Attachments changed, total files: 0, images: 0
     
  8. Mike

    Mike XenForo Developer Staff Member

    I believe that implies it's returning a 406 error, which is "not acceptable". I believe that will be related to mod_security. Your host should have logs that will identify the rule that was triggered. They can add the necessarily whitelist for this. (We have seen this a couple times before, though not for some time.)
     
  9. John71

    John71 Member

    Solved. Thank you for the great support. Made this allot easier to deal with.
     

Share This Page