Fatal Error upgrading to 5.1.10 from 4.2.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • David Karol
    Member
    • Jan 2011
    • 72
    • 5.5.x

    Fatal Error upgrading to 5.1.10 from 4.2.3

    See below. Error during 'final upgrade step'. I'm pushing to this version instead of the latest to hopefully work around http://tracker.vbulletin.com/browse/VBV-15798 Fatal Error Occurred

    Error on */core/vb/library/style.php : 534

    Script: final
    Step: 14

    When using upgrade process via command line, below error shows:

    Template Group: Tag
    Template Group: User Profile Field
    Template Group: User Setting
    Template Group: Module
    Template Group: Ungrouped Templates 1
    Template Group: Ungrouped Templates 2
    Template Group: Ungrouped Templates 3
    Template Group: Ungrouped Templates 4
    Template Group: Ungrouped Templates 5
    Template Group: Ungrouped Templates 6
    <b>API Error</b><br><b>Error:</b> invalidid<br><b>Args:</b><br><pre style="font-family:Lucida Console,Monaco5,monospace;font-size:small;overflow:auto;border:1px solid #CCC;">array (
    0 =&gt; 'styleid',
    )</pre>
    ## */core/vb/library/style.php(534) Exception Thrown
    #0 */core/vb/library/style.php(412): vB_Library_Style->fetchStyleByID(NULL)
    #1 */core/vb/library/template.php(106): vB_Library_Style->fetchStyleRecord(0, false)
    #2 */core/vb/library/template.php(50): vB_Library_Template->fetchBulk(Array, 0, 'compiled', false)
    #3 */core/includes/class_core.php(1388): vB_Library_Template->fetch('color_style.css', 0, false)
    #4 */core/includes/class_core.php(1360): vB_Template->render_output(true, false)
    #5 */core/includes/adminfunctions_template.php(660): vB_Template->render(true)
    #6 */core/vb/library/style.php(1185): write_style_css_directory('1', '1,-1', 'ltr')
    #7 */core/vb/library/style.php(1207): vB_Library_Style->buildStyleInternal('1', 'Default Style (...', Array, '1,-1', false)
    #8 */core/vb/library/style.php(964): vB_Library_Style->buildStyleInternal(-1, 'bbcode_video', Array, '', false)
    #9 */core/vb/library/template.php(480): vB_Library_Style->buildStyle(-1, 'bbcode_video', Array, false)
    #10 */core/vb/api/template.php(167): vB_Library_Template->insert(-1, 'bbcode_video', '<vb:if conditio...', 'vbulletin', false, '', false, Array)
    #11 */core/includes/functions_databuild.php(108): vB_Api_Template->insert(-1, 'bbcode_video', '<vb:if conditio...', 'vbulletin')
    #12 */core/install/includes/class_upgrade_final.php(629): build_bbcode_video(true)
    #13 */core/install/includes/class_upgrade.php(1936): vB_Upgrade_final->step_14(Array)
    #14 */core/install/includes/class_upgrade_cli.php(268): vB_Upgrade_Version->execute_step(14, true, Array)
    #15 */core/install/includes/class_upgrade_cli.php(352): vB_Upgrade_Cli->execute_step(14, Object(vB_Upgrade_final), true, Array, false)
    #16 */core/install/includes/class_upgrade_cli.php(223): vB_Upgrade_Cli->execute_step(14, Object(vB_Upgrade_final))
    #17 */core/install/includes/class_upgrade_cli.php(129): vB_Upgrade_Cli->process_script('final', false)
    #18 */core/install/includes/class_upgrade.php(668): vB_Upgrade_Cli->init(NULL)
    #19 */core/install/includes/class_upgrade_cli.php(83): vB_Upgrade_Abstract->__construct(Object(vB_Registry), Array, 'upgrade', NULL, Array)
    #20 */core/install/includes/class_upgrade.php(54): vB_Upgrade_Cli->__construct(Object(vB_Registry), Array, 'upgrade', NULL, Array)
    #21 */core/install/upgrade.php(124): vB_Upgrade::fetch_library(Object(vB_Registry), Array, '', true)
    #22 {main}

  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24287
    • 6.0.X

    #2
    We can't provide any support for 5.1.10.....you'll need to upgrade to 5.2.1.
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • David Karol
      Member
      • Jan 2011
      • 72
      • 5.5.x

      #3
      Hi Mark,

      Is there any workaround for http://tracker.vbulletin.com/browse/VBV-15798 ?

      New Page From Template Broken

      Thanks

      Comment

      • Mark.B
        vBulletin Support
        • Feb 2004
        • 24287
        • 6.0.X

        #4
        Nothing that I'm aware of, sorry.
        MARK.B
        vBulletin Support
        ------------
        My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
        My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

        Comment

        • David Karol
          Member
          • Jan 2011
          • 72
          • 5.5.x

          #5
          Hi Mark,

          With the issue making 5.2.1 unusable for CMS, assistance with the upgrade to 5.1.10 would be appreciated.

          A similar issue is seen upgrading to 5.1.8:

          Template Group: Ungrouped Templates 1
          Template Group: Ungrouped Templates 2
          Template Group: Ungrouped Templates 3
          Template Group: Ungrouped Templates 4
          Template Group: Ungrouped Templates 5
          Template Group: Ungrouped Templates 6
          <b>API Error</b><br><b>Error:</b> invalidid<br><b>Args:</b><br><pre style="font-family:Lucida Console,Monaco5,monospace;font-size:small;overflow:auto;border:1px solid #CCC;">array (
          0 =&gt; 'styleid',
          )</pre>

          Thanks

          Comment

          • Trevor Hannant
            vBulletin Support
            • Aug 2002
            • 24356
            • 5.7.X

            #6
            Looks like this bug:



            Note the comment in the original report about deleting a row from the database then using tools.php to rebuild the styles then complete the upgrade.
            Vote for:

            - Admin Settable Paid Subscription Reminder Timeframe (vB6)
            - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

            Comment

            Related Topics

            Collapse

            Working...