WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Problem adding avatars
Error message when adding avatars

Version: WSN Forum 1.00 Beta 3
printPrint


Problem adding avatars
Garfield
Beginner
Avatar

Usergroup: Member
Joined: Jan 01, 2005
Total Topics: 1
Total Posts: 2
Posted 01/01/05 - 05:01 AM:
quote post
#1
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
Avatar

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC
Total Topics: 32
Total Posts: 160
Posted 01/01/05 - 05:33 AM:
quote post
#2
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.


Rik Rasmussen
Two Way Radio Directory
Garfield
Beginner
Avatar

Usergroup: Member
Joined: Jan 01, 2005
Total Topics: 1
Total Posts: 2
Posted 01/01/05 - 11:37 PM:
quote post
#3
Thank you Rik, but filename is avtgarfield.jpg.
Uploading the same avatar to this forum was no problem.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6022
Posted 01/02/05 - 01:51 AM:
quote post
#4
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.

Edited by Paul on 01/02/05 - 01:56 AM

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.