Forum
Topic RSS
18:50
04/05/2011
OfflineI have quite a few working examples of jqGrid, and yesterday I added a new one. It worked fine on my localhost, but when I moved it to my online staging server I'd get the Loading screen, and then nothing. No errors.
Some notes:
1) Using JSON, downloaded all at once
2) Works fine in localhost in the same browser.
3) HTML source looks identical
4) JS source are identical
5) JSON data is identical
6) PHP 5.1 on staging server, PHP 5.3 on local
7) Works in Firefox 3 (issue appears in Chrome 11)
8) Never ran into this before in my other jqGrid setups.
Anybody run into anything like this before? This has really gotten me puzzled, and I don't want to start debugging jqGrid itself.
16:58
04/05/2011
OfflineI figured it out. The answer was really found in this line from the original question:
6) PHP 5.1 on staging server, PHP 5.3 on local
There was an invalid character (shows up as �) in one of the fields of the database that wasn't being escaped properly in PHP 5.1, but was in PHP 5.3.
I'd call this a Chrome bug, since Firefox handled it fine, and Chrome should have at least generated a warning (it didn't crash the page, or crash javascript, or anything like that at all).
Its possible that jqGrid itself is suppressing the warning, though. Does anyone know if this is the case?
Most Users Ever Online: 994
Currently Online:
9 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66
Log In
Home