Problem with SEARCH

Author Message

lorenzo messori

Monday 09 May 2005 2:14:16 am

Hi all,
i have a problem with search:
i had installed ez publish for testing on a server with PHP 4.3.10 like CGI; when i try searching the resulting path is SearchText=sentence searched,
and it must be /content/search/SearchText=sentence searched to run correctly.
I get the same error in admin pages. I used the standard template and i don't undarstand it.
Many suggest?

Thx to all previously

Ɓukasz Serwatka

Monday 09 May 2005 2:18:44 am

Hi Lorenzo,

Welcome to eZ publish Community :)

Look at this topic:
http://ez.no/community/forum/install_configuration/search_results_and_php_in_cgi_mode_part_2

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

lorenzo messori

Monday 09 May 2005 3:58:37 am

My problems weren't in google.tpl, but in the searchtoolbar.tpl and in search.tpl where i changed the method from "get" to "post".
Now works correctly.
Many thx Lukasz.

I have some problems to work with code in EZ... :(

Sebastian Picklum

Monday 06 February 2006 9:42:56 am

You can also use the following RewriteRule in CGI-Mode to pass the Query-Parameters:

RewriteEngine on

RewriteRule !^index\.php.* - [C]
RewriteRule !^webdav\.php.* - [C]

RewriteRule !\.(gif|jpe?g|png|css|js|html)|var(.+)storage.pdf(.+)\.pdf?$ - [C]
RewriteRule (.*) /index.php?/$1&%{QUERY_STRING} [L]

Regards

Sebastian

sp@php.net

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 16:06:02
Script start
Timing: Jan 18 2025 16:06:02
Module start 'layout'
Timing: Jan 18 2025 16:06:02
Module start 'content'
Timing: Jan 18 2025 16:06:04
Module end 'content'
Timing: Jan 18 2025 16:06:04
Script end

Main resources:

Total runtime1.1405 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.0060 594.6797152.6250
Module start 'layout' 0.00600.0029 747.304739.4453
Module start 'content' 0.00891.1300 786.7500579.6172
Module end 'content' 1.13890.0016 1,366.367212.4844
Script end 1.1405  1,378.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3393160.0002
Check MTime0.00160.1399160.0001
Mysql Total
Database connection0.00080.066410.0008
Mysqli_queries1.084795.1042620.0175
Looping result0.00070.0630600.0000
Template Total1.103596.820.5518
Template load0.00240.206820.0012
Template processing1.101296.551220.5506
Template load and register function0.00020.021110.0002
states
state_id_array0.00200.176110.0020
state_identifier_array0.00200.176820.0010
Override
Cache load0.00180.1600260.0001
Sytem overhead
Fetch class attribute can translate value0.00070.059030.0002
Fetch class attribute name0.00250.216250.0005
XML
Image XML parsing0.00100.091430.0003
class_abstraction
Instantiating content class attribute0.00000.001450.0000
General
dbfile0.00090.0799180.0001
String conversion0.00000.000840.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
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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/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: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs