[FX.php List] First try with WPE and FM Server 13... fail...
Bob Patin
bob at patin.com
Tue Mar 18 11:03:24 MDT 2014
Well, a server restart made it run faster, but still no joy; here’s the first line that I get back from a print_r():
FMS 13 web app test...FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 100 [message] => FX: cURL could not retrieve Post data in RetrieveFMData(). A bad URL is the most likely reason.
On Mar 18, 2014, at 12:01 PM, Bob Patin <bob at patin.com> wrote:
> Oops, that’s not the code on the page…
>
> <?php
>
> include_once('FX/FX.php');
> include_once('FX/server_data.php');
>
> echo 'FMS 13 web app test...';
>
> // perform query
> $q =new FX($serverIP,$webCompanionPort, $dataType);
> $q->SetDBData('wpe_test.fmp12', 'data' );
> $q->SetDBPassword($webPW,$webUN);
> $qResult = $q->FMFind();
>
> echo $qResult['errorCode'];
>
> ?>
>
> On Mar 18, 2014, at 11:46 AM, Bob Patin <bob at patin.com> wrote:
>
>> Hey Chris,
>>
>> I downloaded 6.0 from github; is that the latest?
>>
>> Still no joy; I copied the test page and FX folder to the FMS server, but it won’t successfully query the DB; if you want to take a look, here’s the test page:
>>
>> http://fms6test.longtermsolutions.com
>>
>> and here’s the query:
>>
>> <?php
>>
>> include_once('FX/FX.php');
>> include_once('FX/server_data.php');
>>
>> echo 'FMS 13 web app test...';
>> exit;
>>
>> // perform query
>> $q =new FX($serverIP,$webCompanionPort, $dataType);
>> $q->SetDBData('wpe_test.fmp12’,’data’);
>> $q->SetDBPassword($webPW,$webUN);
>> $qResult = $q->FMFindAll();
>>
>> // echo ‘Found: '.$qResult['foundCount'];
>>
>> print_r($qResult);
>>
>> ?>
>>
>> As always, your help is greatly appreciated; hope you’re well,
>>
>> Bob
>>
>>
>> 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
>>
>>
>> On Mar 18, 2014, at 11:40 AM, Chris Hansen <chris at iViking.org> wrote:
>>
>>> Bob,
>>>
>>> Good and good. But, you WILL need the latest version of FX.php. Unfortunately another oddity was created with the release of FileMaker 13, so you need to be using the very latest version of FX.
>>>
>>> Best,
>>>
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140318/ae644f17/attachment.html
More information about the FX.php_List
mailing list