# |
Sep 22nd 2011, 10:40 |
dakota |
diverdude: read the migration guide :) That's why it was written |
# |
Sep 22nd 2011, 10:40 |
maennchen |
Section58: i checked the whole email-code and there is not attachement |
# |
Sep 22nd 2011, 10:40 |
Section58 |
maennchen: there are many things that could go wrong between your server and your client. for example, your isp might have blocked it |
# |
Sep 22nd 2011, 10:40 |
ujjain |
Section58: seems it's just broken then? $this->data has content, but serach doesn't work, I followed instructions fine |
# |
Sep 22nd 2011, 10:40 |
diverdude |
dakota, also...how much difference is there between cake 1.33 and 2.0? I mean would migration take a long time? |
# |
Sep 22nd 2011, 10:40 |
Section58 |
maennchen: firstly, check your headers in the email you recive |
# |
Sep 22nd 2011, 10:39 |
maennchen |
i've a problem: when i send an email via the official emailcomponent and attach a file, i don't receive the attachement |
# |
Sep 22nd 2011, 10:39 |
Section58 |
hello maennchen |
# |
Sep 22nd 2011, 10:39 |
Section58 |
thats why its so damn fast |
# |
Sep 22nd 2011, 10:39 |
Section58 |
it uses sphuinx nice |
# |
Sep 22nd 2011, 10:39 |
maennchen |
hello |
# |
Sep 22nd 2011, 10:38 |
dakota |
diverdude: the cake2.0 book uses sphinx |
# |
Sep 22nd 2011, 10:38 |
dakota |
diverdude: I know lucene works with cake and there are some guides about it. |
# |
Sep 22nd 2011, 10:38 |
ujjain |
[Telefoonnummer] => Array([q] => Ziggo) |
# |
Sep 22nd 2011, 10:38 |
diverdude |
dakota, i will have some heavy searching...so i thought about employing lucene or sphinx...dont know how well they integrate with cake though |
# |
Sep 22nd 2011, 10:38 |
ujjain |
$this->set('results',$this->Telefoonnummer->search($this->data['Telefoonnummer']['q'])); |
# |
Sep 22nd 2011, 10:37 |
Section58 |
to filter the results for index actions |
# |
Sep 22nd 2011, 10:37 |
ujjain |
/telefoonnummers/search submits to /telefoonnummers/search |
# |
Sep 22nd 2011, 10:37 |
dakota |
diverdude: never used it. but I've heard good things about it |
# |
Sep 22nd 2011, 10:37 |
Section58 |
the fun stuff should be in the app controller |
# |
Sep 22nd 2011, 10:37 |
ujjain |
it submits to itself. |
# |
Sep 22nd 2011, 10:37 |
diverdude |
dakota, do you recommend lucene? |
# |
Sep 22nd 2011, 10:37 |
Section58 |
i don't know how searchable works so i can only work of basic logical replys |
# |
Sep 22nd 2011, 10:37 |
Section58 |
might have something to do with it |
# |
Sep 22nd 2011, 10:36 |
Section58 |
see where the form part is submitting too |
# |
Sep 22nd 2011, 10:36 |
ujjain |
no errors on search form, no results though. |
# |
Sep 22nd 2011, 10:35 |
ujjain |
http://www.codepad.eu/view/16622071 |
# |
Sep 22nd 2011, 10:34 |
ujjain |
and search_index is empty table |
# |
Sep 22nd 2011, 10:34 |
ujjain |
but I am trying to run the indexer, I thought I had to, because without gives no results |
# |
Sep 22nd 2011, 10:34 |
Section58 |
you would have to submit a form first |
# |
Sep 22nd 2011, 10:34 |
ujjain |
oh wait, of course, I am not submitting data look |
# |
Sep 22nd 2011, 10:34 |
ujjain |
empty array... |
# |
Sep 22nd 2011, 10:33 |
Section58 |
if nothing is in that array, your form is broken |
# |
Sep 22nd 2011, 10:33 |
Section58 |
debug($this->data) to see how its pushing thu your app |
# |
Sep 22nd 2011, 10:32 |
Section58 |
i guess its not set |
# |
Sep 22nd 2011, 10:32 |
Section58 |
with $this->data in the front ofc |
# |
Sep 22nd 2011, 10:32 |
ujjain |
Notice (8): Undefined index: Telefoonnummer [APP/models/telefoonnummer.php, line 8] |
# |
Sep 22nd 2011, 10:32 |
Section58 |
yes |
# |
Sep 22nd 2011, 10:32 |
ujjain |
wouldn't that be ['Telefoonnummer']['name']? |
# |
Sep 22nd 2011, 10:31 |
ujjain |
$index = $this->data['Comment']['text']; |
# |
Sep 22nd 2011, 10:31 |
ujjain |
hmm, I want to index Telefoonnummer.name |