This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » plugins » Search plugins » Searchable + Blog index
Searchable + Blog index [message #88915] Tue, 24 November 2009 02:42
passbe
Messages: 20
Registered: September 2008
Junior Member
I have a weird problem, i have three types of objects, Projects, Pages and Blogs. Now when i try and search for Projects or Pages under a certain keyword, i get results not a problem. But if i search for anything under Blogs i get the following error:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 523800 bytes) in 
example.com/lib/symfony/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine.php on line 469 


This is the following code im using to test the search functionality:
$newsItemTable = Doctrine::getTable('Blog');
$results = $newsItemTable->search($this->form->getValue('keyword'));
print_r($results);


The database has the following:
blog_index: 127 rows
project_index: 147 rows
page_index: 0 (haven't inserted any records yet)

Is this a bug, or something i have done wrong? Any help would be appreciated.

Edit--
should have mentioned im using Doctrine and Symfony version 1.2.7

Edit 2--
have upgraded to symfony 1.4, still the same problem

[Updated on: Mon, 21 December 2009 11:11]

Previous Topic:Search filter
Next Topic:How to count several items with sfLucene´╝ü
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software