Webmastersite.net
Register Log In

Problem adding avatars
Error message when adding avatars

Comments on Problem adding avatars

Garfield
Beginner

Usergroup: Member
Joined: Jan 01, 2005

Total Topics: 1
Total Comments: 2
Posted Jan 01, 2005 - 5:01 AM:

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.

????


Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
Posted Jan 01, 2005 - 5:33 AM:

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.

Garfield
Beginner

Usergroup: Member
Joined: Jan 01, 2005

Total Topics: 1
Total Comments: 2
Posted Jan 01, 2005 - 11:37 PM:

Thank you Rik, but filename is avtgarfield.jpg.
Uploading the same avatar to this forum was no problem.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Jan 02, 2005 - 1:51 AM:

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.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.