Fork me on GitHub
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
You should grab 2.1.9, released 18 March. It's what all the cool kids are doing.

FileUpload plugin stalls on "Uploading...", throws JSON error

ericcarlericcarl New
edited September 2011 in Vanilla 2.0 Help
This discussion is related to the FileUpload addon.
I just got the FileUpload plugin installed and when I attempt to attach a file I get the following error in Chrome's inspector:

Uncaught Invalid JSON: <br>
<b>Fatal error</b>: Call to undefined method Gdn_Upload::Parse() in <b>/Users/gnomonINC/Sites/vanilla-2/plugins/FileUpload/class.fileupload.plugin.php</b> on line <b>716</b><br>

I'm not super inspector-savvy but it looks like it's originating in jquery.js. I've already set all of the user role permissions to allow for uploading and downloading. I'm using Vanilla

The comment in this thread ( from jahudka regarding "{JSON response}" seems like it might be my same problem but I couldn't quite follow his solution. Thanks for any help!

Best Answer

  • Answer ✓

    I had this bug too.

    When I first uploaded the plugin (1.5.1) to my plugins folder I did it through Dreamweaver.

    I decided to try using the older version (1.4.4) and see if that one worked. I didn't take any chances on the upload (sometimes Dreamweaver misses files) so I used Cyberduck just to be sure. I enabled it, and shazam! It works now!!

    Maybe it was DW, or maybe it's the latest version of the plugin that has a bug.

    I'll have to try the new version uploaded through Cyberduck and see if it still works.


Sign In or Register to comment.