[FX.php List] First try with WPE and FM Server 13... fail...

Bob Patin bob at patin.com
Tue Mar 18 13:28:01 MDT 2014


You’re absolutely right, I was writing it on the web server using TextEdit, forgot to set it to ‘plain text…’

Unfortunately, it’s still not running the query though… aaaarrrrrrggggghhh…




On Mar 18, 2014, at 12:23 PM, Andrew Denman <adenman at tmea.org> wrote:

> It’s been a while since I’ve had to dig in an error object, but the ‘dataServer’ variable doesn’t look right it when I run your test page. Missing periods and includes what looks suspiciously like curly quotes.
>  
> ‘fms6longtermsolutionscom’
>  
>  
> Andrew Denman
>  
> From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Patin
> Sent: Tuesday, March 18, 2014 12:15 PM
> To: FX.php Discussion List
> Subject: Re: [FX.php List] First try with WPE and FM Server 13... fail...
>  
> It’s not a port issue; there’s no firewall yet on this machine.
>  
> BP
>  
> On Mar 18, 2014, at 12:08 PM, Vargas, Steve E <vargas_s at aps.edu> wrote:
> 
> 
> Have you recently pinged the IP and checked the status of the port?
>  
> Steve
>  
>  
> From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Patin
> Sent: Tuesday, March 18, 2014 11:03 AM
> To: FX.php Discussion List
> Subject: Re: [FX.php List] First try with WPE and FM Server 13... fail...
>  
> 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
>  
> _______________________________________________
> 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/0dd8d2e9/attachment-0001.html


More information about the FX.php_List mailing list