I moved my site from localhost (WAMP) up to a server and SWFUpload isnt working anymore. I have flash debug player installed and after each file gets uploaded the I am getting an I/O Error and the progress bar of the upload turns red and says "Server Error".

Any ideas?

Comments

rondog489’s picture

Looking in the code, I am in swfupload_widget.js which is where the 'Server Error!' comes from:

  ref.uploadError = function(file, code, message) {
    // Check for messages which can be handled as 'status' messages
    switch (code) {
      case -240:
        ref.displayMessage(Drupal.t('The upload limit (!num) has been reached!', {'!num': ref.settings.file_upload_limit}), 'status');
        return;
      case -200:
        message = Drupal.t('Server error!', {'!num': ref.settings.file_upload_limit});
    };

What is -200 referring to?

Also I'd like to note that the progress bar runs like it is upload then gets to about 95%, freezes and then I get the error.

rondog489’s picture

I am seeing the file upload in my /var/tmp directory and then I get the error and it disappears if that helps.

rondog489’s picture

Status: Active » Fixed

I checked my access logs and was getting a 503 on the swfupload so I googled that and apparently, having your site in offline mode, which mine was, causes it to not work. I switched it back online and it works fine...awesome

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.