Search and php cgi

Author Message

Valentin Svelland

Monday 27 October 2003 6:29:57 am

I'll give this topic a go at the developers section as well: I have to run my eZ installation in PHP CGI-mode. Found a patch that makes this run smooth, with one exception : the search doesn't work.

The following thread suggests a fix by changing the form request from 'get' to 'post', and also changing '?' to '&' in urls.. However this doesn't quite do it even though I managed to make the search return it's results once this way...

http://www.ez.no/developer/ez_publish_3/forum/install_configuration/php_as_cgi_and_search

http://www.ez.no/developer/ez_publish_3/forum/setup_design/does_searchfunction_work_on_php_cgi_patched_ez_sites

Any of the hardcore members of the community see the reason why this isn't working properly?

Regards,
Valentin

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 19 2025 00:28:02
Script start
Timing: Jan 19 2025 00:28:02
Module start 'layout'
Timing: Jan 19 2025 00:28:02
Module start 'content'
Timing: Jan 19 2025 00:28:03
Module end 'content'
Timing: Jan 19 2025 00:28:03
Script end

Main resources:

Total runtime0.6814 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.0049 587.7969152.6094
Module start 'layout' 0.00490.0039 740.406339.4297
Module start 'content' 0.00880.6710 779.8359434.9609
Module end 'content' 0.67980.0016 1,214.79698.1875
Script end 0.6813  1,222.9844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4722160.0002
Check MTime0.00130.1863160.0001
Mysql Total
Database connection0.00060.087210.0006
Mysqli_queries0.640193.9466460.0139
Looping result0.00050.0766440.0000
Template Total0.651895.720.3259
Template load0.00240.347420.0012
Template processing0.649495.315620.3247
Template load and register function0.00010.020510.0001
states
state_id_array0.00040.056810.0004
state_identifier_array0.00070.099220.0003
Override
Cache load0.00190.2787110.0002
Sytem overhead
Fetch class attribute can translate value0.00060.093010.0006
Fetch class attribute name0.00070.105820.0004
XML
Image XML parsing0.00190.278610.0019
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00210.3130160.0001
String conversion0.00000.001740.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 7
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs