Hi There, Just having some trouble with the latest dev version for drupal 6

Sometimes the swfuploader will work, sometimes it doesnt in firefox

When it stops working i get this error

Error: uncaught exception: Call to GetStats failed

in the error console in firefox. Not sure where to go from here, since I cant seem to find that js anywhere.

Thanks,
Cameron

Comments

skilip’s picture

Which version on the SWFUpload library have you downloaded? And which version of flash player does FF have?

cameronp’s picture

I downloaded SWFUpload v2.2.0 Beta 4
and I have version 9,0,124,0 of flash installed..

As I said it does work sometimes :/

Also do you know how to make drupal expand the file attachments fieldgroup by default? Ie from your readme about firefox crashing sometimes its doing that for me too occasionally.

Thanks,
Cameron

skilip’s picture

Hi Cameron,

As you wrote, the error occurs occasionally. It is caused when 'GetStats' is called while the .swf hasn't been fully loaded. I'm not completely sure, but Flash player 10 could have solved this.

Probably when expanding the fieldset by default, this problem won't occur anymore. At least not as much as it does now. You can expand it by default by changing the "#collapsed' attribute to FALSE, in swfupload.module (line 105).

    $form['swfattachments'] = array(
      '#type' => 'fieldset',
      '#title' => t('File attachments'),
      '#collapsible' => TRUE,
      '#collapsed' => FALSE, // <--
      '#attributes' => array('id' => 'file_attachments_wrapper'),
    );

I'll keep this issue open and will try to fix this in the near future. Thanks for reporting!

skilip’s picture

Status: Active » Postponed
skilip’s picture

Status: Postponed » Closed (fixed)