Something wrong with search...

Something wrong with search...

Sunday 08 August 2004 4:43:15 am - 7 replies

Author Message

Bård Farstad

Tuesday 10 August 2004 2:15:44 am

To me this looks like you're running eZ publish under apache in CGI mode. The search in CGI mode is currently broken, but it will be fixed in future releases.

--bård

Documentation: http://ez.no/doc

Horst Lindlbauer

Wednesday 07 January 2009 11:51:59 am

This is a very old thread, but it seems the problem still exists...
My online searches always return "Undefined module: SearchText=..."
phpinfo() returns: Server API :CGI

The search link looks quite strange too:

<domain>/index.php?SearchText=searchtext

I guess, it should be:

 
<domain>/index.php?/ger/content/search?SearchText=searchtext

If I insert the second version manually, I get : Access denied (kernel (1) ).

Any help appreciated.

---------------------------------------
http://www.lbm-services.de

Noicokuna Niemoge

Wednesday 21 January 2009 2:22:33 am

I fixed simple search and advanced search in their corresponding templates by modifying the form header.

Instead of method=get write method=post, and search will work.

Yet I didn't fix the link to advanced search in simple search. Gonna investigate it.

Shiki soku ze ku...

Horst Lindlbauer

Tuesday 27 January 2009 4:59:05 am

Thanks for the try. But this was not the problem.
The problem is that the search module itself can't be found.
Search works well on my test environment where I run the same eZ installation, but not on my provider's server.
Please try search on http://ez.lbm-services.de
Any help appreciated.

---------------------------------------
http://www.lbm-services.de

André R.

Tuesday 27 January 2009 6:37:41 am

This is most likely since the live server uses cgi / fascgi instead of php as a apache module. You can fix it like descibed above (change get to post) or if your running in virualhost mode it should also help if you set ForceVirtualHost=true in site.ini.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Noicokuna Niemoge

Tuesday 27 January 2009 11:09:05 pm

Mr Horst, I was also getting error message "module was not found". Please try the method described by me and tell us if it works or not.

Shiki soku ze ku...

Horst Lindlbauer

Saturday 31 January 2009 5:30:48 am

First it had no effect, because I replaced every method=get with method=post.
But the form tag in default pagelayout.tpl has no method defined at all.
This has to be completed so that it reads

<form action={"/content/search/"|ezurl} method="post">

in every template containing search box.

Thank you!!!

 

---------------------------------------
http://www.lbm-services.de

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.