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

XF 1.1 Suddenly I Can't Upload Files - It Worked Fine Few Minutes Ago

Discussion in 'Troubleshooting and Problems' started by TheBigK, Dec 1, 2011.

  1. TheBigK

    TheBigK Well-Known Member

    This is a bit weird problem. Our members could upload files until a few minutes ago and now they can't. That applies to me (admin) as well. I'm getting

    What's going on? :(
     
  2. mrGTB

    mrGTB Well-Known Member

    I had that same message, it was a folder permission problem for me. Have you just updated your forum to 1.1 by chance. Or has it started for no reason and your still using same version.
     
  3. steel_curtain

    steel_curtain Well-Known Member

    Not sure what the problem is, but when trying to open up http://www.crazyengineers.com/forum/ in firefox I receive this error.

    cor.png

    It does open and display in chrome. Let me see if I can figure anything out.
     
  4. TheBigK

    TheBigK Well-Known Member

    I just moved from vB to xf 1.1. Attachments worked fine for everyone for some time.
    I'm not sure why does it not work in Firefox. Several users are saying that /forum/ does not redirect to /community/ . Here it is http://www.crazyengineers.com/community/
     
  5. mrGTB

    mrGTB Well-Known Member

    Very odd that how is doesn't open in FF but does in Chrome. I just tried using both browsers clicking your signature link.
     
  6. TheBigK

    TheBigK Well-Known Member

    By the way, I'm using Kier's redirect scripts.
     
  7. mrGTB

    mrGTB Well-Known Member

    I have no idea what's going on there, sorry!
     
  8. TheBigK

    TheBigK Well-Known Member

    Just raised a ticket. I really don't like disturbing Kier & Mike. :rolleyes: But totally helpless at the moment.
     
  9. steel_curtain

    steel_curtain Well-Known Member

    You do mean uploading into posts, right? If so, is it allowing you to upload but not post, or giving you the error when trying to upload?
     
  10. TheBigK

    TheBigK Well-Known Member

    Okay, the host solved it by changing a mod security rule. :)
     
  11. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Regarding the "corrupted content" error... try adding this line to your library/config.php file:

    Code:
    $config['enableGzip'] = false;
    
    This error can sometimes be a problem with gzip. Disabling gzip will make your pages consume more bandwidth though.
     
  12. TheBigK

    TheBigK Well-Known Member

    Jake, the problem was just about adding 'exit;' below the header<path/to/new/xf/installation/> which was added in the top of config.php. That solved the problem. Mike said Firefox was still trying to execute the old script which resulted into error.

    Proves that Chrome is more modern than Firefox ;)
     
  13. Dav

    Dav Active Member

    Hi,

    I have been using xenforo as a admin for over a year now and i can usually work most issues out.
    Some of my members can't seem to upload files from their comps and get the error "the following error has occured
    there was a problem uploading your file........."
    Im pretty sure i haven't changed anything and i have tested in safari & google chrome and i have no problems uploading a file.
    The users who are having problems are using IE & Chrome and insist they are doing nothing different to upload as it has worked many times before
    Can anyone help?
    Thanks :)
     
  14. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Since you are unable to reproduce the problem yourself we need to do further testing. Can you do a test using the same file as your users? Maybe it's a problem that only manifests with specific files or file sizes. If you can narrow it down then that helps to identify the problem.
     
  15. Dav

    Dav Active Member

    Thanks Jake, i have asked for the file from the user and ill test it as soon as i receive it.
     
  16. Dav

    Dav Active Member

    Hi Jake,

    I have just tested 2 files from the user and they didn't work, i got the same error as the user "the following error has occured
    there was a problem uploading your file........."
    one file is - jpeg, 1.9MB
    another - jpeg, 1.7MB im sure they were bigger than this though, in the email they came in.
     
  17. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    But smaller files work OK? The logs may contain a specific error:

    Admin CP -> Tools -> Server Error Log

    It's probably a server limit. Here are some settings that may be limiting:

    PHP:
    max_execution_time
    memory_limit
    post_max_size
    upload_max_filesize

    MySQL:
    max_allowed_packet
    max_packet_size
    wait_timeout
     
  18. Brogan

    Brogan XenForo Moderator Staff Member

    Check the file extension is correct.

    Usually it's due to .bmp or .png files being renamed as .jpg.
     
  19. Dav

    Dav Active Member

    Hi Jake,

    Iv just got the user to test a file they have posted before and even that would not work. Iv have checked the error log and there are no new entries.

    Hi Brogan,

    The user says they have not altered the file extension.

    Thanks :)
     
  20. Brogan

    Brogan XenForo Moderator Staff Member

    Can you upload the images here?
     

Share This Page