Search Error (v.4.0.1)

Search Error (v.4.0.1)

Thursday 02 October 2008 5:33:36 pm - 4 replies

Author Message

André R.

Friday 03 October 2008 12:26:39 am

Looks like your running in fastcgi or cgi mode.
One way of fixing it is to override the search templates and change them from GET to POST method.

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

Jung Son

Saturday 04 October 2008 1:31:06 am

Thanks André for your suggestion.
I have tried to change search.tpl (under setting>override) with POST.
However, it still shows the same error message.
Is this related to my hosting server setting? or anything I can do to fix this?

Please advice.

Regards,
Jung

André R.

Sunday 05 October 2008 7:43:43 am

Well, (fast)cgi is not officially supported, so you would be better of with a php as apache module setup.

Back to the search template, there are several (10-20) and you will need to modify the correct one, more on that here:
http://ez.no/developer/forum/general/content_structure_and_search_module
http://ez.no/developer/forum/developer/url_problem_index_php

But switching to post is more a workaround then a solution, so you could try out some alternative ways if you want to (If so, please mention how it goes so we can consider it for eZ Publish):
http://ez.no/developer/forum/install_configuration/breakthrough_that_widespread_not_beyond_the_opening_screen_problem
http://ez.no/developer/forum/install_configuration/3_4_php_as_cgi_removing_index_php_url_part

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

Gaetano Giunta

Sunday 05 October 2008 11:32:24 am

You can also get good results using the standard ez syntax for GET params instead of passing by POST, as long as you do not need advance search features - look at http://issues.ez.no/IssueView.php?Id=13556&activeItem=9 for tips on how to do it

Principal Consultant International Business
Member of the Community Project Board

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.