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

When a user registers, the registration goes through without any problems but they get the error message posted above after they submit their registration. In this case the user opted to not upload a user picture and go with the default image.

The only file field available on registration is the user picture which in my case is managed / handled by imagecache profile.

The default image is displaying as her user picture.

Comments

GeekyLass’s picture

I'm still experiencing this problem.

andypost’s picture

Try to setup right permissions on your files folder

mikebell_’s picture

I'm getting this on a dev site at the moment.

The imagecache folder is set to chmod 775

Full error is - "The selected file /var/www/html/drupal-6.15/0 could not be copied, because no file by that name exists. Please check that you supplied the correct filename."

This is in a multisite environment as well.

andypost’s picture

It seems that temp folder setup is wrong

budda’s picture

Temp folder setup on /admin/settings/file-system is set to the default of /tmp
THis is fine for file uploads, imagecache and all over file fiddling operations being done in Drupal.

Any other ideas?

budda’s picture

The error, for me, only seems to occur if I don't specify a picture when creating the user in the admin.

If i specify an image no error is generated.

Which leads me to believe its something to do with the default avatar/picture setting? i've been debugging the code but can't find the cause.

budda’s picture

I found the problem was actually caused by a completely different module! http://drupal.org/project/reg_with_pic
An update last month fixed the bug too.

andypost’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Is this still an issue?

mikebell_’s picture

The issues me and budda had are fixed now.

andypost’s picture

Status: Postponed (maintainer needs more info) » Fixed

So lets mark it fixed, because it caused not the ICP

Status: Fixed » Closed (fixed)

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