Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
Current version is 2.1.11, released 12 June.

File Upload always shows Uploading.... and never finished

2

Comments

  • I found out that there was a file missing in my webspace. Don't know why it wasn't there, maybe it wasn't ignored by the ftp-client cause it has no content.

    I manually created the blank file 'plugins/FileUpload/views/blank.php' and after that it worked.

    greetz

    broodaw
  • Same problem for me
    The path is wrong :

    C:\fakepath\picture.JPG
  • phreakphreak VanillaSkins.com - #1 Themeshop for Vanilla MVP
    Same for me... Calling the settings, gets me a page rendering without any CSS.
    *argl* getting a little sick of all these bugs, but i shouldn't because i'ven't paid for the work. :)

    VanillaSkins.com - Great Themes and Skins for Vanilla
    Ask me to improve your Vanilla forum with OnPage SEO and Competitor Research

  • I also have the issue "FileUp always shows Uploading.... and never finished" when using the Chrome browser, in IE7 it works fine. I don't have access to any other browsers at work so can't test any others.

    Let me know if you need any further details.

    Cheers

  • @Doudou: It'd appear to me that you use Opera, don't you? :o) this is just a security precaution of Opera (and maybe some other browsers, too) against malicious scripts attempting to read a file's real path on the user's computer. It definitely isn't a cause of any bug related to this plugin from my understanding of how it works, just a display issue of sorts.
  • I have the same problem. When i try to upload file, i see progress bar and nothing else.
    Browsers: Mozilla Firefox, Opera, Chrome.
    Rights to /forum 777.
    When i try to debug as advised @cdavid, my FireBug console is empty.


  • TimTim Lord of Servers Vanilla Staff
    What version of FileUpload?
    Version of Vanilla?
    Rewrite URLs on?
    Server software and version?
    APC installed?

    Vanilla Forums Senior Developer [GitHub, Twitter, About.me]

  • @Tim
    FileUpload - 1.4.0
    Vanilla - 2.0.11
    Mod Rewrite ON
    Server soft:
    1. Ubuntu Ubuntu 4.4.3, php 5.3, apache 2.2
    2. Debian 4.3.5, php 5.3, apache+nginx
    APC not installed
  • MupetzMupetz New
    edited November 2010
    Same here. fileupload never finishes, displaying a C:fakepath/
    FileUpload 1.4.0
    Vanilla 2.0.14
    Rewrite On
    CentOS Shared hosting trought godaddy
    APC no! (dooh...)
  • By the way, just a quick note for Debian 6.0 (Squeeze) servers:

    To install APC, do this:

    apt-get install php-apc
    apache2ctl restart

    APC is ON but progress bar is disabled because rfc1867 is disabled.
    To enable it, do this:

    edit /etc/php5/apache2/php.ini and add:

    apc.rfc1867 = 1
  • edited June 2011
    Any further updates on this? I have the same problem on my new Vanilla install.

    Attempting to gather useful information. Hope this is actually helpful:

    c.extend.error jquery.js:28
    c.extend.parse JSONjquery.js:29
    Gdn_MultiFileUpload.Gdn_MultiFileUpload.Progress fileupload.js:374
    c.extend.proxy.b jquery.js:32
    b jquery.js:124
    c.extend.ajax.g.x.onreadystatechange jquery.js:129
    jquery.js:28 Uncaught Invalid JSON:

    Vanilla Version 2.0.17.10
    FileUpload version 1.4.4
  • I see this issue (files never uploading) if the file I'm trying to upload is larger than upload_max_filesize.
  • Same here... has anyone fixed it?
  • I found an answer. It doesn't work with "public_vforg" theme. However it works with default Vanilla theme.
    So now can anyone fix that problem?
  • evolucjaevolucja New
    edited September 2011
    I successfully solved this issue. The problem is that it does work only with default theme. If you're using public_vforg theme you have to make sure that your footer part in default.master.tpl looks like:
    <div id="Foot">
    <div><span>By Vanilla</span></div>
    {asset name="Foot"}
    </div>

    There must be tag inside. After some experiments with footer part all plugin that I had problems with started working.

    Hope it'll help you too.
    bh8vn
  • Solution!!

    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.
  • I stumbled upon this in firebug while trying to upload a file:

    Fatal error: Call to undefined method Gdn_Upload::Parse() in /srv/www/nexus/ephemeral/plugins/FileUpload/class.fileupload.plugin.php on line 716

    What can be the reason?
  • edited October 2011
    Same thing here, the Parse() class method doesn't seem to exist (undefined method Gdn_Upload::Parse())

    Using Vanilla 2.0.17.10 and FileUpload 1.5.1 on a apache2 server.
    No theme, no APC
    Error Message from firedebug
    uncaught exception: Invalid JSON: Fatal error: Call to undefined method Gdn_Upload::Parse() in [forumroot]/plugins/FileUpload/class.fileupload.plugin.php on line 716
  • Hey folks, I'm having the same issue. Here's what Firebug reports:

    uncaught exception: Invalid JSON: <br> <b>Fatal error</b>: Call to undefined method Gdn_Upload::Parse() in <b>/home3/theschp4/public_html/keyboardlover/forum/plugins/FileUpload/class.fileupload.plugin.php</b> on line <b>716</b><br>
  • has anyone figured out this problem of not being able to upload files to the discussions? I really need to get this fixed as soon as possible. Please help!
    FileUp always shows Uploading.... and never finished


    how can i solve it?

    thx for any reply :)
  • Where you can find the older version of the FileUpload, anyone know?
  • You guys, all. Are you using the original non modified Vanilla theme?
  • I am using the original Vanilla theme that came with it. I downloaded version 1.4.4 and the uploads work now..

    Is there anyway to get the icon show the first page of PDF instead of just a plain white icon?
  • Solution!!

    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.
    I need 1.4.4 version, can u post it?
  • I am using the original Vanilla theme that came with it. I downloaded version 1.4.4 and the uploads work now..

    Is there anyway to get the icon show the first page of PDF instead of just a plain white icon?
    I need 1.4.4 version, can u post it?

  • I am using the original Vanilla theme that came with it. I downloaded version 1.4.4 and the uploads work now..

    Is there anyway to get the icon show the first page of PDF instead of just a plain white icon?

    I need 1.4.4 version, can u post it?

    You could get from below url

    http://www.sans-concept.com/temp/FileUpload-144.zip
  • Please somebody help, can FileUpload work without installing the PHP APC extension? I really want to know if this is where the problem lies
  • yes, no need to install PHP APC extension.
  • yes, no need to install PHP APC extension.
    thank you but what version is your vanilla core?
  • edited January 2012

    Yes you help. This is the solution that fixed the error for me. Thanks.

    evolucja said:
    I successfully solved this issue. The problem is that it does work only with default theme. If you're using public_vforg theme you have to make sure that your footer part in default.master.tpl looks like:

    >
    By Vanilla
    > {asset name="Foot"} >

    There must be tag inside. After some experiments with footer part all plugin that I had problems with started working.

    Hope it'll help you too.

2
Sign In or Register to comment.