Jump to content

XML error: not well-formed (invalid token)

This topic is 7150 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I am running FX.php on a linux apache server and interfacing with a Filmaker 6 DB on Mac OS 9. Every now and again I receive the following error:

XML error: not well-formed (invalid token) at line 3

It happens when I am searching and returning a result set. I looked through the records in Filemaker that would be returned in th eresult set and I see nothing wrong with them. I delete them one by one (small set) until the error goes away. The record that is last to be deleted before the error goes away doesn't appear to have any problems with it. There are no funky characters or anything like that.

Has anyone seen this error before and if so, what causes it?

Link to comment
Share on other sites

A little more info for you:

The database has 12 records in it.

I categorized the 12 records into 4 different groups by placing data in a searchable field. So I have 4 sets of 3 records.

I search through Internet Explorer on each of those 4 criteria and do not receive the error at all.

BUT, if I just do a search all I get the error!

So I can search and return all 12 records if I subset them, but I cannot return all 12 records at once without receiving the error.

Link to comment
Share on other sites

Yet a little more info:

I am paging my result set. When I set the max records down from 10 to 9, I do not get that error.

I noticed that when I had 10 or less records in the database, I wasn't getting that error. But once I went over 10, there it was.

Looking through the code, I have no idea why 10 would cause a problem.

Link to comment
Share on other sites

It has nothing to do with the max records. It just happens when the problem record is in the curent paged set.


There are these two fields on my FM layout that if I remove them from the layout, the problem seems to go away. Unfortunatley I need those fields.

They are two text fields that are based on different value lists. The contents of the value lists have nothing special about them, just text selections.

On the results PHP page, I am not even referencing them.

Link to comment
Share on other sites

This topic is 7150 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.