Forms errors !!!

Author Message

Selmah Maxim

Sunday 05 February 2006 2:04:19 pm

Hi ...

The form ignoring the action ... and I get error in the debug !

The template :

<form action={"/content/search/"|ezurl} method="get">
      <table width="180" border="0" cellpadding="0" cellspacing="8">
        <tr>
          <td class=td2>Search By Year </td>
        </tr>
        <tr>
          <td><input class="input" type="text"  name="SearchText" id="Search" value="" />
              <div class="smallbr"></div>
              <input class="submit" name="SearchButton" type="submit" value="Search" />
              <input type="hidden" name="class_id" value="20" />
              <input type="hidden" name="SearchContentClassID" value="208" /></td>
        </tr>
      </table>
    </form>

The Html output


<form action="/index.php?/site/content/search" method="get">
      <table width="180" border="0" cellpadding="0" cellspacing="8">
        <tr>
          <td class=td2>Search By Year </td>
        </tr>
        <tr>
          <td><input class="input" type="text"  name="SearchText" id="Search" value="" />
              <div class="smallbr"></div>
              <input class="submit" name="SearchButton" type="submit" value="Search" />
              <input type="hidden" name="class_id" value="20" />
              <input type="hidden" name="SearchContentClassID" value="208" /></td>
        </tr>
      </table>
    </form>

The error :

</code> Could not find module named 'SearchText=&PhraseSearchText=&SearchContentClassAttributeID=202&SearchDate=-1&SearchButton=Search&SearchContentClassID=16'
These directories were tried none of them exists:
kernel/SearchText=&PhraseSearchText=&SearchContentClassAttributeID=202&SearchDate=-1&SearchButton=Search&SearchContentClassID=16
</code>

Please .. any idea what wrong here ?!

Selmah Maxim

Sunday 05 February 2006 2:05:48 pm

just fogot to say the also the url is wrong after submit the search :

http://www.xxx.com/index.php?SearchText=x33s&PhraseSearchText=&SearchContentClassAttributeID=202&SearchDate=-1&SearchButton=Search&SearchContentClassID=16

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

Main resources:

Total runtime1.8261 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0084 590.1484151.1953
Module start 'layout' 0.00840.0037 741.343836.6172
Module start 'content' 0.01211.8132 777.9609454.7891
Module end 'content' 1.82530.0007 1,232.750011.8750
Script end 1.8260  1,244.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.2234160.0003
Check MTime0.00140.0774160.0001
Mysql Total
Database connection0.00090.049710.0009
Mysqli_queries1.784897.7426520.0343
Looping result0.00050.0291500.0000
Template Total1.773497.120.8867
Template load0.00180.099720.0009
Template processing1.771697.016020.8858
Template load and register function0.00030.016410.0003
states
state_id_array0.00270.150510.0027
state_identifier_array0.00370.200820.0018
Override
Cache load0.00150.0834180.0001
Sytem overhead
Fetch class attribute can translate value0.00100.054110.0010
Fetch class attribute name0.00180.098620.0009
XML
Image XML parsing0.00010.006410.0001
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00080.0424100.0001
String conversion0.00000.000540.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
2content/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
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: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs