This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Searchable + Blog index

Questions relating to sfLucenePlugin, sfSearch etc

Searchable + Blog index

by passbe » Tue Nov 24, 2009 3:42 am

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:
Code: Select all
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:
Code: Select all
$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
passbe
Junior Member
 
Posts: 20
Joined: Mon Sep 08, 2008 7:38 am