Problem regrading "/content/search" for research.

Author Message

nga patel

Friday 29 April 2005 2:30:37 am

In my site, I had set the button, in which after writing any word and clicking on the another button "OK",(I set it with following script),

<table align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
 <td  valign="top">  
  <form action="/content/search" method="get">
		<input name="recherche" type="text" id="search" value="Rechercher par motsclés" size="22" maxlength="" onFocus="this.value=''">
 </td>
</tr>

<tr> 
 <td align="right">	<input class="button" type="submit" value="OK" />
  </form>
 </td>
</tr>
</table>

Now the problem is that after clicking on the "OK" it shows " Not Found
The requested URL /content/search was not found on this server.

Apache/1.3.33 Server at localhost Port 80"

Is there anything wrong, I had also check my content/search.tpl file, I can't understand why this error causes?
Could anybody help me?
Thanks

<i>// please use

 tags to mark your code, thank you</i>

Łukasz Serwatka

Thursday 05 May 2005 11:50:16 pm

Try replace your action with action={"/content/search"|ezurl}

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

nga patel

Monday 09 May 2005 1:45:58 am

Thanks, but it does not work exactly what I want, means it shows the same result in the front page and as you can see in my script I had already created this Box and in place of the "Search" button I had created "OK" button, so after following your advice, in the front page when I write any key work to search in the first box which I had created and then when I click on the "OK" button, it does not show the required result but comes the same another form with "Advance search" and with some description. I could understand this is due to the "content/seach.php" file, and so I have to override this file to solve this problem but I don't know where I have to create this override file and how its works. Is this the same override file which we created to show the folder description? I also try but mean while if there is any documents or any idea for that please mention here.
Thanks

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 01:12:32
Script start
Timing: Jan 19 2025 01:12:32
Module start 'layout'
Timing: Jan 19 2025 01:12:32
Module start 'content'
Timing: Jan 19 2025 01:12:33
Module end 'content'
Timing: Jan 19 2025 01:12:33
Script end

Main resources:

Total runtime0.9754 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 590.4219152.6406
Module start 'layout' 0.00730.0054 743.062539.4766
Module start 'content' 0.01260.9615 782.5391541.4766
Module end 'content' 0.97420.0012 1,324.015612.1250
Script end 0.9753  1,336.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3465160.0002
Check MTime0.00140.1472160.0001
Mysql Total
Database connection0.00080.080810.0008
Mysqli_queries0.922394.5569570.0162
Looping result0.00070.0725550.0000
Template Total0.932295.620.4661
Template load0.00270.276120.0013
Template processing0.929595.303820.4648
Template load and register function0.00020.020910.0002
states
state_id_array0.00190.196310.0019
state_identifier_array0.00180.186020.0009
Override
Cache load0.00230.2358190.0001
Sytem overhead
Fetch class attribute can translate value0.00110.108520.0005
Fetch class attribute name0.00130.134640.0003
XML
Image XML parsing0.00070.075120.0004
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00090.0937180.0001
String conversion0.00000.001440.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 7

Time used to render debug report: 0.0003 secs