hello,
I have an issue with this module... When I change or upload a profile picture, it states that the file cannot be found. Please help!

Comments

jscheel’s picture

Status: Active » Postponed (maintainer needs more info)

Can you post the exact error message, along with the full path of the file it is trying to access? Also, what version of Drupal are you using?

philkid’s picture

"The selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename."
This was the error message that I am getting... I am using drupal 5.7.
Also, this was what i noticed with profile images... this occurred before installing unique avatar. When I change my profile image, the old profile or (previous) image will show up. However, if i click on the refresh button on the browser, it'll change.. This happens when I set the file system to "public". If i put it to private, it doesn't happen.

jscheel’s picture

Hrm, is this on a live site that I can look at?

philkid’s picture

I have not launched this on a public site yet... I do not know what the problem is.. It says the error message but if I refresh the page, the new profile picture shows up...

trevorleenc’s picture

I'm having this problem as well.

Using Drupal 5.10, maybe that might have something to do with it...

When I upload a new profile picture, I get the error: "The selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename.", and my "old" image still shows up, but upon refresh (just like w/out the module), the new image then shows up. "Sometimes", in BOTH cases, a -Reload is required, that might be a browser issue though.

I do not have it enabled on my live site (not good for users to see this error anytime they change pictures).

But, I do have a dev site, but which is actively being developed on...if you wanted to contact setup a time for me to enable the module and you poke around some we could do that.

-Trevor

jscheel’s picture

Sorry for taking so long to respond, this summer has been killing me. It sounds like it might be a tmp directory issue. When the error appears, does it give the path to the file that can't be uploaded? Also, what is you cache setting set to in Drupal?

trevorleenc’s picture

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

div.status - The changes have been saved.

that's all I get...

is this module possibly php version specific...because I just tried it on both my dev and live sites, and dev runs php5, and the live runs php4. This problem did not happen again on the php5 site, as it had in the past.

jscheel’s picture

Hrm, could be a php4 issue. I'll look into it.

jscheel’s picture

Status: Postponed (maintainer needs more info) » Active
trevorleenc’s picture

oh, and all drupal caching is currently off.

jscheel’s picture

What is your server setup?

trevorleenc’s picture

Drupal 5.10
File system Writable (public download method)
GD library bundled (2.0.28 compatible)
MySQL database 4.1.22
PHP 4.3.9
Unicode library PHP Mbstring Extension
Web server Apache
jQuery Update Installed correctly
The current installed version of jQuery is 1.2.6

roper.’s picture

I am actually having the same issue as well.

I get the same error & status messages as mentioned above. When I refresh the page the new image is there.

Another interesting thing is that the filename doesn't even appear to have the extra string. When I view the filename of the newly uploaded image, it is simply "files/pictures/picture-#.jpg" ("#" is uid).

Any help would be much appreciated. Thank you.

Drupal 5.7
PHP 5.2.8
All Drupal cache settings are currently disabled.

jscheel’s picture

Sorry guys, I've been out of pocket for most of this year. Are you still having this problem?