Announcement

Collapse
No announcement yet.

Problems upgrading from 4.2.3 to 5.2.6: incorrect_content_class_called in step 141

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems upgrading from 4.2.3 to 5.2.6: incorrect_content_class_called in step 141

    I am trying to upgrade from 4.2.3 to 5.2.6, but keep getting stuck. I used the original code from the repository.

    ------------------

    [VB] root@vb1 php -f upgrade.php
    Notice: Undefined index: username in .../vb/db/mysql/assertor.php on line 90
    Notice: Undefined index: password in .../vb/db/mysql/assertor.php on line 91

    Upgrading to 4.2.4 Beta 1
    ----------------------------------
    Step 1 - Altering setting Table (1 of 2)
    Altering settinggroup Table (1 of 2)
    Updating filedata table (1 of 1)
    Upgrade Complete

    Upgrading to 4.2.4 Beta 2
    ----------------------------------
    Upgrade Complete

    Upgrading to 4.2.4 Beta 3
    ----------------------------------
    Upgrade Complete

    Upgrading to 5.0.0 Alpha 1
    ----------------------------------
    Step 1 - Skipping step, not needed
    Step 2 - Skipping step, not needed
    Step 3 - Skipping step, not needed
    Step 4 - Skipping step, not needed
    Step 5 - Skipping step, not needed
    Step 6 - Skipping step, not needed
    Step 7 - Skipping step, not needed
    Step 8 - Skipping step, not needed
    Step 9 - Skipping step, not needed
    Step 10 - Skipping step, not needed
    Step 11 - Skipping step, not needed
    Step 12 - Skipping step, not needed
    Step 13 - Skipping step, not needed
    Step 14 - Skipping step, not needed
    Step 15 - Skipping step, not needed
    Step 16 - Skipping step, not needed
    Step 17 - Skipping step, not needed
    Step 18 - Skipping step, not needed
    Step 19 - Skipping step, not needed
    Step 20 - Skipping step, not needed
    Step 21 - Skipping step, not needed
    Step 22 - Updating contenttype table
    Updating contenttype table
    Step 23 - Skipping step, not needed
    Step 24 - Skipping step, not needed
    Step 25 - Skipping step, not needed
    Step 26 - Skipping step, not needed
    Step 27 - Skipping step, not needed
    Step 28 - Skipping step, not needed
    Step 29 - Skipping step, not needed
    Step 30 - Skipping step, not needed
    Step 31 - Skipping step, not needed
    Step 32 - Skipping step, not needed
    Step 33 - Skipping step, not needed
    Step 34 - Skipping step, not needed
    Step 35 - Altering poll Table (1 of 7)
    Step 36 - Altering poll Table (2 of 7)
    Step 37 - Altering poll Table (3 of 7)
    Step 38 - Altering poll Table (4 of 7)
    Step 39 - Altering poll Table (5 of 7)
    Step 40 - Altering poll Table (6 of 7)
    Altering poll Table (7 of 7)
    Step 41 - Updating poll table
    Step 42 - Altering pollvote Table (1 of 7)
    Step 43 - Altering pollvote Table (2 of 7)
    Altering pollvote Table (3 of 7)
    Step 44 - Altering pollvote Table (4 of 7)
    Step 45 - Altering pollvote Table (5 of 7)
    Altering pollvote Table (6 of 7)
    Step 46 - Altering pollvote Table (7 of 7)
    Step 47 - Creating gallery table
    Updating contenttype table
    Updating contenttype table
    Step 48 - Creating photo table
    Step 49 - Altering infraction Table (1 of 2)
    Altering infraction Table (2 of 2)
    Step 50 - Altering filedata Table (1 of 1)
    Step 51 - Skipping step, not needed
    Step 52 - Updating contenttype table
    Updating contenttype table
    Step 53 - Updating session table
    Altering session Table (1 of 5)
    Altering session Table (2 of 5)
    Altering session Table (3 of 5)
    Altering session Table (4 of 5)
    Altering session Table (5 of 5)
    Step 54 - Updating node table
    Step 55 - Skipping step, not needed
    Step 56 - Skipping step, not needed
    Skipping step, not needed
    Skipping step, not needed
    Step 57 - Skipping step, not needed
    Step 58 - Skipping step, not needed
    Step 59 - Altering searchlog Table (1 of 3)
    Updating searchlog table
    Step 60 - Altering searchlog Table (2 of 3)
    Updating searchlog table
    Step 61 - Altering searchlog Table (3 of 3)
    Step 62 - Skipping step, not needed
    Step 63 - Altering usergroup Table (1 of 1)
    Updating usergroup table
    Step 64 - Updating usergroup table
    Step 65 - Skipping step, not needed
    Step 66 - Skipping step, not needed
    Step 67 - Skipping step, not needed
    Step 68 - Skipping step, not needed
    Step 69 - Skipping step, not needed
    Step 70 - Skipping step, not needed
    Step 71 - Skipping step, not needed
    Step 72 - Skipping step, not needed
    Step 73 - Skipping step, not needed
    Step 74 - Skipping step, not needed
    Step 75 - Skipping step, not needed
    Step 76 - Skipping step, not needed
    Step 77 - Skipping step, not needed
    Step 78 - Skipping step, not needed
    Step 79 - Skipping step, not needed
    Step 80 - Skipping step, not needed
    Step 81 - Altering user Table (1 of 1)
    Step 82 - Altering moderator Table (1 of 1)
    Step 83 - Altering moderatorlog Table (1 of 1)
    Step 84 - Altering access Table (1 of 1)
    Step 85 - Altering reputation Table (1 of 1)
    Step 86 - Skipping step, not needed
    Step 87 - Skipping step, not needed
    Step 88 - Skipping step, not needed
    Step 89 - Skipping step, not needed
    Step 90 - Skipping step, not needed
    Step 91 - Skipping step, not needed
    Step 92 - Skipping step, not needed
    Step 93 - Skipping step, not needed
    Step 94 - Skipping step, not needed
    Step 95 - Skipping step, not needed
    Step 96 - Skipping step, not needed
    Step 97 - Skipping step, not needed
    Step 98 - Skipping step, not needed
    Step 99 - Skipping step, not needed
    Step 100 - Skipping step, not needed
    Step 101 - Skipping step, not needed
    Step 102 - Skipping step, not needed
    Step 103 - Skipping step, not needed
    Step 104 - Altering language Table (1 of 1)
    Step 105 - Skipping step, not needed
    Step 106 - Skipping step, not needed
    Step 107 - Skipping step, not needed
    Step 108 - Skipping step, not needed
    Step 109 - Skipping step, not needed
    Step 110 - Skipping step, not needed
    Step 111 - Skipping step, not needed
    Step 112 - Altering strikes Table (1 of 6)
    Step 113 - Altering strikes Table (2 of 6)
    Step 114 - Altering strikes Table (3 of 6)
    Step 115 - Altering strikes Table (4 of 6)
    Altering strikes Table (5 of 6)
    Step 116 - Altering strikes Table (6 of 6)
    Step 117 - Altering setting Table (1 of 2)
    Step 118 - Altering setting Table (2 of 2)
    Step 119 - Altering moderatorlog Table (1 of 1)
    Step 120 - Altering customavatar Table (1 of 1)
    Step 121 - Altering user Table (1 of 3)
    Step 122 - Altering user Table (2 of 3)
    Step 123 - Altering user Table (3 of 3)
    Step 124 - Altering pagetemplate Table (1 of 1)
    Step 125 - Updating adminutil table
    Step 126 - Skipping step, not needed
    Step 127 - Altering reputation Table (1 of 2)
    Altering reputation Table (2 of 2)
    Step 128 - Updating widget table
    Step 129 - Updating pagetemplate table
    Step 130 - Altering editlog Table (1 of 1)
    Step 131 - Updating page table
    Step 132 - Updating channel table
    Step 133 - Updating routenew table
    Step 134 - Updating widgetinstance table
    Step 135 - Updating routenew table
    Step 136 - Updating channel table
    Step 137 - Updating setting table
    Step 138 - Updating routenew table
    Step 139 - Updating setting table
    Step 140 - Skipping step, not needed
    Step 141 - Warning: get_class() expects parameter 1 to be object, boolean given in .../vb/library/content.php on line 2289
    Error Could not find phrase 'incorrect_content_class_called'. Arguments given were: "vB_Library_Content_Channel", "2", "' on /data/forum.new.glamour.de/releases/20170216170106/htdocs/core/vb/library/content.php : 2295
    #0: vB_Utilities::getStackTrace() called in /[path]/core/install/includes/class_upgrade_cli.php on line 299
    #1: vB_Upgrade_Cli->execute_step(141, vB_Upgrade_500a1) called in /[path]/core/install/includes/class_upgrade_cli.php on line 243
    #2: vB_Upgrade_Cli->process_script('500a1') called in /[path]/core/install/includes/class_upgrade_cli.php on line 274
    #3: vB_Upgrade_Cli->process_script('424b3') called in /[path]/core/install/includes/class_upgrade_cli.php on line 274
    #4: vB_Upgrade_Cli->process_script('424b2') called in /[path]/core/install/includes/class_upgrade_cli.php on line 274
    #5: vB_Upgrade_Cli->process_script('424b1', false) called in /[path]/core/install/includes/class_upgrade_cli.php on line 149
    #6: vB_Upgrade_Cli->init(NULL) called in /[path]/core/install/includes/class_upgrade.php on line 741
    #7: vB_Upgrade_Abstract->__construct(vB_Registry, array[len:10], 'upgrade', NULL, array[len:0]) called in /[path]/core/install/includes/class_upgrade_cli.php on line 83
    #8: vB_Upgrade_Cli->__construct(vB_Registry, array[len:10], 'upgrade', NULL, array[len:0]) called in /[path]/core/install/includes/class_upgrade.php on line 54
    #9: vB_Upgrade::fetch_library(vB_Registry, array[len:10], '', true) called in /[path]/core/install/upgrade.php on line 141

  • #2
    What are the contents of your contenttype table?
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud customization and demonstration site.
    vBulletin 5 Documentation - Updated every Friday. Report issues here.
    vBulletin 5 API - Full / Mobile
    I am not currently available for vB Messenger Chats.

    Comment


    • #3
      +---------------+-----------------------+-----------+----------+-----------+--------+-----------+--------------+

      | contenttypeid | class | packageid | canplace | cansearch | cantag | canattach | isaggregator |

      +---------------+-----------------------+-----------+----------+-----------+--------+-----------+--------------+

      | 1 | Post | 1 | 0 | 1 | 0 | 1 | 0 |

      | 2 | Thread | 1 | 0 | 0 | 1 | 0 | 0 |

      | 3 | Forum | 1 | 0 | 1 | 0 | 0 | 0 |

      | 4 | Announcement | 1 | 0 | 0 | 0 | 0 | 0 |

      | 5 | SocialGroupMessage | 1 | 0 | 1 | 0 | 0 | 0 |

      | 6 | SocialGroupDiscussion | 1 | 0 | 0 | 0 | 0 | 0 |

      | 7 | SocialGroup | 1 | 0 | 1 | 0 | 1 | 0 |

      | 8 | Album | 1 | 0 | 0 | 0 | 1 | 0 |

      | 9 | Picture | 1 | 0 | 0 | 0 | 0 | 0 |

      | 10 | PictureComment | 1 | 0 | 0 | 0 | 0 | 0 |

      | 11 | VisitorMessage | 1 | 0 | 1 | 0 | 0 | 0 |

      | 12 | User | 1 | 0 | 0 | 0 | 0 | 0 |

      | 13 | Event | 1 | 0 | 0 | 0 | 0 | 0 |

      | 14 | Calendar | 1 | 0 | 0 | 0 | 0 | 0 |

      | 15 | PrivateMessage | 1 | 0 | 0 | 0 | 0 | 0 |

      | 16 | Infraction | 1 | 0 | 0 | 0 | 0 | 0 |

      | 17 | Signature | 1 | 0 | 0 | 0 | 0 | 0 |

      | 18 | UserNote | 1 | 0 | 0 | 0 | 0 | 0 |

      | 19 | BlogEntry | 2 | 0 | 1 | 0 | 1 | 0 |

      | 20 | BlogComment | 2 | 0 | 1 | 0 | 0 | 0 |

      | 21 | BlogDescription | 2 | 0 | 0 | 0 | 0 | 0 |

      | 22 | BlogCustomBlock | 2 | 0 | 0 | 0 | 0 | 0 |

      | 23 | Section | 3 | 1 | 0 | 0 | 0 | 1 |

      | 24 | Article | 3 | 1 | 1 | 1 | 1 | 0 |

      | 25 | ContentNode | 3 | 0 | 0 | 0 | 0 | 0 |

      | 26 | StaticPage | 3 | 1 | 1 | 1 | 0 | 0 |

      | 27 | PhpEval | 3 | 1 | 0 | 0 | 0 | 0 |

      | 28 | ArticleComment | 3 | 0 | 0 | 0 | 0 | 0 |

      +---------------+-----------------------+-----------+----------+-----------+--------+-----------+--------------+

      Comment


      • #4
        I tried again with the latest code (vb5_connect_5-2-6_VBF9CA52F4) and the following changes in config files:

        1. Only config files added
        mac:~/Development/vb5Glamunity$ diff -r ~/Downloads/vb5_connect_5-2-6_VBF9CA52F4/upload ~/Development/vb5Glamunity/htdocs

        Only in /Users/schwarzfischer/Development/vb5Glamunity/htdocs: config.php

        Only in /Users/schwarzfischer/Development/vb5Glamunity/htdocs/core/includes: config.php


        2. Changes in upload/config.php:
        mac:~/Development/vb5Glamunity$ diff -r ~/Downloads/vb5_connect_5-2-6_VBF9CA52F4/upload/config.php.bkp ~/Development/vb5Glamunity/htdocs/config.php

        37c37

        < $config['cookie_prefix'] = 'bb';

        ---

        > $config['cookie_prefix'] = 'vb5';


        3. Changes in upload/core/includes/config.php
        mac:~/Development/vb5Glamunity$ diff -r ~/Downloads/vb5_connect_5-2-6_VBF9CA52F4/upload/core/includes/config.php.new ~/Development/vb5Glamunity/htdocs/core/includes/config.php

        40c40

        < $config['Database']['dbname'] = 'forum';

        ---

        > $config['Database']['dbname'] = 'vb5';

        49c49

        < $config['Database']['technicalemail'] = 'dbmaster@example.com';

        ---

        > $config['Database']['technicalemail'] = 'xxx@yy.com';

        58c58

        < $config['MasterServer']['servername'] = 'localhost';

        ---

        > $config['MasterServer']['servername'] = ''xxx;

        64,65c64,65

        < $config['MasterServer']['username'] = 'root';

        < $config['MasterServer']['password'] = '';

        ---

        > $config['MasterServer']['username'] = 'vb5';

        > $config['MasterServer']['password'] = 'xxx';

        94c94

        < $config['Misc']['cookieprefix'] = 'bb';

        ---

        > $config['Misc']['cookieprefix'] = 'vb5';




        4. PHP version
        [VB] root@vb1 php -v

        PHP 5.5.38 (cli) (built: Oct 25 2016 18:30:32)

        Copyright (c) 1997-2015 The PHP Group

        Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies

        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies


        5. MySQL version
        Server version: 5.6.19-log MySQL Community Server (GPL)

        6. Rewrite module
        [VB] root@vb1 httpd -M | grep rewrite

        rewrite_module (shared)

        7. ImageMagick
        [VB] root@vb1 php -m | grep imagick

        imagick

        8. cURL
        [VB] root@vb1 php -m | grep curl

        curl

        9. OpenSSL
        [VB] root@vb1 php -m | grep ssl

        openssl



        The upgrade is still failing:


        [VB] root@vb1 php -f upgrade.php




        Upgrading to 4.2.4 Beta 1

        ----------------------------------

        Step 1 - Altering setting Table (1 of 2)

        Altering settinggroup Table (1 of 2)

        Updating filedata table (1 of 1)

        Upgrade Complete




        Upgrading to 4.2.4 Beta 2

        ----------------------------------

        Upgrade Complete




        Upgrading to 4.2.4 Beta 3

        ----------------------------------

        Upgrade Complete




        Upgrading to 5.0.0 Alpha 1

        ----------------------------------

        Step 1 - Skipping step, not needed

        Step 2 - Skipping step, not needed

        Step 3 - Skipping step, not needed

        Step 4 - Skipping step, not needed

        Step 5 - Skipping step, not needed

        Step 6 - Skipping step, not needed

        Step 7 - Skipping step, not needed

        Step 8 - Skipping step, not needed

        Step 9 - Skipping step, not needed

        Step 10 - Skipping step, not needed

        Step 11 - Skipping step, not needed

        Step 12 - Skipping step, not needed

        Step 13 - Skipping step, not needed

        Step 14 - Skipping step, not needed

        Step 15 - Skipping step, not needed

        Step 16 - Skipping step, not needed

        Step 17 - Skipping step, not needed

        Step 18 - Skipping step, not needed

        Step 19 - Skipping step, not needed

        Step 20 - Skipping step, not needed

        Step 21 - Skipping step, not needed

        Step 22 - Updating contenttype table

        Updating contenttype table

        Step 23 - Skipping step, not needed

        Step 24 - Skipping step, not needed

        Step 25 - Skipping step, not needed

        Step 26 - Skipping step, not needed

        Step 27 - Skipping step, not needed

        Step 28 - Skipping step, not needed

        Step 29 - Skipping step, not needed

        Step 30 - Skipping step, not needed

        Step 31 - Skipping step, not needed

        Step 32 - Skipping step, not needed

        Step 33 - Skipping step, not needed

        Step 34 - Skipping step, not needed

        Step 35 - Altering poll Table (1 of 7)

        Step 36 - Altering poll Table (2 of 7)

        Step 37 - Altering poll Table (3 of 7)

        Step 38 - Altering poll Table (4 of 7)

        Step 39 - Altering poll Table (5 of 7)

        Step 40 - Altering poll Table (6 of 7)

        Altering poll Table (7 of 7)

        Step 41 - Updating poll table

        Step 42 - Altering pollvote Table (1 of 7)

        Step 43 - Altering pollvote Table (2 of 7)

        Altering pollvote Table (3 of 7)

        Step 44 - Altering pollvote Table (4 of 7)

        Step 45 - Altering pollvote Table (5 of 7)

        Altering pollvote Table (6 of 7)

        Step 46 - Altering pollvote Table (7 of 7)

        Step 47 - Creating gallery table

        Updating contenttype table

        Updating contenttype table

        Step 48 - Creating photo table

        Step 49 - Altering infraction Table (1 of 2)

        Altering infraction Table (2 of 2)

        Step 50 - Altering filedata Table (1 of 1)

        Step 51 - Skipping step, not needed

        Step 52 - Updating contenttype table

        Updating contenttype table

        Step 53 - Updating session table

        Altering session Table (1 of 5)

        Altering session Table (2 of 5)

        Altering session Table (3 of 5)

        Altering session Table (4 of 5)

        Altering session Table (5 of 5)

        Step 54 - Updating node table

        Step 55 - Skipping step, not needed

        Step 56 - Skipping step, not needed

        Skipping step, not needed

        Skipping step, not needed

        Step 57 - Skipping step, not needed

        Step 58 - Skipping step, not needed

        Step 59 - Altering searchlog Table (1 of 3)

        Updating searchlog table

        Step 60 - Altering searchlog Table (2 of 3)

        Updating searchlog table

        Step 61 - Altering searchlog Table (3 of 3)

        Step 62 - Skipping step, not needed

        Step 63 - Altering usergroup Table (1 of 1)

        Updating usergroup table

        Step 64 - Updating usergroup table

        Step 65 - Skipping step, not needed

        Step 66 - Skipping step, not needed

        Step 67 - Skipping step, not needed

        Step 68 - Skipping step, not needed

        Step 69 - Skipping step, not needed

        Step 70 - Skipping step, not needed

        Step 71 - Skipping step, not needed

        Step 72 - Skipping step, not needed

        Step 73 - Skipping step, not needed

        Step 74 - Skipping step, not needed

        Step 75 - Skipping step, not needed

        Step 76 - Skipping step, not needed

        Step 77 - Skipping step, not needed

        Step 78 - Skipping step, not needed

        Step 79 - Skipping step, not needed

        Step 80 - Skipping step, not needed

        Step 81 - Altering user Table (1 of 1)

        Step 82 - Altering moderator Table (1 of 1)

        Step 83 - Altering moderatorlog Table (1 of 1)

        Step 84 - Altering access Table (1 of 1)

        Step 85 - Altering reputation Table (1 of 1)

        Step 86 - Skipping step, not needed

        Step 87 - Skipping step, not needed

        Step 88 - Skipping step, not needed

        Step 89 - Skipping step, not needed

        Step 90 - Skipping step, not needed

        Step 91 - Skipping step, not needed

        Step 92 - Skipping step, not needed

        Step 93 - Skipping step, not needed

        Step 94 - Skipping step, not needed

        Step 95 - Skipping step, not needed

        Step 96 - Skipping step, not needed

        Step 97 - Skipping step, not needed

        Step 98 - Skipping step, not needed

        Step 99 - Skipping step, not needed

        Step 100 - Skipping step, not needed

        Step 101 - Skipping step, not needed

        Step 102 - Skipping step, not needed

        Step 103 - Skipping step, not needed

        Step 104 - Altering language Table (1 of 1)

        Step 105 - Skipping step, not needed

        Step 106 - Skipping step, not needed

        Step 107 - Skipping step, not needed

        Step 108 - Skipping step, not needed

        Step 109 - Skipping step, not needed

        Step 110 - Skipping step, not needed

        Step 111 - Skipping step, not needed

        Step 112 - Altering strikes Table (1 of 6)

        Step 113 - Altering strikes Table (2 of 6)

        Step 114 - Altering strikes Table (3 of 6)

        Step 115 - Altering strikes Table (4 of 6)

        Altering strikes Table (5 of 6)

        Step 116 - Altering strikes Table (6 of 6)

        Step 117 - Altering setting Table (1 of 2)

        Step 118 - Altering setting Table (2 of 2)

        Step 119 - Altering moderatorlog Table (1 of 1)

        Step 120 - Altering customavatar Table (1 of 1)

        Step 121 - Altering user Table (1 of 3)

        Step 122 - Altering user Table (2 of 3)

        Step 123 - Altering user Table (3 of 3)

        Step 124 - Altering pagetemplate Table (1 of 1)

        Step 125 - Updating adminutil table

        Step 126 - Skipping step, not needed

        Step 127 - Altering reputation Table (1 of 2)

        Altering reputation Table (2 of 2)

        Step 128 - Updating widget table

        Step 129 - Updating pagetemplate table

        Step 130 - Altering editlog Table (1 of 1)

        Step 131 - Updating page table

        Step 132 - Updating channel table

        Step 133 - Updating routenew table

        Step 134 - Updating widgetinstance table

        Step 135 - Updating routenew table

        Step 136 - Updating channel table

        Step 137 - Updating setting table

        Step 138 - Updating routenew table

        Step 139 - Updating setting table

        Step 140 - Skipping step, not needed

        Step 141 - Warning: get_class() expects parameter 1 to be object, boolean given in .../vb/library/content.php on line 2289

        Error Could not find phrase 'incorrect_content_class_called'. Arguments given were: "vB_Library_Content_Channel", "2", "' on /data/forum.new.glamour.de/releases/20170227163526/htdocs/core/vb/library/content.php : 2295

        #0: vB_Utilities::getStackTrace() called in /[path]/core/install/includes/class_upgrade_cli.php on line 299

        #1: vB_Upgrade_Cli->execute_step(141, vB_Upgrade_500a1) called in /[path]/core/install/includes/class_upgrade_cli.php on line 243

        #2: vB_Upgrade_Cli->process_script('500a1') called in /[path]/core/install/includes/class_upgrade_cli.php on line 274

        #3: vB_Upgrade_Cli->process_script('424b3') called in /[path]/core/install/includes/class_upgrade_cli.php on line 274

        #4: vB_Upgrade_Cli->process_script('424b2') called in /[path]/core/install/includes/class_upgrade_cli.php on line 274

        #5: vB_Upgrade_Cli->process_script('424b1', false) called in /[path]/core/install/includes/class_upgrade_cli.php on line 149

        #6: vB_Upgrade_Cli->init(NULL) called in /[path]/core/install/includes/class_upgrade.php on line 741

        #7: vB_Upgrade_Abstract->__construct(vB_Registry, array[len:10], 'upgrade', NULL, array[len:0]) called in /[path]/core/install/includes/class_upgrade_cli.php on line 83

        #8: vB_Upgrade_Cli->__construct(vB_Registry, array[len:10], 'upgrade', NULL, array[len:0]) called in /[path]/core/install/includes/class_upgrade.php on line 54

        #9: vB_Upgrade::fetch_library(vB_Registry, array[len:10], '', true) called in /[path]/core/install/upgrade.php on line 141




        Comment


        • #5
          Continuing without resolving the issue isn't going to let you progress. Backup the contenttype table and remove rows 18 and 27. Then try again. You don't need to start from scratch. Just reload the upgrade.php file and it will pick up where it left off.

          You should be doing this on a copy of your database so your live site can remain live while it is worked through.
          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud customization and demonstration site.
          vBulletin 5 Documentation - Updated every Friday. Report issues here.
          vBulletin 5 API - Full / Mobile
          I am not currently available for vB Messenger Chats.

          Comment


          • #6
            mysql> select * from contenttype;

            +---------------+-----------------------+-----------+----------+-----------+--------+-----------+--------------+

            | contenttypeid | class | packageid | canplace | cansearch | cantag | canattach | isaggregator |

            +---------------+-----------------------+-----------+----------+-----------+--------+-----------+--------------+

            | 1 | Post | 1 | 0 | 0 | 0 | 1 | 0 |

            | 2 | Thread | 1 | 0 | 0 | 1 | 0 | 0 |

            | 3 | Forum | 1 | 0 | 0 | 0 | 0 | 0 |

            | 4 | Announcement | 1 | 0 | 0 | 0 | 0 | 0 |

            | 5 | SocialGroupMessage | 1 | 0 | 0 | 0 | 0 | 0 |

            | 6 | SocialGroupDiscussion | 1 | 0 | 0 | 0 | 0 | 0 |

            | 7 | SocialGroup | 1 | 0 | 0 | 0 | 1 | 0 |

            | 8 | Album | 1 | 0 | 0 | 0 | 1 | 0 |

            | 9 | Picture | 1 | 0 | 0 | 0 | 0 | 0 |

            | 10 | PictureComment | 1 | 0 | 0 | 0 | 0 | 0 |

            | 11 | VisitorMessage | 1 | 0 | 0 | 0 | 0 | 0 |

            | 12 | User | 1 | 0 | 0 | 0 | 0 | 0 |

            | 13 | Event | 1 | 0 | 0 | 0 | 0 | 0 |

            | 14 | Calendar | 1 | 0 | 0 | 0 | 0 | 0 |

            | 15 | PrivateMessage | 1 | 0 | 0 | 0 | 0 | 0 |

            | 16 | Infraction | 1 | 0 | 0 | 0 | 0 | 0 |

            | 17 | Signature | 1 | 0 | 0 | 0 | 0 | 0 |

            | 19 | BlogEntry | 2 | 0 | 0 | 0 | 1 | 0 |

            | 20 | BlogComment | 2 | 0 | 0 | 0 | 0 | 0 |

            | 21 | BlogDescription | 2 | 0 | 0 | 0 | 0 | 0 |

            | 22 | BlogCustomBlock | 2 | 0 | 0 | 0 | 0 | 0 |

            | 23 | Section | 3 | 1 | 0 | 0 | 0 | 1 |

            | 24 | Article | 3 | 1 | 1 | 1 | 1 | 0 |

            | 25 | ContentNode | 3 | 0 | 0 | 0 | 0 | 0 |

            | 26 | StaticPage | 3 | 1 | 1 | 1 | 0 | 0 |

            | 28 | ArticleComment | 3 | 0 | 0 | 0 | 0 | 0 |

            | 29 | Channel | 1 | 0 | 0 | 0 | 0 | 1 |

            | 30 | Text | 1 | 0 | 1 | 1 | 1 | 0 |

            | 31 | Poll | 1 | 0 | 1 | 0 | 0 | 0 |

            | 32 | Gallery | 1 | 1 | 1 | 1 | 1 | 1 |

            | 33 | Photo | 1 | 0 | 1 | 1 | 1 | 1 |

            +---------------+-----------------------+-----------+----------+-----------+--------+-----------+--------------+

            31 rows in set (0.00 sec)




            mysql> Bye

            [VB] root@vb1 php -f upgrade.php




            Upgrading to 5.0.0 Alpha 1

            ----------------------------------

            Step 141 - Warning: get_class() expects parameter 1 to be object, boolean given in .../vb/library/content.php on line 2289

            Error Could not find phrase 'incorrect_content_class_called'. Arguments given were: "vB_Library_Content_Channel", "2", "' on /data/forum.new.glamour.de/releases/20170227163526/htdocs/core/vb/library/content.php : 2295

            #0: vB_Utilities::getStackTrace() called in /[path]/core/install/includes/class_upgrade_cli.php on line 299

            #1: vB_Upgrade_Cli->execute_step(141, vB_Upgrade_500a1) called in /[path]/core/install/includes/class_upgrade_cli.php on line 243

            #2: vB_Upgrade_Cli->process_script('500a1', '0') called in /[path]/core/install/includes/class_upgrade_cli.php on line 149

            #3: vB_Upgrade_Cli->init(NULL) called in /[path]/core/install/includes/class_upgrade.php on line 741

            #4: vB_Upgrade_Abstract->__construct(vB_Registry, array[len:10], 'upgrade', NULL, array[len:0]) called in /[path]/core/install/includes/class_upgrade_cli.php on line 83

            #5: vB_Upgrade_Cli->__construct(vB_Registry, array[len:10], 'upgrade', NULL, array[len:0]) called in /[path]/core/install/includes/class_upgrade.php on line 54

            #6: vB_Upgrade::fetch_library(vB_Registry, array[len:10], '', true) called in /[path]/core/install/upgrade.php on line 141

            Comment


            • #7
              Any next steps recommended? I totally agree that continuing without resolving the issue won't let me progress. I am happy to give you access to the database, if that helps.

              Comment


              • #8
                Debugging into it, I found this content object causing trouble:

                array(1) {

                [0]=>

                array(86) {

                ["nodeid"]=>

                string(1) "2"

                ["routeid"]=>

                string(2) "45"

                ["contenttypeid"]=>

                string(2) "19"

                ["publishdate"]=>

                string(10) "1321982542"

                ["unpublishdate"]=>

                NULL

                ["userid"]=>

                string(1) "1"

                ["groupid"]=>

                NULL

                ["authorname"]=>

                string(5) "admin"

                ["description"]=>

                string(17) "Forum Description"

                ["title"]=>

                string(5) "Forum"

                ["htmltitle"]=>

                string(5) "Forum"

                ["parentid"]=>

                string(1) "1"

                ["urlident"]=>

                string(5) "forum"

                ["displayorder"]=>

                string(1) "1"

                ["starter"]=>

                string(1) "0"

                ["created"]=>

                string(10) "1424694606"

                ["lastcontent"]=>

                string(10) "1484999557"

                ["lastcontentid"]=>

                string(7) "6676700"

                ["lastcontentauthor"]=>

                string(12) "espressorosi"

                ["lastauthorid"]=>

                string(6) "213989"

                ["lastprefixid"]=>

                string(0) ""

                ["textcount"]=>

                string(1) "0"

                ["textunpubcount"]=>

                string(1) "0"

                ["totalcount"]=>

                string(1) "9"

                ["totalunpubcount"]=>

                string(1) "0"

                ["ipaddress"]=>

                string(10) "10.2.1.208"

                ["showpublished"]=>

                string(1) "1"

                ["oldid"]=>

                NULL

                ["oldcontenttypeid"]=>

                NULL

                ["nextupdate"]=>

                NULL

                ["lastupdate"]=>

                string(10) "1424694606"

                ["featured"]=>

                string(1) "0"

                ["CRC32"]=>

                string(10) "1024384257"

                ["taglist"]=>

                NULL

                ["inlist"]=>

                string(1) "0"

                ["protected"]=>

                string(1) "0"

                ["setfor"]=>

                string(1) "0"

                ["votes"]=>

                string(1) "0"

                ["hasphoto"]=>

                string(1) "0"

                ["hasvideo"]=>

                string(1) "0"

                ["deleteuserid"]=>

                NULL

                ["deletereason"]=>

                NULL

                ["open"]=>

                string(1) "1"

                ["showopen"]=>

                string(1) "1"

                ["sticky"]=>

                string(1) "0"

                ["approved"]=>

                string(1) "1"

                ["showapproved"]=>

                string(1) "1"

                ["viewperms"]=>

                string(1) "2"

                ["commentperms"]=>

                string(1) "1"

                ["nodeoptions"]=>

                string(3) "138"

                ["prefixid"]=>

                string(0) ""

                ["iconid"]=>

                string(1) "0"

                ["public_preview"]=>

                string(1) "0"

                ["channel_nodeid"]=>

                string(1) "2"

                ["styleid"]=>

                string(1) "0"

                ["daysprune"]=>

                string(2) "-1"

                ["newcontentemail"]=>

                NULL

                ["defaultsortfield"]=>

                string(11) "lastcontent"

                ["defaultsortorder"]=>

                string(4) "desc"

                ["imageprefix"]=>

                string(0) ""

                ["guid"]=>

                string(33) "vbulletin-4ecbdf567f2c35.70389590"

                ["options"]=>

                string(4) "1984"

                ["filedataid"]=>

                NULL

                ["category"]=>

                string(1) "1"

                ["product"]=>

                string(9) "vbulletin"

                ["iconpath"]=>

                NULL

                ["channelroute"]=>

                NULL

                ["channeltitle"]=>

                NULL

                ["channelid"]=>

                NULL

                ["starterroute"]=>

                NULL

                ["startertitle"]=>

                NULL

                ["starterauthorname"]=>

                NULL

                ["starterprefixid"]=>

                NULL

                ["starteruserid"]=>

                NULL

                ["starterlastcontentid"]=>

                NULL

                ["startertotalcount"]=>

                NULL

                ["starterurlident"]=>

                NULL

                ["deleteusername"]=>

                NULL

                ["lastauthorname"]=>

                string(12) "espressorosi"

                ["edit_reason"]=>

                NULL

                ["edit_userid"]=>

                NULL

                ["edit_username"]=>

                NULL

                ["edit_dateline"]=>

                NULL

                ["hashistory"]=>

                NULL

                ["starternodeoptions"]=>

                NULL

                ["channelnodeoptions"]=>

                NULL

                }

                }



                The corresponding content class vB_Library_Content_BlogEntry does not exist.

                Comment


                • #9
                  There should be functionality to convert those entries to nodes and that is a valid vB4 content type. Your vB5 directory does not contain any vB4 files? And you're upgrading from the publishing suite? If you don't have any blogs, you can try deleting the contenttype from the database and continuing but you seem to have underlying issues. These are often caused by not deleting the vBulletin 4 files before uploading the vBulletin 5 files.
                  Translations provided by Google.

                  Wayne Luke
                  The Rabid Badger - a vBulletin Cloud customization and demonstration site.
                  vBulletin 5 Documentation - Updated every Friday. Report issues here.
                  vBulletin 5 API - Full / Mobile
                  I am not currently available for vB Messenger Chats.

                  Comment


                  • #10
                    There is absolutely not a single file from vb4. This is a completely new directory containing unaltered vb5 code and nothing else - connected to a copy of the original vb4 database. I posted the diff to the vb5_connect_5-2-6_VBF9CA52F4 upload directory above, and you can see the only changes are in the two config files. What do you mean by upgrading from the publishing suite?

                    Comment


                    • #11
                      I deleted BlogEntry from the contenttype table. Now the upgrade crashes with a slightly different message:
                      Error Could not find phrase 'invalid_contenttype_class_specified'. Arguments given were: "19' on /data/forum.new.glamour.de/releases/20170227163526/htdocs/core/vb/types.php : 589

                      #0: vB_Utilities::getStackTrace() called in /[path]/core/install/includes/class_upgrade_cli.php on line 299

                      #1: vB_Upgrade_Cli->execute_step(141, vB_Upgrade_500a1) called in /[path]/core/install/includes/class_upgrade_cli.php on line 243

                      #2: vB_Upgrade_Cli->process_script('500a1') called in /[path]/core/install/includes/class_upgrade_cli.php on line 274

                      #3: vB_Upgrade_Cli->process_script('424b3') called in /[path]/core/install/includes/class_upgrade_cli.php on line 274

                      #4: vB_Upgrade_Cli->process_script('424b2') called in /[path]/core/install/includes/class_upgrade_cli.php on line 274

                      #5: vB_Upgrade_Cli->process_script('424b1', false) called in /[path]/core/install/includes/class_upgrade_cli.php on line 149

                      #6: vB_Upgrade_Cli->init(NULL) called in /[path]/core/install/includes/class_upgrade.php on line 741

                      #7: vB_Upgrade_Abstract->__construct(vB_Registry, array[len:10], 'upgrade', NULL, array[len:0]) called in /[path]/core/install/includes/class_upgrade_cli.php on line 83

                      #8: vB_Upgrade_Cli->__construct(vB_Registry, array[len:10], 'upgrade', NULL, array[len:0]) called in /[path]/core/install/includes/class_upgrade.php on line 54

                      #9: vB_Upgrade::fetch_library(vB_Registry, array[len:10], '', true) called in /[path]/core/install/upgrade.php on line 141

                      Comment


                      • #12
                        This appears to be a dead end. Maybe time to move on.

                        Comment


                        • #13
                          Was your vB4 instance 'forum only' or did it have cms, articles and blogs (even if disabled)?
                          MARK.B | vBULLETIN SUPPORT

                          TalkNewsUK - My vBulletin 5.5.2 Demo
                          AdminAmmo - My Cloud Demo

                          Comment


                          • #14
                            As far as I'm aware of, it is forum only, but how can I check? The vb4 instance is here: http://forum.glamour.de/

                            Comment


                            • #15
                              I threw in some phrases to at least get rid of "Could not find phrase", and basically tried everything from tools.php, like "repair tables", "scan content tables", "repair routes", but nothing changed:

                              Step 141 - Warning: get_class() expects parameter 1 to be object, boolean given in .../vb/library/content.php on line 2289

                              Error Incorrect content class (vB_Library_Content_Channel) was called for node 2 which is of type on /data/forum.new.glamour.de/releases/20170301123120/htdocs/core/vb/library/content.php : 2295

                              #0: vB_Utilities::getStackTrace() called in /[path]/core/install/includes/class_upgrade_cli.php on line 299

                              #1: vB_Upgrade_Cli->execute_step(141, vB_Upgrade_500a1) called in /[path]/core/install/includes/class_upgrade_cli.php on line 243

                              #2: vB_Upgrade_Cli->process_script('500a1', '0') called in /[path]/core/install/includes/class_upgrade_cli.php on line 149

                              #3: vB_Upgrade_Cli->init(NULL) called in /[path]/core/install/includes/class_upgrade.php on line 741

                              #4: vB_Upgrade_Abstract->__construct(vB_Registry, array[len:10], 'upgrade', NULL, array[len:0]) called in /[path]/core/install/includes/class_upgrade_cli.php on line 83

                              #5: vB_Upgrade_Cli->__construct(vB_Registry, array[len:10], 'upgrade', NULL, array[len:0]) called in /[path]/core/install/includes/class_upgrade.php on line 54

                              #6: vB_Upgrade::fetch_library(vB_Registry, array[len:10], '', true) called in /[path]/core/install/upgrade.php on line 141

                              Comment

                              Related Topics

                              Collapse

                              Working...
                              X