Cannot update users info

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Craig A
    Senior Member
    • Apr 2000
    • 620

    Cannot update users info

    [quote]
    User ids:

    There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

    An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

    We apologise for any inconvenience.
    [/quote]

    [quote]
    Database error in vBulletin Control Panel: Invalid SQL: SELECT dateline FROM post WHERE userid=999
    ORDER BY lastpost DESC LIMIT 1
    mysql error: Unknown column 'lastpost' in 'order clause'
    mysql error number: 1054
    Date: Saturday 10th of June 2000 04:58:25 PM
    Script: /forum/admin/misc.php
    Referer: [url]http://www.ten-tenths.com/forum/admin/misc.php[/url]

    [/quote]

    What's happening ? Worked a few days ago...
  • Craig A
    Senior Member
    • Apr 2000
    • 620

    #2
    Hello ?

    Come on guys - are you all down the pub ?

    Comment

    • Freddie Bingham
      Former vBulletin Developer
      • May 2000
      • 14057
      • 1.1.x

      #3
      Well I can see there is no 'lastpost' field in the post table and that is what is causing the error...

      Comment

      • Craig A
        Senior Member
        • Apr 2000
        • 620

        #4
        Good. Now what to do about it ?

        Comment

        • Freddie Bingham
          Former vBulletin Developer
          • May 2000
          • 14057
          • 1.1.x

          #5
          Well can you tell me what you were trying to do when the error occurred?

          Comment

          • Craig A
            Senior Member
            • Apr 2000
            • 620

            #6
            Update the users info... ie on the control panel.

            Comment

            • Jake
              Member
              • Apr 2000
              • 83

              #7
              Ya, Ive been getting the same error as well when trying to update the user profile after changing the status levels.
              Jake Lawson
              Owner, Peterborough Web Design & Development: Total Internet Solutions

              Comment

              • Craig A
                Senior Member
                • Apr 2000
                • 620

                #8
                Blimey - looks like it's not something [i]i've[/i] done wrong this time ;)

                Comment

                • Joe
                  Senior Member
                  • May 2000
                  • 2435

                  #9
                  this may help...
                  [url]http://www.vbulletin.com/forum/showthread.php?threadid=907[/url]

                  Look at the seccond to last post by john... let me know if this works on your site...
                  Bike Forums.net

                  Comment

                  • Craig A
                    Senior Member
                    • Apr 2000
                    • 620

                    #10
                    Thanks for the tip, but that code is already in the latest version... Where is John when you need him ?

                    Comment

                    • Freddie Bingham
                      Former vBulletin Developer
                      • May 2000
                      • 14057
                      • 1.1.x

                      #11
                      It doesn't always occur when you are updating user info so I was wanting to know *exactly* what you changed.

                      Comment

                      • Craig A
                        Senior Member
                        • Apr 2000
                        • 620

                        #12
                        It /always/ occurs here. I added the user stars thingy and then tried updating (couldn't say if it was broken before this as I don't know)

                        Comment

                        • Freddie Bingham
                          Former vBulletin Developer
                          • May 2000
                          • 14057
                          • 1.1.x

                          #13
                          Ok I can reproduce the bug when I hit update user's info after modifying a user's title.

                          Database error in vBulletin Control Panel: Invalid SQL: SELECT dateline FROM post WHERE userid=34 ORDER BY lastpost DESC LIMIT 1
                          mysql error: Unknown column 'lastpost' in 'order clause'
                          mysql error number: 1054
                          Date: Sunday 11th of June 2000 01:19:57 AM
                          Script: /forums/admin/misc.php
                          Referer: [url]http://www.hedgehogwheels.com/forums/admin/misc.php[/url]

                          [Edited by rangersfan on 06-11-2000 at 01:26 AM]

                          Comment

                          • Joe
                            Senior Member
                            • May 2000
                            • 2435

                            #14
                            [QUOTE][i]Originally posted by Craig Antill [/i]
                            [B]Thanks for the tip, but that code is already in the latest version... Where is John when you need him ? [/B][/QUOTE]

                            Lates Version? I have 1.1.2 ... how many versions of 1.1.2 are there? Why dosent John or James update the version number? This is going to get confusing! :)

                            I mean, if its a minor version, move it to 1.1.3, if its a bigger update, make it 1.2.0 ... if its huge, make it 2.0.0 or somthing... please? ;)
                            Bike Forums.net

                            Comment

                            • werehere
                              Senior Member
                              • Apr 2000
                              • 1827

                              #15
                              Great rangersfan,

                              I will alert John to this post for further investigation.:)
                              We're Here Forums!
                              [email protected]

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...