Server Upgrade - Advanced Search Fails

Hi Everyone, I haven’t been posting here for a long time, mostly I can figure out my own problems but this time I’m hoping that the community can help me out a bit.

I recently had to upgrade my server to php 5.3+ because I needed to add a library that required namespaces only available in PHP 5.3 or better.

The previous version was 5.2.9 something.

My dev machine is running 5.4.20 and my server was recently upgraded to 5.4.32, these seem reasonably close and my expectation was that what works locally would work on the server. Did I mention that I hate servers!!!

Anyway there are a few other differences and I will continue to try and sort them out.

I have a web site that does not properly function in the advance search that is normally created by Gii. The parameters are supposed to be added to the url as get parameters but this is not happening. If I cut/paste the get parameters in it works.

Is there something that I am missing where I cant see the get parameters changed? There is one other major difference between my dev machine and the live site, the live site is https and local is http.

Any suggestions would be welcome, if you need me to post code, whaddaya need?

This is the code in the view that shows the search form and handles the submit. This was created by Gii and I think newer versions do it differently.


Yii::app()->clientScript->registerScript('search', "



	return false;


$('.search-form form').submit(function(){

	$.fn.yiiGridView.update('participant-grid', {

		data: $(this).serialize()


	return false;




Thanks in advance,


Hi doodle

Welcome back basically whats happening here is jquery taking the data from the form and submitting the form to the same action that was given to ActiveForm.action can you paste your form _search.php