Forum

July 12th, 2025
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Weird issue
04/05/2011
18:50
Avatar
don
New Member
Members
Forum Posts: 2
Member Since:
04/05/2011
sp_UserOfflineSmall Offline

I 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.

05/05/2011
16:58
Avatar
don
New Member
Members
Forum Posts: 2
Member Since:
04/05/2011
sp_UserOfflineSmall Offline

I 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?

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information