vB4.0.4 - Common Issues

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

    vB4.0.4 - Common Issues

    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
    • 24358
    • 5.7.X

    #2
    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);
    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
      • 24358
      • 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
        • 24358
        • 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
          • 24358
          • 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:23am. Reason: Updated 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
            • 24358
            • 5.7.X

            #6
            Please note the above post has been updated with a change to the Temporary Fix
            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...