vB4.0.4 - Common Issues - UPDATED

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24325
    • 5.7.X

    vB4.0.4 - Common Issues - UPDATED

    Issue:

    When viewing a Member Profile Page, the following is received:

    Checking if a package is enabled for an invalid package '3' on line 392 in /var/www/*********/subdomains/forum/httpdocs/vb/types.php
    #0 /var/www/*********/subdomains/forum/httpdocs/vb/router.php(503): vB_Types->packageEnabled('3')
    #1 /var/www/*********/subdomains/forum/httpdocs/vb/router.php(566): vB_Router::assertRoutes()
    #2 /var/www/*********/subdomains/forum/httpdocs/vb/route.php(231): vB_Router::getRouteSegmentFromClass('vBCms_Route_L is...')
    #3 /var/www/*********/subdomains/forum/httpdocs/packages/vbcms/route/list.php(92): vB_Route->__construct()
    #4 /var/www/*********/subdomains/forum/httpdocs/member.php(567): vBCms_Route_List::getURL(Array)
    #5 {main}


    Fatal error: Checking if a package is enabled for an invalid package '3' on line 392 in [path]/vb/types.php in [path]/vb/vb.php on line 287
    #0 vb_error_handler(256, Checking if a package is enabled for an invalid package '3' on line 392 in /var/www/*********/subdomains/forum/httpdocs/vb/types.php , /var/www/*********/subdomains/forum/httpdocs/vb/vb.php, 287, Array ([exception] => vB_Exception_Warning Object ([] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => Checking if a package is enabled for an invalid package '3',[] => ,[] => 0,[] => /var/www/*********/subdomains/forum/httpdocs/vb/types.php,[] => 392,[] => Array ([0] => Array ([file] => /var/www/*********/subdomains/forum/httpdocs/vb/router.php,[line] => 503,[function] => packageEnabled,[class] => vB_Types,[type] => ->,[args] => Array ([0] => 3)),[1] => Array ([file] => /var/www/*********/subdomains/forum/httpdocs/vb/router.php,[line] => 566,[function] => assertRoutes,[class] => vB_Router,[type] => ::,[args] => Array ()),[2] => Array ([file] => /var/www/*********/subdomains/forum/httpdocs/vb/route.php,[line] => 231,[function] => getRouteSegmentFromClass,[class] => vB_Router,[type] => ::,[args] => Array ([0] => vBCms_Route_List)),[3] => Array ([file] => /var/www/*********/subdomains/forum/httpdocs/packages/vbcms/route/list.php,[line] => 92,[function] => __construct,[class] => vB_Route,[type] => ->,[args] => Array ()),[4] => Array ([file] => /var/www/*********/subdomains/forum/httpdocs/member.php,[line] => 567,[function] => getURL,[class] => vBCms_Route_List,[type] => ::,[args] => Array ([0] => Array ([type] => author,[value] => 1092-Epikurieu))))),[code] => 256)) #1 trigger_error(Checking if a package is enabled for an invalid package '3' on line 392 in /var/www/*********/subdomains/forum/httpdocs/vb/types.php , 256) called at [/var/www/*********/subdomains/forum/httpdocs/vb/vb.php:287] #2 vB::handleException(vB_Exception_Warning Object ([] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => Checking if a package is enabled for an invalid package '3',[] => ,[] => 0,[] => /var/www/*********/subdomains/forum/httpdocs/vb/types.php,[] => 392,[] => Array ([0] => Array ([file] => /var/www/*********/subdomains/forum/httpdocs/vb/router.php,[line] => 503,[function] => packageEnabled,[class] => vB_Types,[type] => ->,[args] => Array ([0] => 3)),[1] => Array ([file] => /var/www/*********/subdomains/forum/httpdocs/vb/router.php,[line] => 566,[function] => assertRoutes,[class] => vB_Router,[type] => ::,[args] => Array ()),[2] => Array ([file] => /var/www/*********/subdomains/forum/httpdocs/vb/route.php,[line] => 231,[function] => getRouteSegmentFromClass,[class] => vB_Router,[type] => ::,[args] => Array ([0] => vBCms_Route_List)),[3] => Array ([file] => /var/www/*********/subdomains/forum/httpdocs/packages/vbcms/route/list.php,[line] => 92,[function] => __construct,[class] => vB_Route,[type] => ->,[args] => Array ()),[4] => Array ([file] => /var/www/*********/subdomains/forum/httpdocs/member.php,[line] => 567,[function] => getURL,[class] => vBCms_Route_List,[type] => ::,[args] => Array ([0] => Array ([type] => author,[value] => 1092-Epikurieu))))))
    Bug report: http://tracker.vbulletin.com/browse/VBIV-7467

    Fix: If CMS and/or Blog is disabled, re-enable it then disable again!
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24325
    • 5.7.X

    #2
    ** This should affect 'Forums Only' installations **

    Issue:


    When viewing a Member Profile Page, the following is received:


    Fatal error: Class 'vBCms_Route_List' not found in /home/*****/public_html/******/member.php on line 567
    Bug report: http://tracker.vbulletin.com/browse/VBIV-7464

    Fix: In member.php, if you comment out lines 567:

    Code:
    $author_list_url = vBCms_Route_List::getURL($segments);


    and 582:

    Code:
    $page_templater->register('author_list_url', $author_list_url);
    Last edited by Trevor Hannant; Sun 27 Jun '10, 8:59am.
    Vote for:

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

    Comment

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

      #3
      Issue:

      Invalid SQL:
      UPDATEsetting SET value = 3 WHERE varname = 'viewattachedimages';

      MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'UPDATEsetting SET value = 3 WHERE varname = 'viewattachedimages'' at line 1
      Error Number : 1064
      Request Date : Friday, June 18th 2010 @ 05:07:51 AM
      Error Date : Friday, June 18th 2010 @ 05:09:36 AM
      Script : http://www.site.com/vb/install/up...404.php?step=2
      Referrer : http://www.site.com/vb/install/up...404.php?step=1
      IP Address : *****
      Username :
      Classname : vB_Database
      MySQL Version : 5.0.90-community
      Bug report: http://tracker.vbulletin.com/browse/VBIV-7477

      Fix: Edit line 236 of upgrade_404.php. Change

      Code:
      "UPDATE" . TABLE_PREFIX . "setting SET value = 3 WHERE varname = 'viewattachedimages'"
      to

      Code:
      "UPDATE " . TABLE_PREFIX . "setting SET value = 3 WHERE varname = 'viewattachedimages'"
      *Note space after UPDATE
      Vote for:

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

      Comment

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

        #4
        Issue: Auto-redirects during upgrade/install and within AdminCP point to incorrect URL resulting in Page not Found errors

        Bug Report: http://tracker.vbulletin.com/browse/VBIV-7474

        Fix: Changing line 2031 of includes/class_core.php from:
        Code:
        $url_info['script'] = '/' . ltrim($url_info['script'], '/\\');
        to:

        Code:
        $url_info['script'] = '/' . ltrim($_SERVER['SCRIPT_NAME'], '/\\');
        seems to have the desired effect. Don't know if this creates any other issues though...
        Vote for:

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

        Comment

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

          #5
          ***UPDATED***

          Issue:
          Image paths in StyleVar system show 'Array' and are uneditable

          Bug report: http://tracker.vbulletin.com/browse/VBIV-7479

          Fix: In admincp/stylevar.php, change Lines 488-491 from:

          Code:
          $vbulletin->input->clean_array_gpc('p', array(
                  'stylevar' => TYPE_ARRAY_ARRAY,
                  'original' => TYPE_ARRAY_ARRAY,
              ));
          to:

          Code:
          $vbulletin->input->clean_array_gpc('p', array(
                  'stylevar' => TYPE_ARRAY,
                  'original' => TYPE_ARRAY_ARRAY,
              ));
          Last edited by Trevor Hannant; Thu 1 Jul '10, 12:22am. Reason: Changed Temp fix
          Vote for:

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

          Comment

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

            #6
            Issue: Archive forums have an extra / on the end of the URL

            Bug Report:
            http://tracker.vbulletin.com/browse/VBIV-7517

            Fix: To fix this temporarily, in archive/global.php, edit line 152 from:

            Code:
            $forum_link = '<a href="' . $vbulletin->options['bburl'] . '/archive/index.php' . (SLASH_METHOD ? '/' : '?') . "f-$forumid.html" . (SLASH_METHOD ? '/' : '&') . $vbulletin->session->vars['sessionhash'] . "\">";
            to:

            Code:
            $forum_link = '<a href="' . $vbulletin->options['bburl'] . '/archive/index.php' . (SLASH_METHOD ? '/' : '?') . "f-$forumid.html" . (SLASH_METHOD ? '' : '&') . $vbulletin->session->vars['sessionhash'] . "\">";
            Vote for:

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

            Comment

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

              #7
              Please note that post 5 has been updated with a change to the temporary fix as per the Bug Report.
              Vote for:

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

              Comment

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

                #8
                *** Affects 'Forums Only' installations ***

                Issue: Some users with Forums Only installations have reported receiving the following Database Error when trying to create a sitemap:

                Database error in vBulletin 4.0.4:

                Invalid SQL:

                SELECT administrator.*,
                userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate)
                AS passworddate, user.languageid AS saved_languageid,
                IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
                language.phrasegroup_global AS phrasegroup_global,
                language.phrasegroup_global AS phrasegroup_global,
                language.phrasegroup_cpglobal AS phrasegroup_cpglobal,
                language.phrasegroup_cpcms AS phrasegroup_cpcms,
                language.phrasegroup_cpglobal AS phrasegroup_cpglobal,
                language.options AS lang_options,
                language.languagecode AS lang_code,
                language.charset AS lang_charset,
                language.locale AS lang_locale,
                language.imagesoverride AS lang_imagesoverride,
                language.dateoverride AS lang_dateoverride,
                language.timeoverride AS lang_timeoverride,
                language.registereddateoverride AS lang_registereddateoverride,
                language.calformat1override AS lang_calformat1override,
                language.calformat2override AS lang_calformat2override,
                language.logdateoverride AS lang_logdateoverride,
                language.decimalsep AS lang_decimalsep,
                language.thousandsep AS lang_thousandsep

                FROM user AS user
                LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
                LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid =
                user.userid) LEFT JOIN administrator AS administrator ON
                (administrator.userid = user.userid) LEFT JOIN language AS language ON
                (language.languageid = IF(user.languageid = 0, 2, user.languageid))

                WHERE user.userid = 1;

                MySQL Error : Unknown column 'language.phrasegroup_cpcms' in 'field list'
                Error Number : 1054
                Request Date : Monday, July 5th 2010 @ 08:37:47 AM
                Error Date : Monday, July 5th 2010 @ 08:37:47 AM
                Script : http://www.site.com/admincp/sitemap.php
                Referrer : http://www.site.com/admincp/index.php?do=nav
                IP Address : 99.249.169.108
                Username :
                Classname : vB_Database_MySQLi
                MySQL Version :


                Bug:
                Fixed in 4.0.5

                Fix: Run the following query in phpMyAdmin:

                ALTER TABLE `PREFIXlanguage` ADD `phrasegroup_cpcms` mediumtext NOT NULL;

                If your table has a prefix, replace PREFIX with this, if not - remove PREFIX before running the query
                Last edited by Trevor Hannant; Fri 9 Jul '10, 1:26am.
                Vote for:

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

                Comment

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