When I submit a new audio node, the node is created, the audio is put into mysite.com/files/audio and the node shows up with a working player.

However, above the 'Your Audio has been created' is an error message:

The selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename.

I've searched over for this, but couldn't find a resolution, so appologies if it's a known issue.

Cheers, Rob

Comments

diannone’s picture

I have the same issue. Permissions seem fine on each folder

When I first click 'preview' after submitting, it seems to work fine.

Then when I click 'submit' to finalize, it gives me this error

* The selected file /var/www/vhosts/domainname.com/httpdocs/files/temp/audio/am200607.mp3 could not be copied.
* The selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename.

secrets123’s picture

my vote for the bug too

peterdeitz’s picture

I'm having the same problem, but with the image content type. I get this message in both image_assist and the regular image node (after I click update).

drewish’s picture

it sounds like you've got some file system issues.

digitalflick’s picture

Same problem here:

The selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename.

yyemail’s picture

same problem

drewish’s picture

yyemail, the fact that you posted the same comment in both the image and audio modules makes it pretty clear that you've got an upload issue. you need to make sure that your file system paths are correct.

drewish’s picture

Status: Active » Postponed (maintainer needs more info)

if you're using PHP 4 take a look at: http://drupal.org/node/141994

drewish’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

i think this is a duplicate of: http://drupal.org/node/125806

Architeck’s picture

I was getting the same error when uploading files.

To resolve I had to move my tmp upload directory into the files directory.

Browse to admin/settings/file-system

FILE SYSTEM PATH: could be something like

sites/default/files

Now make the TEMPORARY DIRECTORY:

sites/default/files/tmp

And you errors should be resolved.

*side-note I am using the "private" download method.

Arunkumar’s picture

Project: Audio » Upload Image
Version: 5.x-1.0 » 6.x-1.x-dev

The solution is, you have to use the "Apache Web server & php 5.2" instead of "IIS server" for file attachment process.
Please check the "status report" in your site.