Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

problems adding avatars to profile

Aloittaja marcnyc, helmikuu 02, 2005, 10:25:55 IP

« edellinen - seuraava »

marcnyc

One of my users complains that she can't add an avatar from an URL.
I tried it myself and I got this error:

<b>Warning</b>:  unlink(attachments/avatar_317.png): No such file or directory in <b>/home/chaind00/domains/chaindlk.com/public_html/community/Sources/ManageAttachments.php</b> on line <b>311</b><br />
<br />
<b>Warning</b>:  imagepng(): Unable to open 'attachments/avatar_317.png.tmp' for writing in <b>/home/chaind00/domains/chaindlk.com/public_html/community/Sources/Subs-Graphics.php</b> on line <b>174</b><br />
<br />
<b>Warning</b>:  rename(attachments/avatar_317.png.tmp,attachments/avatar_317.png): No such file or directory in <b>/home/chaind00/domains/chaindlk.com/public_html/community/Sources/Subs-Graphics.php</b> on line <b>125</b><br />

The attachments directory (shouldn't it be the avatars folder anyway?) is chmodded to 777.
What else could be wrong?

marcnyc


[Unknown]

Your attachments path seems to be wrong, or not writable.

Use a full path, not just "attachments".

-[Unknown]

Advertisement: