0
$FM_CONNECT = array(
'DB_FILE' => 'webaccess'
);
require_once "__app/dbConnect/FM.php";
require_once "__app/environmentSettings/environmentSettings.php";
$layout = 'webAccess';
$findCommand =& $fm->newFindCommand($layout);
$findCommand->addFindCriterion('AccountName', $_POST['username']);
$result = $findCommand->execute();
if(FileMaker::isError($result)){
FMExit(array(
'code' => 1,
'mes' => $result->getMessage()
));
}
$records = $result->getRecords();
FileMakerサーバーに要求を送信しようとすると、返されます。 「XMLエラー:行1でよく形成されない(無効なトークン)」FileMaker XML Web公開XMLエラー
私は数週間のためにコードを変更していないと私は前にこのエラーが表示されませんでした。
誰もこのような経験はありますか?
私のdb接続は "require_once '__app/dbConnect/FM.php'"ファイルの中にあります。 このコードは何年もうまく動作します。 私はこれがPHPのapiの問題ではないことを認識しました。私の場合、FileMaker ServerへのWeb公開接続の限界でした。 –
本当ですか? FileMaker Server 14または15の最大接続数は2000です。それは忙しいですか? –
私は、Web公開接続を意味します。 –