SMF Support > Server Performance and Configuration

Twenty-four things you can do to make SMF go faster (Updated June 16th, 2010)

<< < (5/72) > >>

Mark Rose:

--- Quote from: sheryltoo on February 17, 2009, 09:01:22 AM ---
--- Quote ---To move existing avatars to the new directory, access index.php?action=manageattachments;sa=moveAvatars


--- End quote ---

This is what I don't understand.
Sheryl

--- End quote ---

Click this: http://daysofourlives.sherylspage.com/index.php?action=manageattachments;sa=moveAvatars

sheryltoo:
I get this error when going there:

The attachments upload directory is not writable. Your attachment or avatar cannot be saved.

My attachment directory is set to 777 so I'm  not sure why I'd get that error.
Maybe it has something to do with the fact that my site seems to be one big mess at the moment.
Sheryl

Mark Rose:
The new directory that you created for the avatars has to be writable (777), too.

sheryltoo:
I think I give up. Either I'm not understanding what needs to be done or the problems I'm having with my site are effecting how this works.

Here's what I did.
I created a folder in my root directory for smf for the attachments, then changed the path to attachments to read:
/home/site/public_html/root/attach and set the permissions to all 7's.
Under Avatar settings I changed it to say "Upload avatars to specific directory" and put this new path on both the lines.
Then I went to the area that you linked me to but don't see anything that says I can move avatars, however, I did copy all the avatars that were in the folder on my domain into the new folder but that didn't help.
I clicked a maintenance button and it said it found 24 images that were no longer there so I clicked fix or something and it deleted them all.
Before I did this, I had 36 avatars in the orginial attachment folder on my domain.

And I signed into my site with a non management account and tried to upload an avatar. It seemed to upload ok. No errors, however all I see is a red x so something isn't right.
Either I goofed up or my site isn't working right.
Sheryl

Mark Rose:
When you moved the avatar files, it doesn't automatically update the database. That's what that link does :)

What did you set for the avatars URL? Something like http://daysofourlives.sherylspage.com/attach ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version