Search problems and how to fix

Author Message

Denis Brækhus

Thursday 02 October 2003 3:17:55 am

After installing eZ 3.2 we experienced problems with the searches. Both the admin and the user searches would not return any results.

This is now working, firstly I followed these instructions for reindexing :
http://ez.no/content/view/full/24804

A problem occured here with the script just silently dying, this was fixed by setting up memory_limit in php.ini to 128M temporarily.

After successfully reindexing the database, the searches were as dead as ever, and turning on debug output showed that I had not given all the necessary rights in my mysql database (eZ could not create temporary tables and thus failed to search). After giving the proper rights searches now work again.

Hope this will be of use to someone :)

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 03:36:31
Script start
Timing: Jan 31 2025 03:36:31
Module start 'layout'
Timing: Jan 31 2025 03:36:31
Module start 'content'
Timing: Jan 31 2025 03:36:31
Module end 'content'
Timing: Jan 31 2025 03:36:31
Script end

Main resources:

Total runtime0.0242 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.2500151.2266
Module start 'layout' 0.00500.0032 739.4766220.7188
Module start 'content' 0.00820.0142 960.1953993.7109
Module end 'content' 0.02240.0018 1,953.906329.9922
Script end 0.0242  1,983.8984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002911.9436140.0002
Check MTime0.00145.5898140.0001
Mysql Total
Database connection0.00103.918310.0010
Mysqli_queries0.00239.321330.0008
Looping result0.00000.049210.0000
Template Total0.00114.710.0011
Template load0.00093.620310.0009
Template processing0.00021.014710.0002
Override
Cache load0.00062.520110.0006
General
dbfile0.00239.655680.0003
String conversion0.00000.024640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs