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