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
[email protected]
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=
[email protected]
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.