Welcome to Pixeline 's users forum. Feel free to post your questions related to my jQuery and Wordpress plugins!
uploadScript issues
  • wmenawmena November 2010
    Hi,

    When I have flash_upload.php as the action script, the upload works fine. But if I put flash_upload.php under the uploadScript attribute, it does not upload the file.

    Any clues?
  • pixelinepixeline November 2010
    Can you post a link to your example?
  • wmenawmena November 2010
    I'll email you the link
  • wmenawmena November 2010
    Any luck? I need to get the uploadScript attribute to work so that I can have my script run in the action= of the form. Thanks!
  • wmenawmena November 2010
    Any news?
  • NathaNatha December 2010
    hi, thanks for the script, but i'm getting an error. the flash said it's successfuly uploaded, but when i checked the file, it's not there. i was trying to disable the javascript just to make sure the flash_upload.php worked. it was weird because the php script worked just fine, i can upload with the old file input. did i miss anything?
  • wmenawmena December 2010
    For me, the upload works "IF" and only if I put the upload script in the form's ACTION=. Make sure that the upload directory you are using is 777
  • pixelinepixeline December 2010
    Sorry for the late reply: apparently i haven't quite finished setting this forum right: i don't receive warning when someone posts a new question.

    I've just updated jqUploader to work for jquery1.4+ and fixed a few things.
    Make sure you empty your cache and replace the old swf with the new one.
    Let me know if it solves your issue.
  • wmenawmena December 2010
    Super... I'll give it a try.

    BTW... I also do not get any warnings about updates to this thread.
  • wmenawmena December 2010
    Still does not work for me. Will not upload when putting the upload script in the uploadScript: parameter.
  • bajickbajick December 2010
    Hello! I tried to pass a hidden field value to make a dynamic upload directory of the flash upload. It seems that the hidden field will only be sent through submit button. How to pass that hidden value through the flash button?
  • 3dp3dp December 2010
    I'm having problem getting it to work. If I use the jquery.flash.js file, the form is blank (however, I do see it for a fraction of a second in IE).

    If I use swfobject.js, the "browse" button appears, but nothing else.

    I'm loading jquery-1.4.4.min.js.
  • invisiblinvisibl December 2010
    Hi! I'm trying to edit the jqUploader.fla file but I keep getting a 'Fail to open document' message. I'm using Flash CS4.
    Anyone else had problems with this? Which Flash version did you use?

    Thanks,
  • pixelinepixeline December 2010
    FLash CS5
  • esperadoesperado January 2011
    Very nice work,and thanks a lot for sharing-it.
    First remark, nowadays, lot of peole are using mootools or other JS library together with Jquery: Please, it is so simple to protect "noconflit" the Jquery code by default.
    A problem with the texts: the multi lines does not work: if the name of the file is too long, it is impossible te read the messages (errors or OK).
    It would be nice, too, to catch server's response to show a success or error message (i had some trouble with those errors messages)
    Some additional suggestions:
    And there is a lot of details not explained in your jquploader. How did your flash send the request: post or get ? (i know-it now ;-)
    It would be great to can add some other inputs fields in the form.
    To can stylise the texts colors without editing the flash itself. (it works on a bdark background on my site, and i was obliged to edit the FLA.

    Anyway, it is working ok, now, after a lot of work on.

  • esperadoesperado January 2011
    Thanks.
  • erazorb52erazorb52 January 2011
    Very easy to implement, thx.

    this one even works in window.showModalDialog in IE8 ( Uploadify fails there..)

    I agree with esperado, it would be nice to retrieve the complete response of the server afterwards.
    Now it is almost impossible to display the response on advanced server checks. This is a missing link in the userexperience.
    E.g. we want to check on maximum length of the filename, further restrict filesize on certain file extensions, etc. and give the user full response on that.

    It would be nice to adjust the text on Browse and Upload.



    I had to tweak the code in TerminateJQUploader :
    the existing code erased the complete tag


    TerminateJQUploader = function (containerId, filename, varname) {
    if (opts.debug) {
    alert("finished, containerId=" + containerId + " filename = " + filename + " varname = " + varname);
    }

    uploader = document.getElementById( containerId);
    uploader.innerHTML= '
    Upload van ' + filename + ' gereed!
    ';
  • dario_dcmdario_dcm January 2011
    Hi first i like to say thank you for this script, i've been looking something like this for a long time.
    The script worked ok for some time, but now i'm getting a lot of "IO error with [filename]". Did this happen to anyone? What could be the reason? Thanks in advance
  • rnayalarnayala February 2011
    Great script
  • roosterrooster March 2011
    has anyone used a non-php server side script (python) and got this to work? i set my input form name to "file" but on my server, i am not getting passed a FILE['file'] ...not sure what the name being passed is.

    also, anyone done two files in one POST/upload?
  • jnvsjnjnvsjn April 2011
    I'm having some troubles opening the .fla file in Flash CS3. It tells me: unexpected file format. I'd like to change the language of the txt in the swf.
    Could you send it to me / upload it (if possible) with Flash CS3 support)?
  • darkeringdarkering June 2011
    Hello,
    I speak spanish, if my email have an error on the text, I am sorry :(.

    I have a question, how do you copy the upload file in a folder when click on the input type submit.

    Thanks.
  • tomekkietomekkie July 2011
    I have problems with zip file. Getting errors and can't open it.
  • johndohhjohndohh September 2011
    Hi there
    Firstly thank you so much for this script, i have been looking for days for this type of script that also redirects...

    Now im a total javascript noob meaning i have no idea at all!! lol
    Im good with php but java has never been my strong point..

    Anyways i would like to add a hidden field to the upload form
    which is simple enough but i need what ever is in the hidden field to be posted also via the flash_upload.php - im sure this requires java as i have tried adding the hidden field and the post details in flash_upload.php but the content is the hidden field is not being passed.

    Please can you help me out with this...do i need to add some java for this, if so can you give me the code and tell me where to put it :)

    the hidden field looks like this


    <input name="dn" type="hidden" value="<?php echo $somthing; ?>">

    then i have $this = $_POST['dn'];

    Many thanks

    :)

Howdy, Stranger!

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

Sign In with OpenID

Sign In Apply for Membership