The attachments upload directory is not writable. Your attachment or avatar cann

Started by acjceo, February 13, 2009, 07:27:35 PM

Previous topic - Next topic

acjceo

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

Tyrsson

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?

And in case you need this one

How do I use FTP? / What is FTP?

Should point you in the right direction.
PM at your own risk, some I answer, if they are interesting, some I ignore.

acjceo

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?

And in case you need this one

How do I use FTP? / What is FTP?

Should point you in the right direction.

Tyrsson

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.
PM at your own risk, some I answer, if they are interesting, some I ignore.

N3RVE

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?)
You should also try 755 and 775 :)

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

RaisedFist

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?

Sarge

Where is the error message displayed?

If you are using separate directories for attachments and avatars, you need to make both of them writable.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

RaisedFist

It was my mistake. I migrated the forum from a host to another and the paths were different. It's solved for me.

Sarge

acjceo, are you still having the issue? Did you run repair_settings.php after moving your forum to the new server?

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

Stuman

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.


N3RVE

You should check the forum / server error log and post your findings here.
Have you tried 775 and 755?

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

Stuman

I'm looking at a list of errors in the Forum Error Log.  I don't see anything that looks logical to post. 

Tyrsson

The errors may still lead us in the right direction as to what could be the problem.
PM at your own risk, some I answer, if they are interesting, some I ignore.

Stuman

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? 




SlammedDime

Make sure the path in the SMF settings to the attachments directory is correct.  If you have moved hosts, it is most likely NOT.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Stuman

That worked.  I had moved it form another server a month or so ago and had not noticed the path was incorrect.

Thanks!

Tyrsson

@ acjceo Is this issue solved or do you still require assistance?

@ Stuman Glad you got it sorted out.
PM at your own risk, some I answer, if they are interesting, some I ignore.

Nateisonfire

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

JimM

Thanks for the info.  So many times we see, it's solved without the details that may help other users.
Jim "JimM" Moore
Former Support Specialist

Advertisement: