Search

Author Message

David Oh

Sunday 14 March 2010 9:10:23 pm

Hello!

When I use search I get following messages

Module not found

The requested module SearchText=welcome could not be found.

Possible reasons for this are:

  • The module name was misspelled, try changing the URL.
  • The module does not exist on this site.
  • This site uses siteaccess matching in the URL and you did not supply one, try inserting a siteaccess name before the module in the URL .

Please help me..

David Oh

Sunday 14 March 2010 9:15:06 pm

Where can I install the search module..?

Gaetano Giunta

Monday 15 March 2010 1:56:20 am

The search module is installed by default with eZ Publish.

You must have a misconfiguration in the way your eZP recognizes the siteaccess in use.

Please try:

- cleaning the cache

- verifying if the settings in file site.ini.append.php in the settings/override folder are correct

- check if there are any reverse proxy or similar that might interfere with your urls

Principal Consultant International Business
Member of the Community Project Board

David Oh

Monday 15 March 2010 2:43:20 am

• Cleared all caches.
• Below are my site.ini.append.php, is there something wrong?
• I'm sorry, how can I check if there is any reverse proxy?

<?php /* #?ini charset="utf-8"?

[ExtensionSettings]
ActiveExtensions[]
ActiveExtensions[]=ezjscore
ActiveExtensions[]=ezstarrating
ActiveExtensions[]=ezgmaplocation
ActiveExtensions[]=ezflow
ActiveExtensions[]=ezwt
ActiveExtensions[]=ezwebin
ActiveExtensions[]=ezoe
ActiveExtensions[]=ezodf
ActiveExtensions[]=ezmultiupload

[Session]
SessionNameHandler=custom

[SiteSettings]
DefaultAccess=eng
SiteList[]
SiteList[]=whisper
SiteList[]=eng
SiteList[]=chi
SiteList[]=kor
SiteList[]=whisperadmin
SiteList[]=iphone
RootNodeDepth=1
SiteName=Whisper Entertainment
SiteURL=whisperca.com/whisper/index.php?

[UserSettings]
LogoutRedirect=/

[SiteAccessSettings]
CheckValidity=false
AvailableSiteAccessList[]
AvailableSiteAccessList[]=whisper
AvailableSiteAccessList[]=eng
AvailableSiteAccessList[]=chi
AvailableSiteAccessList[]=kor
AvailableSiteAccessList[]=whisperadmin
AvailableSiteAccessList[]=iphone
MatchOrder=uri
HostMatchMapItems[]

[RegionalSettings]
TranslationSA[]
TranslationSA[eng]=Eng
TranslationSA[chi]=Chi
TranslationSA[kor]=Kor

[FileSettings]
VarDir=var/ezflow_site

[MailSettings]
Transport=sendmail
AdminEmail=david@onlysd.net
EmailSender=

[EmbedViewModeSettings]
AvailableViewModes[]
AvailableViewModes[]=embed
AvailableViewModes[]=embed-inline
InlineViewModes[]
InlineViewModes[]=embed-inline
*/ ?>

P.S. I just installed it with eZ flow package. and search funtion does not work. didn't modify anything in CP yet.

Yannick Komotir

Monday 15 March 2010 6:35:11 am

Hi,

can you use it in your admin interface ?

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

David Oh

Monday 15 March 2010 9:48:29 am

I tried to use search box in admin interface but i get same error...

Doug Brethower

Monday 15 March 2010 8:29:58 pm

A --get-- or a --post-- ? May vary by Web hosting service.

Edit:
../domainname.com/html/extension/ezwebin/design/ezwebin/templates/page_header_searchbox.tpl
Change the second line from..
<form action={"/content/search"|ezurl} >
To..
<form action={"/content/search"|ezurl} method="post">

Then clear the caches and try again.

More ..

http://webportalmaster.com/index.php/eng/MT-GS/HowTo/Fix-broken-Search-in-ezwebin-on-GS-services

Cheers!

Doug Brethower
Apple Certified Technical Consultant, Southwest, MO USA
http://share.ez.no/directory/companies/lakedata.net

David Oh

Tuesday 16 March 2010 12:02:59 am

I'm using Ezflow package. and I guess Ezflow has different file structures. since I couldnt find that page_header_searchbox.tpl

I found this one

/extension/ezflow/design/ezflow/override/templates/block/search.tpl and it had POST in it.

------------------------------------------------------------------------------------------------------------------------------------

<h2>{$block.name|wash()}</h2>
<form id="search-form-{$block.id}" action="{'ezajax/search'|ezurl('no')}" method="post">
<input id="search-string-{$block.id}" type="text" name="SearchStr" value="" />
<input id="search-button-{$block.id}" class="button" type="submit" name="SearchButton" value="Search" />
</form>

<div id="search-results-{$block.id}"></div>
{ezscript_require( array( 'ezjsc::yui3', 'ezjsc::yui3io', 'ezajaxsearch.js' ) )}

<script type="text/javascript">
eZAJAXSearch.cfg = {ldelim}
searchstring: '#search-string-{$block.id}',
searchbutton: '#search-button-{$block.id}',
searchresults: '#search-results-{$block.id}',
resulttemplate: '<div class="float-break result-item"><div class="item-title"><a href="{ldelim}url_alias{rdelim}">{ldelim}title{rdelim}</a></div><div class="item-published-date">[{ldelim}class_name{rdelim}] {ldelim}date{rdelim}</div></div>'
{rdelim};
eZAJAXSearch.init();
</script>

---------------------------------------------------------------------------------------------------------------------------------------

FYI, I'm using bluehost.com hosting..

this is so hard to solve..

Nicolas Pastorino

Tuesday 16 March 2010 2:43:04 am

Hi David,

Could you enable DebugOutput (in an override for site.ini more info in the online doc ) and tell us what you see there ?

Cheers !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Romeo Antony

Tuesday 20 July 2010 9:28:25 am

I am getting the same error

Module not found

 

The requested module SearchText=dubai could not be found.

 

Possible reasons for this are:

  • The module name was misspelled, try changing the URL.
  • The module does not exist on this site.
  • This site uses siteaccess matching in the URL and you did not supply one, try inserting a siteaccess name before the module in the URL .

MY site.ini in global override is like this

<?php /* #?ini charset="utf-8"?
[ExtensionSettings]
ActiveExtensions[]=ezmultiupload
ActiveExtensions[]=ezjscore
ActiveExtensions[]=ezstarrating
ActiveExtensions[]=ezgmaplocation
ActiveExtensions[]=ezfind
ActiveExtensions[]=ezflow
ActiveExtensions[]=ezwt
ActiveExtensions[]=ezwebin
ActiveExtensions[]=ezoe
ActiveExtensions[]=ezodf
ActiveExtensions[]=wordtrunc
ActiveExtensions[]=charactertrunc
[Session]
SessionNameHandler=custom
[SiteSettings]
DefaultAccess=muscatdaily
SiteList[]=muscatdaily
SiteList[]=eng
SiteList[]=muscatdaily_admin
SiteList[]=iphone
RootNodeDepth=1
SiteName=eZ Flow
MetaDataArray[author]=eZ Systems
MetaDataArray[copyright]=eZ Systems
MetaDataArray[description]=Content Management System
MetaDataArray[keywords]=cms, publish, e-commerce, content management, development framework
SiteURL=127.0.0.1/ezpublishing/index.php?
[UserSettings]
LogoutRedirect=/
[SiteAccessSettings]
CheckValidity=false
AvailableSiteAccessList[]=muscatdaily
AvailableSiteAccessList[]=eng
AvailableSiteAccessList[]=muscatdaily_admin
AvailableSiteAccessList[]=iphone
MatchOrder=uri
HostMatchMapItems[]
[DesignSettings]
DesignLocationCache=enabled
[RegionalSettings]
TranslationSA[eng]=Eng
[FileSettings]
VarDir=var/muscatdaily
[MailSettings]
Transport=SMTP
TransportServer=
TransportUser=
TransportPassword=
AdminEmail=romeo.antony@apexstuff.com
EmailSender=
[EmbedViewModeSettings]
AvailableViewModes[]=embed
AvailableViewModes[]=embed-inline
InlineViewModes[]=embed-inline
[DebugSettings]
DebugOutput=disabled
DebugRedirection=disabled
*/ ?>

Can anyone please help me

Yannick Komotir

Tuesday 20 July 2010 10:10:50 am

Hi,

Iook at what is generated from this {'ezajax/search'|ezurl('no')} , i think it's the source of the problem.

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

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 04:56:09
Script start
Timing: Jan 18 2025 04:56:09
Module start 'layout'
Timing: Jan 18 2025 04:56:09
Module start 'content'
Timing: Jan 18 2025 04:56:10
Module end 'content'
Timing: Jan 18 2025 04:56:10
Script end

Main resources:

Total runtime1.3723 sec
Peak memory usage4,096.0000 KB
Database Queries90

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 587.7891152.6094
Module start 'layout' 0.00690.0050 740.398439.4297
Module start 'content' 0.01191.3589 779.8281845.1875
Module end 'content' 1.37090.0014 1,625.015628.2031
Script end 1.3722  1,653.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2590160.0002
Check MTime0.00170.1237160.0001
Mysql Total
Database connection0.00080.056510.0008
Mysqli_queries1.237190.1470900.0137
Looping result0.00100.0695880.0000
Template Total1.319696.220.6598
Template load0.00260.188320.0013
Template processing1.317095.967920.6585
Template load and register function0.00020.012210.0002
states
state_id_array0.00230.169410.0023
state_identifier_array0.00200.145220.0010
Override
Cache load0.00250.18132130.0000
Sytem overhead
Fetch class attribute can translate value0.00110.079460.0002
Fetch class attribute name0.00120.0867160.0001
XML
Image XML parsing0.00420.303860.0007
class_abstraction
Instantiating content class attribute0.00000.0021170.0000
General
dbfile0.01110.8123410.0003
String conversion0.00000.002040.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
11content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
30content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/header.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/header.tplEdit templateOverride template
2content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
2content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
15content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 72
 Number of unique templates used: 11

Time used to render debug report: 0.0001 secs