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.
Error: HTTP Info: 404
  • Hello,
    I added this onerror:

    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+" Info: "+d.info);
    else if (d.type === "File Size")
    alert(c.name + ' ' + d.type + ' Limit: ' + Math.round(d.sizeLimit / 1024) + 'KB');
    else
    alert('error ' + d.type + ": " + d.info);
    }

    and it's giving me Error: HTTP Info: 404
    what does that mean? can you please explain what todo

    Thanks in advance for your help :)

    Regards,
  • It can't find you upload script. Your paths are wrong
  • Thanks,
    but I tried three methods and non of them worked, always the same result

    - http://full/path/to/uploadfiy.php
    - /home/full/path/to/uploadify.php
    - uploadify.php while all my files in this root folder

    what is the best method to call the script, and who exactly is not able to find it? is it swfobject?

    Thanks for your help TravisN your script rocks! I implemented it into my upcoming open source web framework (www.aikiframework.org) , it works on some servers and not on the others
  • If your using modrewrite it could be causing issues, change your onError code to
    onError: function(a, b, c, d) {
    if (d.info == 404)
    alert('Could not find upload script. Use a path relative to: ' + '<?= getcwd() ?>');
    else
    alert('error ' + d.type + \": \" + d.info);
    }


    As you are getting a 404 the above code will tell you the starting directory, then all you need to do is enter the path to the script from that folder.

    uploadify is not able to find it.
  • Thanks for the response.

    I have the upload script in the correct path, I'm sure about it because it's actually working on another server..
    but after turning RewriteEngine off I got a new error HTTP 406, so probably it's modrewrite.
    I have uploadify on

    here is my .htaccess

    Options +FollowSymLinks
    RewriteEngine on
    RewriteBase /
    RewriteRule ^results/(.*) news/$1 [R=301,L]
    RewriteRule ^photoarchive/(.*) photos/0 [R=301,L]
    RewriteRule ^enphoto/(.*) photos/0 [R=301,L]
    RewriteRule ^photo_owned/(.*) photos/0 [R=301,L]
    RewriteRule ^photo/(.*) photos/0 [R=301,L]
    RewriteRule ^viewphoto/(.*) photos/0 [R=301,L]
    RewriteRule ^photoexpo/(.*) photos/0 [R=301,L]
    RewriteRule ^photographercv/(.*) photographer/$1 [R=301,L]
    RewriteRule ^image/(.*)px/(.*) image_viewer.php?id=$2&size=$1
    RewriteRule ^image/(.*) image_viewer.php?id=$1
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteRule ^(.*)$ index.php?pretty=$1 [L,QSA]


    again thank you very very very much for your advices
  • any chance to get a review for my .htaccess file?
    Thank you :)

Howdy, Stranger!

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