Announcement

Collapse
No announcement yet.

"Fatal error: No Package Found" message, forum unsable

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

  • [Forum] "Fatal error: No Package Found" message, forum unsable

    I recently removed APC cache because it was causing me problems, and replaced with XCache, as per recommendations from users in the Server Optimization section here. However now my forum has run into progressively worse issues. When I load threadview, the page doesn't render properly, all elements show up in code form (see below). Additionally, I'm now getting this error message on the search page:
    Code:
    atal error: No packages found on line 321 in [path]/vb/types.php in [path]/vb/vb.php on line 287
    Followed by this:

    Code:
    No packages found on line 321 in /home/koolaid/public_html/forums/vb/types.php
    #0 /home/koolaid/public_html/forums/vb/types.php(265): vB_Types->loadPackages('a')
    #1 /home/koolaid/public_html/forums/vb/types.php(158): vB_Types->loadTypeInfo('a')
    #2 /home/koolaid/public_html/forums/vb/types.php(120): vB_Types->loadTypes()
    #3 /home/koolaid/public_html/forums/vb/types.php(136): vB_Types->__construct()
    #4 /home/koolaid/public_html/forums/vb/search/core.php(110): vB_Types::instance()
    #5 /home/koolaid/public_html/forums/packages/vbforum/search/indexcontroller/post.php(42): vB_Search_Core->get_contenttypeid('vBForum', 'Post')
    #6 /home/koolaid/public_html/forums/packages/dpsphinxsearch/core.php(16): vBForum_Search_IndexController_Post->__construct()
    #7 [internal function]: DPSphinxSearch_Core::init()
    #8 /home/koolaid/public_html/forums/vb/search/core.php(86): call_user_func(Array)
    #9 /home/koolaid/public_html/forums/search.php(96): vB_Search_Core::get_instance()
    #10 /home/koolaid/public_html/forums/vbseo.php(1397): require('/home/koolaid/p...')
    #11 {main}
    [code]Fatal error: No packages found on line 321 in [path]/vb/types.php in [path]/vb/vb.php on line 287
    #0 vb_error_handler(256, No packages found on line 321 in /home/koolaid/public_html/forums/vb/types.php , /home/koolaid/public_html/forums/vb/vb.php, 287, Array ([exception] => vB_Exception_Critical Object ([] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => No packages found,[] => ,[] => 0,[] => /home/koolaid/public_html/forums/vb/types.php,[] => 321,[] => Array ([0] => Array ([file] => /home/koolaid/public_html/forums/vb/types.php,[line] => 265,[function] => loadPackages,[class] => vB_Types,[type] => ->,[args] => Array ([0] => a)),[1] => Array ([file] => /home/koolaid/public_html/forums/vb/types.php,[line] => 158,[function] => loadTypeInfo,[class] => vB_Types,[type] => ->,[args] => Array ([0] => a)),[2] => Array ([file] => /home/koolaid/public_html/forums/vb/types.php,[line] => 120,[function] => loadTypes,[class] => vB_Types,[type] => ->,[args] => Array ()),[3] => Array ([file] => /home/koolaid/public_html/forums/vb/types.php,[line] => 136,[function] => __construct,[class] => vB_Types,[type] => ->,[args] => Array ()),[4] => Array ([file] => /home/koolaid/public_html/forums/vb/search/core.php,[line] => 110,[function] => instance,[class] => vB_Types,[type] => ::,[args] => Array ()),[5] => Array ([file] => /home/koolaid/public_html/forums/packages/vbforum/search/indexcontroller/post.php,[line] => 42,[function] => get_contenttypeid,[class] => vB_Search_Core,[type] => ->,[args] => Array ([0] => vBForum,[1] => Post)),[6] => Array ([file] => /home/koolaid/public_html/forums/packages/dpsphinxsearch/core.php,[line] => 16,[function] => __construct,[class] => vBForum_Search_IndexController_Post,[type] => ->,[args] => Array ()),[7] => Array ([function] => init,[class] => DPSphinxSearch_Core,[type] => ::,[args] => Array ()),[8] => Array ([file] => /home/koolaid/public_html/forums/vb/search/core.php,[line] => 86,[function] => call_user_func,[args] => Array ([0] => Array ([0] => DPSphinxSearch_Core,[1] => init))),[9] => Array ([file] => /home/koolaid/public_html/forums/search.php,[line] => 96,[function] => get_instance,[class] => vB_Search_Core,[type] => ::,[args] => Array ()),[10] => Array ([file] => /home/koolaid/public_html/forums/vbseo.php,[line] => 1397,[args] => Array ([0] => /home/koolaid/public_html/forums/search.php),[function] => require)),[] => ),
    Code:
     => 256)) #1 trigger_error(No packages found on line 321 in /home/koolaid/public_html/forums/vb/types.php , 256) called at [/home/koolaid/public_html/forums/vb/vb.php:287] #2 vB::handleException(vB_Exception_Critical Object ([] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => No packages found,[] => ,[] => 0,[] => /home/koolaid/public_html/forums/vb/types.php,[] => 321,[] => Array ([0] => Array ([file] => /home/koolaid/public_html/forums/vb/types.php,[line] => 265,[function] => loadPackages,[class] => vB_Types,[type] => ->,[args] => Array ([0] => a)),[1] => Array ([file] => /home/koolaid/public_html/forums/vb/types.php,[line] => 158,[function] => loadTypeInfo,[class] => vB_Types,[type] => ->,[args] => Array ([0] => a)),[2] => Array ([file] => /home/koolaid/public_html/forums/vb/types.php,[line] => 120,[function] => loadTypes,[class] => vB_Types,[type] => ->,[args] => Array ()),[3] => Array ([file] => /home/koolaid/public_html/forums/vb/types.php,[line] => 136,[function] => __construct,[class] => vB_Types,[type] => ->,[args] => Array ()),[4] => Array ([file] => /home/koolaid/public_html/forums/vb/search/core.php,[line] => 110,[function] => instance,[class] => vB_Types,[type] => ::,[args] => Array ()),[5] => Array ([file] => /home/koolaid/public_html/forums/packages/vbforum/search/indexcontroller/post.php,[line] => 42,[function] => get_contenttypeid,[class] => vB_Search_Core,[type] => ->,[args] => Array ([0] => vBForum,[1] => Post)),[6] => Array ([file] => /home/koolaid/public_html/forums/packages/dpsphinxsearch/core.php,[line] => 16,[function] => __construct,[class] => vBForum_Search_IndexController_Post,[type] => ->,[args] => Array ()),[7] => Array ([function] => init,[class] => DPSphinxSearch_Core,[type] => ::,[args] => Array ()),[8] => Array ([file] => /home/koolaid/public_html/forums/vb/search/core.php,[line] => 86,[function] => call_user_func,[args] => Array ([0] => Array ([0] => DPSphinxSearch_Core,[1] => init))),[9] => Array ([file] => /home/koolaid/public_html/forums/search.php,[line] => 96,[function] => get_instance,[class] => vB_Search_Core,[type] => ::,[args] => Array ()),[10] => Array ([file] => /home/koolaid/public_html/forums/vbseo.php,[line] => 1397,[args] => Array ([0] => /home/koolaid/public_html/forums/search.php),[function] => require)),[] => ))
    I've tried rebuilding my EasyApache/PHP config in Cpanel (I was using DSO handler with php5). At first it seemed to fix the problems, but now the issue appears to have returned completely on its own. I honestly can't think of any changes I've made that could be causing this. The situation is pretty desperate however. It's catastrophic for us to be down during peak hours.

  • #2
    When you switched to xcache, did you change that line in the config.php file also?

    Code:
    $config['Datastore']['class'] = 'vB_Datastore_XCache';

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment


    • #3
      Lynne,

      I've brought my forum back to temporary working order by disabling plugin hooks from within config.php. In response to your question, here is my exact xcache configuration from config.php:
      // ****** DATASTORE CACHE CONFIGURATION *****
      // Here you can configure different methods for caching datastore items.
      // vB_Datastore_Filecache - to use includes/datastore/datastore_cache.php
      // vB_Datastore_APC - to use APC
      // vB_Datastore_XCache - to use XCache
      // vB_Datastore_Memcached - to use a Memcache server, more configuration below
      $config['Datastore']['class'] = 'vB_Datastore_XCache';

      // ******** DATASTORE PREFIX ******
      // If you are using a PHP Caching system (APC, XCache, eAccelerator) with more
      // than one set of forums installed on your host, you *may* need to use a prefix
      // so that they do not try to use the same variable within the cache.
      // This works in a similar manner to the database table prefix.
      $config['Datastore']['prefix'] = 'vbo_';

      // It is also necessary to specify the hostname or IP address and the port the server is listening on

      $config['Datastore']['class'] = 'vB_Datastore_XCache';
      $i = 0;
      // First Server
      $i++;
      $config['Misc']['xcacheserver'][$i] = '127.0.0.1';
      $config['Misc']['xcacheport'][$i] = 11211;
      // $config['Misc']['xcachepersistent'][$i] = true;
      // $config['Misc']['xcacheweight'][$i] = 1;
      // $config['Misc']['xcachetimeout'][$i] = 1;
      // $config['Misc']['xcacheretry_interval'][$i] = 15;
      And php.ini:
      [xcache-common]
      zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20090626/xcache.so
      ; required for >=php5.1 if you turn XCache on
      auto_globals_jit = Off

      [xcache.admin]
      ; xcache.admin.user = "admin"
      ; paste the output of md5("password") below
      ; xcache.admin.pass = "***************** (not my actual hash)"

      [xcache]
      xcache.shm_scheme = "mmap"
      xcache.size = 128M
      xcache.count = 8
      xcache.slots = 8K
      xcache.ttl = 7200
      xcache.gc_interval = 300

      xcache.var_size = 128M
      xcache.var_count = 1
      xcache.var_slots = 8K
      xcache.var_ttl = 7200
      xcache.var_maxttl = 14400
      xcache.var_gc_interval = 300

      xcache.test = Off
      xcache.readonly_protection = Off
      xcache.mmap_path = "/dev/zero"
      xcache.coredump_directory = ""

      xcache.cacher = On
      xcache.stat = On
      xcache.optimizer = On

      [xcache.coverager]
      xcache.coverager = Off
      xcache.coveragedump_directory = ""
      My setup is EasyApache 2.2.17 (latest), mod_php (DSO) as php 5.3.6 default handler

      Dedicated VPS:
      CentOS 5.6 x86_64 | Xen ext.3 | 2.13 GHz Intel Xeon (x8) | 12GB DDR3 RAM

      Comment


      • #4
        What is DPSphinx_Search?
        anders | vbulletin team | check out the new vbulletin facebook app
        Proudly vBulletin'ing since 2001
        Please be my friend!
        http://www.twitter.com/inetskunkworks
        vBulletin Performance Articles:
        Click here to read

        Comment


        • #5
          Digital Point Sphinx Search:
          http://products.digitalpoint.com/vbu...inx-search.php

          It's a replacement for vb stock search. I've disabled it right now however I am 99.9% sure it is not causing these problems.

          Comment


          • #6
            Judging from that trace you posted, it looks like you may have data in your vB_Cache that's corrupt (specifically the vbcms_types.types for some reason).

            For good measure, I would clear the existing cache (it will automatically rebuild as needed) under AdminCP -> vBulletin CMS -> Clear CMS Cache
            Sphinx Search for vBulletin 4: https://marketplace.digitalpoint.com...tin-4.870/item
            Someone send me a message on Twitter when this site is usable again. https://twitter.com/digitalpoint

            Comment

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