Yii pagination work properly on localhost but not work on a live server

Hello

yii pagination work properly on localhost but it doesn’t work on live server .when i click on next it assign wrong value to parameters which i am passing with url.

http://dev.saidadaescola.com.br/bill/history/from/01-10-2014/to/27-03-2015/kid_name//parent_email//company/10/history_search/history_search/page/2

In the above url i am passing kid_name which is null but it assign parent_email as a value to kid_name means like this kid_name =‘parent_email’

please help me thanx a lot

Hi

Check out some of my previous responses:

http://www.yiiframework.com/forum/index.php/topic/40054-mssql-sorting-problem/page__p__193772#entry193772

http://www.yiiframework.com/forum/index.php/topic/48240-cgridview-and-pagination-offset-problem/page__view__findpost__p__225863

Your servers is running IIS and likely also MSSQL - your localhost may be running mysql on your localhost or have a number of records for which the issue does not occur.

Hi

i think the problem is in link when link look like this saidadaescola.com.br/bill/history?from=01-10-2014&to=30-03-2015&kid_name=&parent_email=&company=10&history_search=history_search

then it work proper but when i click on nxt then it generate url like this saidadaescola.com.br/bill/history/from/01-10-2014/to/30-03-2015/kid_name//parent_email//company/10/history_search/history_search/page/2 . here kid_name is empty but on server

/kid_name//parent_email// it doesn’t consider empty but it assign parent_email as a value to kid_name means kid_name = parent_email

thnx a lot :)

Hi

i think the problem is in link when link look like this saidadaescola.com.br/bill/history?from=01-10-2014&to=30-03-2015&kid_name=&parent_email=&company=10&history_search=history_search

then it work proper but when i click on nxt then it generate url like this saidadaescola.com.br/bill/history/from/01-10-2014/to/30-03-2015/kid_name//parent_email//company/10/history_search/history_search/page/2 . here kid_name is empty but on server

/kid_name//parent_email// it doesn’t consider empty but it assign parent_email as a value to kid_name means kid_name = parent_email

thnx a lot :)