AnsweredAssumed Answered

Unable to load container field data with PHP API

Question asked by jnouwen on Jun 21, 2010
Latest reply on Mar 17, 2016 by davidhamannmedia

Title

Unable to load container field data with PHP API

Your post

When I try to load container data via the PHP API from our FileMaker 11 Server, all I get back is an error message.

 

The relevant snippet:

 

$signaturePath = $letterRecord->getField( "Signature" );
$signature = $fm->getContainerData( $signaturePath );

$signaturePath is /fmi/xml/cnt/data.jpg?-db=DMS_Web&-lay=Letter&-recid=27555&-field=Signature(1) as expected. However, $signature ends up as a FileMaker error object without a specific error code. Simply the message: "Communication Error: (22) The requested URL returned error: 404"

 

All permissions are seemingly set correctly (only the fmphp extended privilege was set, but I also tried with both fmiwp and fmxml set just in case).

Outcomes