Hi,

I previously followed the instructions for modifying
ProjectConfiguration to register autoloading for the Zend autoloader
in order to use Zend Search:

  static public function registerZend()
  {
    if (self::$zendLoaded)
    {
      return;
    }

    set_include_path(sfConfig::get('sf_lib_dir').'/
vendor'.PATH_SEPARATOR.get_include_path());
    require_once sfConfig::get('sf_lib_dir').'/vendor/Zend/
Loader.php';
    Zend_Loader::registerAutoload();
    self::$zendLoaded = true;
  }


Since then, I have had no problems using Zend Search until today, when
I added the following line of code:

$userQuery = Zend_Search_Lucene_Search_QueryParser::parse($query);

This is now leading to the error:

Failed opening required 'Zend/Search/Lucene/Index/
Term.php' (include_path='PATH_OMITTED' on line 23

Line 23 says:

require_once 'Zend/Search/Lucene/Index/Term.php';

I can see that Term is in my config_autoload.yml:

'Zend_Search_Lucene_Index_Term' => 'C:/PATH_TO_PROJECT/lib/vendor/Zend/
Search/Lucene/Index/

Previously, I wasn't calling the QueryParser class directly so I did
not have this problem.

Has anyone encountered this, and do you have a solution by chance?

Thanks,
Steve



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to