Welcome to the new Uploadify Community Forums. We've made the switch from PHPBB to Vanilla Forums in hopes of controlling the SPAM more efficiently. We hope this change doesn't suck so much. Also, don't forget to wrap your code in tags. You can quickly insert code using ctrl + f.
I lost some messages that were posted on February 4th. If you posted a message or reply on February 4th, please do so again. Sorry about the inconvenience.
HTTP Error undefined
  • Hi there!

    I've searched the forum and cannot find a resolution to forum/viewtopic.php?f=7&t=1572. I have everything installed, tried all of the error reporting listed throughout (yields "error HTTP: undefined"). Checked logs, they tell me there is no error?

    Here's where I am:

    <script type=\"text/javascript\" src=\"/js/jquery.1.3.2.min.js\"></script>
    <script type=\"text/javascript\" src=\"/js/jquery.thickbox.js\"></script>
    <script type=\"text/javascript\" src=\"/js/jquery.filetree.js\"></script>
    <script type=\"text/javascript\" src=\"/js/swfobject.js\"></script>
    <script type=\"text/javascript\" src=\"/js/jquery.uploadify.v2.0.3.js\"></script>

    <script type=\"text/javascript\">

    // other calls here

    $(\"#uploadify\").uploadify({
    'uploader' : '/js/uploadify.swf',
    'script' : '/js/uploadify.php',
    'cancelImg' : '/images/cancel.png',
    'folder' : '/travel/filetree',
    'queueID' : 'fileQueue',
    'wmode' : 'transparent',
    'auto' : true,
    'multi' : true,

    onError : function (a, b, c, d) {
    if (d.status == 404)
    alert('Could not find upload script. Use a path relative to: '+'<?= getcwd() ?>');
    else if (d.type === \"HTTP\")
    alert('error '+d.type+\": \"+d.status);
    else if (d.type ===\"File Size\")
    alert(c.name+' '+d.type+' Limit: '+Math.round(d.sizeLimit/1024)+'KB');
    else
    alert('error '+d.type+\": \"+d.text);
    },

    });
    </script>


    Everything looks like its working (progress up to 100%) when I get the error? Any point in the right direction would be appreciated.

    Thanks!
  • the onError code grab you have used was written for uploadify 1.6.2 The errorObj has changed and simplified with version 2. just use

    alert(\"Error: \"+d.type+\"      Info: \"+d.info\");
  • Thanks Travis!

    The updated onError code gave me the HTTP and IO errors (401/2038). Quickly found the answers here:

    http://uploadify.com/forum/viewtopic.php?f=7&t=326&p=1469&hilit=401#p895

    Rooted in .htaccess authentication.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!