Something is off now... what browser are you testing on? Its not working for me now.

  • In FF 7.0.1 Error: Invalid file extension: undefined
  • In latest Chrome it loads the dragged image on a new page instead of adding to the widget.
  • The same happens in IE9 as Chrome

Comments

pyrollo’s picture

I had the same behaviour this week-end and I had to change something in javascript code of plupload.
This occured without any change on Drupal. Maybe after a update of my laptop (I'm running apache & firefox on the same machine).

Yesterday I tried again, installing last version of plupload and everything went ok.

Can you check with the last version of plupload?

Macronomicus’s picture

I upgraded plupload to 1.5.1.1 and still seem to get the error... is that the version your using?

pyrollo’s picture

Hello,

I just did a new installation from scratch.

The installation is on a Ubuntu laptop, and I use Firefox 7.0.1 to access Drupal on the same machine.

Drupal : 7.8
Plupload integration : 7.x.1.0-beta3
Plupload : 1.5.1.1
Upload nodes : last version

I don't have that problem.

The thing I did Friday to get rid of the problem is : I modified plupload.full.js and changed
u.push(new h.File(w,t.fileName,t.fileSize||t.size))}if(u.length){
by:
u.push(new h.File(w,t.fileName||t.name,t.fileSize||t.size))}if(u.length){

The thing that happened is that t.fileName was null but t.name contained wanted the filename. Other similar codes are present many times in the file and some have the "||t.name" I added there.

This allowed me to go over the problem but on Saturday, I restarted with a new installation and did not have any problem.

Hope that helps.

theullrich’s picture

I updated to the newest plupload library as suggested. Seems to be fixed for me.

alexx90’s picture

I'm using opera and i get that errore "Error: Invalid file extension: undefined", I upgraded plupload to 1.5.1.1 but the problem still the same

sw3b’s picture

Seems to correct the problem for me too ! Update pupload to 1.5.2.

pyrollo’s picture

Status: Active » Closed (fixed)

I close this issue.
It seems that an update to the last version of plupload library always solves the problem.

siriusal’s picture

Thanks for the info. I also decided my problem.