File cannot be found

philkid - July 17, 2008 - 20:05
Project:Unique Avatar
Version:5.x-1.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

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!

#1

jscheel - July 17, 2008 - 20:33
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?

#2

philkid - July 17, 2008 - 23:29

"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.

#3

jscheel - July 18, 2008 - 14:51

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

#4

philkid - July 18, 2008 - 16:43

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...

#5

trevorleenc - September 19, 2008 - 14:08

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

#6

jscheel - September 29, 2008 - 14:16

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?

#7

trevorleenc - September 29, 2008 - 18:04

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.

#8

jscheel - September 29, 2008 - 19:20

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

#9

jscheel - September 29, 2008 - 19:21
Status:postponed (maintainer needs more info)» active

#10

trevorleenc - September 29, 2008 - 19:26

oh, and all drupal caching is currently off.

#11

jscheel - September 29, 2008 - 21:42

What is your server setup?

#12

trevorleenc - September 29, 2008 - 21:55

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

#13

gstash - January 20, 2009 - 10:59

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.

#14

jscheel - June 17, 2009 - 13:44

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

 
 

Drupal is a registered trademark of Dries Buytaert.