Yii Framework Forum: Yii pagination work properly on localhost but not work on a live server - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii pagination work properly on localhost but not work on a live server Rate Topic: ***** 1 Votes

#1 User is offline   amanullah 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 17-March 15

Posted 27 March 2015 - 02:19 AM

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.saidadaes...y_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
0

#2 User is offline   le_top 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 446
  • Joined: 08-June 10
  • Location:France (Ile-de-France/Val d'Oise)

Posted 29 March 2015 - 06:40 AM

Hi
Check out some of my previous responses:
http://www.yiiframew...772#entry193772

http://www.yiiframew...post__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.
0

#3 User is offline   amanullah 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 17-March 15

Posted 30 March 2015 - 12:11 AM

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 :)
0

#4 User is offline   amanullah 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 17-March 15

Posted 30 March 2015 - 12:12 AM

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 :)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users