Plugin Author
trof
(@trof)
You are uploading picture at something like
itsdivinity.com/gra4/avatar/edit/GRA4_someLongNumber_someShortNumber , right?
Could you please try to upload different picture. Does it produce the same “411 length required” error ?
Yes, first image was 237 X 215 so I tried a 150 x 150 still got error
Thanks
Plugin Author
trof
(@trof)
Awww =(
Another thing that could of interrupt the process… Is your page password-protected ? If “yes” – could you please remove the protection and try again ?
Thank you
This is a copy/paste of what the url looks like when I am about to upload avatar
http://itsdivinity.com/gra4/avatar/edit/GRA4_534929_1
This is what it looks like after I attept to upload the image I chose
http://itsdivinity.com/gra4/action/avatar/upload
The error says: “411 length required” and under that there is: nginx/0.7.67
Thanks
Plugin Author
trof
(@trof)
Ok. Thank you again for the error report. Looks like it requires deeper investigation. I’ll get back to you as soon as we have results.
Plugin Author
trof
(@trof)
Dear rpatwall1206,
two questions:
1. Please confirm you can upload pictures to WordPress (not to GRA4, to WordPress in-general) via web interface.
2. What is the URL of your hosting provider ?
Thank you
Yes, I am able to upload images to the media library.
URL to host: Arvixe.com
Thank you
I’m sorry the site hosting for (itsdivinity), url is:
http://webhostingworld.net/index.php
Plugin Author
trof
(@trof)
I see you have the avatar now… Did you tune-up the nginx?
I actually contacted my hosting to see if they could help, and it worked. However on my admin profile page it comes and goes. May I ask how you know that? My site requires user login and I currently have a maintenance sign up.
Thank you
Plugin Author
trof
(@trof)
Well, we encountered a bit similar problem before, although it’s rare problem…
Ok, the situation is… (you probably already know the details – it’s for the guys who may read it later)
The hosting has the Nginx/Apache pair, where the Nginx kinda sits in front of the Apache. Nginx is blazing fast for the static content, so if request goes for a picture, or CSS file, or something like that, the Nginx spits it right back. If it’s complicated request, requires, say, to run PHP script, Nginx passes it to smart but slower Apache. Such a configuration is used on the systems to withstand really heavy load.
The GRA4 software uses HTTP 1.0. Majority of web servers use 1.1 (we keep 1.0 to maintain compatibility even with older systems, presuming the modern systems must understand 1.0 as well ).
The 1.1 and 1.0 have some differences, but the one we are interested in right now: when 1.0 transmits data, it sends a HTTP header with the data length in it. The 1.1 uses “chunked” protocol. The data literally is sent by chunks prefixed with chunk length.
For some reasons Nginx has some setting, telling it to use HTTP 1.1 even when the client insists on 1.0, so for Nginx data looks corrupted.
I was about to tell you the bad news that the situation in unresolvable until we implement HTTP 1.1 (we have such a plans for later) but you have really-really skilled guys on the techsupport of your hosting. Congratulations ! =)