2006-04-12, 09:14 PM
I can get access to my avatar database, but i can't upload my own avatar.
This is the error i'm getting:
Warning: move_uploaded_file(./uploads/avatars/avatar_1.jpg): failed to open stream: Permission denied in /home/www/kvv.awardspace.com/forum/inc/functions_upload.php on line 256
Warning: move_uploaded_file(): Unable to move '/tmp/phpDINGwP' to './uploads/avatars/avatar_1.jpg' in /home/www/kvv.awardspace.com/forum/inc/functions_upload.php on line 256
The second problem i'm facing is that i can see the directory 'uploads' on my server, but there is no directory 'avatars' inside it.
I have tried to upload it again but there is still no avatar directory visible.
I alsow tried to set chmod to almost everything setting. No luck.
currently these are my chmod settings:
uploads-777
index.html - 666
post_1_1144675798.attach - 666
post_1_1144675798_thumb.jpg - 666
The file mentioned in the error above is chmod 755.
but here i alsow tried different chmod settings.
The ftp client i'm using is ipswitch ws_ftp pro.
This is the error i'm getting:
Warning: move_uploaded_file(./uploads/avatars/avatar_1.jpg): failed to open stream: Permission denied in /home/www/kvv.awardspace.com/forum/inc/functions_upload.php on line 256
Warning: move_uploaded_file(): Unable to move '/tmp/phpDINGwP' to './uploads/avatars/avatar_1.jpg' in /home/www/kvv.awardspace.com/forum/inc/functions_upload.php on line 256
The second problem i'm facing is that i can see the directory 'uploads' on my server, but there is no directory 'avatars' inside it.
I have tried to upload it again but there is still no avatar directory visible.
I alsow tried to set chmod to almost everything setting. No luck.
currently these are my chmod settings:
uploads-777
index.html - 666
post_1_1144675798.attach - 666
post_1_1144675798_thumb.jpg - 666
The file mentioned in the error above is chmod 755.
but here i alsow tried different chmod settings.
The ftp client i'm using is ipswitch ws_ftp pro.