Unable to save image avatar after upgrade from 4.1.6 to 4.1.9

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sergio68
    Senior Member
    • May 2002
    • 817
    • 6.0.X

    [Forum] Unable to save image avatar after upgrade from 4.1.6 to 4.1.9

    After upgrade from 4.1.6 to 4.1.9 I'm not able anymore to upload custom avatar.
    Error message is "Unable to save image".
    Any suggestion please?


    file_uploads: Active
    open_basedir: None
    safe_mode: Not Active
    upload_tmp_dir: None
    upload_max_filesize: 2.00 MB
    Italian Body Building & Fitness : www.BodyWeb.com
    Italian unofficial support Forum : www.vBulletin.it
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73981

    #2
    Look in the directory that you're saving your avatars in. Is there a "thumbs" directory? Is it chmod 0777? Are the permissions recursive?
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • Sergio68
      Senior Member
      • May 2002
      • 817
      • 6.0.X

      #3
      Both avatar and thumbs are 0777 and recursive, that is strange :|
      Before the upgrade it was working, after no. The only thing that come to my mind is a wrong permission on a dir, but I have no idea where.
      Italian Body Building & Fitness : www.BodyWeb.com
      Italian unofficial support Forum : www.vBulletin.it

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 73981

        #4
        You can set an upload_tmp_dir in your php.ini and make sure it is writable as well. It is needed at times to temporarily store larger images.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • Sergio68
          Senior Member
          • May 2002
          • 817
          • 6.0.X

          #5
          Originally posted by Wayne Luke
          You can set an upload_tmp_dir in your php.ini and make sure it is writable as well. It is needed at times to temporarily store larger images.
          That is really strange, still not possible to upload Avatars. I can upload images, but not avatars.


          file_uploads: Active
          open_basedir: None
          safe_mode: Not Active
          upload_tmp_dir: /tmp/php
          upload_max_filesize: 2.00 MB
          Italian Body Building & Fitness : www.BodyWeb.com
          Italian unofficial support Forum : www.vBulletin.it

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 73981

            #6
            Avatars are stored in the directory listed for Custom Avatars under Avatars -> User Picture Storage Type in your Admin CP. They are in a different directory than Attachments which images are considered. Same 0777 permissions are needed and the thumbs directory has to be there.

            Usually the default directory is used which is ./customavatars in your forum installation root.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment

            • Sergio68
              Senior Member
              • May 2002
              • 817
              • 6.0.X

              #7
              ./customavatars , problem solved, thank you

              I even gave 776 permission to apache user, instead of 777, just to be more safe and it's working
              Italian Body Building & Fitness : www.BodyWeb.com
              Italian unofficial support Forum : www.vBulletin.it

              Comment

              Related Topics

              Collapse

              Working...