Announcement

Collapse
No announcement yet.

2.2.6. Custom avatars disappeared

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • 2.2.6. Custom avatars disappeared

    Since I updated to 2.2.6 today all custom avatars have turned to broken links. Is this just me or is this a bug with the program?

  • #2
    I'll look into this now, its probably a problem in avatar.php
    Scott MacVicar

    My Blog | Twitter

    Comment


    • #3
      no problem here, try uploading a fresh copy of avatar.php in ASCII just to be sure though.
      Scott MacVicar

      My Blog | Twitter

      Comment


      • #4
        Nope, still not working.

        Comment


        • #5
          Okay since that didn't work, I uploaded JUST avatar.php from my backup of 2.2.5 and now they show up. There must be something changed in 2.2.6 that throws them off. I'm hoping there is nothing else that has changed in avatar.php that is needed in 2.2.6.



          (BTW when I tried to get a fresh 2.2.5 from the download section it still sends 2.2.6 RC).

          Comment


          • #6
            It looks like the only lines in the code that were changed were the debug lines in the beginning and the line:

            if ($avatarinfo=$DB_site->query_first("SELECT avatardata,dateline,filename FROM customavatar WHERE userid=".intval($HTTP_GET_VARS['userid']))) {

            Where the only changed part is the:

            userid=".intval($HTTP_GET_VARS['userid']))

            I think that may be the problem but I know nothing about coding PHP.

            Comment


            • #7
              I've yet to be able to reproduce this problem, although this is now the second person to report this.

              Can you reupload the new, not-working avatar.php? Saving it as avatarnew.php or something non-standard would be fine.

              Comment


              • #8
                upload it where?

                Comment


                • #9
                  please do not distribute vB php files like this
                  Last edited by George L; Tue 28 May '02, 1:19pm.

                  Comment


                  • #10
                    Originally posted by rinkrat
                    upload it where?
                    Mike meant upload it to your web site ...
                    :: Always Back Up Forum Database + Attachments BEFORE upgrading !
                    :: Nginx SPDY SSL - World Flags Demo [video results]
                    :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

                    Comment

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