[FX.php List] I hate it when this happens!
Ted Stein
tstein at innerfile.com
Mon Jan 6 11:43:57 MST 2014
Are any other queries working? If not, try re-booting the server.
Ted Stein
Inner File Software
tstein at innerfile.com
Mobile: (202) 270-6665
Office: (202) 630-FILE
On Jan 6, 2014, at 1:30 PM, Bob Patin <bob at patin.com> wrote:
> OK, a stupid little query and it won’t work; when I run this query
>
> http://www.titanicpigeonforge.com/contest/test.php
>
> I get nothing, which, once I’ve determined that there aren’t any parse errors, that FileMaker’s not doing anything:
>
> <?php
>
> include_once ('FX/FX.php');
> include_once ('FX/server_data.php');
>
> // write to database
> $q = new FX($serverIP,$webCompanionPort, $dataType, $scheme);
> $q->SetDBData( 'Titanic Contest.fmp12', 'web_entry' );
> $q->SetDBPassword( $webpw, $webun );
> $q->AddDBParam( 'name_first', 'bob' );
> $qResult = $q->FMNew();
>
> echo 'error code: '.$qResult['errorCode'];
>
> ?>
>
> This is a test page I just wrote; the web layout exists, the privilege set is correct… what can I *possibly* be missing here?
>
> Is there a way to see what is happening when the query returns nothing?
>
> Thanks,
>
> Bob Patin
> Longterm Solutions
> bob at longtermsolutions.com
> 615-333-6858
> FileMaker 9, 10, 11 & 12 Certified Developer
> http://www.longtermsolutions.com
> -
> iChat: bobpatin at me.com
> Twitter: bobpatin
> —
> FileMaker Consulting
> FileMaker Hosting for all versions of FileMaker
> PHP • Full email services • Free DNS hosting • Colocation • Consulting
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list