Forums / Install & configuration / Something wrong with search...
Siw Helen Thorslund
Sunday 08 August 2004 4:43:15 am
In my installation of Exponential, I get an error when I search. The eZ debug says this:
eZ debug
Error: index Aug 08 2004 13:38:02 Undefined module: SearchText=oss
Timing: Aug 08 2004 13:38:02 Module end 'error'
Error: eZTemplate Aug 08 2004 13:38:02 No such attribute for array(3): node_idChoose one of following: content, path, uri
Warning: PHP Aug 08 2004 13:38:02 Undefined offset: 4 in /var/www/html/ez/kernel/common/eztreemenuoperator.php on line 111
Warning: eZContentObjectTreeNode::fetch Aug 08 2004 13:38:02 Cannot fetch node from empty node ID
Warning: PHP Aug 08 2004 13:38:02 Undefined offset: 1 in /var/www/html/ez/kernel/common/eztreemenuoperator.php on line 116
Warning: PHP Aug 08 2004 13:38:02 strpos(): Empty delimiter. in /var/www/html/ez/var/news/cache/template/compiled/node_list-c458118af0949f27c43565b6b38c2c7a.php on line 30 What can I do to fix this?
www.VZT.no ( http://www.VZT.no ) VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser ) VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions ) www.MediaBase.no ( http://www.MediaBase.no )
Bård Farstad
Tuesday 10 August 2004 2:15:44 am
To me this looks like you're running Exponential 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...
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.deAny help appreciated.
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
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.
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!!!