Avatar Upload Problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scubastix
    New Member
    • Sep 2007
    • 9
    • 3.6.x

    Avatar Upload Problems

    When users upload avatars they receive a "Invalid File" error. The file that I tested is within specs. I've read many other posts on this subject and I have not had any success resolving it.

    I'm running vb 3.6.8 on an IIS server.

    Upload diagnostics returns the following:
    file_uploads: On
    open_basedir: None
    safe_mode: Off
    upload_tmp_dir: \tmp
    upload_max_filesize: 2.00 MB
    No errors occurred while opening the uploaded file for reading.

    I've double checked the permissions in the "tmp" and "customavatars" directories.

    Avatar File Path = "./customavatars"

    What did I miss?

    Thanks for your help.
    Last edited by scubastix; Thu 13 Sep '07, 5:47pm. Reason: provided additional information
    Rob

    http://www.greenfeet.com

    http://www.morehipthanhippie.com
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    I beelieeve this is wrong:

    upload_tmp_dir: \tmp

    Since this is a Windows server it probably should be something like:

    upload_tmp_dir: C:\tmp

    That needs to be a valid directory that is world-readable and writable.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • scubastix
      New Member
      • Sep 2007
      • 9
      • 3.6.x

      #3
      We tried it like it is and with the full path: "C:/websites/forum/tmp". Both with the same results. It is fully read/write able from IIS.

      Any other ideas?
      Rob

      http://www.greenfeet.com

      http://www.morehipthanhippie.com

      Comment

      • Steve Machol
        Former Customer Support Manager
        • Jul 2000
        • 154488

        #4
        What happens when you try the Upload diagnostics?

        Admin CP -> Maintenance -> Diagnostics -> Upload

        Enable phpinfo in the Admin CP, then provide the URL to your forums. This may help us troubleshoot this problem.

        Admin CP -> vBulletin Options -> Server Settings and Optimization Options -> Public phpinfo() Display Enabled
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment

        • scubastix
          New Member
          • Sep 2007
          • 9
          • 3.6.x

          #5
          I enabled phpinfo.



          The upload results are in my original post.

          Thanks for helping out.
          Rob

          http://www.greenfeet.com

          http://www.morehipthanhippie.com

          Comment

          • Steve Machol
            Former Customer Support Manager
            • Jul 2000
            • 154488

            #6
            As per your phpinfo, the problem is that you still have the upload_tmp directory set to \tmp.

            You haven't changed this.
            Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
            Change CKEditor Colors to Match Style (for 4.1.4 and above)

            Steve Machol Photography


            Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


            Comment

            • scubastix
              New Member
              • Sep 2007
              • 9
              • 3.6.x

              #7
              I made the change and the problem persists.

              What else do you recommend?
              Rob

              http://www.greenfeet.com

              http://www.morehipthanhippie.com

              Comment

              • Steve Machol
                Former Customer Support Manager
                • Jul 2000
                • 154488

                #8
                You now have it set to:

                upload_tmp_dir: C:\Inetpub\forum\tmp

                If that directory truly does exist and is world-readble and writable, then I'm afriad there is another server issue causing this problem. Unfortunately it would be something I'm not familiar with what that would be. It is a server issue though.
                Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                Change CKEditor Colors to Match Style (for 4.1.4 and above)

                Steve Machol Photography


                Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                Comment

                • rnmcd
                  Senior Member
                  • Aug 2004
                  • 1610
                  • 3.5.x

                  #9
                  scubastix, did you resolve this problem yet? The same problem just started for me today. I am sure it is a server problem. I haven't made any changes to my site in months.

                  Comment

                  • scubastix
                    New Member
                    • Sep 2007
                    • 9
                    • 3.6.x

                    #10
                    Not yet. I've quadruple check everything and still no luck. I've let it sit for a bit and then I'm going to give it another go.

                    Let me know if you get yours fixed.

                    Thanks,
                    Rob

                    http://www.greenfeet.com

                    http://www.morehipthanhippie.com

                    Comment

                    • rnmcd
                      Senior Member
                      • Aug 2004
                      • 1610
                      • 3.5.x

                      #11
                      I've been hounding my host and they said there were no changes to the server then they came back to me and said

                      It appears that we have conflicting versions of the ImageMagick library which was causing this issue. I made a test upload and it completed successfully.
                      It does work now for me but I don't know if that is really what my host did to fix it. They are less than straightforward with me.

                      Comment

                      • scubastix
                        New Member
                        • Sep 2007
                        • 9
                        • 3.6.x

                        #12
                        Originally posted by rnmcd
                        I've been hounding my host and they said there were no changes to the server then they came back to me and said

                        It does work now for me but I don't know if that is really what my host did to fix it. They are less than straightforward with me.
                        This was it! ImageMagick was the problem. I uninstalled this and switched my images back to GD and everything worked fine. It seems ImageMagick is pretty sensitive.

                        Thanks for the tip!
                        Rob

                        http://www.greenfeet.com

                        http://www.morehipthanhippie.com

                        Comment

                        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                        Working...
                        😀
                        😂
                        🥰
                        😘
                        🤢
                        😎
                        😞
                        😡
                        👍
                        👎