Forums / Setup & design / Search Engine problem

Search Engine problem

Author Message

BJørnar Trondsen

Monday 10 July 2006 11:51:41 am

When I try to do a search, I get this error:

Module not found

The requested module SearchText=datasheet&x=11&y=13 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 didn't supply one, try inserting a siteaccess name before the module in the URL

What seems to be the issue here?

Tim Dickinson

Monday 10 July 2006 12:02:08 pm

How is PHP installed on your server - as an Apache module or a CGI?

If it's a CGI I believe you have to change

method="get"

to

method="post"

I haven't had eZpublis installed on a PHP CGI system for a while but that is what I had to do back with version 3.4

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

BJørnar Trondsen

Monday 10 July 2006 2:53:23 pm

Thanks! How / where do I change the method? I have at least 7 files ending in search.tpl. Do I change these files locally and upload the files to the server, or is there som way in the Admin panel to do it?

Tim Dickinson

Monday 10 July 2006 3:37:24 pm

Which template you need to alter depends on how you are using the search in the toolbar.

If you are using the search in the top or bottom toolbar then you need to change the searchbox.tpl in the line folder, wheras if you are using it in the right toolbar then you should change the template in the full folder.

To find the relevant templates quickly, under the design tab in your eZpublish installation admin interface just search for searchbox and then choose which one you need to make a copy of and then alter that copy.

Do note that you should not alter any templates where they are, you should make a copy of that template as an override and then edit that when it is in your own design directory.

That sounds a lot more complicated than it is, it's a bit late for a good explanation ;-)

Regards

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

BJørnar Trondsen

Wednesday 12 July 2006 11:29:48 am

Actually, I'd like to install the advanced search engine interface, so that I can filter my search throgh class FIle attributes. Any idea on how I can change from the simple search engine interfaqce to the advanced one. And which tpl file should I then edit?

BJørnar Trondsen

Wednesday 12 July 2006 2:47:08 pm

<i>"To find the relevant templates quickly, under the design tab in your eZpublish installation admin interface just search for searchbox and then choose which one you need to make a copy of and then alter that copy."</i>

This is just the probem. When I try to search for anything, I just get this error message:

Module not found

The requested module filterString=searchbox.tpl&FilterButton=Filter could not be found.

Also, I have like 43 pages of templates each page containing some 20 templates.
WHen I clik "next" or number "1,2,3,....." it just loads the first page. That way I can never go manually to the page containing the searchbox template.

However, I did the GET to POST change in searchbox.tpl in the line folder, in a text editor and FTPed it into the correct spot. I still get that error.

Perhaps I should just abandod eZ and not waste anymore time on it. My host is a shared one (Verio), so they won't change PHP from CGI mode to an Apache module (talked with them on the phone).

Unless there is an easier way to have eZ run in CGI mode?

Kristoffer Karlsson

Monday 23 October 2006 7:24:19 am

Hi Björnar! Hope you didn&#180;t abandon ez...

Perhaps you&#180;ve already solved your problem. This is how i did...

To fix the problem with filtering templates:
Change the method to post in templatelist.tpl for your admin siteaccess.

To fix the navigation (previous 1 2 3 4 next) you need to modify google.tpl as described in this thread:
http://ez.no/community/forum/install_configuration/search_results_and_php_in_cgi_mode_part_2

_____________________________________
Blog: http://www.kristofferkarlsson.com
Website: http://www.spelkanalen.com

eZ debug

Timing: Jan 18 2025 19:16:10
Script start
Timing: Jan 18 2025 19:16:10
Module start 'content'
Timing: Jan 18 2025 19:16:10
Module end 'content'
Timing: Jan 18 2025 19:16:10
Script end

Main resources:

Total runtime0.2259 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0083 588.8359180.8438
Module start 'content' 0.00830.0056 769.6797101.9766
Module end 'content' 0.01390.2119 871.6563530.5000
Script end 0.2258  1,402.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00401.7598200.0002
Check MTime0.00150.6515200.0001
Mysql Total
Database connection0.00100.426310.0010
Mysqli_queries0.169975.21221410.0012
Looping result0.00150.64231390.0000
Template Total0.210893.310.2108
Template load0.00090.413610.0009
Template processing0.209892.897910.2098
Override
Cache load0.00060.277110.0006
Sytem overhead
Fetch class attribute can translate value0.00120.552610.0012
XML
Image XML parsing0.00030.116510.0003
General
dbfile0.00482.1173200.0002
String conversion0.00000.002330.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs