Problem with reputation after upgrade to 4.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hubertus
    New Member
    • Feb 2007
    • 5
    • 3.6.x

    [Forum] Problem with reputation after upgrade to 4.2

    After upgrade reputation button stop working. If I open new window to add reputation(popup in new tab) and press 'Add reputation' I get this error:

    Code:
    [B]Fatal error:[/B][COLOR=#000000][FONT=Times New Roman] Field [/FONT][/COLOR][I]newrepcount[/I][COLOR=#000000][FONT=Times New Roman] is not defined in [/FONT][/COLOR][I]$validfields[/I][COLOR=#000000][FONT=Times New Roman] in class [/FONT][/COLOR][B]vB_DataManager_User[/B][COLOR=#000000][FONT=Times New Roman] in [/FONT][/COLOR][B][path]/includes/class_dm.php[/B][COLOR=#000000][FONT=Times New Roman] on line [/FONT][/COLOR][B]515[/B]
    [COLOR=#000000][FONT=Times New Roman]#0 vb_error_handler(256, Field [/FONT][/COLOR][I]newrepcount[/I][COLOR=#000000][FONT=Times New Roman] is not defined in [/FONT][/COLOR][I]$validfields[/I][COLOR=#000000][FONT=Times New Roman] in class [/FONT][/COLOR][B]vB_DataManager_User[/B][COLOR=#000000][FONT=Times New Roman], /www/includes/class_dm.php [/FONT][/COLOR][COLOR=#000000][FONT=Times New Roman]515, Array ([fieldname] => newrepcount,[value] => 1,
    [..][/FONT][/COLOR]
    How to fix that?
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73464
    • 6.0.X

    #2
    When you upgraded did you run upgrade.php to make the database changes needed in 4.2?

    You uploaded all vBulletin 4.2 files?
    Translations provided by Google.

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

    Comment

    • Hubertus
      New Member
      • Feb 2007
      • 5
      • 3.6.x

      #3
      Of course, and it was completed and I uploaded all files ;-) In the same time, I deleted few custom profile fields, this may be connected?

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 73464
        • 6.0.X

        #4
        No. newrepcount should be in your user table. Look at your table in phpMyAdmin. Does the field exist? It should have been added by the upgrade script.

        If it doesn't you need to add it.


        ALTER TABLE `user` ADD COLUMN `newrepcount` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0'
        Translations provided by Google.

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

        Comment

        • Hubertus
          New Member
          • Feb 2007
          • 5
          • 3.6.x

          #5
          I have this table. Answer from phpmyadmin:
          Code:
          #1060 - Duplicate column name 'newrepcount'

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 73464
            • 6.0.X

            #6
            Re-upload the files then.
            Translations provided by Google.

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

            Comment

            • Hubertus
              New Member
              • Feb 2007
              • 5
              • 3.6.x

              #7
              Thanks, problem was in custom modyfications in class_dm_user.php. Thanks, and sorry for problem. Thread closed ;]

              Comment

              Related Topics

              Collapse

              • Mevlüt Akpinar
                Error :API Error
                by Mevlüt Akpinar
                Hello,
                Etc. 5 I smoke. I do not have a shortage of time following entry but I also enter my login information (in debug mode) I get the following errors.



                Error :API E...
                Tue 22 Dec '15, 1:42pm
              • Mevlüt Akpinar
                System Error
                by Mevlüt Akpinar
                Hello there,
                System Error Gives below.
                System Error has occurred.
                The software is Experiencing a systems error.
                You should attempt to repeat your last action. If this error occurs...
                Wed 2 Mar '16, 12:18pm
              • geovadim
                Update errors
                by geovadim
                I am trying to update my forum vb3.7 to vb5 connect. I've copied the files from vb5 in a test forum and created a copy of the live database.

                PHP Version 5.4.38

                I went to upgrade...
                Mon 2 Mar '15, 3:18am
              Working...
              😀
              😂
              🥰
              😘
              🤢
              😎
              😞
              😡
              👍
              👎