anyone know what's the problem?
image upload in both avatar and post seem to work for me in Firefox; what exactly is the problem?
do you have this issue with the django's runserver or with the production site? What symptom do you have - no url assigned to the image or you just don't see the uploaded image?
hi, @Evgeny , thanks for help, when I try to upload an image locally, I got this TypeError: data is undefined message.
Are you getting the error on this site?
well, for this site I don't have enough karma, so I am not sure, but the image I posted via URL is the error from my local site.
Testing image upload in firefox:
this what I get when try to upload image from firefox.
this site also got the problem (when try to upload by firefox)
Please confirm this issue on this site, I've just updated it to the latest development version, I'll look into the problem then.
@Evgeny: what was the problem? file permissions?
I could confirm this error, in Chrome upload works, but in FF does not. I think it has something to do with json decoding, but not 100% sure. The browser does not give any warnings, just the data that is supposed to come out of json decoding is "undefined", giving that text for the alert. This is most likely browser-version/os specific. Possibly the jqueryAjaxFile upload extension that we use does not support json properly, looking into it now.
This issue is now fixed in the repository. I've reverted to XML type response in the server file upload handler, apparently the ajaxFileUpload extension that we use does not cooperate with json.
Updated this site too, please try.
To enter a block of code: