All Searches return 0 results

Author Message

nathaniel burbank

Tuesday 20 July 2004 7:16:33 pm

I am setting a site (http://politicalretort.org) using eZ Publish 3.4.1, and everything is working great, except for search. Every-time I search for anything, regardless of weather I am in the user or admin interface, I get "no results found" for terms I know exist on my site.

Here is what I have done. First I checked to make sure that the appropriate parts of the article class were searchable (they were). Next, using PHPMyAdmin, I took a look at the tables for the "ezsearch_word" in my database. Sure enough, terms from the test article I published were there, so I know stuff is getting indexed properly.

Finally, following a suggestion from someone another forum post, I re-uploaded all the files in the "search" folder, inside the kernel. This did no good as well.

So, if anyone has and suggestions or can point me to the appropriate forum discussion , I would appreciate it very much.

Thanks,
Nathaniel

Ole Morten Halvorsen

Tuesday 27 July 2004 4:25:13 am

Have you tried to turn on debugging to see if you get any error in there?

When searching, eZ publish uses temporary tables so make sure your mysql user has permissions to create temp tables.

Ole M.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

nathaniel burbank

Tuesday 03 August 2004 7:54:47 pm

Ya, so it turns out that it was an issue of my My_SQL user not having access to temporary tables. I had to ask my web host provider to turn them on, and than search worked!

Thanks for the help,

Nathaniel
--
http://politicalretort.org

John Mina

Monday 16 August 2004 8:11:14 am

hi
m y problem at : http://ez.no/community/forum/developer/search_problem_in_my_db/#msg65430
a bit similar but not the same
as when i set a new ezpublish instalation to use the same DB , it is not having any problems.

I wonder what is the problem :(
any help please

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 31 2025 06:21:01
Script start
Timing: Jan 31 2025 06:21:01
Module start 'layout'
Timing: Jan 31 2025 06:21:01
Module start 'content'
Timing: Jan 31 2025 06:21:02
Module end 'content'
Timing: Jan 31 2025 06:21:02
Script end

Main resources:

Total runtime1.1396 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.2500151.2266
Module start 'layout' 0.00490.0029 739.476636.6797
Module start 'content' 0.00781.1310 776.1563939.0781
Module end 'content' 1.13880.0008 1,715.234412.1484
Script end 1.1395  1,727.3828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2692160.0002
Check MTime0.00120.1037160.0001
Mysql Total
Database connection0.00070.058910.0007
Mysqli_queries1.091195.7430620.0176
Looping result0.00060.0493600.0000
Template Total1.101296.620.5506
Template load0.00200.172820.0010
Template processing1.099296.455220.5496
Template load and register function0.00160.138210.0016
states
state_id_array0.00160.140410.0016
state_identifier_array0.00220.196620.0011
Override
Cache load0.00160.1445260.0001
Sytem overhead
Fetch class attribute can translate value0.00050.044830.0002
Fetch class attribute name0.00200.174240.0005
XML
Image XML parsing0.00030.030130.0001
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00060.0560100.0001
String conversion0.00000.000740.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs