Menu

Uploading fails

Help
SMan
2010-05-05
2013-04-29
  • SMan

    SMan - 2010-05-05

    …with Uploading a file.
    Have searched SWFUploader Forum and the Codes from the Project but dont find a solution.
    How do i debug the Upload Progress?

    I've tried to set some error handlers, but dont get a Message.
    I've treid to put some var_dump() and die() statements in upload.php file just to see if i get there, nothing happens.
    Server Log files dont show anything.

    So what else can I do? Any Ideas?

     
  • Grzegorz Żydek

    Grzegorz Żydek - 2010-05-05

    Hi,

    I had same problem with SWFUploader debugging.

    You can try save you var_dump() to a file i.e. file_put_content("filename.txt", var_dump($var));

    I hope this help you.

    Cheers, Grzesiek

     
  • SMan

    SMan - 2010-05-05

    ok, i will try it;

    thank you, till later

     
  • SMan

    SMan - 2010-05-05

    puhhh spent today 3 hours debugging around;
    encountered this with this code
    upload_error_handler : function(fileObj, code, message) {
    alert(fileObj+' '+code+' '+message);
    }
    got
    -220 Error #2038

    At Forums from SWFUpload no solutions found.
    So should i kick SWFUpload? Is that the solution?
    Anyone a Idea.

    Program comes to
    this.startUpload = function() {
    in PGRUploader.js, but never to upload.php. Think the problem is at the SWF Uploader.

     
  • Grzegorz Żydek

    Grzegorz Żydek - 2010-05-05

    Hi,

    I've installed PGRFileManager on several different servers, and I had sometimes problems with permissions but never with SWFUpload. But everything is possible.

    What environment do you use with PGRFileManager?

    I've found some info:
    http://stackoverflow.com/questions/1789863/swfupload-on-https-not-working
    http://swfupload.org/forum/generaldiscussion/347

    I think there is a problem with your server configuration. Try on another server.

    You can also try some new beta version of SWFUpload

    Take care, Grzesiek

     
  • roger

    roger - 2010-06-05

    having the same issue here. upload.php is never reached (logging to file in upload.php only works if i visit upload.php directly).

    sucks as hell. works on my local setup, but not on my server. i've posted this to their helpdesk as well now, i'll keep you updated!

     
  • roger

    roger - 2010-06-08

    by the way, if you want, i can send you the address of my site and we can locate the issue together? Help eachother out :-)

     
  • roger

    roger - 2010-06-08

    issue solved!

    it's mod security. you can turn off mod security by putting some rules in your .htaccess file

    more info here:

    http://www.swfupload.org/forum/generaldiscussion/92?page=1

    discovered this when i switched to ajaxplorer file manager, which also uses a flash uploader and also had issues, except their uploader threw that 2038 error code. so i went looking.

    be aware that, by disabling that mod security stuff, you're opening a bit of a security hole though…

     
  • SMan

    SMan - 2010-10-06

    Hi all!
    After having a break i tried this (read taht in a forum).
    If used https // with firefox, doesnt work.
    Just changed it to http evrything was fine.
    If possible just switch it to http.

    WIll now look how to implement that.

    New Version 2.1 is great; It solves that path Problem e.g. in Symfony

     

Log in to post a comment.