Quantcast
Channel: FileMaker Forum > Report an issue
Viewing all articles
Browse latest Browse all 3510

XML error: Invalid character at line 1 (31 Comments)

$
0
0

Issue report by databuzz

Product

FileMaker Server

Version

13.0v1

Operating system version

Mavericks Mac OS X 10.9

Description of the issue

Using the FileMaker PHP API/Custom Web Publishing we're getting an error:

XML error: Invalid character at line 1

when performing a simple find Command. I'm not sure what the invalid character is - I printed to screen the result of the find command and all the data was there. This was at the top if that helps:

[error_message_prefix] =>
[mode] => 1
[level] => 1024
[code] => 401
[message] => XML error: Invalid character at line 1
[userinfo] =>
[backtrace] => Array
(
[0] => Array
(
[file] => /Library/FileMaker Server/Web Publishing/publishing-engine/php/mavericks/lib/php/FileMaker/Error.php
[line] => 52
[function] => PEAR_Error
[class] => PEAR_Error
[type] => ->
[args] => Array
(
[0] => XML error: Invalid character at line 1
[1] =>
)

)

Steps to reproduce the problem

Call the php page that performs a find on a contacts table. The layout referenced in the php page only contains 5 fields;

First Name
Last Name
ContactID
Email
Phone

Expected result

Found set of records

Actual result

Error 401: XML error: Invalid character at line 1

Exact text of any error message(s) that appear

XML error: Invalid character at line 1

Workaround

None so far.

Viewing all articles
Browse latest Browse all 3510

Trending Articles