The attachments upload directory is not writable. Your attachment or avatar cannot be saved.
how do I fix this I had to move my site to a new server and this is the only error I am getting How do i fix it.
thanks
Alexiss
Use ftp and CHMOD the folder to 755 or 777
For further info you can see this doc.
How do I chmod? / what is chmod? (http://docs.simplemachines.org/index.php?topic=477)
And in case you need this one
How do I use FTP? / What is FTP? (http://docs.simplemachines.org/index.php?topic=480)
Should point you in the right direction.
Set all commands to 777 that did not fix the problem any other idea what might be wrong
Quote from: Tyrsson on February 13, 2009, 07:35:05 PM
Use ftp and CHMOD the folder to 755 or 777
For further info you can see this doc.
How do I chmod? / what is chmod? (http://docs.simplemachines.org/index.php?topic=477)
And in case you need this one
How do I use FTP? / What is FTP? (http://docs.simplemachines.org/index.php?topic=480)
Should point you in the right direction.
Try creating a folder within the packages folder called temp and then CHMOD that to 777 and try the install again. Please post back and let us know if it helps.
Tyrsson, he's not trying to install a package, the temp directory is not needed At this stage ;)
Perhaps, the php installation on your server has suPHP compiled, thus, 777 is restricted in their server environment. Drop us a phpinfo().php sheet (What is phpinfo.php? (http://www.simplemachines.org/community/index.php?topic=18250.0))
You should also try 755 and 775 :)
-[n3rve]
I have the same problem.
[esprit ~/pestehotare]$ ls -ald attachments/
drwxrwxrwx 2 user group 4096 2009-02-16 14:04 attachments/
I use 2.0 RC 1. Could this be a bug?
Where is the error message displayed?
If you are using separate directories for attachments and avatars, you need to make both of them writable.
It was my mistake. I migrated the forum from a host to another and the paths were different. It's solved for me.
acjceo, are you still having the issue? Did you run repair_settings.php after moving your forum to the new server?
I am having the same problem too.
When I try to upload a simple avatar pic in Profile, it say's, "An Error Has Occurred! The attachments upload directory is not writable. Your attachment or avatar cannot be saved. "
Both my attachments and avatars folders are set to 777.
Any suggestions? I think this happened after upgrading to the newest version of smf.
You should check the forum / server error log and post your findings here.
Have you tried 775 and 755?
-[n3rve]
I'm looking at a list of errors in the Forum Error Log. I don't see anything that looks logical to post.
The errors may still lead us in the right direction as to what could be the problem.
775 and 755 don't change the error.
SFM is not in my root directory, I have it in a folder which is set to 755. Oddly, If I try to change the folder to 775 or 777, I get a wordpress 404 error (wordpress is in the root).
Might this have something to do with the error of the attachments file?
Make sure the path in the SMF settings to the attachments directory is correct. If you have moved hosts, it is most likely NOT.
That worked. I had moved it form another server a month or so ago and had not noticed the path was incorrect.
Thanks!
@ acjceo Is this issue solved or do you still require assistance?
@ Stuman Glad you got it sorted out.
Just wanted to make a note, I had the same error.
If you go to the admin panel and click on attachments and avatars then change directory to: /home/nameofhomedirector/public_html/community/attachments
Other things that could be effected are; smiles and themes
Thanks for the info. So many times we see, it's solved without the details that may help other users.