From chris at iViking.org Thu Apr 10 10:50:45 2014 From: chris at iViking.org (Chris Hansen) Date: Thu Apr 10 10:43:36 2014 Subject: [FX.php List] Request for Help Addressing a Potential FileMaker Server Bug Message-ID: <0DEB6C70-8EF8-4215-8816-533DFD7CA9DD@iViking.org> Greetings all! I just heard from someone this AM that they are seeing FileMaker XML requests stay open on their server. I don't have an extra server on which to run the latest version of FMS. So, a couple requests: ? Are any of you able to confirm this behavior on the latest version of FMS? ? If this is a problem, how would all y'all like to see this addressed? Trick FMS into thinking FX.php is FAP? Figure out how to close the connections? Other options? I'm not sure why FileMaker keeps breaking their XML API, but I find it highly annoying. Thanks in advance! --Chris From tim.webko at gmail.com Thu Apr 10 16:00:29 2014 From: tim.webko at gmail.com (Tim 'Webko' Booth) Date: Thu Apr 10 15:53:21 2014 Subject: [FX.php List] Request for Help Addressing a Potential FileMaker Server Bug In-Reply-To: <0DEB6C70-8EF8-4215-8816-533DFD7CA9DD@iViking.org> References: <0DEB6C70-8EF8-4215-8816-533DFD7CA9DD@iViking.org> Message-ID: I've actually seen this behaviour in previous versions - it has always been fixed with a reboot though. FMSA 11 on Win virtual boxes... On 11 April 2014 02:50, Chris Hansen wrote: > Greetings all! > > I just heard from someone this AM that they are seeing FileMaker XML > requests stay open on their server. I don't have an extra server on which > to run the latest version of FMS. So, a couple requests: > > * Are any of you able to confirm this behavior on the latest version of > FMS? > > * If this is a problem, how would all y'all like to see this addressed? > Trick FMS into thinking FX.php is FAP? Figure out how to close the > connections? Other options? > > I'm not sure why FileMaker keeps breaking their XML API, but I find it > highly annoying. > > Thanks in advance! > > --Chris_______________________________________________ > FX.php_List mailing list > FX.php_List@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/20140411/655ecf2a/attachment.html From adenman at tmea.org Thu Apr 10 16:14:56 2014 From: adenman at tmea.org (Andrew Denman) Date: Thu Apr 10 16:07:47 2014 Subject: [FX.php List] Request for Help Addressing a Potential FileMaker Server Bug Message-ID: Where are they seeing the requests stay open? In the 'Clients' view on the Admin Console? There I see them pop up and then disappear after a while (within about a minute of connecting), but we only use FX.php so I don't have a FMAPI page to compare the behavior. For some reason I'm thinking that in version 11 or 12 they changed the 'Clients' view to show web connections a little longer than they were actually connected because people complained they would flash by too quickly to see. Don't see that mentioned in a quick glance the documentation, though. Andrew Denman -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Chris Hansen Sent: Thursday, April 10, 2014 11:51 AM To: FX.php Discussion List Subject: [FX.php List] Request for Help Addressing a Potential FileMaker Server Bug Greetings all! I just heard from someone this AM that they are seeing FileMaker XML requests stay open on their server. I don't have an extra server on which to run the latest version of FMS. So, a couple requests: * Are any of you able to confirm this behavior on the latest version of FMS? * If this is a problem, how would all y'all like to see this addressed? Trick FMS into thinking FX.php is FAP? Figure out how to close the connections? Other options? I'm not sure why FileMaker keeps breaking their XML API, but I find it highly annoying. Thanks in advance! --Chris_______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list From rogerkiwi at mac.com Fri Apr 11 08:22:19 2014 From: rogerkiwi at mac.com (Roger Moffat) Date: Fri Apr 11 08:15:14 2014 Subject: [FX.php List] Request for Help Addressing a Potential FileMaker Server Bug In-Reply-To: References: Message-ID: <05FFCCE4-CF87-4391-AC84-A3D93BFE189D@mac.com> On Apr 10, 2014, at 6:14 PM, Andrew Denman wrote: > Where are they seeing the requests stay open? In the 'Clients' view on the Admin Console? > > There I see them pop up and then disappear after a while (within about a minute of connecting), but we only use FX.php so I don't have a FMAPI page to compare the behavior. > > For some reason I'm thinking that in version 11 or 12 they changed the 'Clients' view to show web connections a little longer than they were actually connected because people complained they would flash by too quickly to see. Don't see that mentioned in a quick glance the documentation, though. I?ve noticed this with FileMaker Server Advanced 12 - in the Admin Console it shows that there is one connection to a database, and it can ONLY be a web publishing connection since I know that no one is connected by FileMaker Pro. I?m almost ashamed to say I?m still using the FMWebSchool BlackBelt for my sites which uses FX.php (but hey, it works for me still). But apart from showing that there is a connection, I?ve noticed when attempting to Close such a database (so I can Remove it and upload a new version) that the Admin Console reports that there is a user connected and I need to send a message to the user asking them to close the database. Roger From bob at patin.com Sat Apr 12 14:41:44 2014 From: bob at patin.com (Bob Patin) Date: Sat Apr 12 14:34:28 2014 Subject: [FX.php List] [OFF] A FileMaker API question Message-ID: <73F32385-8892-4DC1-B389-AD7CC12594E7@patin.com> I've used the API infrequently; it's been about 3 years or maybe more since I wrote anything with it, and now my little test isn't working. Here's my code: newFindAllCommand('data'); $qResult = $q->execute(); if (FileMaker::isError($qResult)){ die('API Error: '.$qResult->getMessage()); } $qArray=$qResult->getRecords(); foreach($qArray as $data){ echo $data->getField('lastname').'
'; } ?> You can see it here http://phptest.longtermsolutions.com/test_api.php I know it has to be something stupid, but I can't remember well enough to find it... Thanks for any help, Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From bob at patin.com Sat Apr 12 14:43:46 2014 From: bob at patin.com (Bob Patin) Date: Sat Apr 12 14:36:29 2014 Subject: [FX.php List] [OFF] A FileMaker API question In-Reply-To: <73F32385-8892-4DC1-B389-AD7CC12594E7@patin.com> References: <73F32385-8892-4DC1-B389-AD7CC12594E7@patin.com> Message-ID: To be clear: the host name is right, as are all the other parameters at the top; the PHP and XML privileges are turned on--FX tests out fine. I'm trying to do some FMS 13 tests, and just not getting anywhere with the API. The layout is called "data" so that's not the issue either. BP On Apr 12, 2014, at 3:41 PM, Bob Patin wrote: > I've used the API infrequently; it's been about 3 years or maybe more since I wrote anything with it, and now my little test isn't working. > > Here's my code: > > > require('API/FileMaker.php'); > > $DB_HOST = 'xxxxx; > $DB_NAME = 'wpe_test'; > $DB_USER = 'web'; > $DB_PASS = 'pass'; > > $db = new FileMaker($DB_NAME, $DB_HOST, $DB_USER, $DB_PASS); > > $q = $db -> newFindAllCommand('data'); > $qResult = $q->execute(); > > if (FileMaker::isError($qResult)){ > die('API Error: '.$qResult->getMessage()); > } > > $qArray=$qResult->getRecords(); > > foreach($qArray as $data){ > echo $data->getField('lastname').'
'; > } > > ?> > > You can see it here > > http://phptest.longtermsolutions.com/test_api.php > > I know it has to be something stupid, but I can't remember well enough to find it... > > Thanks for any help, > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11 & 12 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@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@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From bob at patin.com Sat Apr 12 14:44:54 2014 From: bob at patin.com (Bob Patin) Date: Sat Apr 12 14:37:37 2014 Subject: [FX.php List] [OFF] A FileMaker API question In-Reply-To: References: <73F32385-8892-4DC1-B389-AD7CC12594E7@patin.com> Message-ID: All three tests are here: http://phptest.longtermsolutions.com As you'll see, the other 2 (FX tests) work fine. On Apr 12, 2014, at 3:43 PM, Bob Patin wrote: > To be clear: the host name is right, as are all the other parameters at the top; the PHP and XML privileges are turned on--FX tests out fine. I'm trying to do some FMS 13 tests, and just not getting anywhere with the API. The layout is called "data" so that's not the issue either. > > BP > > > On Apr 12, 2014, at 3:41 PM, Bob Patin wrote: > >> I've used the API infrequently; it's been about 3 years or maybe more since I wrote anything with it, and now my little test isn't working. >> >> Here's my code: >> >> > >> require('API/FileMaker.php'); >> >> $DB_HOST = 'xxxxx; >> $DB_NAME = 'wpe_test'; >> $DB_USER = 'web'; >> $DB_PASS = 'pass'; >> >> $db = new FileMaker($DB_NAME, $DB_HOST, $DB_USER, $DB_PASS); >> >> $q = $db -> newFindAllCommand('data'); >> $qResult = $q->execute(); >> >> if (FileMaker::isError($qResult)){ >> die('API Error: '.$qResult->getMessage()); >> } >> >> $qArray=$qResult->getRecords(); >> >> foreach($qArray as $data){ >> echo $data->getField('lastname').'
'; >> } >> >> ?> >> >> You can see it here >> >> http://phptest.longtermsolutions.com/test_api.php >> >> I know it has to be something stupid, but I can't remember well enough to find it... >> >> Thanks for any help, >> >> Bob Patin >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> FileMaker 9, 10, 11 & 12 Certified Developer >> http://www.longtermsolutions.com >> - >> iChat: bobpatin@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@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From bob at patin.com Sat Apr 12 14:55:50 2014 From: bob at patin.com (Bob Patin) Date: Sat Apr 12 14:48:33 2014 Subject: [FX.php List] [OFF] A FileMaker API question In-Reply-To: References: <73F32385-8892-4DC1-B389-AD7CC12594E7@patin.com> Message-ID: Never mind, went back to square one and re-installed the API, all working... On Apr 12, 2014, at 3:43 PM, Bob Patin wrote: > To be clear: the host name is right, as are all the other parameters at the top; the PHP and XML privileges are turned on--FX tests out fine. I'm trying to do some FMS 13 tests, and just not getting anywhere with the API. The layout is called "data" so that's not the issue either. > > BP > > > On Apr 12, 2014, at 3:41 PM, Bob Patin wrote: > >> I've used the API infrequently; it's been about 3 years or maybe more since I wrote anything with it, and now my little test isn't working. >> >> Here's my code: >> >> > >> require('API/FileMaker.php'); >> >> $DB_HOST = 'xxxxx; >> $DB_NAME = 'wpe_test'; >> $DB_USER = 'web'; >> $DB_PASS = 'pass'; >> >> $db = new FileMaker($DB_NAME, $DB_HOST, $DB_USER, $DB_PASS); >> >> $q = $db -> newFindAllCommand('data'); >> $qResult = $q->execute(); >> >> if (FileMaker::isError($qResult)){ >> die('API Error: '.$qResult->getMessage()); >> } >> >> $qArray=$qResult->getRecords(); >> >> foreach($qArray as $data){ >> echo $data->getField('lastname').'
'; >> } >> >> ?> >> >> You can see it here >> >> http://phptest.longtermsolutions.com/test_api.php >> >> I know it has to be something stupid, but I can't remember well enough to find it... >> >> Thanks for any help, >> >> Bob Patin >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> FileMaker 9, 10, 11 & 12 Certified Developer >> http://www.longtermsolutions.com >> - >> iChat: bobpatin@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@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From whatdoyouwant at gmail.com Sun Apr 13 20:18:31 2014 From: whatdoyouwant at gmail.com (Nick) Date: Sun Apr 13 20:11:09 2014 Subject: [FX.php List] Request for Help Addressing a Potential FileMaker Server Bug In-Reply-To: <0DEB6C70-8EF8-4215-8816-533DFD7CA9DD@iViking.org> References: <0DEB6C70-8EF8-4215-8816-533DFD7CA9DD@iViking.org> Message-ID: How long are they open? Server 10 closed them immediately but 13 looks like it keeps it open for a minute or so for me. I thought it was a feature to reduce connection startup. Things are generally faster for me. I've only seen connections stay open for 5 or more minutes when there is too much data being requested for FileMaker to handle well, or some other bug. On Apr 10, 2014 11:50 AM, "Chris Hansen" wrote: > Greetings all! > > I just heard from someone this AM that they are seeing FileMaker XML > requests stay open on their server. I don't have an extra server on which > to run the latest version of FMS. So, a couple requests: > > * Are any of you able to confirm this behavior on the latest version of > FMS? > > * If this is a problem, how would all y'all like to see this addressed? > Trick FMS into thinking FX.php is FAP? Figure out how to close the > connections? Other options? > > I'm not sure why FileMaker keeps breaking their XML API, but I find it > highly annoying. > > Thanks in advance! > > --Chris_______________________________________________ > FX.php_List mailing list > FX.php_List@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/20140413/9a93f03c/attachment.html From C.Bondo at cgiar.org Thu Apr 17 00:30:32 2014 From: C.Bondo at cgiar.org (Cyrus Bondo) Date: Thu Apr 17 11:42:01 2014 Subject: [FX.php List] FW: FX.php and Filemaker Layout mode error In-Reply-To: References: <550B7662859EAC4AB50249CDF1DF86EBA79548CB@CGIARMBX1.nochub.CGIARAD.ORG> Message-ID: <550B7662859EAC4AB50249CDF1DF86EBA79548E3@CGIARMBX1.nochub.CGIARAD.ORG> From: Sila, Andrew M. (ICRAF) Sent: Thursday, April 17, 2014 9:19 AM To: Cyrus Bondo Subject: Re: FX.php and Filemaker Layout mode error Excellent! From: Cyrus Bondo > Date: Thu, 17 Apr 2014 09:16:34 +0300 To: "junk4chris@iviking.org" > Cc: "Sila, Andrew M. (ICRAF)" > Subject: FX.php and Filemaker Layout mode error Dear Chris, I am new in Drupal want to integrate Drupal with file maker database through the Drupal file maker module ,file maker form modules. Actually I have moved some steps doing some installations like the modules. But on the way, upon installing FX.php and then navigating to the Layout mode,I get Fatal error: Cannot use object of type FX_Error as array in C:\wamp\www\helpdesk\drupal-7.26\sites\all\modules\filemaker\classes\fmWebLayout.php on line 778.Thanks. Please Help. Cyrus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140417/c4d70415/attachment.html From dale.bengston at gmail.com Sat Apr 19 07:31:24 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Sat Apr 19 07:23:43 2014 Subject: [FX.php List] FX.php and Filemaker Layout mode error In-Reply-To: <550B7662859EAC4AB50249CDF1DF86EBA79548E3@CGIARMBX1.nochub.CGIARAD.ORG> References: <550B7662859EAC4AB50249CDF1DF86EBA79548CB@CGIARMBX1.nochub.CGIARAD.ORG> <550B7662859EAC4AB50249CDF1DF86EBA79548E3@CGIARMBX1.nochub.CGIARAD.ORG> Message-ID: <5697F787-74F1-4625-A641-51D69AA71D4A@gmail.com> Great project to integrate FileMaker with Drupal via FX.php! Not sure if this guy got an answer to what?s happening, so I?ll throw it out there. It?s pretty common. In fact, I think it should be covered in the FX.php docs. I think this probably happened to all of us when we first started out. When FX.php returns results, the data (we?ll call it $results) is a PHP array, but when FX.php returns an error, $results is a PHP object. If your code uses a foreach to tick through $results, it will fail with the error message you received if $results is an error object. Try a print_r($results) to dump the error object to the page so you can see what the error is. To handle this scenario gracefully, try wrapping your code in a check on what $results is: if is_object($results) { //User-friendly error response } else { //Display results } Hope this helps, Dale On Apr 17, 2014, at 1:30 AM, Cyrus Bondo wrote: > > > From: Sila, Andrew M. (ICRAF) > Sent: Thursday, April 17, 2014 9:19 AM > To: Cyrus Bondo > Subject: Re: FX.php and Filemaker Layout mode error > > Excellent! > > From: Cyrus Bondo > Date: Thu, 17 Apr 2014 09:16:34 +0300 > To: "junk4chris@iviking.org" > Cc: "Sila, Andrew M. (ICRAF)" > Subject: FX.php and Filemaker Layout mode error > > Dear Chris, > I am new in Drupal want to integrate Drupal with file maker database through the Drupal file maker module ,file maker form modules. Actually I have moved some steps doing some installations like the modules. But on the way, upon installing FX.php and then navigating to the Layout mode,Iget Fatal error: Cannot use object of type FX_Error as array in C:\wamp\www\helpdesk\drupal-7.26\sites\all\modules\filemaker\classes\fmWebLayout.php on line778.Thanks. > Please Help. > Cyrus > _______________________________________________ > FX.php_List mailing list > FX.php_List@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/20140419/c1d2e789/attachment-0001.html From chris at iViking.org Tue Apr 22 13:48:14 2014 From: chris at iViking.org (Chris Hansen) Date: Tue Apr 22 13:40:15 2014 Subject: [FX.php List] [OFF] FileMaker Developer Relations Performance Panel Message-ID: <863E1E7C-8921-4E4F-AB2C-1B535FFA48C9@iViking.org> Hey folks, Those of you on the FileMaker Technet list (among other things) would have received an email from FileMaker today regarding, among other things, a FileMaker Platform Performance Panel that will be happening at DevCon. Considering that on the web side of things, FileMaker is often one of the bottlenecks, I see this as highly relevant to the FX community. I even posted a question about that blasted XML bug that sometimes forces the use of a more verbose (and often slower) XML schema; but there are a number of interesting items up there. At any rate, if you're one of those who got the email, head on over an look at the posts, vote up those that you like (as Delfina mentions in one of the comments), and perhaps even post a question of your own. I see this as an opportunity to have some very positive things happen, and it would be a shame to waste it. Best, --Chris