This forum is a community forum meant for users of the plugin to collaborate and help solve issues with implementation, etc. Unfortunately, as the creator of the plugin, I do not have much time to attend to every request here as this is only a side project and I must work a full-time job to provide for my family. This is how I keep the Flash version free and the HTML5 version low cost.
UploadiFive 1.1.1 has been released which includes a small fix for added support on touch devices including iOS 6 devices.
Problem with fileUploadStart()
  • Hi all :)

    I've got a problem with a simple implementation of your script..

    In a WP page i wrote the code:


    <script type=\"text/javascript\" language=\"javascript\" src=\"<?php print get_stylesheet_directory_uri(); ?>/js/jquery.uploadify.js\"></script>

    <div class=\"demo\">
    <p><strong>Single File Upload</strong></p>
    <input type=\"file\" id=\"fileInput1\" name=\"fileInput1\" />
    <br />
    <a href=\"javascript:jQuery('#fileInput1').fileUploadStart();\">Upload Files</a>
    </div>

    <script type=\"text/javascript\">
    var curr_uri = \"<?php print get_stylesheet_directory_uri(); ?>\";
    jQuery(document).ready(function() {

    jQuery('#fileInput1').fileUpload({
    'uploader': curr_uri + '/uploader.swf',
    'script': curr_uri + '/upload.php',
    'checkScript': curr_uri + '/check.php',
    'folder': curr_uri + '/images/uploads',
    'buttonText': 'MYBROWSE',
    'onInit': function() {
    alert(\"Init!\");
    },
    'onSelect': function() {
    alert(\"Select!\");
    },
    'onCheck': function() {
    alert(\"Check!\");
    },
    'onError': function () {
    alert(\"Error!\");
    },
    'onComplete': function(event, queueID, fileObj, response, data) {
    alert(\"completed uploading file: \" + fileObj['name']);
    }
    });
    });
    </script>


    It's the same code of demo page with jquery 1.2.6, but probably there is something different:
    when I click the (I also try a with jQuery.click) nothing happen.. only after the page's loading I can see the alert "Init!", no other alert, no files in folder (777 permissions).

    Firebug doesn't see any error, no http request (live HTTP headers) come out from my browser

    Any ideas?
    Thanks! :)
  • Sorry missed your post. Replace your onError function with the one posted here http://uploadify.com/forum/viewtopic.php?f=5&t=12 It will give you more details about with the error is.
  • Thanks :)

    but the flow doesn't arrive at onError, I can't see the alert or anything else..

    ps I use FF3.0.7 on windusXP
  • Ronnie hasn't used get_stylesheet_directory_uri(); on his demo page. Could this possibly be passing the wrong path? Try entering it in manually. Are you seeing the swf button?