Does search-function work on PHP CGI patched eZ sites?

Author Message

Valentin Svelland

Friday 24 October 2003 4:21:11 am

I'm running an eZ site in PHP CGI with this patch:
http://www.ez.no/developer/ez_publish_3/forum/install_configuration/my_final_patch_for_phpcgi

However I've discovered that my search doesn't seem to work anymore. I suspect this is due to the fact that an '?' is included in the urls of my site due to the patch. At the same time the search-function amongst others use '?' to declade input parameters like keyword in search...

(My version is 3.2-2)

I'm no hardcore-programmer, an I might very well be wrong? Anyone know about this?

Tom Erik Thorsen

Friday 24 October 2003 5:55:24 am

I've managed to get the search-function to work, but it's quite strange...

The first time I search for something, the search engine works fine and returns hits.

But when I try to search for something different, it just uses the same search-word...

Valentin Svelland

Monday 27 October 2003 5:55:43 am

The eZ Crew said they were planning cgi-compability in a future release so I guess we'll have to be a little bit patient with this functionality in php cgi...

Until then I've discovered this thread suggesting a change in the /templates/content/search.tpl (and advanced_search.tpl):
http://www.ez.no/developer/ez_publish_3/forum/install_configuration/php_as_cgi_and_search

However this solution doesn't quite do it.. Tried it out and are having the same problems as the author of that thread...

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 18 2025 22:20:13
Script start
Timing: Jan 18 2025 22:20:13
Module start 'layout'
Timing: Jan 18 2025 22:20:13
Module start 'content'
Timing: Jan 18 2025 22:20:13
Module end 'content'
Timing: Jan 18 2025 22:20:13
Script end

Main resources:

Total runtime0.0154 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 589.5859152.6563
Module start 'layout' 0.00500.0032 742.242239.5078
Module start 'content' 0.00820.0053 781.750089.3672
Module end 'content' 0.01350.0018 871.117234.3047
Script end 0.0153  905.4219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.7478140.0002
Check MTime0.00117.1072140.0001
Mysql Total
Database connection0.00074.395610.0007
Mysqli_queries0.002616.843630.0009
Looping result0.00000.104010.0000
Template Total0.00159.910.0015
Template load0.00095.787910.0009
Template processing0.00064.108510.0006
Override
Cache load0.00063.860110.0006
General
dbfile0.00138.409480.0002
String conversion0.00000.069840.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