If you feel confident of doing this you can write a patch, I will included it into the trunk. I havn't look to the code yet, so I have no idea how action are loaded ... On Mon, Jul 27, 2009 at 4:49 PM, Olivier Revollat <revol...@gmail.com>wrote:
> Ok that explain why I have sevral error with this ... > I have replace > > include(sfConfigCache::getInstance()->checkConfig($config)); > > With > > include(sfContext::getInstance()->getConfigCache()->checkConfig($config)); > > Now this line of code work, but I still have problems loading actions name > ... As you said, it's because it has not been rewite for sf 1.2 (this apply > only to "action idexation", isn't it ?) > If I can help you, I will be glad ... > > 2009/7/27 Thomas Rabaix <thomas.rab...@gmail.com> > >> The action indexation has not been ported to 1.1 and 1.2. I will try to >> fix that this week .... shoot me an email if not ;) >> >> On Mon, Jul 27, 2009 at 3:54 PM, Olivier Revollat <revol...@gmail.com>wrote: >> >>> When I try to rebuild the index I get this error (see below) . I am using >>> symfony 1.2.9-DEV .. >>> $ ./symfony lucene:rebuild frontend >>> Processing "MyIndex/en" now... >>> >> Lucene Rebuilding index... >>> >>> Fatal error: Call to undefined method sfConfigCache::getinstance() in >>> C:\workspa >>> ces\zend\escotav2\plugins\sfLucenePlugin\lib\indexer\sfLuceneActionIndexerHandler.class.php >>> on line 45 >>> >>> >>> >>> 2009/2/9 Thomas Rabaix <thomas.rab...@gmail.com> >>> >>>> Hello, >>>> >>>> >>>> I have updated the sfLucene plugin with new tasks : >>>> >>>> - rebuild-index : index only one index >>>> - update-model : index one model for one index (doctrine only) >>>> - update-model-system : index models or one model for one index >>>> using sub system calls to avoid memory leak and issues with to many open >>>> files (doctrine only) >>>> >>>> The changes are available on the svn : >>>> - >>>> http://svn.symfony-project.com/plugins/sfLucenePlugin/branches/1.2-Doctrine/ >>>> >>>> Please feel free to report any bug/issues you may have. The plugin may >>>> works fine with symfony 1.1 and doctrine too. >>>> >>>> -- >>>> Thomas Rabaix >>>> >>>> >>>> >>>> >>> >>> >>> >> >> >> -- >> Thomas Rabaix >> http://rabaix.net >> >> >> >> > -- Thomas Rabaix http://rabaix.net --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---