Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

File upload failed (failure code: 0x80070057)

PamelaPamela ✭✭
edited December 2010 in Vanilla 2.0 - 2.8

I've installed FileUpload but it don't work on "my" Vanilla 2.0.16. I see "Uploading..." but it don't finish...

I see this error in Firebug but I don't know ;-) what I can do
uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) []" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: :: anonymous :: line 127" data: no]
NB: jQuery address is right and I have not currently got APC running...

PS: User pictures (avatar) work... and of course I've checked options for my group's account in admin control panel

My server config... Linux, Apache 1.3, PHP 5.2, MySQL 5.0
* file_uploads = On
* upload_max_filesize = 30M
* post_max_size = 8M

and! uploads/ and uploads/FileUpload/ folders permissions are 755

Many thnaks in advance for any "idea" about it


  • Options
    I am also having this problem, did you fix it?
  • Options
    I think, for me anyway, have found a fix for this. Basically, using firebug I could see that the upload form action attribute was not being added. Working it back, It turned out that gdn.url was returning an empty string, and it is this that sets the form action attribute.

    So... to fix you have to replace
    line 222 (fileupload.js)
    'action': gdn.url(Action.join('/')),
    'action': ""+Action.join('/'),

    (obviously, change etc to your installation folder.)

    Hope this helps someone, be good if developers looked into this to confirm it as an issue.

    VF : Version
    FileUpload : Version 1.4.0
  • Options
    Thanks to share this tip (from my bad memory... this problem have been "fixed" after disabled tags plugin which is supplied by default)
  • Options
    It seems my fix only works in some browsers, can you explain what you mean by disabled tags plugin?
Sign In or Register to comment.