Add Local Avatar
directory does not exist (6 posts)

  1. ikidunot
    Posted 5 years ago #

    i am using wordpress 3.0 with the latest plugin. the directory is left to /avatars but whenever i try and upload, i get an errors saying directory does not exist.


  2. kleinermann
    Posted 5 years ago #

    I have the same issue. Is there any solution for this problem?

  3. Kwelch
    Posted 5 years ago #

    same issue here.

  4. 8bitpig
    Posted 5 years ago #

    I had the same issue and have come up with a workaround.

    I first changed the path under Avatar Settings to be "/public_html/avatars" and this allowed me to upload the file. Having looked at the code I think it was allowed because the directory "/home/username/public_html/avatars" did exist.

    The avatar failed to display anything (not even the default avatar), presumably because it assumed the path to my avatar was http://mysite.com/public_html/avatars/myavatar.png

    The problem for me was that the function avatar_root() in avatars.php was returning /home/username but my site was found under /home/username/public_html. I'm not sure if this is a limitation/bug of the function itself or something to do with the strange setup of my web host.

    I changed the line:
    $root = avatar_root();
    $root = avatar_root() . "/public_html";

    I also changed back the path under Avatar Settings to "/avatars".

    PS This is a hacky workaround and is not recommended.

  5. Abner999
    Posted 5 years ago #

    Same issue here.

  6. selfmade64856
    Posted 5 years ago #

    same here. WP 3.0.4

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Add Local Avatar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic