WSN Links 3.13 This is the error message when adding avatars in "edit profile": ---------------------------------------------------------------------------
Warning: move_uploaded_file(/www/bin/attachments/7d2c8bc2f5e31fc0baa192641e8a75cd.jp g): failed to open stream: No such file or directory in /a/users/www.mydomain.com/wsnlinks/commonfuncs.php on line 1087
Warning: move_uploaded_file(): Unable to move '/var/tmp/phpWKUAGa' to '/www/bin/attachments/7d2c8bc2f5e31fc0baa192641e8a75cd.jpg' in /a/users/www.mydomain.com/wsnlinks/commonfuncs.php on line 1087
That error message states that it doesn't have permission to write to the directory. If the permissions are right,your file path is wrong, because you don't have permission to move files to the directory you're trying to. The fact that you're in /a/users... and trying to upload to /www/bin/... is a hint as well that your path is wrong.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Problem adding avatars
Beginner
Usergroup: Member
Joined: Jan 01, 2005
Total Topics: 1
Total Comments: 2
WSN Links 3.13
This is the error message when adding avatars in "edit profile":
---------------------------------------------------------------------------
Warning: move_uploaded_file(/www/bin/attachments/7d2c8bc2f5e31fc0baa192641e8a75cd.jp g): failed to open stream: No such file or directory in /a/users/www.mydomain.com/wsnlinks/commonfuncs.php on line 1087
Warning: move_uploaded_file(): Unable to move '/var/tmp/phpWKUAGa' to '/www/bin/attachments/7d2c8bc2f5e31fc0baa192641e8a75cd.jpg' in /a/users/www.mydomain.com/wsnlinks/commonfuncs.php on line 1087
---------------------------------------------------------------------------
Already checked:
File extention = .jpg
File size = 5000 bytes, 99x99 pixels
Directory wsnlinks = chmod 777
Directory attachments = chmod 777
Uploading the avatar is not working.
????
Forum Regular
Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC
Total Topics: 23
Total Comments: 161
I had a problem uploading an avatar to this forum. The name of the avatar had some letters as caps, and the extension was in caps.
When I cahnged the file to all small letters, it worked ok.
Beginner
Usergroup: Member
Joined: Jan 01, 2005
Total Topics: 1
Total Comments: 2
Thank you Rik, but filename is avtgarfield.jpg.
Uploading the same avatar to this forum was no problem.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
That error message states that it doesn't have permission to write to the directory. If the permissions are right,your file path is wrong, because you don't have permission to move files to the directory you're trying to. The fact that you're in /a/users... and trying to upload to /www/bin/... is a hint as well that your path is wrong.