Hello,

I am using plupload integration widget with file field module.
All was fine, until I got this error message and ajax refresh of image broke:

The specified file temporary://p1apn1iftm1dr0190319nau9q1nau4.tmp could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
The specified file . could not be uploaded. Only files with the following extensions are allowed: png gif jpg jpeg.

In the syslog, I can read this message:
Aug 9 08:44:40 dflurbiprofene EQUIDRUP: http://dflurbiprofene|1470725080|file|192.168.0.11|http://dflurbiprofene/?q=node/685/edit|http://dflurbiprofene/?q=node/685/edit|1||File temporary://p1apn1ck4lmhs1o3nh9r7toj1i4.tmp (/home/oturpin/equidrup/tmp/p1apn1ck4lmhs1o3nh9r7toj1i4.tmp) could not be copied because it does not exist.
Aug 9 08:44:41 dflurbiprofene EQUIDRUP: http://dflurbiprofene|1470725081|content|192.168.0.11|http://dflurbiprofene/?q=node/685/edit|http://dflurbiprofene/?q=node/685/edit|1|view|imagegallery: updated Encore une belle journée !.

I am using :
Drupal 7.5 but 7.49 version is the same

File Entity (file_entity) Version: 7.x-2.0-beta3
File (Field) Paths (filefield_paths) Version: 7.x-1.0
Path (path) Version: 7.50
Pathauto (pathauto) Version: 7.x-1.3
FileField Sources Plupload (filefield_sources_plupload) 7.x-1.1+0-dev
Plupload integration module (plupload) 7.x-1.7+5-dev

Although I get this error, The image seems loaded and saved correctly.
Any idea where to dig for a start ?

Thx

Comments

oturpin created an issue. See original summary.

oturpin’s picture

Hi,

Here are more message:
I get this sentence in the message area:

"For security reasons, your upload has been renamed to .."

If I search for that sentence in the code , I can find that this is printed by file field sources module:

The %filename is empty.
DPM the filepath variable leads to : empty variable. So filefield_sources_save_file function is called with erroneous empty file...

digging further...

orbistertius’s picture

+1, I do have a lot of trouble with this error as well, if there is someone with a clue what's going on would be nice.

becho4’s picture

+1 Same issue here

DamienMcKenna’s picture

Version: 7.x-2.0-beta3 » 7.x-2.x-dev
Issue tags: -plupload error messages file field +plupload

Has anyone tried the latest release of File Entity?