Support » Plugins and Hacks » [Resolved] HTTP Error when uploading files from computer.

[Resolved] HTTP Error when uploading files from computer.

  • Whenever I try to upload a file from my computer (with any extension), this error shows up: “HTTP error.” As long as the file has more than ~1Mb it fails.
    Some small images pass trough tough. Its the weirdest thing.
    I can’t pin point the origin of this error due to the lack of information.

    My php.ini is set accordingly and ready for attachments bigger than 25 Mb.

    Any help would be appreciated.


Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author A5hleyRich


    That is very strange. Does your server log show any error messages?

    Also, what do you have the following set to in php.ini? max_execution_time, max_input_time, memory_limit & upload_max_filesize

    What do you mean by server log?

    In WP debug log nothing shows up.

    My php.ini is set with:

    Plugin Author A5hleyRich


    You should be able to see your server log file under your hosting provider’s control panel. The log should give us more information as to why the uploads are failing.


    I use my own dedicated server with nginx. No control panel. I guess I could debug nginx but last time I checked debugging in ngix had to be enabled when compiled.

    Ok, I figured it out.

    There was something bugging me about the file size and only now I realised that nginx disregards php.ini values if you dont specify a larger value on vhost.

    Just added “client_max_body_size 100M;” to my nginx default.conf (under server) and now it’s working.

    Nothing to do with the plugin.

    Thanks for the support tough 😉

    Plugin Author A5hleyRich


    Glad you figured it out and thanks for the positive feedback.


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] HTTP Error when uploading files from computer.’ is closed to new replies.