This is related to the question at
I seem to be unable to upload an avatar image in Ask
LibreOffice. I have tried the latest Chrome on both OS X
(1.6.8) and Windows 7 and also Firefox 12 on OS X. Uploading
always fails with the error "Upload a valid image. The file you
uploaded was either not an image or a corrupted image." I
sometimes also get an internal server error. There is a
screenshot of that in the thread linked above.
Steps to reproduce:
1. Upload an avatar
2. See error
New avatar uploaded.
Operating System: All
Thanks for reporting! I can reproduce this error when I try to upload an avatar.
(Testing in FF 18.0.2 on Ubuntu 12.04.2)
I already have an avatar picture uploaded, so I tried uploading a new picture.
Trying to re-upload the same picture I originally uploaded (421KB JPEG), I get the following:
You haven't uploaded an avatar yet. Please upload one now.
Upload a valid image. The file you uploaded was either not an image or a corrupted image.
There are two problems here
1. I *have* uploaded an avatar image, so the system is confused/wrong.
2. The image is valid (it was uploaded previously and is in use on my profile right now)
Trying with a 4MB PNG file, I get the same error as with the JPG.
Trying with a 2MB GIF file, I get a different error:
Your file is too big (2.0 MB), the maximum allowed size is 1.0 MB
(Not sure why the 4MB PNG file didn't trigger that error)
Trying with a 513.4KB GIF file, I get the following:
Internal server error
system error log is recorded, error will be fixed as soon as possible
please report the error to the site administrators if you wish
Note: Alex will be updating the Askbot software soon. Hopefully the update will solve this problem; if the update does not solve the problem, we'll tackle it next.
I've had two pings about this problem in the last day, so I just wanted to give everyone an update.
We're still waiting on the Askbot software to be upgraded (bug 61098). When that upgrade is complete, we'll check to see if this bug is still present. If the upload problems have not been solved, I'll do my best to try to get the infrastructure folks to look at this bug as quickly as possible.
Said updating bug report is marked as fixed, so it may be time to look into this one again as well.
(FF 22 on Ubuntu 12.04.2)
Trying to upload a new avatar picture, I encounter problems.
1) The interface tells me that I have not yet uploaded an avatar picture (which is obviously false)
"You haven't uploaded an avatar yet. Please upload one now."
2) If I try to upload/change my picture, I get the following error message:
"Upload a valid image. The file you uploaded was either not an image or a corrupted image."
The image I'm using to test is just a flip of my current profile image (using ImageMagick) -- it doesn't appear as 'corrupt' on my system.
tl;dr --> Still a problem in our install of Askbot. Perhaps something to do with our data/database?
I've tried to upload an image, worked for me.
Is this still a problem?
I was also able to upload a PNG avatar when I just tried, so it seems this is resolved.