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

eZ debug

Timing: Jan 18 2025 02:44:39
Script start
Timing: Jan 18 2025 02:44:39
Module start 'content'
Timing: Jan 18 2025 02:44:40
Module end 'content'
Timing: Jan 18 2025 02:44:40
Script end

Main resources:

Total runtime0.9427 sec
Peak memory usage4,096.0000 KB
Database Queries227

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0138 588.7344180.8516
Module start 'content' 0.01380.7836 769.5859850.2500
Module end 'content' 0.79740.1452 1,619.8359353.3438
Script end 0.9426  1,973.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00600.6375210.0003
Check MTime0.00200.2103210.0001
Mysql Total
Database connection0.00180.193810.0018
Mysqli_queries0.789783.77502270.0035
Looping result0.00320.33582250.0000
Template Total0.902395.720.4512
Template load0.00230.241820.0011
Template processing0.900095.480220.4500
Template load and register function0.00030.028710.0003
states
state_id_array0.00110.112610.0011
state_identifier_array0.00100.102020.0005
Override
Cache load0.00250.26972130.0000
Sytem overhead
Fetch class attribute can translate value0.00220.234670.0003
Fetch class attribute name0.00150.1545160.0001
XML
Image XML parsing0.00280.300270.0004
class_abstraction
Instantiating content class attribute0.00000.0036170.0000
General
dbfile0.00480.5138520.0001
String conversion0.00000.000730.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
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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 72
 Number of unique templates used: 11

Time used to render debug report: 0.0002 secs