Issue report by databuzz
Product
FileMaker ServerVersion
13.0v1Operating system version
Mavericks Mac OS X 10.9Description 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
Phone