Forums / Setup & design / Problem regrading "/content/search" for research.

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

eZ debug

Timing: Jan 20 2025 21:02:41
Script start
Timing: Jan 20 2025 21:02:41
Module start 'content'
Timing: Jan 20 2025 21:02:42
Module end 'content'
Timing: Jan 20 2025 21:02:43
Script end

Main resources:

Total runtime1.3395 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 587.8438180.8125
Module start 'content' 0.00561.1920 768.6563568.9688
Module end 'content' 1.19750.1419 1,337.6250332.7422
Script end 1.3395  1,670.3672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.3079210.0002
Check MTime0.00150.1108210.0001
Mysql Total
Database connection0.00060.047810.0006
Mysqli_queries1.263894.34771940.0065
Looping result0.00220.16661920.0000
Template Total1.312298.020.6561
Template load0.00260.195820.0013
Template processing1.309697.762020.6548
Template load and register function0.00020.015810.0002
states
state_id_array0.00120.085910.0012
state_identifier_array0.00120.091820.0006
Override
Cache load0.00220.1619190.0001
Sytem overhead
Fetch class attribute can translate value0.00200.152430.0007
Fetch class attribute name0.00110.078940.0003
XML
Image XML parsing0.00100.072930.0003
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00660.4944290.0002
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs