Problem for Search in Database

Author Message

Leandro Alves

Tuesday 06 July 2004 9:03:06 am

Hi!!!

I am having several problems with the search operator, it does't work fine!!! :(

<b>One of its:</b>
I created a new class called "Member" with the attributes Full Name(Text line), Occupation(Text line) and Picture (image) and set the roles... after I created the following members:

- Eder Silva Trevisoli
- Janaina A Padoveze
- Leandro D Alves

In my template, I have this code to search:

<div id="searchbox">
<form action={"/content/search/"|ezurl} method="get">
<input class="searchtext" type="text" size="10" name="SearchText" id="Search" value="" />
<input class="searchbutton" name="SearchButton" type="submit" value="Search" />
</form>
</div>

I haven't created a override template for search.tpl yet, I'm using the standard template.

<b>Cases:</b>

1. If I search for "Leandro" <b>or</b> "D" <b>or</b> "Alves", this return the message:
<b>Search for "One of above" returned 1 matches"</b>

2. If I search for "Eder" <b>or</b> "Silva" it <b>doesn't work</b>:
<b>No results were found when searching for "One of above"</b>

<b>But</b> If I search for "Trevisoli" it <b>work</b>:
<b>Search for "One of above" returned 1 matches"</b>

3. And with "Janaina" it doesn't work too, but with "Padoveze" it work!

<b>Other problem</b>

If I have a article's name im my database <b>with accent</b> and looking for this word <b>without accent</b>, the search return <b>ALL</b> objects of my site (All article, All forders, ALL images...)

Example:

Article's name: O que é Política?

If I search for <b>"Politica"</b> this return:

Users Anonymous User Guest accounts Administrator users Editors Administrator User Media Anonymous Users

And ALL others objects!!!

<b>What Can I do to resolve my problem?</b>
<b>Is there anything to do in my Database, in my eZ???</b>

My database is with a lot of things (articles, folders, images, files)

I performed the runcronjobs.php script but nothing happened!!! :(

Thanks a lot!
Leandro

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 20 2025 00:25:15
Script start
Timing: Jan 20 2025 00:25:15
Module start 'layout'
Timing: Jan 20 2025 00:25:15
Module start 'content'
Timing: Jan 20 2025 00:25:16
Module end 'content'
Timing: Jan 20 2025 00:25:16
Script end

Main resources:

Total runtime0.6282 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 589.1563152.6250
Module start 'layout' 0.00780.0027 741.781339.4609
Module start 'content' 0.01060.6162 781.2422421.1172
Module end 'content' 0.62680.0014 1,202.35948.1641
Script end 0.6282  1,210.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5821160.0002
Check MTime0.00170.2688160.0001
Mysql Total
Database connection0.00100.155710.0010
Mysqli_queries0.578492.0711460.0126
Looping result0.00040.0709440.0000
Template Total0.591494.120.2957
Template load0.00230.360220.0011
Template processing0.589193.767420.2945
Template load and register function0.00030.039810.0003
states
state_id_array0.00160.248710.0016
state_identifier_array0.00100.159820.0005
Override
Cache load0.00190.2994340.0001
Sytem overhead
Fetch class attribute can translate value0.00080.124810.0008
Fetch class attribute name0.00060.090210.0006
XML
Image XML parsing0.00010.020210.0001
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00070.1049100.0001
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs