Forum

November 2nd, 2014
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_Related Related Topics sp_TopicIcon
not well formed
30/10/2012
00:51
Avatar
djkuddel
Member
Members
Forum Posts: 25
Member Since:
01/08/2011
sp_UserOfflineSmall Offline

Hi,

I have following problem.

I have 96 records shown in 10 packs, but when I go to page 5 I got the following error message.

But why?

Can Anyone help me?

Error: not well formed
sourcefile: http://domain.com/file.php?_se.....038;hellip;..lrows=2000
line: 2, column: 671
Sourcecode:
<rows><page>5</page><total>10</total><records>96</records><row id='1'><cell>1</cell><cell>Restaurant</cell><cell>Super Clear Coin Laundry</cell><cell>2815</cell><cell>Los Angeles</cell><cell>90011</cell><cell></cell><cell></cell><cell></cell><cell>-</cell><cell>-</cell><cell>0</cell><cell>Yes</cell></row><row id='2'><cell>2</cell><cell>Restaurant</cell><cell>Super Clear Coin Laundry</cell><cell>2815</cell><cell>Los Angeles</cell><cell>90011</cell><cell></cell><cell></cell><cell></cell><cell>-</cell><cell>-</cell><cell>0</cell><cell>Yes</cell></row><row id='3'><cell>3</cell><cell>Other</cell><cell>Rock & Talk Wireless</cell><cell>726 W Vernon Ave</cell><cell>Los Angeles</cell><cell>90037</cell><cell> </cell><cell></cell><cell></cell><cell>-</cell><cell>-</cell><cell>0</cell><cell>Yes</cell></row><row id='4'><cell>4</cell><cell>Other</cell><cell>Rock & Talk Wireless</cell><cell>726</cell><cell>Los Angeles</cell><cell>90037</cell><cell> </cell><cell></cell><cell></cell><cell>-</cell><cell>-</cell><cell>0</cell><cell>Yes</cell></row><row id='5'><cell>5</cell><cell>Restaurant</cell><cell>Lavaseco Coin Laundry</cell><cell>1514</cell><cell>Los Angeles</cell><cell>90006</cell><cell> </cell><cell></cell><cell></cell><cell>-</cell><cell>-</cell><cell>0</cell><cell>Yes</cell></row><row id='6'><cell>6</cell><cell>Restaurant</cell><cell>Lavaseco Coin Laundry</cell><cell>15

31/10/2012
13:48
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Maybe your data contain some 'or " which causes the problem.

I recommend you to enclose the text fields in CDATA

Regards

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

31/10/2012
13:55
Avatar
djkuddel
Member
Members
Forum Posts: 25
Member Since:
01/08/2011
sp_UserOfflineSmall Offline

Hi,

I check the dta and there is no ' or ".

I use PHP, how can i use CDATA there?

Many thanks

DJ

31/10/2012
14:00
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

That are not all characters that can cause the problem.

Just google for CDATA and how you  can use it.

Regards

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

11/11/2012
01:01
Avatar
Herbalite
Member
Members
Forum Posts: 5
Member Since:
12/05/2012
sp_UserOfflineSmall Offline

Skimming through the error message I saw this

Rock & Talk Wireless

This will cause this error.

Instead of using CDATA you can run your output through PHP's htmlspecialchars

htmlspecialchars

17/11/2012
00:32
Avatar
djkuddel
Member
Members
Forum Posts: 25
Member Since:
01/08/2011
sp_UserOfflineSmall Offline

tony thanks a lot.

CDATA was the solution. 🙂

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
60 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