Howdy, Stranger!

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

Javscript Error !
  • I have implemented the uploadify in my project and it is working fine in my end. But some of my friends could not from the other side. They are getting a javascript error at the status bar (they are using IE) which when clicked is giving

    "spanUploadUploader" is undefined [Note : spanUpload is the span id being used]

    Any ideas will be appreciated.

    parameters being used :

    $('#spanUpload').fileUpload({
    'uploader': 'upload/uploader.swf',
    'script': 'upload/upload.php',
    'checkScript' : 'upload/check.php',
    'fileExt' : '*.doc;*.pdf;*.txt;*.htm',
    'fileDesc' : '*.doc;*.pdf;*.txt;*.htm',
    'folder': 'documents',
    'cancelImg': 'upload/cancel.png',
    'multi' : true,
    'auto' : true,
    'buttonImg' : 'img/uploadbutton.png',
    'hideButton' : true,
    'buttonText' : 'Upload',
    'displayData' : 'percentage'
    });

    Thanks you for your time.
  • Internet explorer is very sensitive. Where many of the other browsers will ignore various syntax errors. IE will force you to fix them for it to work. From problem solving and looking over many users which experience problems it is syntax elsewhere in their code that is the problem, completely unrelated to uploadify.

    Not an easy thing to debug, but the simplest and most time consuming is to rebuild the webpage adding in elements step by step, testing at every step.
  • The problem is that I cannot replicate this problem in my computer or any other computer which i have. This problem is specific to my friend's office computer. Think it should be some policy settings in their office browser environment. Do you have any idea regarding any browser setting which needs to be Switched ON in IE.

    They can see the Upload button (i interpret that they have flash) but when clicked, selected a file doesn't seem to upload and instead this javascript error is appearing.
  • What version of flash do they have installed. Uploadify checks for version 9 but it really needs at least 9.024
  • Good Question... Not sure really ... i thought any basic version should help. Will enquire and update you ... If lower than 9.0, I will ask them to install the latest one and try. Thanks for your reply and will keep you updated.
  • Hi Travis,

    Itz true that they were using older version of flash and it is working now after the latest has been installed :) !!!

    Thanks