Yii Framework Forum: Issue With Cgridview Filter In Iis - Yii Framework Forum

Jump to content

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

Issue With Cgridview Filter In Iis Rate Topic: -----

#1 User is offline   TiagoA 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 23-March 11

Posted 16 October 2013 - 09:24 AM

Hi!

I ran into a weird bug with CGridView. I have an application with a CGridView that runs fine in Apache (WAMP stack), but when I put it in IIS, the filter and pagination stops working properly.

To reproduce the bug, I filter one of the fields, like so:
Posted Image

Then I click to page 2, and I get this:
Posted Image

As you can see, I get these weird filters in other columns. Probably that's what breaking the code.

When I filter with unicode characters (e.g." √Čvora"), I get this 500 error:
Posted Image

Again, this CGridView works perfectly in Apache. I tried with two different IIS servers and got the same result, so my best guess is that IIS is breaking it.

I already did:
- Check if the database is Unicode: it is. In fact, both IIS and Apache applications use the same DB/instance.
- Check if the app files are UTF8: they are. I used UTFCast to batch change the whole application and checked the encoding in Notepad++.
- Updated Yii to the last version.
- Googled this a lot: no answer so far...

EDIT: Oh, I also tested other applications we have that use the CGridView widget and got the same result: works on Apache, breaks on IIS. So, the problem is probably not in this app's code.

Any idea?

Thx,
Tiago
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