From malcolm at notyourhomework.net Thu May 3 01:10:51 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Thu May 3 00:34:00 2012 Subject: [FX.php List] How do we perform the equivalent of multiple find requests? Message-ID: <3D467946-C066-4C1C-9067-7F436EC6AD3A@notyourhomework.net> I want to combine two searches, both of which have multiple criteria. In filemaker itself it would be easy, two find requests. I want to find all records where "id = a AND date_1=a ... b" OR "id=a AND date_2=a...b". Is the solution to do two separate searches and combine the results or is there a better way? Malcolm From steve at bluecrocodile.co.nz Thu May 3 01:23:44 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Thu May 3 00:46:55 2012 Subject: [FX.php List] How do we perform the equivalent of multiple find requests? In-Reply-To: <3D467946-C066-4C1C-9067-7F436EC6AD3A@notyourhomework.net> References: <3D467946-C066-4C1C-9067-7F436EC6AD3A@notyourhomework.net> Message-ID: Hi Malcolm You can do that with the API (see http://www.mindfiresolutions.com/Compound-Find-Command-in-FileMaker-API-763.php for an example) but I don't believe that it's possible with FX. I expect that you're going to have to perform two finds, then merge the result sets with PHP? Cheers Steve > I want to combine two searches, both of which have multiple criteria. In filemaker itself it would be easy, two find requests. > > I want to find all records where "id = a AND date_1=a ... b" OR "id=a AND date_2=a...b". > > Is the solution to do two separate searches and combine the results or is there a better way? > > Malcolm_______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120503/e3c03eb1/attachment.html From malcolm at notyourhomework.net Thu May 3 02:19:47 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Thu May 3 01:42:56 2012 Subject: [FX.php List] How do we perform the equivalent of multiple find requests? In-Reply-To: References: <3D467946-C066-4C1C-9067-7F436EC6AD3A@notyourhomework.net> Message-ID: Hi Steve, There's no reason not to use the API for this, so thanks for the pointer. The application is a booking calendar and the problem is to find a date range within a set of date ranges. The trick is that the dates we are searching for are not actual data, it is inferred date. We have a start date and an end date, eg, start: 24th April, end: 7th May. All the dates in between are inferred. To display a booking calendar I have to do three searches to find all the data. 1. starts within date range 2. ends within date range 3. spans date range I'm beginning to think I should generate the data within the database so that the we have a related set of dates. We could then do a single search "date is within range". Malcolm On 03/05/2012, at 5:23 PM, Steve Winter wrote: > Hi Malcolm > > You can do that with the API (see http://www.mindfiresolutions.com/Compound-Find-Command-in-FileMaker-API-763.php for an example) but I don't believe that it's possible with FX. > > I expect that you're going to have to perform two finds, then merge the result sets with PHP? > > Cheers > Steve > >> I want to combine two searches, both of which have multiple criteria. In filemaker itself it would be easy, two find requests. >> >> I want to find all records where "id = a AND date_1=a ... b" OR "id=a AND date_2=a...b". >> >> Is the solution to do two separate searches and combine the results or is there a better way? >> >> Malcolm_______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > Steve Winter > +44 777 852 4776 > steve@bluecrocodile.co.nz > > > > _______________________________________________ > 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/20120503/c524f349/attachment.html From beverlyvoth at gmail.com Thu May 3 04:52:54 2012 From: beverlyvoth at gmail.com (Beverly Voth) Date: Thu May 3 04:16:07 2012 Subject: [FX.php List] How do we perform the equivalent of multiple find requests? In-Reply-To: <3D467946-C066-4C1C-9067-7F436EC6AD3A@notyourhomework.net> References: <3D467946-C066-4C1C-9067-7F436EC6AD3A@notyourhomework.net> Message-ID: <8BB6229F-8568-4876-B954-765A23023510@gmail.com> If I think the foundset isn't too large, I've pulled what I can with one request and FILTER ( with switchcase or if/elseif/else ) in the output loop. -- sent from my iPhone4 -- Beverly Voth -- On May 3, 2012, at 3:10 AM, Malcolm Fitzgerald wrote: > I want to combine two searches, both of which have multiple criteria. In filemaker itself it would be easy, two find requests. > > I want to find all records where "id = a AND date_1=a ... b" OR "id=a AND date_2=a...b". > > Is the solution to do two separate searches and combine the results or is there a better way? > > Malcolm_______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dale.bengston at gmail.com Thu May 3 11:30:18 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Thu May 3 10:53:26 2012 Subject: [FX.php List] How do we perform the equivalent of multiple find requests? In-Reply-To: <8BB6229F-8568-4876-B954-765A23023510@gmail.com> References: <3D467946-C066-4C1C-9067-7F436EC6AD3A@notyourhomework.net> <8BB6229F-8568-4876-B954-765A23023510@gmail.com> Message-ID: Funny, I was just doing this exact thing yesterday. I've accomplished this using both methods. At present, I'm leaning away from pulling more data than "belongs" to the user and then filtering it. I'm back to doing multiple queries and merging the results. Once I have the results of multiple queries, it's a simple matter to "add" the data arrays to merge them. This works great, since it eliminates duplicates if your found sets overlap at all. $find1 = [result of fx query 1] $find2 = [result of fx query 2] $finalData['data'] = $find1['data'] + $find2['data']; Poof! Two caveats: * Get the combined found set by doing count($finalData['data']). In case there were dupes that got merged, you can't rely on just doing $finalData['foundCount'] = $find1['foundCount'] + $find2['foundCount']; * Adding an empty array to an array can cause complaints - check for a foundCount > 0 in each array first. Hope this helps, Dale On May 3, 2012, at 5:52 AM, Beverly Voth wrote: > If I think the foundset isn't too large, I've pulled what I can with one request and FILTER ( with switchcase or if/elseif/else ) in the output loop. > > > -- sent from my iPhone4 -- > Beverly Voth > -- > > On May 3, 2012, at 3:10 AM, Malcolm Fitzgerald wrote: > >> I want to combine two searches, both of which have multiple criteria. In filemaker itself it would be easy, two find requests. >> >> I want to find all records where "id = a AND date_1=a ... b" OR "id=a AND date_2=a...b". >> >> Is the solution to do two separate searches and combine the results or is there a better way? >> >> Malcolm_______________________________________________ >> 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 steve at bluecrocodile.co.nz Thu May 3 11:36:02 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Thu May 3 10:59:17 2012 Subject: [FX.php List] How do we perform the equivalent of multiple find requests? In-Reply-To: References: <3D467946-C066-4C1C-9067-7F436EC6AD3A@notyourhomework.net> <8BB6229F-8568-4876-B954-765A23023510@gmail.com> Message-ID: <65D61EF3-0B6B-42A1-B7F7-9B3308B327B3@bluecrocodile.co.nz> Dale Is $array1 + $array2 functionally identical to array_merge($array1, $array2)...? Yes, I could test it myself, but I'm out and about and would invariably forget, do I'm asking you ;-? Cheers Steve Sent from the iPhone of Steve Winter Matatiro Solutions steve@matatirosolutions.co.uk +44 777 852 4776 On 3 May 2012, at 18:30, Dale Bengston wrote: > Funny, I was just doing this exact thing yesterday. > > I've accomplished this using both methods. At present, I'm leaning away from pulling more data than "belongs" to the user and then filtering it. I'm back to doing multiple queries and merging the results. > > Once I have the results of multiple queries, it's a simple matter to "add" the data arrays to merge them. This works great, since it eliminates duplicates if your found sets overlap at all. > > $find1 = [result of fx query 1] > $find2 = [result of fx query 2] > > $finalData['data'] = $find1['data'] + $find2['data']; > > Poof! > > Two caveats: > > * Get the combined found set by doing count($finalData['data']). In case there were dupes that got merged, you can't rely on just doing > $finalData['foundCount'] = $find1['foundCount'] + $find2['foundCount']; > > * Adding an empty array to an array can cause complaints - check for a foundCount > 0 in each array first. > > Hope this helps, > Dale > > On May 3, 2012, at 5:52 AM, Beverly Voth wrote: > >> If I think the foundset isn't too large, I've pulled what I can with one request and FILTER ( with switchcase or if/elseif/else ) in the output loop. >> >> >> -- sent from my iPhone4 -- >> Beverly Voth >> -- >> >> On May 3, 2012, at 3:10 AM, Malcolm Fitzgerald wrote: >> >>> I want to combine two searches, both of which have multiple criteria. In filemaker itself it would be easy, two find requests. >>> >>> I want to find all records where "id = a AND date_1=a ... b" OR "id=a AND date_2=a...b". >>> >>> Is the solution to do two separate searches and combine the results or is there a better way? >>> >>> Malcolm_______________________________________________ >>> 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 > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From beverlyvoth at gmail.com Thu May 3 11:41:24 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Thu May 3 11:04:38 2012 Subject: [FX.php List] How do we perform the equivalent of multiple find requests? In-Reply-To: References: <3D467946-C066-4C1C-9067-7F436EC6AD3A@notyourhomework.net> <8BB6229F-8568-4876-B954-765A23023510@gmail.com> Message-ID: Oh, yes! I'm all for the "union" of the two find results. I just know that there are times when the "filter" approach works well enough. Especially if I need to pull and group (sub-summaries for example?!). I just don't make multiple trips to the database. Beverly On 03 May 2012, at 1:30 PM, Dale Bengston wrote: > Funny, I was just doing this exact thing yesterday. > > I've accomplished this using both methods. At present, I'm leaning away from pulling more data than "belongs" to the user and then filtering it. I'm back to doing multiple queries and merging the results. > > Once I have the results of multiple queries, it's a simple matter to "add" the data arrays to merge them. This works great, since it eliminates duplicates if your found sets overlap at all. > > $find1 = [result of fx query 1] > $find2 = [result of fx query 2] > > $finalData['data'] = $find1['data'] + $find2['data']; > > Poof! > > Two caveats: > > * Get the combined found set by doing count($finalData['data']). In case there were dupes that got merged, you can't rely on just doing > $finalData['foundCount'] = $find1['foundCount'] + $find2['foundCount']; > > * Adding an empty array to an array can cause complaints - check for a foundCount > 0 in each array first. > > Hope this helps, > Dale > > On May 3, 2012, at 5:52 AM, Beverly Voth wrote: > >> If I think the foundset isn't too large, I've pulled what I can with one request and FILTER ( with switchcase or if/elseif/else ) in the output loop. >> >> >> -- sent from my iPhone4 -- >> Beverly Voth >> -- >> >> On May 3, 2012, at 3:10 AM, Malcolm Fitzgerald wrote: >> >>> I want to combine two searches, both of which have multiple criteria. In filemaker itself it would be easy, two find requests. >>> >>> I want to find all records where "id = a AND date_1=a ... b" OR "id=a AND date_2=a...b". >>> >>> Is the solution to do two separate searches and combine the results or is there a better way? >>> >>> Malcolm_______________________________________________ >>> 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 > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From beverlyvoth at gmail.com Thu May 3 11:49:26 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Thu May 3 11:12:39 2012 Subject: [FX.php List] How do we perform the equivalent of multiple find requests? In-Reply-To: <65D61EF3-0B6B-42A1-B7F7-9B3308B327B3@bluecrocodile.co.nz> References: <3D467946-C066-4C1C-9067-7F436EC6AD3A@notyourhomework.net> <8BB6229F-8568-4876-B954-765A23023510@gmail.com> <65D61EF3-0B6B-42A1-B7F7-9B3308B327B3@bluecrocodile.co.nz> Message-ID: <76A7B3F4-57B7-4258-A8F9-E0EC013B2D0C@gmail.com> Steve, this function has this on php.net: === Merges the elements of one or more arrays together so that the values of one are appended to the end of the previous one. It returns the resulting array. If the input arrays have the same string keys, then the later value for that key will overwrite the previous one. If, however, the arrays contain numeric keys, the later value will not overwrite the original value, but will be appended. Values in the input array with numeric keys will be renumbered with incrementing keys starting from zero in the result array. === I guess if you merge and the keys "match" and they are strings, they will not just "append". Beverly On 03 May 2012, at 1:36 PM, Steve Winter wrote: > Dale > > Is $array1 + $array2 functionally identical to array_merge($array1, $array2)...? > > Yes, I could test it myself, but I'm out and about and would invariably forget, do I'm asking you ;-? > > Cheers > Steve > > Sent from the iPhone of Steve Winter > Matatiro Solutions > steve@matatirosolutions.co.uk > +44 777 852 4776 > > On 3 May 2012, at 18:30, Dale Bengston wrote: > >> Funny, I was just doing this exact thing yesterday. >> >> I've accomplished this using both methods. At present, I'm leaning away from pulling more data than "belongs" to the user and then filtering it. I'm back to doing multiple queries and merging the results. >> >> Once I have the results of multiple queries, it's a simple matter to "add" the data arrays to merge them. This works great, since it eliminates duplicates if your found sets overlap at all. >> >> $find1 = [result of fx query 1] >> $find2 = [result of fx query 2] >> >> $finalData['data'] = $find1['data'] + $find2['data']; >> >> Poof! >> >> Two caveats: >> >> * Get the combined found set by doing count($finalData['data']). In case there were dupes that got merged, you can't rely on just doing >> $finalData['foundCount'] = $find1['foundCount'] + $find2['foundCount']; >> >> * Adding an empty array to an array can cause complaints - check for a foundCount > 0 in each array first. >> >> Hope this helps, >> Dale >> >> On May 3, 2012, at 5:52 AM, Beverly Voth wrote: >> >>> If I think the foundset isn't too large, I've pulled what I can with one request and FILTER ( with switchcase or if/elseif/else ) in the output loop. >>> >>> >>> -- sent from my iPhone4 -- >>> Beverly Voth >>> -- >>> >>> On May 3, 2012, at 3:10 AM, Malcolm Fitzgerald wrote: >>> >>>> I want to combine two searches, both of which have multiple criteria. In filemaker itself it would be easy, two find requests. >>>> >>>> I want to find all records where "id = a AND date_1=a ... b" OR "id=a AND date_2=a...b". >>>> >>>> Is the solution to do two separate searches and combine the results or is there a better way? >>>> >>>> Malcolm_______________________________________________ >>>> 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 >> >> _______________________________________________ >> 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 sthoms at wavecomm.com Thu May 3 12:00:54 2012 From: sthoms at wavecomm.com (Steven Thoms) Date: Thu May 3 11:38:59 2012 Subject: [FX.php List] How do we perform the equivalent of multiple find requests? In-Reply-To: References: <3D467946-C066-4C1C-9067-7F436EC6AD3A@notyourhomework.net> <8BB6229F-8568-4876-B954-765A23023510@gmail.com> Message-ID: There is an issue here: array array_merge ( array $array1 [, array $... ] ) Merges the elements of one or more arrays together so that the values of one are appended to the end of the previous one. It returns the resulting array. If the input arrays have the same string keys, then the later value for that key will overwrite the previous one. If, however, the arrays contain numeric keys, the later value will not overwrite the original value, but will be appended. Values in the input array with numeric keys will be renumbered with incrementing keys starting from zero in the result array. 1. The array keys in the fx 'data' array, may be interpreted as numbers; they are not returned as quoted strings. 2. If not, a record returned in both arrays may have been modified, so the key in 'data' would be different for the same record. Small chance but possible. It seems to me the only proper way to do this would be to run both queries and then iterate over the second creating a final array using the primary key of the table as the key to the resulting array, then adding additional records from the first. (Using the second array first solves the modification issue). Something like: $find1['data']; $find2['data']; foreach ( $find2['data'] as $key -> $record ) { $finalArray[$record['primaryKey'][0]] = $record; } foreach ( $find1['data'] as $key -> $record ) { if ( !array_key_exists($record['primaryKey'][0], $finalArray ) ) { $finalArray[$record['primaryKey'][0]] = $record; } } This is expensive, but would be sure to yield accurate results. In the end, I am with Beverly on this and would do a broader search, limiting responses in a single loop on the receiving end. Steve On May 3, 2012, at 1:30 PM, Dale Bengston wrote: > Funny, I was just doing this exact thing yesterday. > > I've accomplished this using both methods. At present, I'm leaning > away from pulling more data than "belongs" to the user and then > filtering it. I'm back to doing multiple queries and merging the > results. > > Once I have the results of multiple queries, it's a simple matter to > "add" the data arrays to merge them. This works great, since it > eliminates duplicates if your found sets overlap at all. > > $find1 = [result of fx query 1] > $find2 = [result of fx query 2] > > $finalData['data'] = $find1['data'] + $find2['data']; > > Poof! > > Two caveats: > > * Get the combined found set by doing count($finalData['data']). In > case there were dupes that got merged, you can't rely on just doing > $finalData['foundCount'] = $find1['foundCount'] + > $find2['foundCount']; > > * Adding an empty array to an array can cause complaints - check for > a foundCount > 0 in each array first. > > Hope this helps, > Dale > > On May 3, 2012, at 5:52 AM, Beverly Voth wrote: > >> If I think the foundset isn't too large, I've pulled what I can >> with one request and FILTER ( with switchcase or if/elseif/else ) >> in the output loop. >> >> >> -- sent from my iPhone4 -- >> Beverly Voth >> -- >> >> On May 3, 2012, at 3:10 AM, Malcolm Fitzgerald > > wrote: >> >>> I want to combine two searches, both of which have multiple >>> criteria. In filemaker itself it would be easy, two find requests. >>> >>> I want to find all records where "id = a AND date_1=a ... b" OR >>> "id=a AND date_2=a...b". >>> >>> Is the solution to do two separate searches and combine the >>> results or is there a better way? >>> >>> Malcolm_______________________________________________ >>> 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 > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From dale.bengston at gmail.com Thu May 3 12:18:03 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Thu May 3 11:41:10 2012 Subject: [FX.php List] How do we perform the equivalent of multiple find requests? In-Reply-To: References: <3D467946-C066-4C1C-9067-7F436EC6AD3A@notyourhomework.net> <8BB6229F-8568-4876-B954-765A23023510@gmail.com> Message-ID: <8112ED89-9A14-43BE-8B9F-4E228069CCAC@gmail.com> Yes, Bev! Definitely times when over-pulling and filtering is a better thing. It's a toss-up some days whether it's more overhead to make multiple trips to the database or to over-retrieve and filter. Record count is a big factor! Dale On May 3, 2012, at 12:41 PM, BEVERLY VOTH wrote: > Oh, yes! I'm all for the "union" of the two find results. I just know that there are times when the "filter" approach works well enough. Especially if I need to pull and group (sub-summaries for example?!). I just don't make multiple trips to the database. > > Beverly > > > On 03 May 2012, at 1:30 PM, Dale Bengston wrote: > >> Funny, I was just doing this exact thing yesterday. >> >> I've accomplished this using both methods. At present, I'm leaning away from pulling more data than "belongs" to the user and then filtering it. I'm back to doing multiple queries and merging the results. >> >> Once I have the results of multiple queries, it's a simple matter to "add" the data arrays to merge them. This works great, since it eliminates duplicates if your found sets overlap at all. >> >> $find1 = [result of fx query 1] >> $find2 = [result of fx query 2] >> >> $finalData['data'] = $find1['data'] + $find2['data']; >> >> Poof! >> >> Two caveats: >> >> * Get the combined found set by doing count($finalData['data']). In case there were dupes that got merged, you can't rely on just doing >> $finalData['foundCount'] = $find1['foundCount'] + $find2['foundCount']; >> >> * Adding an empty array to an array can cause complaints - check for a foundCount > 0 in each array first. >> >> Hope this helps, >> Dale >> >> On May 3, 2012, at 5:52 AM, Beverly Voth wrote: >> >>> If I think the foundset isn't too large, I've pulled what I can with one request and FILTER ( with switchcase or if/elseif/else ) in the output loop. >>> >>> >>> -- sent from my iPhone4 -- >>> Beverly Voth >>> -- >>> >>> On May 3, 2012, at 3:10 AM, Malcolm Fitzgerald wrote: >>> >>>> I want to combine two searches, both of which have multiple criteria. In filemaker itself it would be easy, two find requests. >>>> >>>> I want to find all records where "id = a AND date_1=a ... b" OR "id=a AND date_2=a...b". >>>> >>>> Is the solution to do two separate searches and combine the results or is there a better way? >>>> >>>> Malcolm_______________________________________________ >>>> 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 >> >> _______________________________________________ >> 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 sthoms at wavecomm.com Thu May 3 13:14:46 2012 From: sthoms at wavecomm.com (Steven Thoms) Date: Thu May 3 12:37:59 2012 Subject: [FX.php List] How do we perform the equivalent of multiple find requests? In-Reply-To: References: <3D467946-C066-4C1C-9067-7F436EC6AD3A@notyourhomework.net> <8BB6229F-8568-4876-B954-765A23023510@gmail.com> Message-ID: Sorry, Should be: foreach ( $find2['data'] as $key => $record ) { Steve 207 798-0171 On May 3, 2012, at 2:00 PM, Steven Thoms wrote: > foreach ( $find2['data'] as $key -> $record ) { From malcolm at notyourhomework.net Thu May 3 14:11:23 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Thu May 3 13:34:31 2012 Subject: [FX.php List] How do we perform the equivalent of multiple find requests? In-Reply-To: <76A7B3F4-57B7-4258-A8F9-E0EC013B2D0C@gmail.com> References: <3D467946-C066-4C1C-9067-7F436EC6AD3A@notyourhomework.net> <8BB6229F-8568-4876-B954-765A23023510@gmail.com> <65D61EF3-0B6B-42A1-B7F7-9B3308B327B3@bluecrocodile.co.nz> <76A7B3F4-57B7-4258-A8F9-E0EC013B2D0C@gmail.com> Message-ID: <0C33420C-EA58-478F-9F46-B72E7974EA2D@notyourhomework.net> Hi, thanks for all the replies. The number of records discovered will be too large to grab and filter. I'd expect there to be hundreds of records. I'm able to run the searches and combine the results. I've experimented with array_merge for this and you get results that look like this array { data { [83.2] { -- fmp record datasets are fully merged because there are associative keys } foundcount { -- there is no associative key so the results are appended. This is quite handy [0] : 0 [1] : 3 [2] : 1 } } I haven't installed the Filemaker API yet. It offers combined searches so that is still an option. Malcolm On 04/05/2012, at 3:49 AM, Beverly Voth wrote: > Steve, this function has this on php.net: > > === > Merges the elements of one or more arrays together so that the values of one are appended to the end of the previous one. It returns the resulting array. > > If the input arrays have the same string keys, then the later value for that key will overwrite the previous one. If, however, the arrays contain numeric keys, the later value will not overwrite the original value, but will be appended. > > Values in the input array with numeric keys will be renumbered with incrementing keys starting from zero in the result array. > === > > I guess if you merge and the keys "match" and they are strings, they will not just "append". > > Beverly > > On 03 May 2012, at 1:36 PM, Steve Winter wrote: > >> Dale >> >> Is $array1 + $array2 functionally identical to array_merge($array1, $array2)...? >> >> Yes, I could test it myself, but I'm out and about and would invariably forget, do I'm asking you ;-? >> >> Cheers >> Steve >> >> Sent from the iPhone of Steve Winter >> Matatiro Solutions >> steve@matatirosolutions.co.uk >> +44 777 852 4776 >> >> On 3 May 2012, at 18:30, Dale Bengston wrote: >> >>> Funny, I was just doing this exact thing yesterday. >>> >>> I've accomplished this using both methods. At present, I'm leaning away from pulling more data than "belongs" to the user and then filtering it. I'm back to doing multiple queries and merging the results. >>> >>> Once I have the results of multiple queries, it's a simple matter to "add" the data arrays to merge them. This works great, since it eliminates duplicates if your found sets overlap at all. >>> >>> $find1 = [result of fx query 1] >>> $find2 = [result of fx query 2] >>> >>> $finalData['data'] = $find1['data'] + $find2['data']; >>> >>> Poof! >>> >>> Two caveats: >>> >>> * Get the combined found set by doing count($finalData['data']). In case there were dupes that got merged, you can't rely on just doing >>> $finalData['foundCount'] = $find1['foundCount'] + $find2['foundCount']; >>> >>> * Adding an empty array to an array can cause complaints - check for a foundCount > 0 in each array first. >>> >>> Hope this helps, >>> Dale >>> >>> On May 3, 2012, at 5:52 AM, Beverly Voth wrote: >>> >>>> If I think the foundset isn't too large, I've pulled what I can with one request and FILTER ( with switchcase or if/elseif/else ) in the output loop. >>>> >>>> >>>> -- sent from my iPhone4 -- >>>> Beverly Voth >>>> -- >>>> >>>> On May 3, 2012, at 3:10 AM, Malcolm Fitzgerald wrote: >>>> >>>>> I want to combine two searches, both of which have multiple criteria. In filemaker itself it would be easy, two find requests. >>>>> >>>>> I want to find all records where "id = a AND date_1=a ... b" OR "id=a AND date_2=a...b". >>>>> >>>>> Is the solution to do two separate searches and combine the results or is there a better way? >>>>> >>>>> Malcolm_______________________________________________ >>>>> 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 >>> >>> _______________________________________________ >>> 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 > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From sthoms at wavecomm.com Thu May 3 14:17:55 2012 From: sthoms at wavecomm.com (Steven Thoms) Date: Thu May 3 13:41:06 2012 Subject: [FX.php List] How do we perform the equivalent of multiple find requests? In-Reply-To: <0C33420C-EA58-478F-9F46-B72E7974EA2D@notyourhomework.net> References: <3D467946-C066-4C1C-9067-7F436EC6AD3A@notyourhomework.net> <8BB6229F-8568-4876-B954-765A23023510@gmail.com> <65D61EF3-0B6B-42A1-B7F7-9B3308B327B3@bluecrocodile.co.nz> <76A7B3F4-57B7-4258-A8F9-E0EC013B2D0C@gmail.com> <0C33420C-EA58-478F-9F46-B72E7974EA2D@notyourhomework.net> Message-ID: <8090B8C2-FDE0-48BE-A5E3-F5ED8FE2B140@wavecomm.com> Did you end up using 'array_merge_recursive()'? Steve 207 798-0171 On May 3, 2012, at 4:11 PM, Malcolm Fitzgerald wrote: > Hi, > thanks for all the replies. > > The number of records discovered will be too large to grab and > filter. I'd expect there to be hundreds of records. > > I'm able to run the searches and combine the results. I've > experimented with array_merge for this and you get results that look > like this > > array { > data { > [83.2] { > -- fmp record datasets are fully merged because there are > associative keys > } > foundcount { > -- there is no associative key so the results are appended. This > is quite handy > [0] : 0 > [1] : 3 > [2] : 1 > } > } > > I haven't installed the Filemaker API yet. It offers combined > searches so that is still an option. > > Malcolm > > > > On 04/05/2012, at 3:49 AM, Beverly Voth wrote: > >> Steve, this function has this on php.net: >> >> === >> Merges the elements of one or more arrays together so that the >> values of one are appended to the end of the previous one. It >> returns the resulting array. >> >> If the input arrays have the same string keys, then the later value >> for that key will overwrite the previous one. If, however, the >> arrays contain numeric keys, the later value will not overwrite the >> original value, but will be appended. >> >> Values in the input array with numeric keys will be renumbered with >> incrementing keys starting from zero in the result array. >> === >> >> I guess if you merge and the keys "match" and they are strings, >> they will not just "append". >> >> Beverly >> >> On 03 May 2012, at 1:36 PM, Steve Winter wrote: >> >>> Dale >>> >>> Is $array1 + $array2 functionally identical to >>> array_merge($array1, $array2)...? >>> >>> Yes, I could test it myself, but I'm out and about and would >>> invariably forget, do I'm asking you ;-? >>> >>> Cheers >>> Steve >>> >>> Sent from the iPhone of Steve Winter >>> Matatiro Solutions >>> steve@matatirosolutions.co.uk >>> +44 777 852 4776 >>> >>> On 3 May 2012, at 18:30, Dale Bengston >>> wrote: >>> >>>> Funny, I was just doing this exact thing yesterday. >>>> >>>> I've accomplished this using both methods. At present, I'm >>>> leaning away from pulling more data than "belongs" to the user >>>> and then filtering it. I'm back to doing multiple queries and >>>> merging the results. >>>> >>>> Once I have the results of multiple queries, it's a simple matter >>>> to "add" the data arrays to merge them. This works great, since >>>> it eliminates duplicates if your found sets overlap at all. >>>> >>>> $find1 = [result of fx query 1] >>>> $find2 = [result of fx query 2] >>>> >>>> $finalData['data'] = $find1['data'] + $find2['data']; >>>> >>>> Poof! >>>> >>>> Two caveats: >>>> >>>> * Get the combined found set by doing count($finalData['data']). >>>> In case there were dupes that got merged, you can't rely on just >>>> doing >>>> $finalData['foundCount'] = $find1['foundCount'] + >>>> $find2['foundCount']; >>>> >>>> * Adding an empty array to an array can cause complaints - check >>>> for a foundCount > 0 in each array first. >>>> >>>> Hope this helps, >>>> Dale >>>> >>>> On May 3, 2012, at 5:52 AM, Beverly Voth wrote: >>>> >>>>> If I think the foundset isn't too large, I've pulled what I can >>>>> with one request and FILTER ( with switchcase or if/elseif/ >>>>> else ) in the output loop. >>>>> >>>>> >>>>> -- sent from my iPhone4 -- >>>>> Beverly Voth >>>>> -- >>>>> >>>>> On May 3, 2012, at 3:10 AM, Malcolm Fitzgerald >>>> > wrote: >>>>> >>>>>> I want to combine two searches, both of which have multiple >>>>>> criteria. In filemaker itself it would be easy, two find >>>>>> requests. >>>>>> >>>>>> I want to find all records where "id = a AND date_1=a ... b" >>>>>> OR "id=a AND date_2=a...b". >>>>>> >>>>>> Is the solution to do two separate searches and combine the >>>>>> results or is there a better way? >>>>>> >>>>>> Malcolm_______________________________________________ >>>>>> 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 >>>> >>>> _______________________________________________ >>>> 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 >> >> _______________________________________________ >> 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 malcolm at notyourhomework.net Thu May 3 14:35:14 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Thu May 3 13:58:22 2012 Subject: [FX.php List] How do we perform the equivalent of multiple find requests? In-Reply-To: <8090B8C2-FDE0-48BE-A5E3-F5ED8FE2B140@wavecomm.com> References: <3D467946-C066-4C1C-9067-7F436EC6AD3A@notyourhomework.net> <8BB6229F-8568-4876-B954-765A23023510@gmail.com> <65D61EF3-0B6B-42A1-B7F7-9B3308B327B3@bluecrocodile.co.nz> <76A7B3F4-57B7-4258-A8F9-E0EC013B2D0C@gmail.com> <0C33420C-EA58-478F-9F46-B72E7974EA2D@notyourhomework.net> <8090B8C2-FDE0-48BE-A5E3-F5ED8FE2B140@wavecomm.com> Message-ID: <8C3D898E-ACCD-4324-8F04-CD86BAE67730@notyourhomework.net> Yes, array_merge_recursive() Malcolm On 04/05/2012, at 6:17 AM, Steven Thoms wrote: > Did you end up using 'array_merge_recursive()'? > > Steve > 207 798-0171 > > On May 3, 2012, at 4:11 PM, Malcolm Fitzgerald wrote: > >> Hi, >> thanks for all the replies. >> >> The number of records discovered will be too large to grab and filter. I'd expect there to be hundreds of records. >> >> I'm able to run the searches and combine the results. I've experimented with array_merge for this and you get results that look like this >> >> array { >> data { >> [83.2] { >> -- fmp record datasets are fully merged because there are associative keys >> } >> foundcount { >> -- there is no associative key so the results are appended. This is quite handy >> [0] : 0 >> [1] : 3 >> [2] : 1 >> } >> } >> >> I haven't installed the Filemaker API yet. It offers combined searches so that is still an option. >> >> Malcolm >> >> >> >> On 04/05/2012, at 3:49 AM, Beverly Voth wrote: >> >>> Steve, this function has this on php.net: >>> >>> === >>> Merges the elements of one or more arrays together so that the values of one are appended to the end of the previous one. It returns the resulting array. >>> >>> If the input arrays have the same string keys, then the later value for that key will overwrite the previous one. If, however, the arrays contain numeric keys, the later value will not overwrite the original value, but will be appended. >>> >>> Values in the input array with numeric keys will be renumbered with incrementing keys starting from zero in the result array. >>> === >>> >>> I guess if you merge and the keys "match" and they are strings, they will not just "append". >>> >>> Beverly >>> >>> On 03 May 2012, at 1:36 PM, Steve Winter wrote: >>> >>>> Dale >>>> >>>> Is $array1 + $array2 functionally identical to array_merge($array1, $array2)...? >>>> >>>> Yes, I could test it myself, but I'm out and about and would invariably forget, do I'm asking you ;-? >>>> >>>> Cheers >>>> Steve >>>> >>>> Sent from the iPhone of Steve Winter >>>> Matatiro Solutions >>>> steve@matatirosolutions.co.uk >>>> +44 777 852 4776 >>>> >>>> On 3 May 2012, at 18:30, Dale Bengston wrote: >>>> >>>>> Funny, I was just doing this exact thing yesterday. >>>>> >>>>> I've accomplished this using both methods. At present, I'm leaning away from pulling more data than "belongs" to the user and then filtering it. I'm back to doing multiple queries and merging the results. >>>>> >>>>> Once I have the results of multiple queries, it's a simple matter to "add" the data arrays to merge them. This works great, since it eliminates duplicates if your found sets overlap at all. >>>>> >>>>> $find1 = [result of fx query 1] >>>>> $find2 = [result of fx query 2] >>>>> >>>>> $finalData['data'] = $find1['data'] + $find2['data']; >>>>> >>>>> Poof! >>>>> >>>>> Two caveats: >>>>> >>>>> * Get the combined found set by doing count($finalData['data']). In case there were dupes that got merged, you can't rely on just doing >>>>> $finalData['foundCount'] = $find1['foundCount'] + $find2['foundCount']; >>>>> >>>>> * Adding an empty array to an array can cause complaints - check for a foundCount > 0 in each array first. >>>>> >>>>> Hope this helps, >>>>> Dale >>>>> >>>>> On May 3, 2012, at 5:52 AM, Beverly Voth wrote: >>>>> >>>>>> If I think the foundset isn't too large, I've pulled what I can with one request and FILTER ( with switchcase or if/elseif/else ) in the output loop. >>>>>> >>>>>> >>>>>> -- sent from my iPhone4 -- >>>>>> Beverly Voth >>>>>> -- >>>>>> >>>>>> On May 3, 2012, at 3:10 AM, Malcolm Fitzgerald wrote: >>>>>> >>>>>>> I want to combine two searches, both of which have multiple criteria. In filemaker itself it would be easy, two find requests. >>>>>>> >>>>>>> I want to find all records where "id = a AND date_1=a ... b" OR "id=a AND date_2=a...b". >>>>>>> >>>>>>> Is the solution to do two separate searches and combine the results or is there a better way? >>>>>>> >>>>>>> Malcolm_______________________________________________ >>>>>>> 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 >>>>> >>>>> _______________________________________________ >>>>> 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 >>> >>> _______________________________________________ >>> 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 >> > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From tcmeyers at troymeyers.com Mon May 7 16:13:56 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Mon May 7 15:36:47 2012 Subject: [FX.php List] That sinking feeling: FileMaker 12 & FX ? Message-ID: I converted my databases to FMP 12 over the weekend, and pointed the web server to FMS12. Everything seemed to be working fine, quicker even, so instead of testing further, I went ahead and went live with it. Go ahead and shake your head. FileMaker Pro 12 client and Advanced are behaving, but something is terribly wrong with my web interface. It's not impossible that this problem existed before I switched to 12, but I really think someone would have reported it, or I'd have seen it. At first I thought it was trouble with the results arrays just coming from portals, but now I see some other things, like simple finds (no portals at all) returning empty results went I know a couple of records should be returned. But enough works that I didn't notice it right away. The portal problem is like this... it seemed like certain fields on the layout in the portal weren't being returned ("Undefined index" errors), and sure enough, using print_r() to show the returned results, the needed field name is NOT included in the results... but guess what, expected the data value (value in the field in FM) _is_ included, but according to the array it's attributed wrongly to a DIFFERENT field name in a DIFFERENT portal. I expect some sort of mis-mapping of fields is happening to mess up the simple find, too. HAS ANYONE heard of anything like this? This is really bad. I better take the site down, who knows what data is being presented where. -Troy From tcmeyers at troymeyers.com Mon May 7 18:53:02 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Mon May 7 18:15:52 2012 Subject: [FX.php List] That sinking feeling: FileMaker 12 & FX ? Message-ID: <4F11BE90.FA83.4101.A970.E3DFD6BF0AB0@106.1159689> I still don't have any clues. Can I monitor what the XML is that FileMaker is passing to FX, so that I can see if the FileMaker WPE is using the wrong field names? -Troy From fxphp at igsmasouth.org Mon May 7 19:41:23 2012 From: fxphp at igsmasouth.org (Jon Montgomery) Date: Mon May 7 19:04:12 2012 Subject: [FX.php List] That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <4F11BE90.FA83.4101.A970.E3DFD6BF0AB0@106.1159689> References: <4F11BE90.FA83.4101.A970.E3DFD6BF0AB0@106.1159689> Message-ID: <36B88C9A-1B84-4628-9F7A-F5DCA4834A3C@igsmasouth.org> Troy, Isn't it something like DEBUG(True); ?? Jon Montgomery On May 7, 2012, at 7:53 PM, Troy Meyers wrote: > I still don't have any clues. > > Can I monitor what the XML is that FileMaker is passing to FX, so that I can see if the FileMaker WPE is using the wrong field names? > > -Troy > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dsomar at gmail.com Mon May 7 20:05:10 2012 From: dsomar at gmail.com (Denis Somar) Date: Mon May 7 19:28:18 2012 Subject: [FX.php List] That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <36B88C9A-1B84-4628-9F7A-F5DCA4834A3C@igsmasouth.org> References: <4F11BE90.FA83.4101.A970.E3DFD6BF0AB0@106.1159689> <36B88C9A-1B84-4628-9F7A-F5DCA4834A3C@igsmasouth.org> Message-ID: var_dump is also your friend to check what results are being returned entirely. print_r is more readable... HTH, Denis On Mon, May 7, 2012 at 9:41 PM, Jon Montgomery wrote: > Troy, > > Isn't it something like DEBUG(True); > ?? > > Jon Montgomery > > > On May 7, 2012, at 7:53 PM, Troy Meyers wrote: > > > I still don't have any clues. > > > > Can I monitor what the XML is that FileMaker is passing to FX, so that I > can see if the FileMaker WPE is using the wrong field names? > > > > -Troy > > _______________________________________________ > > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120507/c30a4ecc/attachment.html From tcmeyers at troymeyers.com Mon May 7 20:20:19 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Mon May 7 19:43:10 2012 Subject: [FX.php List] That sinking feeling: FileMaker 12 & FX ? Message-ID: <95928B92.89F9.462F.8033.5B2F66670829@106.1159690> Jon, I need something like that, but that just shows the query URL. What I need to see is the reply. But thanks! -Troy > Troy, > > Isn't it something like DEBUG(True); ?? > > Jon Montgomery > > On May 7, 2012, at 7:53 PM, Troy Meyers wrote: > > > I still don't have any clues. > > Can I monitor what the XML is that > FileMaker is passing to FX, so that I can see if the FileMaker WPE is > using the wrong field names? > > -Troy > > _______________________________________________ > 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 msyk at msyk.net Mon May 7 20:50:37 2012 From: msyk at msyk.net (Masayuki Nii) Date: Mon May 7 20:13:25 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <4F11BE90.FA83.4101.A970.E3DFD6BF0AB0@106.1159689> References: <4F11BE90.FA83.4101.A970.E3DFD6BF0AB0@106.1159689> Message-ID: <1640499969.0.1336445437283.JavaMail.msyk@msyk.net> I afraid you know this... You can get the accessing URL as below: $fxResult = $fx->DoFxAction("show_all" ... ); var_dump( $fxResult['URL'] ); After that, copy the URL on your browser, and paste it to browser's address area. In most case, you should replace 127.0.0.1 to your host name or kind of that. Troy Meyers ????2012/5/8 9:53:02????? ??---?Re: [FX.php List] That sinking feeling: FileMaker 12 & FX ????? ??? > I still don't have any clues. > > Can I monitor what the XML is that FileMaker is passing to FX, so that I can see if the FileMaker WPE is using the wrong field names? > > -Troy > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > > > ________________________________________________________________________ ????/Masayuki Nii Web Site Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii INTER-Mediator [for Web App] http://inter-mediator.info From tcmeyers at troymeyers.com Mon May 7 23:13:06 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Mon May 7 22:35:55 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: Masayuki, Denis, and Jon.... The define("DEBUG", true); and the var_dump ($result ['URL']); both provide the same XML query URL for FileMaker, which does look fine to me. Putting this URL into a browser, the returned XML also, at least with a quick exam, looks like I think it should be, including the name of the portal field (in the section) that throws the "Undefined index" error. Its correct value also can be seen in the section. There are a LOT of fields with this layout, so I'm uncertain if everything lines up. I will check this manually, unless... Is there an XML-reading tool that I can dump this into to correlate the field names in the section with the values in the section? Obviously this is what FX is supposed to be doing, but the FX array returned has the field names and values misaligned. Is there an XML tool that I can use to quickly check to see if the alignment is off as coming from the WPE, or if the error is introduced in the FX interpretation of the XML? Thanks you guys for the help, at least maybe I'm narrowing it down. -Troy > I afraid you know this... > > You can get the accessing URL as below: > > $fxResult = $fx->DoFxAction("show_all" ... ); var_dump( $fxResult['URL'] > ); > > After that, copy the URL on your browser, and paste it to browser's > address area. In most case, you should replace 127.0.0.1 to your host > name or kind of that. From tim.webko at gmail.com Mon May 7 23:25:30 2012 From: tim.webko at gmail.com (Tim 'Webko' Booth) Date: Mon May 7 22:48:22 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: Message-ID: Dear Troy, > > Is there an XML-reading tool that I can dump this into to correlate > the field names in the section with the values in the > section? Obviously this is what FX is supposed to be > doing, but the FX array returned has the field names and values > misaligned. Is there an XML tool that I can use to quickly check to > see if the alignment is off as coming from the WPE, or if the error > is introduced in the FX interpretation of the XML? Short answer: No. The FileMaker XML is kinda brain dead and extra wordy, and I've yet to meet an XML tool that will let you compare the metadata with the actual data like that... Cheers Webko From tcmeyers at troymeyers.com Mon May 7 23:51:43 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Mon May 7 23:14:30 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: Thanks Tim, I won't hunt any further. I'll use a spreadsheet or something. -Troy > Dear Troy, > Is there an XML-reading tool that I can dump this into to correlate > the field names in the section with the values in the > section? Obviously this is what FX is supposed to be > doing, but the FX array returned has the field names and values > misaligned. Is there an XML tool that I can use to quickly check to > see if the alignment is off as coming from the WPE, or if the error > is introduced in the FX interpretation of the XML? > > Short answer: No. The FileMaker XML is kinda brain dead and extra > wordy, and I've yet to meet an XML tool that will let you compare the > metadata with the actual data like that... > > Cheers > > Webko From tcmeyers at troymeyers.com Tue May 8 00:39:06 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Tue May 8 00:01:54 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: <7A28F0AC.8502.4B6F.A104.D0EFD2DB3FCF@106.1159706> Unless I really goofed, the spreadsheet shows that the XML from the WPE is messed up. What seems to be happening is that the XML from the WPE shows all of the expected field names including the field names in the portals, but if any of the portals have NO related records in them, then in the section, all of those ... items are totally omitted, instead of having place-holders in the form of . Since, in this example record I've been looking at, there are 145 normal + portal fields, and 4 of the 6 portals have no related records, there are way fewer ... items returned than there should be, so as soon as the first column that has an empty-portal field is encountered, all the data is misaligned. That is, good data from real, filled fields, starts falling in the spots that empty portal columns should be. Am I being incomprehensible? Anyway, is this a huge bug in the WPE in FileMaker Server 12? Can anyone reproduce this? -Troy > Dear Troy, > Is there an XML-reading tool that I can dump this into to correlate > the field names in the section with the values in the > section? Obviously this is what FX is supposed to be > doing, but the FX array returned has the field names and values > misaligned. Is there an XML tool that I can use to quickly check to > see if the alignment is off as coming from the WPE, or if the error > is introduced in the FX interpretation of the XML? > > Short answer: No. The FileMaker XML is kinda brain dead and extra > wordy, and I've yet to meet an XML tool that will let you compare the > metadata with the actual data like that... > > Cheers > > Webko From tim.webko at gmail.com Tue May 8 01:10:27 2012 From: tim.webko at gmail.com (Tim 'Webko' Booth) Date: Tue May 8 00:33:23 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <7A28F0AC.8502.4B6F.A104.D0EFD2DB3FCF@106.1159706> References: <7A28F0AC.8502.4B6F.A104.D0EFD2DB3FCF@106.1159706> Message-ID: <12A64093-7A7E-483D-8604-41279721BEDC@gmail.com> Dear Troy, > Unless I really goofed, the spreadsheet shows that the XML from the > WPE is messed up. > > What seems to be happening is that the XML from the WPE shows all of > the expected field names including the field names in the portals, > but if any of the portals have NO related records in them, then in > the section, all of those ... items are > totally omitted, instead of having place-holders in the form of > . > > Since, in this example record I've been looking at, there are 145 > normal + portal fields, and 4 of the 6 portals have no related > records, there are way fewer ... items returned than > there should be, so as soon as the first column that has an empty- > portal field is encountered, all the data is misaligned. That is, > good data from real, filled fields, starts falling in the spots that > empty portal columns should be. > > Am I being incomprehensible? > > Anyway, is this a huge bug in the WPE in FileMaker Server 12? Can > anyone reproduce this? Can you also check this behaviour on FM11? But that would totally suck (and yet another reason that I'm glad I never pull portal data directly, even though it may be inefficient...) Maybe Bob could check a copy of the database on his FM12 setup (haven;t got around to it yet...) Cheers Webko From beverlyvoth at gmail.com Tue May 8 04:19:56 2012 From: beverlyvoth at gmail.com (Beverly Voth) Date: Tue May 8 03:42:48 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: Message-ID: <544700E0-55DF-42AA-B2DE-4A30DD82DF6E@gmail.com> Or an XSLT to transform it to table with the METADATA into column headers. Remember that portals return multiple DATA for one COL. -- sent from my iPhone4 -- Beverly Voth -- On May 8, 2012, at 1:51 AM, Troy Meyers wrote: > Thanks Tim, I won't hunt any further. I'll use a spreadsheet or something. > > -Troy > > >> Dear Troy, > >> Is there an XML-reading tool that I can dump this into to correlate >> the field names in the section with the values in the >> section? Obviously this is what FX is supposed to be >> doing, but the FX array returned has the field names and values >> misaligned. Is there an XML tool that I can use to quickly check to >> see if the alignment is off as coming from the WPE, or if the error >> is introduced in the FX interpretation of the XML? > >> >> Short answer: No. The FileMaker XML is kinda brain dead and extra >> wordy, and I've yet to meet an XML tool that will let you compare the >> metadata with the actual data like that... >> >> Cheers >> >> Webko > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From beverlyvoth at gmail.com Tue May 8 04:24:37 2012 From: beverlyvoth at gmail.com (Beverly Voth) Date: Tue May 8 03:47:28 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <7A28F0AC.8502.4B6F.A104.D0EFD2DB3FCF@106.1159706> References: <7A28F0AC.8502.4B6F.A104.D0EFD2DB3FCF@106.1159706> Message-ID: <4B22205C-4048-47F0-89F3-89631A3FCC87@gmail.com> What happens to the XML if you just EXPORT from the same layout? You should get the same set of elements. Yes, a portal can be empty, but it sounds like you are getting empty when there are portal rows with DATA. Also try an XML query via web publishing using one of the other grammers. -- sent from my iPhone4 -- Beverly Voth -- On May 8, 2012, at 2:39 AM, Troy Meyers wrote: > Unless I really goofed, the spreadsheet shows that the XML from the WPE is messed up. > > What seems to be happening is that the XML from the WPE shows all of the expected field names including the field names in the portals, but if any of the portals have NO related records in them, then in the section, all of those ... items are totally omitted, instead of having place-holders in the form of . > > Since, in this example record I've been looking at, there are 145 normal + portal fields, and 4 of the 6 portals have no related records, there are way fewer ... items returned than there should be, so as soon as the first column that has an empty-portal field is encountered, all the data is misaligned. That is, good data from real, filled fields, starts falling in the spots that empty portal columns should be. > > Am I being incomprehensible? > > Anyway, is this a huge bug in the WPE in FileMaker Server 12? Can anyone reproduce this? > > -Troy > > > >> Dear Troy, > >> Is there an XML-reading tool that I can dump this into to correlate >> the field names in the section with the values in the >> section? Obviously this is what FX is supposed to be >> doing, but the FX array returned has the field names and values >> misaligned. Is there an XML tool that I can use to quickly check to >> see if the alignment is off as coming from the WPE, or if the error >> is introduced in the FX interpretation of the XML? > >> >> Short answer: No. The FileMaker XML is kinda brain dead and extra >> wordy, and I've yet to meet an XML tool that will let you compare the >> metadata with the actual data like that... >> >> Cheers >> >> Webko > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dale.bengston at gmail.com Tue May 8 07:02:50 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Tue May 8 06:25:46 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <4B22205C-4048-47F0-89F3-89631A3FCC87@gmail.com> References: <7A28F0AC.8502.4B6F.A104.D0EFD2DB3FCF@106.1159706> <4B22205C-4048-47F0-89F3-89631A3FCC87@gmail.com> Message-ID: Troy, a clarification... are these portals with empty rows that are being skipped, or are they individual related fields that are on the layout? In the olden days (maybe still true), individual related fields would be suppressed if they were empty, unless they were placed in a 1-row portal. Just triangulating, Dale On May 8, 2012, at 5:24 AM, Beverly Voth wrote: > What happens to the XML if you just EXPORT from the same layout? You should get the same set of elements. Yes, a portal can be empty, but it sounds like you are getting empty when there are portal rows with DATA. > > Also try an XML query via web publishing using one of the other grammers. > > -- sent from my iPhone4 -- > Beverly Voth > -- > > On May 8, 2012, at 2:39 AM, Troy Meyers wrote: > >> Unless I really goofed, the spreadsheet shows that the XML from the WPE is messed up. >> >> What seems to be happening is that the XML from the WPE shows all of the expected field names including the field names in the portals, but if any of the portals have NO related records in them, then in the section, all of those ... items are totally omitted, instead of having place-holders in the form of . >> >> Since, in this example record I've been looking at, there are 145 normal + portal fields, and 4 of the 6 portals have no related records, there are way fewer ... items returned than there should be, so as soon as the first column that has an empty-portal field is encountered, all the data is misaligned. That is, good data from real, filled fields, starts falling in the spots that empty portal columns should be. >> >> Am I being incomprehensible? >> >> Anyway, is this a huge bug in the WPE in FileMaker Server 12? Can anyone reproduce this? >> >> -Troy >> >> >> >>> Dear Troy, >> >>> Is there an XML-reading tool that I can dump this into to correlate >>> the field names in the section with the values in the >>> section? Obviously this is what FX is supposed to be >>> doing, but the FX array returned has the field names and values >>> misaligned. Is there an XML tool that I can use to quickly check to >>> see if the alignment is off as coming from the WPE, or if the error >>> is introduced in the FX interpretation of the XML? >> >>> >>> Short answer: No. The FileMaker XML is kinda brain dead and extra >>> wordy, and I've yet to meet an XML tool that will let you compare the >>> metadata with the actual data like that... >>> >>> Cheers >>> >>> Webko >> >> _______________________________________________ >> 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 tcmeyers at troymeyers.com Tue May 8 08:15:20 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Tue May 8 07:38:08 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: Bev, Thank you, good test. If I do the XML export for the same layout, same record, the portals that don't happen to have any related records in them produce: ...indicating 8 empty fields, which is right for the portal. This is NOT present in the XML Result from the WPE. The other grammar produces things like: for the fields in the empty portals. Since the FMPXMLRESULT export is different (other than just the field order) than the WPE's Result output, I'm even more inclined to think that is is a FMS 12 WPE _bug_. Remember, the WPE output does produce field name items for the empty portal fields in the section, but does NOT produce corresponding items in the section, so the names and data values end up being misaligned as soon as missing portal data is (not) encountered. Which is why the FX results are misaligned too. -Troy P.S. This is all from a set of PHP pages that have been relatively unchanged for a couple of years, and I've never seen the problem before. Saw it the next day after switching from FMS 11 to FMS 12. In other words, it used to work, now it doesn't. > What happens to the XML if you just EXPORT from the same layout? You > should get the same set of elements. Yes, a portal can be empty, but it > sounds like you are getting empty when there are portal rows with DATA. > > Also try an XML query via web publishing using one of the other > grammers. From tcmeyers at troymeyers.com Tue May 8 08:17:46 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Tue May 8 07:40:32 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: > Or an XSLT to transform it to table with the METADATA into column > headers. Remember that portals return multiple DATA for one COL. Bev, For the portals that have a few rows worth of data, the rows are appropriately returned as chains of ... inside .... That part is working fine. -Troy From beverlyvoth at gmail.com Tue May 8 08:34:32 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Tue May 8 07:57:27 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: Message-ID: <4B07AAE5-A228-4B93-9D97-64FCB42951AF@gmail.com> Have you tried the grammar that is used by the FM API for PHP? fmresultset, rather than FMPXMLRESULT? You can't export with fmresultset, but you can make an XML web publishing request. The big change in XML (and PHP) web publishing (FMS12) is that the entire set of records is no longer returned if the foundset is 0. Though I don't think this has anything to do with your problem. There should *always* be the same number of COL element as FIELD elements and it sound like you are not getting that! :( Can you send me your XML results back channel, Troy? beverlyvoth@gmail.com It may indeed be a bug. Bev On 08 May 2012, at 10:15 AM, Troy Meyers wrote: > Bev, > > Thank you, good test. If I do the XML export for the same layout, same record, the portals that don't happen to have any related records in them produce: > > ...indicating 8 empty fields, which is right for the portal. > > This is NOT present in the XML Result from the WPE. > > The other grammar produces things like: > > for the fields in the empty portals. > > Since the FMPXMLRESULT export is different (other than just the field order) than the WPE's Result output, I'm even more inclined to think that is is a FMS 12 WPE _bug_. > > Remember, the WPE output does produce field name items for the empty portal fields in the section, but does NOT produce corresponding items in the section, so the names and data values end up being misaligned as soon as missing portal data is (not) encountered. > > Which is why the FX results are misaligned too. > > -Troy > > P.S. This is all from a set of PHP pages that have been relatively unchanged for a couple of years, and I've never seen the problem before. Saw it the next day after switching from FMS 11 to FMS 12. In other words, it used to work, now it doesn't. > > >> What happens to the XML if you just EXPORT from the same layout? You >> should get the same set of elements. Yes, a portal can be empty, but it >> sounds like you are getting empty when there are portal rows with DATA. >> >> Also try an XML query via web publishing using one of the other >> grammers. > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From tcmeyers at troymeyers.com Tue May 8 08:34:51 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Tue May 8 07:57:37 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: <260F817E.EED0.4A2A.BAB0.C6FC7C4CB153@106.1159719> Dale, These are (graphically) multi-row portals with no related records. Simple individual related fields that don't have records are working, reporting: -Troy > Troy, a clarification... are these portals with empty rows that are > being skipped, or are they individual related fields that are on the > layout? > > In the olden days (maybe still true), individual related fields would be > suppressed if they were empty, unless they were placed in a 1-row > portal. > > Just triangulating, Dale From tcmeyers at troymeyers.com Tue May 8 08:38:51 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Tue May 8 08:01:37 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: > There should *always* be the same number of COL element as FIELD > elements and it sound like you are not getting that! :( Bev, exactly the problem. Thanks!!! I'm sending it back channel. This will be the output received by Safari when I use the query URL reported using diagnostic stuff discussed earlier. -Troy From tcmeyers at troymeyers.com Tue May 8 09:02:42 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Tue May 8 08:25:30 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: Tim, Short answer, no, I can't reproduce in in FMS11. I just reinstalled FMS11, and tried the same page (using the archived FP7 database), no errors, data all correct, FX result array as expected and desired. FMS 12's WPE is messed up. -Troy > Can you also check this behaviour on FM11? > > But that would totally suck (and yet another reason that I'm glad I > never pull portal data directly, even though it may be inefficient...) > > Maybe Bob could check a copy of the database on his FM12 setup > (haven;t got around to it yet...) > > Cheers > > Webko From chris at iViking.org Tue May 8 09:05:09 2012 From: chris at iViking.org (Chris Hansen) Date: Tue May 8 08:27:36 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <4B07AAE5-A228-4B93-9D97-64FCB42951AF@gmail.com> References: <4B07AAE5-A228-4B93-9D97-64FCB42951AF@gmail.com> Message-ID: <9B8308ED-82AF-4D7B-8929-EFB7F1084494@iViking.org> FWIW, FMS has had this bug before. Perhaps when working on FMS12 they started with a code branch that had the problem... From my experience, there is at least one big, XML-related bug in every major FMS release. So yes, if you haven't reported it as a bug, please do so. It may be a good idea to add code to FX that will handle FM's other XML web grammar (though it's MUCH more verbose, and thus a bit slower), but at least that would give us another option when bugs were found... Best, --Chris On May 8, 2012, at 8:34 AM, BEVERLY VOTH wrote: > Have you tried the grammar that is used by the FM API for PHP? fmresultset, rather than FMPXMLRESULT? You can't export with fmresultset, but you can make an XML web publishing request. > > The big change in XML (and PHP) web publishing (FMS12) is that the entire set of records is no longer returned if the foundset is 0. Though I don't think this has anything to do with your problem. > > There should *always* be the same number of COL element as FIELD elements and it sound like you are not getting that! :( > > Can you send me your XML results back channel, Troy? beverlyvoth@gmail.com > > It may indeed be a bug. > > Bev > > > > On 08 May 2012, at 10:15 AM, Troy Meyers wrote: > >> Bev, >> >> Thank you, good test. If I do the XML export for the same layout, same record, the portals that don't happen to have any related records in them produce: >> >> ...indicating 8 empty fields, which is right for the portal. >> >> This is NOT present in the XML Result from the WPE. >> >> The other grammar produces things like: >> >> for the fields in the empty portals. >> >> Since the FMPXMLRESULT export is different (other than just the field order) than the WPE's Result output, I'm even more inclined to think that is is a FMS 12 WPE _bug_. >> >> Remember, the WPE output does produce field name items for the empty portal fields in the section, but does NOT produce corresponding items in the section, so the names and data values end up being misaligned as soon as missing portal data is (not) encountered. >> >> Which is why the FX results are misaligned too. >> >> -Troy >> >> P.S. This is all from a set of PHP pages that have been relatively unchanged for a couple of years, and I've never seen the problem before. Saw it the next day after switching from FMS 11 to FMS 12. In other words, it used to work, now it doesn't. >> >> >>> What happens to the XML if you just EXPORT from the same layout? You >>> should get the same set of elements. Yes, a portal can be empty, but it >>> sounds like you are getting empty when there are portal rows with DATA. >>> >>> Also try an XML query via web publishing using one of the other >>> grammers. >> >> _______________________________________________ >> 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 Tue May 8 09:05:21 2012 From: bob at patin.com (Bob Patin) Date: Tue May 8 08:28:08 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: Message-ID: <5CA3EF87-5E71-4391-BD83-123FD58A1C21@patin.com> Troy, Before you assume that it's the WPE that is messed up, have you tried it with the API? Second, my solution would be not to use a portal, which I never use in web apps anyway; I prefer to go to the source and do a query in the related table. I know that's not the solution you're hoping for, and I know that some people do pull data from portals into web apps, but I never have liked doing it that way. Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker On May 8, 2012, at 10:02 AM, Troy Meyers wrote: > Tim, > > Short answer, no, I can't reproduce in in FMS11. > > I just reinstalled FMS11, and tried the same page (using the archived FP7 database), no errors, data all correct, FX result array as expected and desired. > > > FMS 12's WPE is messed up. > > -Troy > From dale.bengston at gmail.com Tue May 8 09:06:58 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Tue May 8 08:29:47 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <260F817E.EED0.4A2A.BAB0.C6FC7C4CB153@106.1159719> References: <260F817E.EED0.4A2A.BAB0.C6FC7C4CB153@106.1159719> Message-ID: OK. Bummer. On May 8, 2012, at 9:34 AM, Troy Meyers wrote: > Dale, > > These are (graphically) multi-row portals with no related records. > > Simple individual related fields that don't have records are working, reporting: > > > -Troy > > >> Troy, a clarification... are these portals with empty rows that are >> being skipped, or are they individual related fields that are on the >> layout? >> >> In the olden days (maybe still true), individual related fields would be >> suppressed if they were empty, unless they were placed in a 1-row >> portal. >> >> Just triangulating, Dale > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From tcmeyers at troymeyers.com Tue May 8 09:10:03 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Tue May 8 08:32:48 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: Chris, How can I report this so that it gets paid attention to? I'm just a little guy, just an end user that is bold enough to get myself into trouble. I cooked my own goose by thinking the to-12 conversion was a breeze. I can't go back... web users and workers here have already made lot of alterations in my now-.fmp12 files. -Troy > FWIW, FMS has had this bug before. Perhaps when working on FMS12 they > started with a code branch that had the problem... From my experience, > there is at least one big, XML-related bug in every major FMS release. > So yes, if you haven't reported it as a bug, please do so. > > It may be a good idea to add code to FX that will handle FM's other XML > web grammar (though it's MUCH more verbose, and thus a bit slower), but > at least that would give us another option when bugs were found... > > Best, > > --Chris From beverlyvoth at gmail.com Tue May 8 09:19:09 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Tue May 8 08:42:03 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <9B8308ED-82AF-4D7B-8929-EFB7F1084494@iViking.org> References: <4B07AAE5-A228-4B93-9D97-64FCB42951AF@gmail.com> <9B8308ED-82AF-4D7B-8929-EFB7F1084494@iViking.org> Message-ID: yes, please! Chris give us the ability to read any of the XML grammars. :) Thanks, Bev On 08 May 2012, at 11:05 AM, Chris Hansen wrote: > It may be a good idea to add code to FX that will handle FM's other XML web grammar (though it's MUCH more verbose, and thus a bit slower), but at least that would give us another option when bugs were found... > > Best, > > --Chris From beverlyvoth at gmail.com Tue May 8 09:29:50 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Tue May 8 08:52:43 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: Message-ID: <9D40363B-FB7B-4CE9-B499-1DD03EC81775@gmail.com> CONFIRMED from the WPE files I did a search for "> There should *always* be the same number of COL element as FIELD >> elements and it sound like you are not getting that! :( > > Bev, exactly the problem. Thanks!!! I'm sending it back channel. This will be the output received by Safari when I use the query URL reported using diagnostic stuff discussed earlier. > > -Troy > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From beverlyvoth at gmail.com Tue May 8 09:36:59 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Tue May 8 08:59:50 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: Message-ID: Are you on FM TechNet (free membership). It's a painful forum sometimes. :) But it's the place the FM folks tend to hang out. At least report it without documentation (don't post any files, as anyone can download, so that it can begin to get into the channels. I was trying to find the 'file a bug report' and the answer seems to be via the forums. All of us should SPAM them with this problem!! Bev On 08 May 2012, at 11:10 AM, Troy Meyers wrote: > Chris, > > How can I report this so that it gets paid attention to? I'm just a little guy, just an end user that is bold enough to get myself into trouble. > > I cooked my own goose by thinking the to-12 conversion was a breeze. I can't go back... web users and workers here have already made lot of alterations in my now-.fmp12 files. > > -Troy > > > >> FWIW, FMS has had this bug before. Perhaps when working on FMS12 they >> started with a code branch that had the problem... From my experience, >> there is at least one big, XML-related bug in every major FMS release. >> So yes, if you haven't reported it as a bug, please do so. >> >> It may be a good idea to add code to FX that will handle FM's other XML >> web grammar (though it's MUCH more verbose, and thus a bit slower), but >> at least that would give us another option when bugs were found... >> >> Best, >> >> --Chris > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From chris at iViking.org Tue May 8 11:22:54 2012 From: chris at iViking.org (Chris Hansen) Date: Tue May 8 10:45:21 2012 Subject: [FX.php List] How do we perform the equivalent of multiple find requests? In-Reply-To: <8C3D898E-ACCD-4324-8F04-CD86BAE67730@notyourhomework.net> References: <3D467946-C066-4C1C-9067-7F436EC6AD3A@notyourhomework.net> <8BB6229F-8568-4876-B954-765A23023510@gmail.com> <65D61EF3-0B6B-42A1-B7F7-9B3308B327B3@bluecrocodile.co.nz> <76A7B3F4-57B7-4258-A8F9-E0EC013B2D0C@gmail.com> <0C33420C-EA58-478F-9F46-B72E7974EA2D@notyourhomework.net> <8090B8C2-FDE0-48BE-A5E3-F5ED8FE2B140@wavecomm.com> <8C3D898E-ACCD-4324-8F04-CD86BAE67730@notyourhomework.net> Message-ID: Another thought on this... One of the contributors over on the github project has added functionality that appears to do just this... It looks like it still needs a bit of polish, but it's very close. --Chris On May 3, 2012, at 2:35 PM, Malcolm Fitzgerald wrote: > Yes, array_merge_recursive() > > Malcolm > > On 04/05/2012, at 6:17 AM, Steven Thoms wrote: > >> Did you end up using 'array_merge_recursive()'? >> >> Steve >> 207 798-0171 >> >> On May 3, 2012, at 4:11 PM, Malcolm Fitzgerald wrote: >> >>> Hi, >>> thanks for all the replies. >>> >>> The number of records discovered will be too large to grab and filter. I'd expect there to be hundreds of records. >>> >>> I'm able to run the searches and combine the results. I've experimented with array_merge for this and you get results that look like this >>> >>> array { >>> data { >>> [83.2] { >>> -- fmp record datasets are fully merged because there are associative keys >>> } >>> foundcount { >>> -- there is no associative key so the results are appended. This is quite handy >>> [0] : 0 >>> [1] : 3 >>> [2] : 1 >>> } >>> } >>> >>> I haven't installed the Filemaker API yet. It offers combined searches so that is still an option. >>> >>> Malcolm >>> >>> >>> >>> On 04/05/2012, at 3:49 AM, Beverly Voth wrote: >>> >>>> Steve, this function has this on php.net: >>>> >>>> === >>>> Merges the elements of one or more arrays together so that the values of one are appended to the end of the previous one. It returns the resulting array. >>>> >>>> If the input arrays have the same string keys, then the later value for that key will overwrite the previous one. If, however, the arrays contain numeric keys, the later value will not overwrite the original value, but will be appended. >>>> >>>> Values in the input array with numeric keys will be renumbered with incrementing keys starting from zero in the result array. >>>> === >>>> >>>> I guess if you merge and the keys "match" and they are strings, they will not just "append". >>>> >>>> Beverly >>>> >>>> On 03 May 2012, at 1:36 PM, Steve Winter wrote: >>>> >>>>> Dale >>>>> >>>>> Is $array1 + $array2 functionally identical to array_merge($array1, $array2)...? >>>>> >>>>> Yes, I could test it myself, but I'm out and about and would invariably forget, do I'm asking you ;-? >>>>> >>>>> Cheers >>>>> Steve >>>>> >>>>> Sent from the iPhone of Steve Winter >>>>> Matatiro Solutions >>>>> steve@matatirosolutions.co.uk >>>>> +44 777 852 4776 >>>>> >>>>> On 3 May 2012, at 18:30, Dale Bengston wrote: >>>>> >>>>>> Funny, I was just doing this exact thing yesterday. >>>>>> >>>>>> I've accomplished this using both methods. At present, I'm leaning away from pulling more data than "belongs" to the user and then filtering it. I'm back to doing multiple queries and merging the results. >>>>>> >>>>>> Once I have the results of multiple queries, it's a simple matter to "add" the data arrays to merge them. This works great, since it eliminates duplicates if your found sets overlap at all. >>>>>> >>>>>> $find1 = [result of fx query 1] >>>>>> $find2 = [result of fx query 2] >>>>>> >>>>>> $finalData['data'] = $find1['data'] + $find2['data']; >>>>>> >>>>>> Poof! >>>>>> >>>>>> Two caveats: >>>>>> >>>>>> * Get the combined found set by doing count($finalData['data']). In case there were dupes that got merged, you can't rely on just doing >>>>>> $finalData['foundCount'] = $find1['foundCount'] + $find2['foundCount']; >>>>>> >>>>>> * Adding an empty array to an array can cause complaints - check for a foundCount > 0 in each array first. >>>>>> >>>>>> Hope this helps, >>>>>> Dale >>>>>> >>>>>> On May 3, 2012, at 5:52 AM, Beverly Voth wrote: >>>>>> >>>>>>> If I think the foundset isn't too large, I've pulled what I can with one request and FILTER ( with switchcase or if/elseif/else ) in the output loop. >>>>>>> >>>>>>> >>>>>>> -- sent from my iPhone4 -- >>>>>>> Beverly Voth >>>>>>> -- >>>>>>> >>>>>>> On May 3, 2012, at 3:10 AM, Malcolm Fitzgerald wrote: >>>>>>> >>>>>>>> I want to combine two searches, both of which have multiple criteria. In filemaker itself it would be easy, two find requests. >>>>>>>> >>>>>>>> I want to find all records where "id = a AND date_1=a ... b" OR "id=a AND date_2=a...b". >>>>>>>> >>>>>>>> Is the solution to do two separate searches and combine the results or is there a better way? >>>>>>>> >>>>>>>> Malcolm_______________________________________________ >>>>>>>> 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 >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>> >>>> _______________________________________________ >>>> 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 >>> >> >> _______________________________________________ >> 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 chris at iViking.org Tue May 8 11:44:37 2012 From: chris at iViking.org (Chris Hansen) Date: Tue May 8 11:07:03 2012 Subject: [FX.php List] [OFF] (sort of) A PHP IDE worth looking at Message-ID: Greetings! For the last couple of months I've been using a different development environment, and quite frankly, it's the best I've ever used. The IDE in question is called PHPStorm and it's done by the folks over at JetBrains (who have IDEs for other languages, too.) Here's the URL: http://www.jetbrains.com/phpstorm/ Some notes: 1) I'm not affiliated with these people at all; I just love their tools (I've used the one for Ruby, too.) 2) Though the name says PHP, it will recognize your HTML, Javascript, CSS, etc. with aplomb. 3) I've tried other IDEs (including the one from Zend) in the past, but prior to this one, I've always preferred text editors. 4) There is a 30 day free trial. 5) If you're going to use the tool for open-source rather than commercial purposes, you can apply for a free, open-source license. 6) A personal license which CAN be used for commercial development, but must be licensed to an individual, not a company, costs $99. 7) Business licenses cost a bit more. 8) PHPStorm has versions for Mac, Windows, and Linux. I feel like PHPStorm has made me quite a bit more efficient, and I like developing even more when I'm using it. Hopefully others will find it helpful, too. Best, --Chris From leo at finalresort.org Tue May 8 11:47:35 2012 From: leo at finalresort.org (Leo R. Lundgren) Date: Tue May 8 11:10:23 2012 Subject: [FX.php List] [OFF] (sort of) A PHP IDE worth looking at In-Reply-To: References: Message-ID: I can only second this. Or almost. I use their IntelliJ IDEA, for the reason that I develop in other languages as well. PhpStorm covers web+PHP, IDEA covers pretty much everything they have. Previously I've used Eclipse quite a lot, and also looked at NetBeans (which disappointed me terribly). This IDE, however, rocks. It has so many small golden pieces that make it really nice to work with. I haven't found any other that is this nice. Just wanted to chime in. I use it on my Mac. Oh, and there was an easter special with 30% off the price. You missed it :D But it's well worth the normal price as well, so have at it! I have no affiliation whatsoever with Jetbrains, by the way. 8 maj 2012 kl. 19.44 skrev Chris Hansen: > Greetings! > > For the last couple of months I've been using a different development environment, and quite frankly, it's the best I've ever used. The IDE in question is called PHPStorm and it's done by the folks over at JetBrains (who have IDEs for other languages, too.) Here's the URL: > > http://www.jetbrains.com/phpstorm/ > > Some notes: > > 1) I'm not affiliated with these people at all; I just love their tools (I've used the one for Ruby, too.) > > 2) Though the name says PHP, it will recognize your HTML, Javascript, CSS, etc. with aplomb. > > 3) I've tried other IDEs (including the one from Zend) in the past, but prior to this one, I've always preferred text editors. > > 4) There is a 30 day free trial. > > 5) If you're going to use the tool for open-source rather than commercial purposes, you can apply for a free, open-source license. > > 6) A personal license which CAN be used for commercial development, but must be licensed to an individual, not a company, costs $99. > > 7) Business licenses cost a bit more. > > 8) PHPStorm has versions for Mac, Windows, and Linux. > > I feel like PHPStorm has made me quite a bit more efficient, and I like developing even more when I'm using it. Hopefully others will find it helpful, too. > > Best, > > --Chris_______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| From msyk at msyk.net Tue May 8 12:00:12 2012 From: msyk at msyk.net (Masayuki Nii) Date: Tue May 8 11:22:59 2012 Subject: [FX.php List] Re-[OFF] (sort of) A PHP IDE worth looking at In-Reply-To: References: Message-ID: <797130442.0.1336500012238.JavaMail.msyk@msyk.net> I'm using PHPStorm too. It's a great tool. I have been working on eclipse Mac version, it was so stressful. PHPStrom is fine on Mac. On FX.php ver.6, I've corrected the errors by PHPStorm's analyzing features. So the JetBrain sometimes sold their product as the bargain price, for example, Easter or kind of cerebration days. So you could install anyway with free demo mode and wait for it. Although I bought it $99... Chris Hansen ????2012/5/9 2:44:37????? ??---?[FX.php List] [OFF] (sort of) A PHP IDE worth looking at?????? ? > Greetings! > > For the last couple of months I've been using a different development environment, and quite frankly, it's the best I've ever used. The IDE in question is called PHPStorm and it's done by the folks over at JetBrains (who have IDEs for other languages, too.) Here's the URL: > > http://www.jetbrains.com/phpstorm/ > > Some notes: > > 1) I'm not affiliated with these people at all; I just love their tools (I've used the one for Ruby, too.) > > 2) Though the name says PHP, it will recognize your HTML, Javascript, CSS, etc. with aplomb. > > 3) I've tried other IDEs (including the one from Zend) in the past, but prior to this one, I've always preferred text editors. > > 4) There is a 30 day free trial. > > 5) If you're going to use the tool for open-source rather than commercial purposes, you can apply for a free, open-source license. > > 6) A personal license which CAN be used for commercial development, but must be licensed to an individual, not a company, costs $99. > > 7) Business licenses cost a bit more. > > 8) PHPStorm has versions for Mac, Windows, and Linux. > > I feel like PHPStorm has made me quite a bit more efficient, and I like developing even more when I'm using it. Hopefully others will find it helpful, too. > > Best, > > --Chris_______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > > > ________________________________________________________________________ ????/Masayuki Nii Web Site Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii INTER-Mediator [for Web App] http://inter-mediator.info From msyk at msyk.net Tue May 8 12:00:12 2012 From: msyk at msyk.net (Masayuki Nii) Date: Tue May 8 11:22:59 2012 Subject: [FX.php List] Re-[OFF] (sort of) A PHP IDE worth looking at In-Reply-To: References: Message-ID: <797130442.0.1336500012238.JavaMail.msyk@msyk.net> I'm using PHPStorm too. It's a great tool. I have been working on eclipse Mac version, it was so stressful. PHPStrom is fine on Mac. On FX.php ver.6, I've corrected the errors by PHPStorm's analyzing features. So the JetBrain sometimes sold their product as the bargain price, for example, Easter or kind of cerebration days. So you could install anyway with free demo mode and wait for it. Although I bought it $99... Chris Hansen ????2012/5/9 2:44:37????? ??---?[FX.php List] [OFF] (sort of) A PHP IDE worth looking at?????? ? > Greetings! > > For the last couple of months I've been using a different development environment, and quite frankly, it's the best I've ever used. The IDE in question is called PHPStorm and it's done by the folks over at JetBrains (who have IDEs for other languages, too.) Here's the URL: > > http://www.jetbrains.com/phpstorm/ > > Some notes: > > 1) I'm not affiliated with these people at all; I just love their tools (I've used the one for Ruby, too.) > > 2) Though the name says PHP, it will recognize your HTML, Javascript, CSS, etc. with aplomb. > > 3) I've tried other IDEs (including the one from Zend) in the past, but prior to this one, I've always preferred text editors. > > 4) There is a 30 day free trial. > > 5) If you're going to use the tool for open-source rather than commercial purposes, you can apply for a free, open-source license. > > 6) A personal license which CAN be used for commercial development, but must be licensed to an individual, not a company, costs $99. > > 7) Business licenses cost a bit more. > > 8) PHPStorm has versions for Mac, Windows, and Linux. > > I feel like PHPStorm has made me quite a bit more efficient, and I like developing even more when I'm using it. Hopefully others will find it helpful, too. > > Best, > > --Chris_______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > > > ________________________________________________________________________ ????/Masayuki Nii Web Site Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii INTER-Mediator [for Web App] http://inter-mediator.info From tcmeyers at troymeyers.com Tue May 8 12:08:01 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Tue May 8 11:30:46 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: Bev, OK, I just joined. Can you direct me to the best spot in the forum to post this? I want to make a big ruckus fast. Not sure I can with the "newbie" tag stuck on me. -Troy > Are you on FM TechNet (free membership). It's a painful forum sometimes. > :) But it's the place the FM folks tend to hang out. At least report it > without documentation (don't post any files, as anyone can download, so > that it can begin to get into the channels. > > I was trying to find the 'file a bug report' and the answer seems to be > via the forums. All of us should SPAM them with this problem!! > > Bev From adenman at tmea.org Tue May 8 12:50:42 2012 From: adenman at tmea.org (Andrew Denman) Date: Tue May 8 12:13:27 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: Message-ID: Here's the link to their product issue forum where you can submit bugs: http://forums.filemaker.com/hives/1eea103f05 Andrew Denman -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Troy Meyers Sent: Tuesday, May 08, 2012 1:08 PM To: FX.php Discussion List Subject: Re: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Bev, OK, I just joined. Can you direct me to the best spot in the forum to post this? I want to make a big ruckus fast. Not sure I can with the "newbie" tag stuck on me. -Troy > Are you on FM TechNet (free membership). It's a painful forum sometimes. > :) But it's the place the FM folks tend to hang out. At least report > it without documentation (don't post any files, as anyone can > download, so that it can begin to get into the channels. > > I was trying to find the 'file a bug report' and the answer seems to > be via the forums. All of us should SPAM them with this problem!! > > Bev _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list From tcmeyers at troymeyers.com Tue May 8 13:19:08 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Tue May 8 12:41:54 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: <75D86778.E943.4E51.841A.E5D19833F94B@106.1159726> Andrew, Thanks, OK. I just posted there. Here's the link: http://forums.filemaker.com/posts/95cc198611 -Troy > Here's the link to their product issue forum where you can submit bugs: > http://forums.filemaker.com/hives/1eea103f05 > > Andrew Denman From tcmeyers at troymeyers.com Tue May 8 13:31:20 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Tue May 8 12:54:06 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: <29DF655A.0947.48ED.AF12.266D1BDC7104@106.1159727> Bev, Let the spamming begin. Here's my posting on FM TechNet: https://fmdev.filemaker.com/thread/64520 And here it is on the normal forum: http://forums.filemaker.com/posts/95cc198611 Hey everybody, help me be heard. Thanks! -Troy > Are you on FM TechNet (free membership). It's a painful forum sometimes. > :) But it's the place the FM folks tend to hang out. At least report it > without documentation (don't post any files, as anyone can download, so > that it can begin to get into the channels. > > I was trying to find the 'file a bug report' and the answer seems to be > via the forums. All of us should SPAM them with this problem!! > > Bev From jon at lanclos.com Tue May 8 12:28:28 2012 From: jon at lanclos.com (Jon Lanclos) Date: Tue May 8 13:12:32 2012 Subject: [FX.php List] Filemaker 12 reminder Message-ID: <32B00185-735C-489F-9FB0-B19F94F80B2A@lanclos.com> When converting to FileMaker 12, there is a db extension change to .fp12 - make sure you can the file names within your PHP pages Anyone having any problems so far with server 12 and fx.php? Jon Lanclos, CRP, CCHP jon@lanclos.com 713-256-4413 From bob at patin.com Tue May 8 14:32:20 2012 From: bob at patin.com (Bob Patin) Date: Tue May 8 13:55:06 2012 Subject: [FX.php List] Filemaker 12 reminder In-Reply-To: <32B00185-735C-489F-9FB0-B19F94F80B2A@lanclos.com> References: <32B00185-735C-489F-9FB0-B19F94F80B2A@lanclos.com> Message-ID: On May 8, 2012, at 1:28 PM, Jon Lanclos wrote: > When converting to FileMaker 12, there is a db extension change to .fp12 - make sure you can the file names within your PHP pages > > Anyone having any problems so far with server 12 and fx.php? Slight edit: it's "fmp12" not "fp12". Best, Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker From beverlyvoth at gmail.com Tue May 8 15:16:02 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Tue May 8 14:38:59 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: Message-ID: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> Sorry, just getting back to you. I see your posts! The TechNet has these forums that might be of interest (in case people are not previewing all of them: Using Web Technologies Server and Server Advanced (maybe) Integration - Sharing Data with Other Programs for sure the first one! Thanks, Bev On 08 May 2012, at 2:08 PM, Troy Meyers wrote: > Bev, > > OK, I just joined. Can you direct me to the best spot in the forum to post this? I want to make a big ruckus fast. Not sure I can with the "newbie" tag stuck on me. > > -Troy > > > >> Are you on FM TechNet (free membership). It's a painful forum sometimes. >> :) But it's the place the FM folks tend to hang out. At least report it >> without documentation (don't post any files, as anyone can download, so >> that it can begin to get into the channels. >> >> I was trying to find the 'file a bug report' and the answer seems to be >> via the forums. All of us should SPAM them with this problem!! >> >> Bev From tcmeyers at troymeyers.com Tue May 8 16:09:50 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Tue May 8 15:32:35 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: Chris, I had never used any other grammar since my exposure has been limited to working with things-FX. In one of the fora a helpful person suggested I try FMRESULTSET in the URL instead and see what I get. FMRESULTSET also omits data for portals that have no related records, but since the data itself is wrapped with the field identity, this would not cause the misalignment of field/data problem assuming FX could parse it correctly. The fact that the field exists on the layout (even though no related records in a portal) is properly reported in the upper section, which is also good, because it would be needed to help FX.php not report such fields as "Undefined index" errors. I'm not experienced enough to know how to approach adding an alternate grammar to FX... would it likely be accomplishable faster than FMI might fix the WPE problem? -Troy > It may be a good idea to add code to FX that will handle FM's other XML > web grammar (though it's MUCH more verbose, and thus a bit slower), but > at least that would give us another option when bugs were found... From tcmeyers at troymeyers.com Tue May 8 17:06:08 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Tue May 8 16:28:52 2012 Subject: [FX.php List] [OFF] What about SSDs in a FileMaker Server box? Message-ID: <5B2941DD.D660.4351.9F52.2F35D1ACE385@106.1159739> I've got a Lion Mac mini Server (2.0GHz Quad Core Intel i7) just for FileMaker Server which as two SATA 7200 RPM 500GB drives, model HTS727550A9E362. Why would I not want to swap in an SSD such as a CT2288564 (128 GB) if my data+system isn't going to get that big any time soon? Wouldn't it be way quicker? And not wear out? Or do they have limited re-write life? -Troy From dsomar at gmail.com Tue May 8 17:18:04 2012 From: dsomar at gmail.com (Denis Somar) Date: Tue May 8 16:40:53 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: Message-ID: <0FF434D6-029E-4168-BB35-1E33242E433A@gmail.com> Troy I recommend getting a v11 copy of the DB, putting that on a test server then running the PHP site assistant in v11 Pro advanced. Use the code it gives you, then try running it against your v12 install and see if the results differ. I'm just thinking by typing here so I'm not sure of pitfalls but it might help in diagnosing issues. Best Denis On May 8, 2012, at 2:08 PM, Troy Meyers wrote: > Bev, > > OK, I just joined. Can you direct me to the best spot in the forum to post this? I want to make a big ruckus fast. Not sure I can with the "newbie" tag stuck on me. > > -Troy > > > >> Are you on FM TechNet (free membership). It's a painful forum sometimes. >> :) But it's the place the FM folks tend to hang out. At least report it >> without documentation (don't post any files, as anyone can download, so >> that it can begin to get into the channels. >> >> I was trying to find the 'file a bug report' and the answer seems to be >> via the forums. All of us should SPAM them with this problem!! >> >> Bev > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dsomar at gmail.com Tue May 8 17:24:37 2012 From: dsomar at gmail.com (Denis Somar) Date: Tue May 8 16:47:25 2012 Subject: [FX.php List] [OFF] What about SSDs in a FileMaker Server box? In-Reply-To: <5B2941DD.D660.4351.9F52.2F35D1ACE385@106.1159739> References: <5B2941DD.D660.4351.9F52.2F35D1ACE385@106.1159739> Message-ID: <6481E2EE-4196-45F1-9922-86C891B0042F@gmail.com> As long as you have good backups in place, all is good. I would check out otherworldcomputing.com before buying any drive for a Mac btw D On May 8, 2012, at 7:06 PM, Troy Meyers wrote: > I've got a Lion Mac mini Server (2.0GHz Quad Core Intel i7) just for FileMaker Server which as two SATA 7200 RPM 500GB drives, model HTS727550A9E362. > > Why would I not want to swap in an SSD such as a CT2288564 (128 GB) if my data+system isn't going to get that big any time soon? Wouldn't it be way quicker? And not wear out? Or do they have limited re-write life? > > -Troy > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From tcmeyers at troymeyers.com Tue May 8 17:28:23 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Tue May 8 16:51:08 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: <578FDE1B.20EE.4AB8.9AE7.BBD376931B95@106.1159740> Denis, Thanks... I'm not quite sure what you are suggesting. I've never used the PHP Site Assistant, I've just done everything in FX, so I'm not sure what the goal is. I have already set up an FMS11 and FMS12 box side by side, (the FMS11 box has slightly old, as in two days old, data in the fp7 format) and the FMS11 XML is fine, works with FX in my site, the FMS12 is not OK. What should I be looking for if I use the Site Assistant? -Troy > Troy > > I recommend getting a v11 copy of the DB, putting that on a test server > then running the PHP site assistant in v11 Pro advanced. Use the code > it gives you, then try running it against your v12 install and see if > the results differ. I'm just thinking by typing here so I'm not sure of > pitfalls but it might help in diagnosing issues. > > Best Denis From tcmeyers at troymeyers.com Tue May 8 17:32:23 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Tue May 8 16:55:07 2012 Subject: [FX.php List] [OFF] What about SSDs in a FileMaker Server box? Message-ID: <72E1D852.00A9.4304.AC31.8D343295B7D9@106.1159741> Denis, Yes, I've got lots of backup schedules, and they are "on". They've saved my bacon a couple of times. Oh, I've seen the brand "OWC" around but know nothing about it... are they particularly good? -Troy > As long as you have good backups in place, all is good. I would check > out otherworldcomputing.com before buying any drive for a Mac btw > > D From beverlyvoth at gmail.com Tue May 8 17:36:30 2012 From: beverlyvoth at gmail.com (Beverly Voth) Date: Tue May 8 16:59:19 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <578FDE1B.20EE.4AB8.9AE7.BBD376931B95@106.1159740> References: <578FDE1B.20EE.4AB8.9AE7.BBD376931B95@106.1159740> Message-ID: <998FB901-81D5-4A3A-A91C-1567CA9CFB7D@gmail.com> The Site Assistant uses the fmresultset grammar and the FM PHP API. The Site Assistant(s) that were in FM11 are no longer available in FM12. XSLT web publishing has been deprecated altogether. XML web publishing with both gammers is, however still in 12. See the CWP 12 guides for more information. Hopefully, FMI will squash this bug! -- sent from my iPhone4 -- Beverly Voth -- On May 8, 2012, at 7:28 PM, Troy Meyers wrote: > Denis, > > Thanks... I'm not quite sure what you are suggesting. I've never used the PHP Site Assistant, I've just done everything in FX, so I'm not sure what the goal is. > > I have already set up an FMS11 and FMS12 box side by side, (the FMS11 box has slightly old, as in two days old, data in the fp7 format) and the FMS11 XML is fine, works with FX in my site, the FMS12 is not OK. > > What should I be looking for if I use the Site Assistant? > > -Troy > > >> Troy >> >> I recommend getting a v11 copy of the DB, putting that on a test server >> then running the PHP site assistant in v11 Pro advanced. Use the code >> it gives you, then try running it against your v12 install and see if >> the results differ. I'm just thinking by typing here so I'm not sure of >> pitfalls but it might help in diagnosing issues. >> >> Best Denis > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dsomar at gmail.com Tue May 8 17:59:19 2012 From: dsomar at gmail.com (Denis Somar) Date: Tue May 8 17:22:08 2012 Subject: [FX.php List] [OFF] What about SSDs in a FileMaker Server box? In-Reply-To: <72E1D852.00A9.4304.AC31.8D343295B7D9@106.1159741> References: <72E1D852.00A9.4304.AC31.8D343295B7D9@106.1159741> Message-ID: They do their research and for our purposes, I have nothing but praise or their products and service. On May 8, 2012, at 7:32 PM, Troy Meyers wrote: > Denis, > > Yes, I've got lots of backup schedules, and they are "on". They've saved my bacon a couple of times. > > Oh, I've seen the brand "OWC" around but know nothing about it... are they particularly good? > > -Troy > > >> As long as you have good backups in place, all is good. I would check >> out otherworldcomputing.com before buying any drive for a Mac btw >> >> D > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dsomar at gmail.com Tue May 8 20:04:35 2012 From: dsomar at gmail.com (Denis Somar) Date: Tue May 8 19:27:39 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <998FB901-81D5-4A3A-A91C-1567CA9CFB7D@gmail.com> References: <578FDE1B.20EE.4AB8.9AE7.BBD376931B95@106.1159740> <998FB901-81D5-4A3A-A91C-1567CA9CFB7D@gmail.com> Message-ID: Troy, Beverly is right on everything, I'm just wondering if FM's PHP API is broken when using their own tools. If so, the server is fundamentally broken, which would be unfortunate. Cheers, D On Tue, May 8, 2012 at 7:36 PM, Beverly Voth wrote: > The Site Assistant uses the fmresultset grammar and the FM PHP API. The Site Assistant(s) that were in FM11 are no longer available in FM12. XSLT web publishing has been deprecated altogether. XML web publishing with both gammers is, however still in 12. See the CWP 12 guides for more information. > > Hopefully, FMI will squash this bug! > > > > -- sent from my iPhone4 -- > Beverly Voth > -- > > On May 8, 2012, at 7:28 PM, Troy Meyers wrote: > >> Denis, >> >> Thanks... I'm not quite sure what you are suggesting. I've never used the PHP Site Assistant, I've just done everything in FX, so I'm not sure what the goal is. >> >> I have already set up an FMS11 and FMS12 box side by side, (the FMS11 box has slightly old, as in two days old, data in the fp7 format) and the FMS11 XML is fine, works with FX in my site, the FMS12 is not OK. >> >> What should I be looking for if I use the Site Assistant? >> >> -Troy >> >> >>> Troy >>> >>> I recommend getting a v11 copy of the DB, putting that on a test server >>> then running the PHP site assistant in v11 Pro advanced. ?Use the code >>> it gives you, then try running it against your v12 install and see if >>> the results differ. ?I'm just thinking by typing here so I'm not sure of >>> pitfalls but it might help in diagnosing issues. >>> >>> Best Denis >> >> _______________________________________________ >> 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 steve at bluecrocodile.co.nz Wed May 9 02:04:22 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Wed May 9 01:27:10 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: <578FDE1B.20EE.4AB8.9AE7.BBD376931B95@106.1159740> <998FB901-81D5-4A3A-A91C-1567CA9CFB7D@gmail.com> Message-ID: <994E710D-44E3-4933-8755-AEE9E22FF88E@bluecrocodile.co.nz> Denis I don't think that's the case - the PHP API seems to be unaffected by the issues which Troy is experiencing. I've moved two clients whom I wrote (large) CWP solutions for using the API over to FM12 (at their request) and aside from changing the API itself (and there might be a clue in that, other than the obvious file name change??) everything continues to work flawlessly (as for faster, I'm not convinced yet ;-) Cheers Steve > Troy, > > Beverly is right on everything, I'm just wondering if FM's PHP API is > broken when using their own tools. If so, the server is fundamentally > broken, which would be unfortunate. > > Cheers, > D > Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz From dale.bengston at gmail.com Wed May 9 08:03:27 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Wed May 9 07:40:28 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> Message-ID: <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> Bev and Troy, it looks like your posts and solid documentation of the problem definitely got noticed by FMI. Nice work. Dale On May 8, 2012, at 4:16 PM, BEVERLY VOTH wrote: > Sorry, just getting back to you. I see your posts! The TechNet has these forums that might be of interest (in case people are not previewing all of them: > Using Web Technologies > Server and Server Advanced > (maybe) Integration - Sharing Data with Other Programs > > for sure the first one! > Thanks, > Bev > > On 08 May 2012, at 2:08 PM, Troy Meyers wrote: > >> Bev, >> >> OK, I just joined. Can you direct me to the best spot in the forum to post this? I want to make a big ruckus fast. Not sure I can with the "newbie" tag stuck on me. >> >> -Troy >> >> >> >>> Are you on FM TechNet (free membership). It's a painful forum sometimes. >>> :) But it's the place the FM folks tend to hang out. At least report it >>> without documentation (don't post any files, as anyone can download, so >>> that it can begin to get into the channels. >>> >>> I was trying to find the 'file a bug report' and the answer seems to be >>> via the forums. All of us should SPAM them with this problem!! >>> >>> Bev > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From beverlyvoth at gmail.com Wed May 9 08:29:45 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Wed May 9 07:52:33 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> Message-ID: I just never caught this in fm12. I make my "related" queries rather than using portals. I guess that's why?! Let's hope it gets ESCALATED to 'fixed', Dale. :) Beverly On 09 May 2012, at 10:03 AM, Dale Bengston wrote: > Bev and Troy, it looks like your posts and solid documentation of the problem definitely got noticed by FMI. Nice work. > > Dale > > On May 8, 2012, at 4:16 PM, BEVERLY VOTH wrote: > >> Sorry, just getting back to you. I see your posts! The TechNet has these forums that might be of interest (in case people are not previewing all of them: >> Using Web Technologies >> Server and Server Advanced >> (maybe) Integration - Sharing Data with Other Programs >> >> for sure the first one! >> Thanks, >> Bev >> >> On 08 May 2012, at 2:08 PM, Troy Meyers wrote: >> >>> Bev, >>> >>> OK, I just joined. Can you direct me to the best spot in the forum to post this? I want to make a big ruckus fast. Not sure I can with the "newbie" tag stuck on me. >>> >>> -Troy >>> >>> >>> >>>> Are you on FM TechNet (free membership). It's a painful forum sometimes. >>>> :) But it's the place the FM folks tend to hang out. At least report it >>>> without documentation (don't post any files, as anyone can download, so >>>> that it can begin to get into the channels. >>>> >>>> I was trying to find the 'file a bug report' and the answer seems to be >>>> via the forums. All of us should SPAM them with this problem!! >>>> >>>> Bev >> _______________________________________________ >> 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 Wed May 9 08:43:32 2012 From: bob at patin.com (Bob Patin) Date: Wed May 9 08:07:13 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> Message-ID: <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> On May 9, 2012, at 9:29 AM, BEVERLY VOTH wrote: > I just never caught this in fm12. I make my "related" queries rather than using portals. I guess that's why?! > > Let's hope it gets ESCALATED to 'fixed', Dale. :) That's what I've always done as well, except for when there's a related field on a layout (not a portal, just a single related field); I've never compared speeds between the two, however. Has anyone ever compared the speed between doing a 2nd query and pulling the desired related records, versus pulling the related records from a portal on the web layout? Seems like we talked about this a while back, but I forget now what the consensus was... Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120509/be143bde/attachment.html From dale.bengston at gmail.com Wed May 9 08:48:34 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Wed May 9 08:11:22 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> Message-ID: <2667232F-E9AE-407E-89A8-9A5B567B36D1@gmail.com> Yes, fixed will be even better. I too make retrieve my portal data with additional queries. Dale On May 9, 2012, at 9:29 AM, BEVERLY VOTH wrote: > I just never caught this in fm12. I make my "related" queries rather than using portals. I guess that's why?! > > Let's hope it gets ESCALATED to 'fixed', Dale. :) > > Beverly > > > On 09 May 2012, at 10:03 AM, Dale Bengston wrote: > >> Bev and Troy, it looks like your posts and solid documentation of the problem definitely got noticed by FMI. Nice work. >> >> Dale >> >> On May 8, 2012, at 4:16 PM, BEVERLY VOTH wrote: >> >>> Sorry, just getting back to you. I see your posts! The TechNet has these forums that might be of interest (in case people are not previewing all of them: >>> Using Web Technologies >>> Server and Server Advanced >>> (maybe) Integration - Sharing Data with Other Programs >>> >>> for sure the first one! >>> Thanks, >>> Bev >>> >>> On 08 May 2012, at 2:08 PM, Troy Meyers wrote: >>> >>>> Bev, >>>> >>>> OK, I just joined. Can you direct me to the best spot in the forum to post this? I want to make a big ruckus fast. Not sure I can with the "newbie" tag stuck on me. >>>> >>>> -Troy >>>> >>>> >>>> >>>>> Are you on FM TechNet (free membership). It's a painful forum sometimes. >>>>> :) But it's the place the FM folks tend to hang out. At least report it >>>>> without documentation (don't post any files, as anyone can download, so >>>>> that it can begin to get into the channels. >>>>> >>>>> I was trying to find the 'file a bug report' and the answer seems to be >>>>> via the forums. All of us should SPAM them with this problem!! >>>>> >>>>> Bev >>> _______________________________________________ >>> 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 > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dale.bengston at gmail.com Wed May 9 08:52:32 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Wed May 9 08:15:17 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> Message-ID: Bob, I think the answer is "it depends." The inclusion of any portals or even related fields on a layout affects performance more and more as the record count goes up. At some point, that time hit passes the extra time needed for a separate query. Dale On May 9, 2012, at 9:43 AM, Bob Patin wrote: > > On May 9, 2012, at 9:29 AM, BEVERLY VOTH wrote: > >> I just never caught this in fm12. I make my "related" queries rather than using portals. I guess that's why?! >> >> Let's hope it gets ESCALATED to 'fixed', Dale. :) > > That's what I've always done as well, except for when there's a related field on a layout (not a portal, just a single related field); I've never compared speeds between the two, however. Has anyone ever compared the speed between doing a 2nd query and pulling the desired related records, versus pulling the related records from a portal on the web layout? > > Seems like we talked about this a while back, but I forget now what the consensus was... > > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > _______________________________________________ > 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/20120509/4b0c89cb/attachment-0001.html From bob at patin.com Wed May 9 08:55:49 2012 From: bob at patin.com (Bob Patin) Date: Wed May 9 08:19:23 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> Message-ID: <0FE6A4B6-ECCD-48A5-8B10-FBD04C18C66C@patin.com> On May 9, 2012, at 9:52 AM, Dale Bengston wrote: > I think the answer is "it depends." The inclusion of any portals or even related fields on a layout affects performance more and more as the record count goes up. At some point, that time hit passes the extra time needed for a separate query. Which is why I've always gone to the related table rather than pulled a portal; like you said, you pull a whole list of records when you do that, rather than just the related record(s) you might want. I've never shied away from having "serial queries..." :) Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120509/a559d502/attachment.html From beverlyvoth at gmail.com Wed May 9 09:00:44 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Wed May 9 08:23:29 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> Message-ID: <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> Bob, there are no "portals" in SQL databases. I make my queries the same way (different syntax, of course) in FM and SQL. :) Beverly On 09 May 2012, at 10:43 AM, Bob Patin wrote: > > On May 9, 2012, at 9:29 AM, BEVERLY VOTH wrote: > >> I just never caught this in fm12. I make my "related" queries rather than using portals. I guess that's why?! >> >> Let's hope it gets ESCALATED to 'fixed', Dale. :) > > That's what I've always done as well, except for when there's a related field on a layout (not a portal, just a single related field); I've never compared speeds between the two, however. Has anyone ever compared the speed between doing a 2nd query and pulling the desired related records, versus pulling the related records from a portal on the web layout? > > Seems like we talked about this a while back, but I forget now what the consensus was... > > > Bob Patin From bob at patin.com Wed May 9 09:25:33 2012 From: bob at patin.com (Bob Patin) Date: Wed May 9 08:49:10 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> Message-ID: <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> On May 9, 2012, at 10:00 AM, BEVERLY VOTH wrote: > Bob, there are no "portals" in SQL databases. I make my queries the same way (different syntax, of course) in FM and SQL. :) Right, I do know that... :) I didn't think we were talking about SQL databases, perhaps I missed part of the thread. I don't write any MySQL Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120509/f5dda2f5/attachment.html From Blair.Duncan at sglstudio.ca Wed May 9 07:32:26 2012 From: Blair.Duncan at sglstudio.ca (Duncan, Blair) Date: Wed May 9 08:52:36 2012 Subject: [FX.php List] Migrating from mac based server to a windows server Message-ID: Hi list, I work in very large corporation with many of windows and mac users. About 7 years ago we deployed a web based application for our department using instant web publishing under FMServer7. We also have many FX based tools but the majority of the data entry is still done in IWP, I know IWP is not ideal but it works reliably and is the frankly the least of our problems. It ran well for a few years on an old box in the corner until our IT department decided that it HAD to be moved to their racks so they put it on a rack mounted xserve running server 8, it might even be 9 I'm not sure. Anyways, now that apple has discontinued their server line there is a push from IT to move everything to a windows box with whatever the latest windows version of the server is. Is there any pitfalls, or issues that I should be aware of? Blair Duncan | Variable Data Manager SGL Communications | 2 Bloor St W, Suite 3100 Toronto ON M4W 3R6 T 416-413-7537 | C 416-845-3357 | F 416-972-5656 Please consider the environment before printing this e-mail. This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by e-mail to helpdesk@bbdo.com. We appreciate your cooperation. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120509/c4817178/attachment.html From beverlyvoth at gmail.com Wed May 9 10:11:59 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Wed May 9 09:34:48 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> Message-ID: <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> No, we were NOT talking about SQL. I just happen to work in both FM and SQL (MS SQL & MySQL) on a daily basis. Since I write the queries, I make them as similar as possible (i.e. no "related fields"). Beverly On 09 May 2012, at 11:25 AM, Bob Patin wrote: > > On May 9, 2012, at 10:00 AM, BEVERLY VOTH wrote: > >> Bob, there are no "portals" in SQL databases. I make my queries the same way (different syntax, of course) in FM and SQL. :) > > Right, I do know that... :) > > I didn't think we were talking about SQL databases, perhaps I missed part of the thread. I don't write any MySQL > > > Bob Patin From bob at patin.com Wed May 9 10:13:19 2012 From: bob at patin.com (Bob Patin) Date: Wed May 9 09:36:53 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> Message-ID: On May 9, 2012, at 11:11 AM, BEVERLY VOTH wrote: > No, we were NOT talking about SQL. I just happen to work in both FM and SQL (MS SQL & MySQL) on a daily basis. Since I write the queries, I make them as similar as possible (i.e. no "related fields"). Ah... that makes complete sense. Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120509/ce85461d/attachment-0001.html From tcmeyers at troymeyers.com Wed May 9 10:31:29 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Wed May 9 09:54:11 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: I'm very happy FMI is aware and working on this problem! But also consternated because I just found out that the bug was first reported on April 17th. Oh well, at least they have had 3 weeks jump on fixing it. -Troy From dale.bengston at gmail.com Wed May 9 13:28:51 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Wed May 9 12:51:35 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> Message-ID: Me too on doing serial FX queries the "SQL way." Makes my code very portable as well. On May 9, 2012, at 11:13 AM, Bob Patin wrote: > > On May 9, 2012, at 11:11 AM, BEVERLY VOTH wrote: > >> No, we were NOT talking about SQL. I just happen to work in both FM and SQL (MS SQL & MySQL) on a daily basis. Since I write the queries, I make them as similar as possible (i.e. no "related fields"). > > Ah... that makes complete sense. > > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > > _______________________________________________ > 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/20120509/886900eb/attachment.html From dale.bengston at gmail.com Wed May 9 08:03:27 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Wed May 9 15:41:20 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> Message-ID: <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> Bev and Troy, it looks like your posts and solid documentation of the problem definitely got noticed by FMI. Nice work. Dale On May 8, 2012, at 4:16 PM, BEVERLY VOTH wrote: > Sorry, just getting back to you. I see your posts! The TechNet has these forums that might be of interest (in case people are not previewing all of them: > Using Web Technologies > Server and Server Advanced > (maybe) Integration - Sharing Data with Other Programs > > for sure the first one! > Thanks, > Bev > > On 08 May 2012, at 2:08 PM, Troy Meyers wrote: > >> Bev, >> >> OK, I just joined. Can you direct me to the best spot in the forum to post this? I want to make a big ruckus fast. Not sure I can with the "newbie" tag stuck on me. >> >> -Troy >> >> >> >>> Are you on FM TechNet (free membership). It's a painful forum sometimes. >>> :) But it's the place the FM folks tend to hang out. At least report it >>> without documentation (don't post any files, as anyone can download, so >>> that it can begin to get into the channels. >>> >>> I was trying to find the 'file a bug report' and the answer seems to be >>> via the forums. All of us should SPAM them with this problem!! >>> >>> Bev > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From KFutter at sbc.vic.edu.au Wed May 9 16:23:06 2012 From: KFutter at sbc.vic.edu.au (Kevin Futter) Date: Wed May 9 15:45:19 2012 Subject: [FX.php List] Migrating from mac based server to a windows server In-Reply-To: Message-ID: We made that transition a couple of years ago, and saw quite an performance improvement. There were no other pitfalls other than moving from a 2-machine deployment to a single-machine deployment, which quite frankly simplified things enormously. We had some issues recently with Tomcat conking out under heavy load, but a server rebuild appears to have sorted that out (it's a virtual machine anyway). Kev -- Kevin Futter Webmaster, St. Bernard's College http://www.sbc.vic.edu.au/ From: , Blair > Reply-To: "FX.php Discussion List" > Date: Wednesday, 9 May 2012 11:32 PM To: "FX.php Discussion List" > Subject: [FX.php List] Migrating from mac based server to a windows server Hi list, I work in very large corporation with many of windows and mac users. About 7 years ago we deployed a web based application for our department using instant web publishing under FMServer7. We also have many FX based tools but the majority of the data entry is still done in IWP, I know IWP is not ideal but it works reliably and is the frankly the least of our problems. It ran well for a few years on an old box in the corner until our IT department decided that it HAD to be moved to their racks so they put it on a rack mounted xserve running server 8, it might even be 9 I'm not sure. Anyways, now that apple has discontinued their server line there is a push from IT to move everything to a windows box with whatever the latest windows version of the server is. Is there any pitfalls, or issues that I should be aware of? Blair Duncan | Variable Data Manager SGL Communications | 2 Bloor St W, Suite 3100 Toronto ON M4W 3R6 T 416-413-7537 | C 416-845-3357 | F 416-972-5656 Please consider the environment before printing this e-mail. This message and any attachments contain information, which may be confidential or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify us by e-mail to helpdesk@bbdo.com. We appreciate your cooperation. This e-mail and any attachments may be confidential. You must not disclose or use the information in this e-mail if you are not the intended recipient. If you have received this e-mail in error, please notify us immediately and delete the e-mail and all copies. The College does not guarantee that this e-mail is virus or error free. The attached files are provided and may only be used on the basis that the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of the attached files, whether caused by the negligence of the sender or not. The content and opinions in this e-mail are not necessarily those of the College. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120509/e5556df5/attachment.html From jsfmp at earthlink.net Wed May 9 16:56:31 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Wed May 9 16:19:08 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> Message-ID: I used to always do separate queries and I tried to keep things non-FM-specific in case a project were to ever move away from FM. Now, I use portals most of the time. (And I also use FM scripts at times because for some things they can be a *lot* faster than doing things just through PHP and/or multiple hits to the DB.) Unless I know there's a real likelihood of a project moving away from FM (which I've never had happen), I now try to take advantage of FM whenever it can speed things up -- whether in development or in performance. *Sorted* portals will slow things down more than unsorted portals, but it's generally only noticeable when there are *lots* of related records. And to be fair... I don't know if sorted portals are any slower than having FM sort records before returning the found results. A couple examples of when I'll *always* use portals: a) I need to pull a list of records, each of which has related records (e.g people and their phone numbers). With separate queries, I'd have to loop through each found person and then do a query for that person's related ph#s. Lots of hits to the DB, instead of just one call to find the people. (Or, I suppose I could pull *all* phone numbers in just a second query and then loop through everything in PHP to match things up, but that's a lot more work and probably a lot of unused data getting returned -- with no benefit that I can see.) b) On a login I need to pull lots of different related data for the user. Putting multiple portals onto the User layout is just one hit to the DB, instead of multiple. As I think I've mentioned here, I've found that *editing* multiple records is a lot faster when done through a portal on a parent record than multiple edits on each "child" record. And creating multiple related records is actually way faster when done through an FM script, but I'd probably only use an FM script if I'll need to be adding *lots* of new records at once. FWIW: I tend to use the API most often on new projects. Best, -Joel On May 9, 2012, at 12:28 PM, Dale Bengston wrote: > Me too on doing serial FX queries the "SQL way." Makes my code very portable as well. > > On May 9, 2012, at 11:13 AM, Bob Patin wrote: > >> >> On May 9, 2012, at 11:11 AM, BEVERLY VOTH wrote: >> >>> No, we were NOT talking about SQL. I just happen to work in both FM and SQL (MS SQL & MySQL) on a daily basis. Since I write the queries, I make them as similar as possible (i.e. no "related fields"). >> >> Ah... that makes complete sense. >> From sthoms at wavecomm.com Thu May 10 07:11:21 2012 From: sthoms at wavecomm.com (Steven Thoms) Date: Thu May 10 06:34:03 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> Message-ID: <0CCD6903-C889-4FF7-A70C-A45E4CF9866B@wavecomm.com> I'm still a strong FX guy, What advantages do you see in the API? I see the speed, simplicity, extensibility, and flexibility of FX as major advantages. Steve 207 798-0171 On May 9, 2012, at 6:56 PM, Joel Shapiro wrote: > FWIW: I tend to use the API most often on new projects. From jsfmp at earthlink.net Thu May 10 10:51:45 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Thu May 10 10:14:19 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <0CCD6903-C889-4FF7-A70C-A45E4CF9866B@wavecomm.com> References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> <0CCD6903-C889-4FF7-A70C-A45E4CF9866B@wavecomm.com> Message-ID: Hi Steve The main reason I use the API is that, as a consultant, I feel that if one of my clients ever wanted/needed to have someone else work on a site I've developed, it'd be easier for them to find someone who knows the API than someone who knows FX. I don't believe that there are any negatives in the API that outweigh that. So as much as I may like FX, I feel using the API is probably in my clients' best interest. Best, -Joel On May 10, 2012, at 6:11 AM, Steven Thoms wrote: > I'm still a strong FX guy, > > What advantages do you see in the API? > > I see the speed, simplicity, extensibility, and flexibility of FX as major advantages. > > Steve > 207 798-0171 > > On May 9, 2012, at 6:56 PM, Joel Shapiro wrote: > >> FWIW: I tend to use the API most often on new projects. > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From steve at bluecrocodile.co.nz Thu May 10 11:32:14 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Thu May 10 10:54:55 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> <0CCD6903-C889-4FF7-A70C-A45E4CF9866B@wavecomm.com> Message-ID: <9245825A-A308-4DEF-AAF5-8535B87F6CA8@bluecrocodile.co.nz> Hi Steve I would add to this, that it's also less likely to suffer from issues with upgrades - the problems that the thread was about do not appear to exist with sites built using the API. While it may well be an FM bug that's causing the issue, none-the-less I expect that bugs are less likely to end up in the API than elsewhere? My 2p Another Steve > Hi Steve > > The main reason I use the API is that, as a consultant, I feel that if one of my clients ever wanted/needed to have someone else work on a site I've developed, it'd be easier for them to find someone who knows the API than someone who knows FX. I don't believe that there are any negatives in the API that outweigh that. So as much as I may like FX, I feel using the API is probably in my clients' best interest. > > Best, > -Joel > > > On May 10, 2012, at 6:11 AM, Steven Thoms wrote: > >> I'm still a strong FX guy, >> >> What advantages do you see in the API? >> >> I see the speed, simplicity, extensibility, and flexibility of FX as major advantages. >> >> Steve >> 207 798-0171 >> >> On May 9, 2012, at 6:56 PM, Joel Shapiro wrote: >> >>> FWIW: I tend to use the API most often on new projects. >> >> _______________________________________________ >> 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 Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz From beverlyvoth at gmail.com Thu May 10 13:22:42 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Thu May 10 12:45:28 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <9245825A-A308-4DEF-AAF5-8535B87F6CA8@bluecrocodile.co.nz> References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> <0CCD6903-C889-4FF7-A70C-A45E4CF9866B@wavecomm.com> <9245825A-A308-4DEF-AAF5-8535B87F6CA8@bluecrocodile.co.nz> Message-ID: Well, what about pure XML (CWP) queries? I mean, we don't need to assume that they are just for use with FX.php or php at all. :) This thread addressed an issue that needed to be fixed. And it appears that FMI has responded! Perhaps more testing was done with the API? I know the testing I did does not use portals, ergo, no bugs with FX.php. Or maybe I didn't test enough when it was released. Upgrading should not have had such a terrible bug! How can the export XML be different than the CWP XML using the same grammar? ah well, enough rants. I'm glad it will be fixed. Beverly On 10 May 2012, at 1:32 PM, Steve Winter wrote: > Hi Steve > > I would add to this, that it's also less likely to suffer from issues with upgrades - the problems that the thread was about do not appear to exist with sites built using the API. While it may well be an FM bug that's causing the issue, none-the-less I expect that bugs are less likely to end up in the API than elsewhere? > > My 2p > Another Steve From tcmeyers at troymeyers.com Thu May 10 13:47:52 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Thu May 10 13:10:29 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: Bev, Thanks for sticking up for me. I have a couple of questions about what Dave Simerly said.... > .............................................I've been told that we > already have a fix for this in the pipeline. It's to be included in an > upcoming vrev. And in answer to the question that just popped into the > heads of those reading this; sorry, I can't discuss release dates. But I > think it's safe to say that it won't be too far into the future.... I don't have experience enough to interpret this well (not that I'm a real newbie, heck I bought my first copy of FMS from YOU 10 years ago)... first, what is a "vrev", and second, what does "won't be too far into the future" suggest to you? Thanks for any insight. -Troy > Well, what about pure XML (CWP) queries? I mean, we don't need to assume > that they are just for use with FX.php or php at all. :) > > This thread addressed an issue that needed to be fixed. And it appears > that FMI has responded! > > Perhaps more testing was done with the API? I know the testing I did > does not use portals, ergo, no bugs with FX.php. Or maybe I didn't test > enough when it was released. > > Upgrading should not have had such a terrible bug! How can the export > XML be different than the CWP XML using the same grammar? > > ah well, enough rants. I'm glad it will be fixed. Beverly From andersm at mac.com Thu May 10 13:53:34 2012 From: andersm at mac.com (Anders Monsen) Date: Thu May 10 13:16:15 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: Message-ID: <4FAC1CBE.7080708@mac.com> Troy, The vrev would be something like 12.0v2 as the current version is the equivalent of 12.0v1 As to when this will be released - no one but FMI knows. -- Anders Monsen On 5/10/12 2:47 PM, Troy Meyers wrote: > Bev, > > Thanks for sticking up for me. > > I have a couple of questions about what Dave Simerly said.... > >> .............................................I've been told that we >> already have a fix for this in the pipeline. It's to be included in an >> upcoming vrev. And in answer to the question that just popped into the >> heads of those reading this; sorry, I can't discuss release dates. But I >> think it's safe to say that it won't be too far into the future.... > I don't have experience enough to interpret this well (not that I'm a real newbie, heck I bought my first copy of FMS from YOU 10 years ago)... first, what is a "vrev", and second, what does "won't be too far into the future" suggest to you? > > Thanks for any insight. > > -Troy > > > >> Well, what about pure XML (CWP) queries? I mean, we don't need to assume >> that they are just for use with FX.php or php at all. :) >> >> This thread addressed an issue that needed to be fixed. And it appears >> that FMI has responded! >> >> Perhaps more testing was done with the API? I know the testing I did >> does not use portals, ergo, no bugs with FX.php. Or maybe I didn't test >> enough when it was released. >> >> Upgrading should not have had such a terrible bug! How can the export >> XML be different than the CWP XML using the same grammar? >> >> ah well, enough rants. I'm glad it will be fixed. Beverly > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From jon at montgomerysonline.com Thu May 10 14:18:11 2012 From: jon at montgomerysonline.com (Jon Montgomery) Date: Thu May 10 13:40:50 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: Message-ID: <83DE69CD-1811-4967-ADDB-324644F3F350@montgomerysonline.com> Troy, I have less expertise than anyone else in this thread. But to help my self esteem, let me take a shot... vrev = Version Revision (just thinking out loud) and that would be something like 12.1.2 or something like that. Or a different Build number. I have not made the jump to 12 to know the numbers at all. "won't be too far into the future" = Summer 2012, June or July (And this is just a pure guess) I want to upgrade in the next year and I only have ONE site right now, so I have been following this thread VERY closely as I want to move BACK to FX.PHP from the API written via FMStudio. I want to write my own code when I make the jump. Thanks for letting me chime in and don't be hard on me if I am way off base. Jon Montgomery On May 10, 2012, at 2:47 PM, Troy Meyers wrote: > Bev, > > Thanks for sticking up for me. > > I have a couple of questions about what Dave Simerly said.... > >> .............................................I've been told that we >> already have a fix for this in the pipeline. It's to be included in an >> upcoming vrev. And in answer to the question that just popped into the >> heads of those reading this; sorry, I can't discuss release dates. But I >> think it's safe to say that it won't be too far into the future.... > > I don't have experience enough to interpret this well (not that I'm a real newbie, heck I bought my first copy of FMS from YOU 10 years ago)... first, what is a "vrev", and second, what does "won't be too far into the future" suggest to you? > > Thanks for any insight. > > -Troy > > > >> Well, what about pure XML (CWP) queries? I mean, we don't need to assume >> that they are just for use with FX.php or php at all. :) >> >> This thread addressed an issue that needed to be fixed. And it appears >> that FMI has responded! >> >> Perhaps more testing was done with the API? I know the testing I did >> does not use portals, ergo, no bugs with FX.php. Or maybe I didn't test >> enough when it was released. >> >> Upgrading should not have had such a terrible bug! How can the export >> XML be different than the CWP XML using the same grammar? >> >> ah well, enough rants. I'm glad it will be fixed. Beverly > > _______________________________________________ > 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/20120510/65d853bc/attachment.html From tcmeyers at troymeyers.com Thu May 10 14:22:05 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Thu May 10 13:44:42 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: <97F9817F.6EBC.4B13.89C9.7305A078F5BE@106.1159807> Anders, Would it be safe to assume that "won't be too far into the future" implies "days" or "weeks" rather than "months"? I mean, he didn't say "don't hold your breath". I'm just trying to figure out if anyone has seen this kind of language before. Thanks for the vrev interpretation. -Troy > As to when this will be released - no one but FMI knows. From beverlyvoth at gmail.com Thu May 10 14:34:12 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Thu May 10 13:56:59 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <97F9817F.6EBC.4B13.89C9.7305A078F5BE@106.1159807> References: <97F9817F.6EBC.4B13.89C9.7305A078F5BE@106.1159807> Message-ID: <17F5868D-D527-45B4-BF85-4F97BA70DBC7@gmail.com> Troy, thanks for the kudos. The answers you got were correct on vrev. "future" is a noun, not a verb. Ha! ha! we know not when, but the "won't be too far" helps us know it's coming. :) Beverly On 10 May 2012, at 4:22 PM, Troy Meyers wrote: > Anders, > > Would it be safe to assume that "won't be too far into the future" implies "days" or "weeks" rather than "months"? I mean, he didn't say "don't hold your breath". > > I'm just trying to figure out if anyone has seen this kind of language before. > > Thanks for the vrev interpretation. > > -Troy > > >> As to when this will be released - no one but FMI knows. > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From jsfmp at earthlink.net Thu May 10 14:35:30 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Thu May 10 13:58:06 2012 Subject: [FX.php List] Want to share at DevCon CWP User Group? Message-ID: <05208C35-B1A2-419E-A409-17EAC5704DDD@earthlink.net> Hi all We're gonna be doing our CWP User Group again this year at DevCon (4-6pm on Monday, just before the 6:30 keynote) Please let me know if you have something you might like to share w/ the group. (Perhaps some of that new IDE love? Or a framework you use? Or something cool you've been working on? Or??) I'll be posting to the world probably sometime next week. -Joel From andersm at mac.com Thu May 10 14:37:12 2012 From: andersm at mac.com (Anders Monsen) Date: Thu May 10 13:59:49 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <97F9817F.6EBC.4B13.89C9.7305A078F5BE@106.1159807> References: <97F9817F.6EBC.4B13.89C9.7305A078F5BE@106.1159807> Message-ID: <4FAC26F8.2000508@mac.com> Troy, Given FMI and parent company Apple's proclivity to not reveal information until they announce it, I don't think it's safe to say anything, and I wouldn't place bets on when this will happen. I think this vrev is important to FMI, and probably covers several things, especially some performance issues (and note that FMI needs to replicate any mentioned performance issues in their own labs prior to fixing them, so it won't deal with *all* cases people run into - some could be not caused by 12, after all, but the solution architecture). I don't necessarily think FMI released the product half-baked, but as with any product tests in the lab are different from real world scenarios. That's probably why this XML issue was missed. My own guess, since someone at FMI mentioned this in a public forum, is that this vrev might appear prior to DevCon. Since there were several vrevs to FMP 11, this may not be the last one. -- Anders On 5/10/12 3:22 PM, Troy Meyers wrote: > Anders, > > Would it be safe to assume that "won't be too far into the future" implies "days" or "weeks" rather than "months"? I mean, he didn't say "don't hold your breath". > > I'm just trying to figure out if anyone has seen this kind of language before. > > Thanks for the vrev interpretation. > > -Troy > > >> As to when this will be released - no one but FMI knows. > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From tcmeyers at troymeyers.com Thu May 10 15:55:19 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Thu May 10 15:17:55 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: Anders, Jon, Bev... Thanks. I suppose I should be clicking "Check for Update" only one per day instead of hourly, then. -Troy From beverlyvoth at gmail.com Thu May 10 16:34:42 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Thu May 10 15:57:27 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: Message-ID: LOL! Bev On 10 May 2012, at 5:55 PM, Troy Meyers wrote: > Anders, Jon, Bev... > > Thanks. > > I suppose I should be clicking "Check for Update" only one per day instead of hourly, then. > > -Troy > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From malcolm at notyourhomework.net Thu May 10 17:54:36 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Thu May 10 17:17:15 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <9245825A-A308-4DEF-AAF5-8535B87F6CA8@bluecrocodile.co.nz> References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> <0CCD6903-C889-4FF7-A70C-A45E4CF9866B@wavecomm.com> <9245825A-A308-4DEF-AAF5-8535B87F6CA8@bluecrocodile.co.nz> Message-ID: <6A8A697F-1BAF-48A9-99A1-A6428DA08AC1@notyourhomework.net> That's false logic. Both libraries send XML queries to the server and get XML back. The problem is a verified bug. malcolm On 11/05/2012, at 3:32 AM, Steve Winter wrote: > Hi Steve > > I would add to this, that it's also less likely to suffer from issues with upgrades - the problems that the thread was about do not appear to exist with sites built using the API. While it may well be an FM bug that's causing the issue, none-the-less I expect that bugs are less likely to end up in the API than elsewhere? > > My 2p > Another Steve > >> Hi Steve >> >> The main reason I use the API is that, as a consultant, I feel that if one of my clients ever wanted/needed to have someone else work on a site I've developed, it'd be easier for them to find someone who knows the API than someone who knows FX. I don't believe that there are any negatives in the API that outweigh that. So as much as I may like FX, I feel using the API is probably in my clients' best interest. >> >> Best, >> -Joel >> >> >> On May 10, 2012, at 6:11 AM, Steven Thoms wrote: >> >>> I'm still a strong FX guy, >>> >>> What advantages do you see in the API? >>> >>> I see the speed, simplicity, extensibility, and flexibility of FX as major advantages. >>> >>> Steve >>> 207 798-0171 >>> >>> On May 9, 2012, at 6:56 PM, Joel Shapiro wrote: >>> >>>> FWIW: I tend to use the API most often on new projects. >>> >>> _______________________________________________ >>> 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 > > Steve Winter > +44 777 852 4776 > steve@bluecrocodile.co.nz > > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From bfr at concise-design.com Thu May 10 18:14:20 2012 From: bfr at concise-design.com (Bruce Robertson) Date: Thu May 10 17:36:58 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <6A8A697F-1BAF-48A9-99A1-A6428DA08AC1@notyourhomework.net> References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> <0CCD6903-C889-4FF7-A70C-A45E4CF9866B@wavecomm.com> <9245825A-A308-4DEF-AAF5-8535B87F6CA8@bluecrocodile.co.nz> <6A8A697F-1BAF-48A9-99A1-A6428DA08AC1@notyourhomework.net> Message-ID: <8E0FD6F5-7F01-4F1E-BAA5-39E547EEF92C@concise-design.com> That makes sense. But then how does that fit with the observation made by some that the bug isn't observed with the standard PHP API? Bruce Robertson On May 10, 2012, at 4:54 PM, Malcolm Fitzgerald wrote: > That's false logic. Both libraries send XML queries to the server and get XML back. The problem is a verified bug. > > malcolm > > On 11/05/2012, at 3:32 AM, Steve Winter wrote: > >> Hi Steve >> >> I would add to this, that it's also less likely to suffer from issues with upgrades - the problems that the thread was about do not appear to exist with sites built using the API. While it may well be an FM bug that's causing the issue, none-the-less I expect that bugs are less likely to end up in the API than elsewhere? >> >> My 2p >> Another Steve >> >>> Hi Steve >>> >>> The main reason I use the API is that, as a consultant, I feel that if one of my clients ever wanted/needed to have someone else work on a site I've developed, it'd be easier for them to find someone who knows the API than someone who knows FX. I don't believe that there are any negatives in the API that outweigh that. So as much as I may like FX, I feel using the API is probably in my clients' best interest. >>> >>> Best, >>> -Joel >>> >>> >>> On May 10, 2012, at 6:11 AM, Steven Thoms wrote: >>> >>>> I'm still a strong FX guy, >>>> >>>> What advantages do you see in the API? >>>> >>>> I see the speed, simplicity, extensibility, and flexibility of FX as major advantages. >>>> >>>> Steve >>>> 207 798-0171 >>>> >>>> On May 9, 2012, at 6:56 PM, Joel Shapiro wrote: >>>> >>>>> FWIW: I tend to use the API most often on new projects. >>>> >>>> _______________________________________________ >>>> 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 >> >> Steve Winter >> +44 777 852 4776 >> steve@bluecrocodile.co.nz >> >> >> >> >> _______________________________________________ >> 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 beverlyvoth at gmail.com Thu May 10 18:26:37 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Thu May 10 17:49:18 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <8E0FD6F5-7F01-4F1E-BAA5-39E547EEF92C@concise-design.com> References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> <0CCD6903-C889-4FF7-A70C-A45E4CF9866B@wavecomm.com> <9245825A-A308-4DEF-AAF5-8535B87F6CA8@bluecrocodile.co.nz> <6A8A697F-1BAF-48A9-99A1-A6428DA08AC1@notyourhomework.net> <8E0FD6F5-7F01-4F1E-BAA5-39E547EEF92C@concise-design.com> Message-ID: <1D14DFB5-867A-4A9E-AAC4-640923E9296F@gmail.com> Different Grammars, Bruce. Beverly On 10 May 2012, at 8:14 PM, Bruce Robertson wrote: > That makes sense. But then how does that fit with the observation made by some that the bug isn't observed with the standard PHP API? > > Bruce Robertson > > On May 10, 2012, at 4:54 PM, Malcolm Fitzgerald wrote: > >> That's false logic. Both libraries send XML queries to the server and get XML back. The problem is a verified bug. >> >> malcolm >> >> On 11/05/2012, at 3:32 AM, Steve Winter wrote: >> >>> Hi Steve >>> >>> I would add to this, that it's also less likely to suffer from issues with upgrades - the problems that the thread was about do not appear to exist with sites built using the API. While it may well be an FM bug that's causing the issue, none-the-less I expect that bugs are less likely to end up in the API than elsewhere? >>> >>> My 2p >>> Another Steve >>> >>>> Hi Steve >>>> >>>> The main reason I use the API is that, as a consultant, I feel that if one of my clients ever wanted/needed to have someone else work on a site I've developed, it'd be easier for them to find someone who knows the API than someone who knows FX. I don't believe that there are any negatives in the API that outweigh that. So as much as I may like FX, I feel using the API is probably in my clients' best interest. >>>> >>>> Best, >>>> -Joel >>>> >>>> >>>> On May 10, 2012, at 6:11 AM, Steven Thoms wrote: >>>> >>>>> I'm still a strong FX guy, >>>>> >>>>> What advantages do you see in the API? >>>>> >>>>> I see the speed, simplicity, extensibility, and flexibility of FX as major advantages. >>>>> >>>>> Steve >>>>> 207 798-0171 >>>>> >>>>> On May 9, 2012, at 6:56 PM, Joel Shapiro wrote: >>>>> >>>>>> FWIW: I tend to use the API most often on new projects. >>>>> >>>>> _______________________________________________ >>>>> 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 >>> >>> Steve Winter >>> +44 777 852 4776 >>> steve@bluecrocodile.co.nz >>> >>> >>> >>> >>> _______________________________________________ >>> 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 >> > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From malcolm at notyourhomework.net Thu May 10 18:31:20 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Thu May 10 17:53:58 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <8E0FD6F5-7F01-4F1E-BAA5-39E547EEF92C@concise-design.com> References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> <0CCD6903-C889-4FF7-A70C-A45E4CF9866B@wavecomm.com> <9245825A-A308-4DEF-AAF5-8535B87F6CA8@bluecrocodile.co.nz> <6A8A697F-1BAF-48A9-99A1-A6428DA08AC1@notyourhomework.net> <8E0FD6F5-7F01-4F1E-BAA5-39E547EEF92C@concise-design.com> Message-ID: The clues were given earlier in the thread: Beverly Voth: > Have you tried the grammar that is used by the FM API for PHP? fmresultset, rather than FMPXMLRESULT? You can't export with fmresultset, but you can make an XML web publishing request. Troy Meyers: > FMRESULTSET also omits data for portals that have no related records, but since the data itself is wrapped with the field identity, this would not cause the misalignment of field/data problem Malcolm On 11/05/2012, at 10:14 AM, Bruce Robertson wrote: > That makes sense. But then how does that fit with the observation made by some that the bug isn't observed with the standard PHP API? > > Bruce Robertson > > On May 10, 2012, at 4:54 PM, Malcolm Fitzgerald wrote: > >> That's false logic. Both libraries send XML queries to the server and get XML back. The problem is a verified bug. >> >> malcolm >> >> On 11/05/2012, at 3:32 AM, Steve Winter wrote: >> >>> Hi Steve >>> >>> I would add to this, that it's also less likely to suffer from issues with upgrades - the problems that the thread was about do not appear to exist with sites built using the API. While it may well be an FM bug that's causing the issue, none-the-less I expect that bugs are less likely to end up in the API than elsewhere? >>> >>> My 2p >>> Another Steve >>> >>>> Hi Steve >>>> >>>> The main reason I use the API is that, as a consultant, I feel that if one of my clients ever wanted/needed to have someone else work on a site I've developed, it'd be easier for them to find someone who knows the API than someone who knows FX. I don't believe that there are any negatives in the API that outweigh that. So as much as I may like FX, I feel using the API is probably in my clients' best interest. >>>> >>>> Best, >>>> -Joel >>>> >>>> >>>> On May 10, 2012, at 6:11 AM, Steven Thoms wrote: >>>> >>>>> I'm still a strong FX guy, >>>>> >>>>> What advantages do you see in the API? >>>>> >>>>> I see the speed, simplicity, extensibility, and flexibility of FX as major advantages. >>>>> >>>>> Steve >>>>> 207 798-0171 >>>>> >>>>> On May 9, 2012, at 6:56 PM, Joel Shapiro wrote: >>>>> >>>>>> FWIW: I tend to use the API most often on new projects. >>>>> >>>>> _______________________________________________ >>>>> 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 >>> >>> Steve Winter >>> +44 777 852 4776 >>> steve@bluecrocodile.co.nz >>> >>> >>> >>> >>> _______________________________________________ >>> 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 >> > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From bfr at nwlink.com Thu May 10 18:11:01 2012 From: bfr at nwlink.com (Bruce Robertson) Date: Thu May 10 21:33:23 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <6A8A697F-1BAF-48A9-99A1-A6428DA08AC1@notyourhomework.net> References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> <0CCD6903-C889-4FF7-A70C-A45E4CF9866B@wavecomm.com> <9245825A-A308-4DEF-AAF5-8535B87F6CA8@bluecrocodile.co.nz> <6A8A697F-1BAF-48A9-99A1-A6428DA08AC1@notyourhomework.net> Message-ID: That makes sense. But then how does that fit with the observation made by some that the bug isn't observed with the standard PHP API? Bruce Robertson On May 10, 2012, at 4:54 PM, Malcolm Fitzgerald wrote: > That's false logic. Both libraries send XML queries to the server and get XML back. The problem is a verified bug. > > malcolm > > On 11/05/2012, at 3:32 AM, Steve Winter wrote: > >> Hi Steve >> >> I would add to this, that it's also less likely to suffer from issues with upgrades - the problems that the thread was about do not appear to exist with sites built using the API. While it may well be an FM bug that's causing the issue, none-the-less I expect that bugs are less likely to end up in the API than elsewhere? >> >> My 2p >> Another Steve >> >>> Hi Steve >>> >>> The main reason I use the API is that, as a consultant, I feel that if one of my clients ever wanted/needed to have someone else work on a site I've developed, it'd be easier for them to find someone who knows the API than someone who knows FX. I don't believe that there are any negatives in the API that outweigh that. So as much as I may like FX, I feel using the API is probably in my clients' best interest. >>> >>> Best, >>> -Joel >>> >>> >>> On May 10, 2012, at 6:11 AM, Steven Thoms wrote: >>> >>>> I'm still a strong FX guy, >>>> >>>> What advantages do you see in the API? >>>> >>>> I see the speed, simplicity, extensibility, and flexibility of FX as major advantages. >>>> >>>> Steve >>>> 207 798-0171 >>>> >>>> On May 9, 2012, at 6:56 PM, Joel Shapiro wrote: >>>> >>>>> FWIW: I tend to use the API most often on new projects. >>>> >>>> _______________________________________________ >>>> 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 >> >> Steve Winter >> +44 777 852 4776 >> steve@bluecrocodile.co.nz >> >> >> >> >> _______________________________________________ >> 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 steve at bluecrocodile.co.nz Fri May 11 01:21:20 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Fri May 11 00:44:00 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> <0CCD6903-C889-4FF7-A70C-A45E4CF9866B@wavecomm.com> <9245825A-A308-4DEF-AAF5-8535B87F6CA8@bluecrocodile.co.nz> <6A8A697F-1BAF-48A9-99A1-A6428DA08AC1@notyourhomework.net> <8E0FD6F5-7F01-4F1E-BAA5-39E547EEF92C@concise-design.com> Message-ID: <3EE9B398-B951-4129-A05F-0E20DFC1F35F@bluecrocodile.co.nz> Malcolm Which entirely validates my point? The grammar used by the PHP API does not display the bug, thus the PHP API does not have any issues and upgrades have (so far for me at least) been entirely painless. It's possible that this is just plain dumb good luck, or it's possible that because the API is a core component of the product both the API and the XML grammar which it relies upon have been more throughly tested than the alternative grammar. Cheers Steve > The clues were given earlier in the thread: > > Beverly Voth: > >> Have you tried the grammar that is used by the FM API for PHP? fmresultset, rather than FMPXMLRESULT? You can't export with fmresultset, but you can make an XML web publishing request. > > Troy Meyers: >> FMRESULTSET also omits data for portals that have no related records, but since the data itself is wrapped with the field identity, this would not cause the misalignment of field/data problem > > > Malcolm > > > > On 11/05/2012, at 10:14 AM, Bruce Robertson wrote: > >> That makes sense. But then how does that fit with the observation made by some that the bug isn't observed with the standard PHP API? >> >> Bruce Robertson >> >> On May 10, 2012, at 4:54 PM, Malcolm Fitzgerald wrote: >> >>> That's false logic. Both libraries send XML queries to the server and get XML back. The problem is a verified bug. >>> >>> malcolm >>> >>> On 11/05/2012, at 3:32 AM, Steve Winter wrote: >>> >>>> Hi Steve >>>> >>>> I would add to this, that it's also less likely to suffer from issues with upgrades - the problems that the thread was about do not appear to exist with sites built using the API. While it may well be an FM bug that's causing the issue, none-the-less I expect that bugs are less likely to end up in the API than elsewhere? >>>> >>>> My 2p >>>> Another Steve >>>> >>>>> Hi Steve >>>>> >>>>> The main reason I use the API is that, as a consultant, I feel that if one of my clients ever wanted/needed to have someone else work on a site I've developed, it'd be easier for them to find someone who knows the API than someone who knows FX. I don't believe that there are any negatives in the API that outweigh that. So as much as I may like FX, I feel using the API is probably in my clients' best interest. >>>>> >>>>> Best, >>>>> -Joel >>>>> >>>>> >>>>> On May 10, 2012, at 6:11 AM, Steven Thoms wrote: >>>>> >>>>>> I'm still a strong FX guy, >>>>>> >>>>>> What advantages do you see in the API? >>>>>> >>>>>> I see the speed, simplicity, extensibility, and flexibility of FX as major advantages. >>>>>> >>>>>> Steve >>>>>> 207 798-0171 >>>>>> >>>>>> On May 9, 2012, at 6:56 PM, Joel Shapiro wrote: >>>>>> >>>>>>> FWIW: I tend to use the API most often on new projects. >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>> >>>> Steve Winter >>>> +44 777 852 4776 >>>> steve@bluecrocodile.co.nz >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> 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 >>> >> >> _______________________________________________ >> 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 Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz From malcolm at notyourhomework.net Fri May 11 02:04:59 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Fri May 11 01:27:33 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <3EE9B398-B951-4129-A05F-0E20DFC1F35F@bluecrocodile.co.nz> References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> <0CCD6903-C889-4FF7-A70C-A45E4CF9866B@wavecomm.com> <9245825A-A308-4DEF-AAF5-8535B87F6CA8@bluecrocodile.co.nz> <6A8A697F-1BAF-48A9-99A1-A6428DA08AC1@notyourhomework.net> <8E0FD6F5-7F01-4F1E-BAA5-39E547EEF92C@concise-design.com> <3EE9B398-B951-4129-A05F-0E20DFC1F35F@bluecrocodile.co.nz> Message-ID: <43BE9D49-8CE7-432A-BFEE-0BDBC4B8E08C@notyourhomework.net> Which bit of the product aren't you going to use in the second guessing process? Both grammars are supported. The fact is that it's a bug. It's been confirmed. They didn't mean it to be this way. It's not done deliberately. Malcolm On 11/05/2012, at 5:21 PM, Steve Winter wrote: > Malcolm > > Which entirely validates my point? > > The grammar used by the PHP API does not display the bug, thus the PHP API does not have any issues and upgrades have (so far for me at least) been entirely painless. It's possible that this is just plain dumb good luck, or it's possible that because the API is a core component of the product both the API and the XML grammar which it relies upon have been more throughly tested than the alternative grammar. > > Cheers > Steve > >> The clues were given earlier in the thread: >> >> Beverly Voth: >> >>> Have you tried the grammar that is used by the FM API for PHP? fmresultset, rather than FMPXMLRESULT? You can't export with fmresultset, but you can make an XML web publishing request. >> >> Troy Meyers: >>> FMRESULTSET also omits data for portals that have no related records, but since the data itself is wrapped with the field identity, this would not cause the misalignment of field/data problem >> >> >> Malcolm >> >> >> >> On 11/05/2012, at 10:14 AM, Bruce Robertson wrote: >> >>> That makes sense. But then how does that fit with the observation made by some that the bug isn't observed with the standard PHP API? >>> >>> Bruce Robertson >>> >>> On May 10, 2012, at 4:54 PM, Malcolm Fitzgerald wrote: >>> >>>> That's false logic. Both libraries send XML queries to the server and get XML back. The problem is a verified bug. >>>> >>>> malcolm >>>> >>>> On 11/05/2012, at 3:32 AM, Steve Winter wrote: >>>> >>>>> Hi Steve >>>>> >>>>> I would add to this, that it's also less likely to suffer from issues with upgrades - the problems that the thread was about do not appear to exist with sites built using the API. While it may well be an FM bug that's causing the issue, none-the-less I expect that bugs are less likely to end up in the API than elsewhere? >>>>> >>>>> My 2p >>>>> Another Steve >>>>> >>>>>> Hi Steve >>>>>> >>>>>> The main reason I use the API is that, as a consultant, I feel that if one of my clients ever wanted/needed to have someone else work on a site I've developed, it'd be easier for them to find someone who knows the API than someone who knows FX. I don't believe that there are any negatives in the API that outweigh that. So as much as I may like FX, I feel using the API is probably in my clients' best interest. >>>>>> >>>>>> Best, >>>>>> -Joel >>>>>> >>>>>> >>>>>> On May 10, 2012, at 6:11 AM, Steven Thoms wrote: >>>>>> >>>>>>> I'm still a strong FX guy, >>>>>>> >>>>>>> What advantages do you see in the API? >>>>>>> >>>>>>> I see the speed, simplicity, extensibility, and flexibility of FX as major advantages. >>>>>>> >>>>>>> Steve >>>>>>> 207 798-0171 >>>>>>> >>>>>>> On May 9, 2012, at 6:56 PM, Joel Shapiro wrote: >>>>>>> >>>>>>>> FWIW: I tend to use the API most often on new projects. >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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 >>>>> >>>>> Steve Winter >>>>> +44 777 852 4776 >>>>> steve@bluecrocodile.co.nz >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >>>> >>> >>> _______________________________________________ >>> 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 > > Steve Winter > +44 777 852 4776 > steve@bluecrocodile.co.nz > > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From steve at bluecrocodile.co.nz Fri May 11 03:07:49 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Fri May 11 02:30:29 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <43BE9D49-8CE7-432A-BFEE-0BDBC4B8E08C@notyourhomework.net> References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> <0CCD6903-C889-4FF7-A70C-A45E4CF9866B@wavecomm.com> <9245825A-A308-4DEF-AAF5-8535B87F6CA8@bluecrocodile.co.nz> <6A8A697F-1BAF-48A9-99A1-A6428DA08AC1@notyourhomework.net> <8E0FD6F5-7F01-4F1E-BAA5-39E547EEF92C@concise-design.com> <3EE9B398-B951-4129-A05F-0E20DFC1F35F@bluecrocodile.co.nz> <43BE9D49-8CE7-432A-BFEE-0BDBC4B8E08C@notyourhomework.net> Message-ID: <474C4F7F-35DA-4439-A7BC-5525C036F283@bluecrocodile.co.nz> Hey Malcolm > Which bit of the product aren't you going to use in the second guessing process? Both grammars are supported. The fact is that it's a bug. It's been confirmed. They didn't mean it to be this way. It's not done deliberately. I agree entirely that it's a bug, that it wasn't meant to be there, and that it wasn't done deliberately?It is however a bug in a relatively less-used 'fringe' component of the product which slipped through, I would conjecture, exactly because it's in a relatively less-used area of the product. The question Steve Thoms asked was 'why would I use the PHP API over FX', to which I said one (additional to what Joel said) reason was that (in my view) the API was less likely to be impacted on by updates. And I stand by that because I think that the API is in an area which is more 'core' to the product and will therefore have been tested more extensively (now and in future releases)? Cheers Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120511/2cbb0514/attachment-0001.html From beverlyvoth at gmail.com Fri May 11 10:57:54 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Fri May 11 10:20:41 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <3EE9B398-B951-4129-A05F-0E20DFC1F35F@bluecrocodile.co.nz> References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> <0CCD6903-C889-4FF7-A70C-A45E4CF9866B@wavecomm.com> <9245825A-A308-4DEF-AAF5-8535B87F6CA8@bluecrocodile.co.nz> <6A8A697F-1BAF-48A9-99A1-A6428DA08AC1@notyourhomework.net> <8E0FD6F5-7F01-4F1E-BAA5-39E547EEF92C@concise-design.com> <3EE9B398-B951-4129-A05F-0E20DFC1F35F@bluecrocodile.co.nz> Message-ID: Love you Steve, really I do! I just want to make sure everyone is clear. 1. These have been deprecated (or removed) in FMSERVER12 (including Advanced): a. XSLT custom web publishing (import and export with XML/XSLT have NOT been removed!) b. XSLT Site Assistant (because of #a) c. PHP Site assistant (having NOTHING to do with anything, afaik!) 2. These have been available and are STILL available in FMSERVER12 (including Advanced): a. FMPXMLRESULT (this is or *should be* the same grammar as the export XML) b. FMPXMLLAYOUT (personally, I've never used this one) c. fmresultset (used by the PHP Site assistant when there was one, and must be installed) *note: #a & #b have been available for a lot longer than #c... 3. The "API" uses fmresultset grammar and since there is no Site Assistant, you're on your own. The necessary files are installed, IF you choose to install PHP with FMS. There is a PDF on it, "FileMaker Server 12 Custom Web Publishing with PHP". And you may choose to not install PHP with FMS, if you already have PHP. See p. 11 of this guide "Manually installing the FileMaker API for PHP". 4. FX.php uses the FMPXMLRESULT (and FMPXMLLAYOUT). Chris queried us for opinions on including fmresultset with FX.php, btw. I'd vote for "maybe". 5. You and all web developers are absolutely free to 'roll-your-own' with any and all of these grammars. (once they fix the bugger with FMPXMLRESULT!) See the "FileMaker Server 12 Custom Web Publishing with XML" for more information on ALL these grammars. Tip: get both of the guides mentioned above. FMI has said they are fixing the bug with FMPXMLRESULT (web publishing). Yaaaaaay! As for testing, who knows WHY this got missed. I don't think the other grammars got 'more attention'. The "core" without installing the API is FMPXMLRESULT & FMPXMLLAYOUT. :) Beverly On 11 May 2012, at 3:21 AM, Steve Winter wrote: > the API is a core component of the product From jsfmp at earthlink.net Fri May 11 12:24:19 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Fri May 11 11:46:55 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> <0CCD6903-C889-4FF7-A70C-A45E4CF9866B@wavecomm.com> <9245825A-A308-4DEF-AAF5-8535B87F6CA8@bluecrocodile.co.nz> <6A8A697F-1BAF-48A9-99A1-A6428DA08AC1@notyourhomework.net> <8E0FD6F5-7F01-4F1E-BAA5-39E547EEF92C@concise-design.com> <3EE9B398-B951-4129-A05F-0E20DFC1F35F@bluecrocodile.co.nz> Message-ID: Wow, what a long thread! Could this be a List record? Thanks for the breakdown, Bev. I've never had to pay attention to the differences between the XML grammars so this is interesting. I'm curious, though: How does fmresultset get "installed"? I haven't yet installed FMS12, but with FMS9-11 I've done installs both with and without having the installer install PHP. When I've used existing PHP installs, I've only needed to add the API to the include_path in the php.ini for the API to work. As to "installing fmresultset", do you just mean connecting to FMResultSet.php via linking to the API files? Or is it something else? Thanks, -Joel On May 11, 2012, at 9:57 AM, BEVERLY VOTH wrote: > Love you Steve, really I do! I just want to make sure everyone is clear. > > 1. These have been deprecated (or removed) in FMSERVER12 (including Advanced): > > a. XSLT custom web publishing (import and export with XML/XSLT have NOT been removed!) > b. XSLT Site Assistant (because of #a) > c. PHP Site assistant (having NOTHING to do with anything, afaik!) > > 2. These have been available and are STILL available in FMSERVER12 (including Advanced): > > a. FMPXMLRESULT (this is or *should be* the same grammar as the export XML) > b. FMPXMLLAYOUT (personally, I've never used this one) > c. fmresultset (used by the PHP Site assistant when there was one, and must be installed) > > *note: #a & #b have been available for a lot longer than #c... > > 3. The "API" uses fmresultset grammar and since there is no Site Assistant, you're on your own. The necessary files are installed, IF you choose to install PHP with FMS. There is a PDF on it, "FileMaker Server 12 Custom Web Publishing with PHP". And you may choose to not install PHP with FMS, if you already have PHP. See p. 11 of this guide "Manually installing the FileMaker API for PHP". > > 4. FX.php uses the FMPXMLRESULT (and FMPXMLLAYOUT). Chris queried us for opinions on including fmresultset with FX.php, btw. I'd vote for "maybe". > > 5. You and all web developers are absolutely free to 'roll-your-own' with any and all of these grammars. (once they fix the bugger with FMPXMLRESULT!) See the "FileMaker Server 12 Custom Web Publishing with XML" for more information on ALL these grammars. > > Tip: get both of the guides mentioned above. > > FMI has said they are fixing the bug with FMPXMLRESULT (web publishing). Yaaaaaay! As for testing, who knows WHY this got missed. I don't think the other grammars got 'more attention'. > > The "core" without installing the API is FMPXMLRESULT & FMPXMLLAYOUT. :) > > > Beverly > > On 11 May 2012, at 3:21 AM, Steve Winter wrote: > >> the API is a core component of the product > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From beverlyvoth at gmail.com Fri May 11 12:35:25 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Fri May 11 11:58:10 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: References: <2A9AD95C-46A9-444C-A6C4-949E5932AEA0@gmail.com> <0AAB294B-B2A5-4297-BBC1-EFBAF47448B6@gmail.com> <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> <0CCD6903-C889-4FF7-A70C-A45E4CF9866B@wavecomm.com> <9245825A-A308-4DEF-AAF5-8535B87F6CA8@bluecrocodile.co.nz> <6A8A697F-1BAF-48A9-99A1-A6428DA08AC1@notyourhomework.net> <8E0FD6F5-7F01-4F1E-BAA5-39E547EEF92C@concise-design.com> <3EE9B398-B951-4129-A05F-0E20DFC1F35F@bluecrocodile.co.nz> Message-ID: <14DF7CA2-5508-4C79-A859-A7FCB1B342BD@gmail.com> This from 'the guide': "If you already have a PHP engine installed and configured and you want to add only the FileMaker API for PHP, then manually install the FileMaker API for PHP class to make it available to your PHP scripts." and more... I've never used this method, but I see you have, Joel. I guess my point was the API is not "in the core" but installed. :) For people that are not aware of the options, the guides say it all. I just know that FMS12 is somewhat different (no XSLT, no site assistants as in FMS11) and wanted folks to check out the differences. Once that bug is squashed we'll have a choice, eh?! Beverly On 11 May 2012, at 2:24 PM, Joel Shapiro wrote: > Wow, what a long thread! Could this be a List record? > > Thanks for the breakdown, Bev. I've never had to pay attention to the differences between the XML grammars so this is interesting. > > I'm curious, though: How does fmresultset get "installed"? I haven't yet installed FMS12, but with FMS9-11 I've done installs both with and without having the installer install PHP. When I've used existing PHP installs, I've only needed to add the API to the include_path in the php.ini for the API to work. As to "installing fmresultset", do you just mean connecting to FMResultSet.php via linking to the API files? Or is it something else? > > Thanks, > -Joel From andersm at mac.com Fri May 11 13:14:10 2012 From: andersm at mac.com (Anders Monsen) Date: Fri May 11 12:37:03 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <14DF7CA2-5508-4C79-A859-A7FCB1B342BD@gmail.com> References: <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> <0CCD6903-C889-4FF7-A70C-A45E4CF9866B@wavecomm.com> <9245825A-A308-4DEF-AAF5-8535B87F6CA8@bluecrocodile.co.nz> <6A8A697F-1BAF-48A9-99A1-A6428DA08AC1@notyourhomework.net> <8E0FD6F5-7F01-4F1E-BAA5-39E547EEF92C@concise-design.com> <3EE9B398-B951-4129-A05F-0E20DFC1F35F@bluecrocodile.co.nz> <14DF7CA2-5508-4C79-A859-A7FCB1B342BD@gmail.com> Message-ID: <4FAD6502.9010104@mac.com> I think that the Site Assistant is just a tool, not an integral feature of the PHP or XML core of FileMaker Server 12. The fact that it's no longer included, I believe, is a result of a poll last year when people were asked whether they use this tool, and the majority responded, "No" so FMI removed it. Personally, I think we're better off without the Site Assistant, which was far from a "Site" creator in the first place. --- Anders Monsen On 5/11/12 1:35 PM, BEVERLY VOTH wrote: > This from 'the guide': > > "If you already have a PHP engine installed and configured and you want to add only the FileMaker API for PHP, then manually install the FileMaker API for PHP class to make it available to your PHP scripts." and more... > > I've never used this method, but I see you have, Joel. I guess my point was the API is not "in the core" but installed. :) > > For people that are not aware of the options, the guides say it all. I just know that FMS12 is somewhat different (no XSLT, no site assistants as in FMS11) and wanted folks to check out the differences. Once that bug is squashed we'll have a choice, eh?! > > Beverly > > > On 11 May 2012, at 2:24 PM, Joel Shapiro wrote: > >> Wow, what a long thread! Could this be a List record? >> >> Thanks for the breakdown, Bev. I've never had to pay attention to the differences between the XML grammars so this is interesting. >> >> I'm curious, though: How does fmresultset get "installed"? I haven't yet installed FMS12, but with FMS9-11 I've done installs both with and without having the installer install PHP. When I've used existing PHP installs, I've only needed to add the API to the include_path in the php.ini for the API to work. As to "installing fmresultset", do you just mean connecting to FMResultSet.php via linking to the API files? Or is it something else? >> >> Thanks, >> -Joel > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From beverlyvoth at gmail.com Fri May 11 13:43:03 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Fri May 11 13:05:46 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <4FAD6502.9010104@mac.com> References: <3114C937-80D7-4789-9A95-9BF1D5F912FF@patin.com> <2CD5276D-FBD9-4D5E-9FFA-A18A1DAD7AC9@gmail.com> <8773C947-2BCE-4FE8-AD63-62717C9C95DA@patin.com> <4CE7BA54-740F-4AC6-8DF6-BC7783F44D65@gmail.com> <0CCD6903-C889-4FF7-A70C-A45E4CF9866B@wavecomm.com> <9245825A-A308-4DEF-AAF5-8535B87F6CA8@bluecrocodile.co.nz> <6A8A697F-1BAF-48A9-99A1-A6428DA08AC1@notyourhomework.net> <8E0FD6F5-7F01-4F1E-BAA5-39E547EEF92C@concise-design.com> <3EE9B398-B951-4129-A05F-0E20DFC1F35F@bluecrocodile.co.nz> <14DF7CA2-5508-4C79-A859-A7FCB1B342BD@gmail.com> <4FAD6502.9010104@mac.com> Message-ID: <13AF3001-8131-411E-9162-45FBD2FB8AC4@gmail.com> I only used it occasionally when working with other developers who wanted to use it. I found the code was limiting. You're right, Anders, that the assistants are not related to the "bug-of-which-we-speak" (or to the API). I just want people to know what's different in FMS12. Beverly On 11 May 2012, at 3:14 PM, Anders Monsen wrote: > I think that the Site Assistant is just a tool, not an integral feature of the PHP or XML core of FileMaker Server 12. The fact that it's no longer included, I believe, is a result of a poll last year when people were asked whether they use this tool, and the majority responded, "No" so FMI removed it. Personally, I think we're better off without the Site Assistant, which was far from a "Site" creator in the first place. > > --- > Anders Monsen From jsfmp at earthlink.net Sun May 13 23:05:02 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Sun May 13 22:27:25 2012 Subject: [FX.php List] PayPal integration? Message-ID: <5CBC47D6-7840-4944-A5C4-3BEE18181899@earthlink.net> Hi all Before I head down the rabbit hole by myself, I thought I'd ask around: Has anyone integrated PayPal payments into their site or shopping cart? Any comments or tips? TIA, -Joel From steve at bluecrocodile.co.nz Mon May 14 00:58:38 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Mon May 14 00:21:10 2012 Subject: [FX.php List] PayPal integration? In-Reply-To: <5CBC47D6-7840-4944-A5C4-3BEE18181899@earthlink.net> References: <5CBC47D6-7840-4944-A5C4-3BEE18181899@earthlink.net> Message-ID: <025DB964-35E4-4B67-BCA1-306F31E3D3D1@bluecrocodile.co.nz> Hey Joel My experience has been that it's a bit more 'chatty', particularly if you're PaymentsPro (so both the direct payment and Express checkout), i.e. there are multiple calls made to the API, then the user is redirected, then more calls are needed once they're back. The SDK code is useful to see how to get started, but note that certainly the PHP nap sample code provided is out of date in the names of a number of the 'names' that it uses. SDK: https://www.x.com/developers/paypal/documentation-tools/paypal-sdk-index API reference: https://www.x.com/developers/paypal/documentation-tools/api One other thing well worth mentioning is that when using the Sandbox to do your testing, you need to create a merchant sandbox account, implement that as the merchant in your test code, then create other test accounts in the sandbox and use the card and/or account details which the sandbox creates for testing - any other pp accounts, or credit card numbers will fail? Sandbox: https://www.x.com/developers/paypal/documentation-tools/api Sandbox user guide: https://cms.paypal.com/cms_content/CA/en_US/files/developer/PP_Sandbox_UserGuide.pdf Hope this helps. Cheers Steve > Hi all > > Before I head down the rabbit hole by myself, I thought I'd ask around: > Has anyone integrated PayPal payments into their site or shopping cart? Any comments or tips? > > TIA, > -Joel_______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120514/c95c2fb2/attachment-0001.html From bob at patin.com Mon May 14 05:30:58 2012 From: bob at patin.com (Bob Patin) Date: Mon May 14 04:53:30 2012 Subject: [FX.php List] PayPal integration? In-Reply-To: <5CBC47D6-7840-4944-A5C4-3BEE18181899@earthlink.net> References: <5CBC47D6-7840-4944-A5C4-3BEE18181899@earthlink.net> Message-ID: <98CE49A4-275B-4787-BCB9-C66308B71A19@patin.com> I tried to implement a Paypal integration a couple of years ago, but the PHP pages they sent me had parse errors and wouldn't even run. I now tell clients that I won't do Paypal integrations, but steer them to Authorize.net instead; its integration is easy to do, works every time, doesn't require phone calls to an almost nonexistent support staff at Paypal. Not a fan... Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker On May 14, 2012, at 12:05 AM, Joel Shapiro wrote: > Hi all > > Before I head down the rabbit hole by myself, I thought I'd ask around: > Has anyone integrated PayPal payments into their site or shopping cart? Any comments or tips? > > TIA, > -Joel_______________________________________________ > 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 Mon May 14 06:09:12 2012 From: bob at patin.com (Bob Patin) Date: Mon May 14 05:31:42 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? In-Reply-To: <12A64093-7A7E-483D-8604-41279721BEDC@gmail.com> References: <7A28F0AC.8502.4B6F.A104.D0EFD2DB3FCF@106.1159706> <12A64093-7A7E-483D-8604-41279721BEDC@gmail.com> Message-ID: <443A64E7-9E11-4A2D-8DFC-5AFC363DF577@patin.com> On May 8, 2012, at 2:10 AM, Tim 'Webko' Booth wrote: > Dear Troy, > >> Unless I really goofed, the spreadsheet shows that the XML from the WPE is messed up. >> >> What seems to be happening is that the XML from the WPE shows all of the expected field names including the field names in the portals, but if any of the portals have NO related records in them, then in the section, all of those ... items are totally omitted, instead of having place-holders in the form of . >> >> Since, in this example record I've been looking at, there are 145 normal + portal fields, and 4 of the 6 portals have no related records, there are way fewer ... items returned than there should be, so as soon as the first column that has an empty-portal field is encountered, all the data is misaligned. That is, good data from real, filled fields, starts falling in the spots that empty portal columns should be. >> >> Am I being incomprehensible? >> >> Anyway, is this a huge bug in the WPE in FileMaker Server 12? Can anyone reproduce this? > > Can you also check this behaviour on FM11? > > But that would totally suck (and yet another reason that I'm glad I never pull portal data directly, even though it may be inefficient...) > > Maybe Bob could check a copy of the database on his FM12 setup (haven;t got around to it yet...) Sorry, I've been out of pocket; did you still need to check something, and if so, what do you need me to check? I have a server up running FMS12 and a few web apps. I ported over a small web app of mine (very small), and one of my clients ported over a fairly large CMS site--so far haven't heard anything from him regarding any bugs, which may just be because neither he nor I are pulling data from portals. Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker From beverlyvoth at gmail.com Mon May 14 06:16:17 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Mon May 14 05:38:41 2012 Subject: [FX.php List] PayPal integration? In-Reply-To: <025DB964-35E4-4B67-BCA1-306F31E3D3D1@bluecrocodile.co.nz> References: <5CBC47D6-7840-4944-A5C4-3BEE18181899@earthlink.net> <025DB964-35E4-4B67-BCA1-306F31E3D3D1@bluecrocodile.co.nz> Message-ID: What Steve said. I've been integrating payment gateways for a long time. None of them seem to work the way I want! If you can find one that allows a "silent post" AND if you are using HTTPS on your server (to capture the data that needs to be secure), then you can get your forms and UI the way you want. I *never* STORE the data which shouldn't be stored (ssn, etc.), but pass it on to the HTTPS gateway. Then with silent post, you should get a silent response (authorization code, etc.) This makes it seamless to your user. But then people seem to like PayPal. Especially if they have their accounts and can use them for payment instead of retyping everything. Beverly On 14 May 2012, at 2:58 AM, Steve Winter wrote: > Hey Joel > > My experience has been that it's a bit more 'chatty', particularly if you're PaymentsPro (so both the direct payment and Express checkout), i.e. there are multiple calls made to the API, then the user is redirected, then more calls are needed once they're back. > > The SDK code is useful to see how to get started, but note that certainly the PHP nap sample code provided is out of date in the names of a number of the 'names' that it uses. > SDK: https://www.x.com/developers/paypal/documentation-tools/paypal-sdk-index > API reference: https://www.x.com/developers/paypal/documentation-tools/api > > One other thing well worth mentioning is that when using the Sandbox to do your testing, you need to create a merchant sandbox account, implement that as the merchant in your test code, then create other test accounts in the sandbox and use the card and/or account details which the sandbox creates for testing - any other pp accounts, or credit card numbers will fail? > Sandbox: https://www.x.com/developers/paypal/documentation-tools/api > Sandbox user guide: https://cms.paypal.com/cms_content/CA/en_US/files/developer/PP_Sandbox_UserGuide.pdf > > Hope this helps. > > Cheers > Steve > > > >> Hi all >> >> Before I head down the rabbit hole by myself, I thought I'd ask around: >> Has anyone integrated PayPal payments into their site or shopping cart? Any comments or tips? >> >> TIA, >> -Joel_______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > Steve Winter > +44 777 852 4776 > steve@bluecrocodile.co.nz > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From tcmeyers at troymeyers.com Mon May 14 10:15:20 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Mon May 14 09:37:42 2012 Subject: [FX.php List] Re-That sinking feeling: FileMaker 12 & FX ? Message-ID: Bob, No, no check needed at this point. I think the bug is well understood now. Thanks! -Troy > Sorry, I've been out of pocket; did you still need to check something, > and if so, what do you need me to check? > from Tim: >> Maybe Bob could check a copy of the database on his FM12 setup >> (haven;t got around to it yet...) From msyk at msyk.net Mon May 14 10:20:36 2012 From: msyk at msyk.net (Masayuki Nii) Date: Mon May 14 09:42:59 2012 Subject: [FX.php List] Benchmark for FileMaker Server 12 vs 11 Message-ID: <340435150.0.1337012436947.JavaMail.msyk@msyk.net> I had the benchmark test last weekend. FMS 12 is faster than 11 nearly twice and FX is still faster than FileMaker API for PHP. https://server.msyk.net/wiki/pages/21A0t1F8/ ________________________________________________________________________ ????/Masayuki Nii Web Site Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii INTER-Mediator [for Web App] http://inter-mediator.info From william.downs at gmail.com Mon May 14 11:07:50 2012 From: william.downs at gmail.com (William Downs) Date: Mon May 14 10:26:32 2012 Subject: [FX.php List] Benchmark for FileMaker Server 12 vs 11 In-Reply-To: <340435150.0.1337012436947.JavaMail.msyk@msyk.net> References: <340435150.0.1337012436947.JavaMail.msyk@msyk.net> Message-ID: <8C868B8F-3487-40ED-9A42-9478B0347A45@gmail.com> Hi could you be more precise about the FX being faster? Searching Listing Adding Editing Portal Listing etc On 14 May 2012, at 17:20, Masayuki Nii wrote: > I had the benchmark test last weekend. FMS 12 is faster than 11 nearly twice > and FX is still faster than FileMaker API for PHP. > > https://server.msyk.net/wiki/pages/21A0t1F8/ > > ________________________________________________________________________ > ????/Masayuki Nii Web Site > Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii > INTER-Mediator [for Web App] http://inter-mediator.info > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list William Downs +44 7515 360026 From msyk at msyk.net Mon May 14 11:22:01 2012 From: msyk at msyk.net (Masayuki Nii) Date: Mon May 14 10:44:23 2012 Subject: [FX.php List] Re-Benchmark for FileMaker Server 12 vs 11 In-Reply-To: <8C868B8F-3487-40ED-9A42-9478B0347A45@gmail.com> References: <340435150.0.1337012436947.JavaMail.msyk@msyk.net> <8C868B8F-3487-40ED-9A42-9478B0347A45@gmail.com> Message-ID: <340435150.0.1337016121727.JavaMail.msyk@msyk.net> Hi, I just tested about query. Maybe, other tests will be in the near feature. William Downs ????2012/5/15 2:07:50????? ??---?Re: [FX.php List] Benchmark for FileMaker Server 12 vs 11????? ?? > Hi > > could you be more precise about the FX being faster? > > Searching > Listing > Adding > Editing > Portal Listing > > etc > > > > > On 14 May 2012, at 17:20, Masayuki Nii wrote: > > > I had the benchmark test last weekend. FMS 12 is faster than 11 nearly twice > > and FX is still faster than FileMaker API for PHP. > > > > https://server.msyk.net/wiki/pages/21A0t1F8/ > > > > ________________________________________________________________________ > > ????/Masayuki Nii Web Site > > Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii > > INTER-Mediator [for Web App] http://inter-mediator.info > > > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > William Downs > +44 7515 360026 > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > > > ________________________________________________________________________ ????/Masayuki Nii Web Site Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii INTER-Mediator [for Web App] http://inter-mediator.info From msyk at msyk.net Mon May 14 11:22:01 2012 From: msyk at msyk.net (Masayuki Nii) Date: Mon May 14 10:44:23 2012 Subject: [FX.php List] Re-Benchmark for FileMaker Server 12 vs 11 In-Reply-To: <8C868B8F-3487-40ED-9A42-9478B0347A45@gmail.com> References: <340435150.0.1337012436947.JavaMail.msyk@msyk.net> <8C868B8F-3487-40ED-9A42-9478B0347A45@gmail.com> Message-ID: <340435150.0.1337016121727.JavaMail.msyk@msyk.net> Hi, I just tested about query. Maybe, other tests will be in the near feature. William Downs ????2012/5/15 2:07:50????? ??---?Re: [FX.php List] Benchmark for FileMaker Server 12 vs 11????? ?? > Hi > > could you be more precise about the FX being faster? > > Searching > Listing > Adding > Editing > Portal Listing > > etc > > > > > On 14 May 2012, at 17:20, Masayuki Nii wrote: > > > I had the benchmark test last weekend. FMS 12 is faster than 11 nearly twice > > and FX is still faster than FileMaker API for PHP. > > > > https://server.msyk.net/wiki/pages/21A0t1F8/ > > > > ________________________________________________________________________ > > ????/Masayuki Nii Web Site > > Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii > > INTER-Mediator [for Web App] http://inter-mediator.info > > > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > William Downs > +44 7515 360026 > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > > > ________________________________________________________________________ ????/Masayuki Nii Web Site Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii INTER-Mediator [for Web App] http://inter-mediator.info From tony_white at twdesigns.com Mon May 14 14:31:18 2012 From: tony_white at twdesigns.com (Tony White) Date: Mon May 14 13:53:46 2012 Subject: [FX.php List] PayPal integration? In-Reply-To: <5CBC47D6-7840-4944-A5C4-3BEE18181899@earthlink.net> Message-ID: I have a client that integrated PayPal with Magento. The PayPal exports that we were getting were difficult to work with because there were multiple lines for a given transaction and no key field to glue them together. Unless we are missing some part of the export of some magic trick, I am not impressed with PayPal. Hope that helps. All the best, Tony White Tony White Designs, Inc. Tel: 718-797-4175 tony_white@twdesigns.com http://www.twdesigns.com On 5/14/12 1:05 AM, "Joel Shapiro" wrote: > Hi all > > Before I head down the rabbit hole by myself, I thought I'd ask around: > Has anyone integrated PayPal payments into their site or shopping cart? Any > comments or tips? > > TIA, > -Joel_______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From malcolm at notyourhomework.net Mon May 14 22:33:08 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Mon May 14 21:55:28 2012 Subject: [FX.php List] Benchmark for FileMaker Server 12 vs 11 In-Reply-To: <340435150.0.1337012436947.JavaMail.msyk@msyk.net> References: <340435150.0.1337012436947.JavaMail.msyk@msyk.net> Message-ID: <5D8B3376-A485-4172-894D-22AEC5234177@notyourhomework.net> I just tried to visit that URL using Opera and got this nasty message -------------- Unsupported Browser Your browser is not supported. The latest version of Safari, Chrome, Firefox or Internet Explorer is required to use Wiki Server on Lion Server. Alternatively, visit this page from an iPod Touch, iPhone or iPad. -------------- Malcolm On 15/05/2012, at 2:20 AM, Masayuki Nii wrote: > I had the benchmark test last weekend. FMS 12 is faster than 11 nearly twice > and FX is still faster than FileMaker API for PHP. > > https://server.msyk.net/wiki/pages/21A0t1F8/ > > ________________________________________________________________________ > ????/Masayuki Nii Web Site > Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii > INTER-Mediator [for Web App] http://inter-mediator.info > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From msyk at msyk.net Mon May 14 22:52:05 2012 From: msyk at msyk.net (Masayuki Nii) Date: Mon May 14 22:14:26 2012 Subject: [FX.php List] Re-Benchmark for FileMaker Server 12 vs 11 In-Reply-To: <5D8B3376-A485-4172-894D-22AEC5234177@notyourhomework.net> References: <340435150.0.1337012436947.JavaMail.msyk@msyk.net> <5D8B3376-A485-4172-894D-22AEC5234177@notyourhomework.net> Message-ID: <340435150.0.1337057525424.JavaMail.msyk@msyk.net> Oh, my god. I'm sorry, Malcom. This is OS X Lion Server's blog and generating with JavaScript. I can't do anything. Please refer with Safari or Firefox. Malcolm Fitzgerald ????2012/5/15 13:33:08? ???? ??---?Re: [FX.php List] Benchmark for FileMaker Server 12 vs 11????? ?? > I just tried to visit that URL using Opera and got this nasty message > > -------------- > Unsupported Browser > Your browser is not supported. > The latest version of Safari, Chrome, Firefox or Internet Explorer is required to use Wiki Server on Lion Server. Alternatively, visit this page from an iPod Touch, iPhone or iPad. > -------------- > > > Malcolm > > On 15/05/2012, at 2:20 AM, Masayuki Nii wrote: > > > I had the benchmark test last weekend. FMS 12 is faster than 11 nearly twice > > and FX is still faster than FileMaker API for PHP. > > > > https://server.msyk.net/wiki/pages/21A0t1F8/ > > > > ________________________________________________________________________ > > ????/Masayuki Nii Web Site > > Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii > > INTER-Mediator [for Web App] http://inter-mediator.info > > > > _______________________________________________ > > 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 > > > > ________________________________________________________________________ ????/Masayuki Nii Web Site Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii INTER-Mediator [for Web App] http://inter-mediator.info From dale.bengston at gmail.com Mon May 14 23:13:48 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Mon May 14 22:36:09 2012 Subject: [FX.php List] Re-Benchmark for FileMaker Server 12 vs 11 In-Reply-To: <340435150.0.1337057525424.JavaMail.msyk@msyk.net> References: <340435150.0.1337012436947.JavaMail.msyk@msyk.net> <5D8B3376-A485-4172-894D-22AEC5234177@notyourhomework.net> <340435150.0.1337057525424.JavaMail.msyk@msyk.net> Message-ID: Fortunately, the error message presents a pretty good workaround for the problem. ;-) Dale On May 14, 2012, at 11:52 PM, Masayuki Nii wrote: > Oh, my god. I'm sorry, Malcom. This is OS X Lion Server's blog and generating > with JavaScript. I can't do anything. Please refer with Safari or Firefox. > > Malcolm Fitzgerald ????2012/5/15 13:33:08? > ???? > ??---?Re: [FX.php List] Benchmark for FileMaker Server 12 vs 11????? > ?? >> I just tried to visit that URL using Opera and got this nasty message >> >> -------------- >> Unsupported Browser >> Your browser is not supported. >> The latest version of Safari, Chrome, Firefox or Internet Explorer is required to use Wiki Server on Lion Server. Alternatively, visit this page from an iPod Touch, iPhone or iPad. >> -------------- >> >> >> Malcolm >> >> On 15/05/2012, at 2:20 AM, Masayuki Nii wrote: >> >>> I had the benchmark test last weekend. FMS 12 is faster than 11 nearly twice >>> and FX is still faster than FileMaker API for PHP. >>> >>> https://server.msyk.net/wiki/pages/21A0t1F8/ >>> >>> ________________________________________________________________________ >>> ????/Masayuki Nii Web Site >>> Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii >>> INTER-Mediator [for Web App] http://inter-mediator.info >>> >>> _______________________________________________ >>> 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 >> >> >> >> > > ________________________________________________________________________ > ????/Masayuki Nii Web Site > Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii > INTER-Mediator [for Web App] http://inter-mediator.info > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From malcolm at notyourhomework.net Mon May 14 23:37:22 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Mon May 14 22:59:42 2012 Subject: [FX.php List] Re-Benchmark for FileMaker Server 12 vs 11 In-Reply-To: <340435150.0.1337057525424.JavaMail.msyk@msyk.net> References: <340435150.0.1337012436947.JavaMail.msyk@msyk.net> <5D8B3376-A485-4172-894D-22AEC5234177@notyourhomework.net> <340435150.0.1337057525424.JavaMail.msyk@msyk.net> Message-ID: I'm surprised that Apple is doing browser sniffing rather than querying the browser DOM. I have an OS X Lion Server too and didn't realise it behaved that way. Malcolm On 15/05/2012, at 2:52 PM, Masayuki Nii wrote: > Oh, my god. I'm sorry, Malcom. This is OS X Lion Server's blog and generating > with JavaScript. I can't do anything. Please refer with Safari or Firefox. > > Malcolm Fitzgerald ????2012/5/15 13:33:08? > ???? > ??---?Re: [FX.php List] Benchmark for FileMaker Server 12 vs 11????? > ?? >> I just tried to visit that URL using Opera and got this nasty message >> >> -------------- >> Unsupported Browser >> Your browser is not supported. >> The latest version of Safari, Chrome, Firefox or Internet Explorer is required to use Wiki Server on Lion Server. Alternatively, visit this page from an iPod Touch, iPhone or iPad. >> -------------- >> >> >> Malcolm >> >> On 15/05/2012, at 2:20 AM, Masayuki Nii wrote: >> >>> I had the benchmark test last weekend. FMS 12 is faster than 11 nearly twice >>> and FX is still faster than FileMaker API for PHP. >>> >>> https://server.msyk.net/wiki/pages/21A0t1F8/ >>> >>> ________________________________________________________________________ >>> ????/Masayuki Nii Web Site >>> Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii >>> INTER-Mediator [for Web App] http://inter-mediator.info >>> >>> _______________________________________________ >>> 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 >> >> >> >> > > ________________________________________________________________________ > ????/Masayuki Nii Web Site > Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii > INTER-Mediator [for Web App] http://inter-mediator.info > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From andersm at mac.com Tue May 15 09:26:18 2012 From: andersm at mac.com (Anders Monsen) Date: Tue May 15 08:48:35 2012 Subject: [FX.php List] Related data on separate servers Message-ID: <4FB2759A.5020602@mac.com> I'm having an issue getting related data using FX. The setup is as follows. Two servers. Server 1 has multiple files. I have a layout on one file that has related data from other files on Server 1. These show up as expected in the PHP page. Also, I have related data from Server 2 showing up in the FMP layout on Server 1. This does not show up in PHP. There is a web enabled account with same access on Server 2 as Server 1. I looked at the primary array, which shows data on the FMP layout, and not one instance of Server 2 fields appear in this array. Will I need a separate query to Server 2 on the same page, or should I be able to see the related data on the second server from the main server FMP layout? Thanks, Anders Monsen From beverlyvoth at gmail.com Tue May 15 09:32:28 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Tue May 15 08:54:51 2012 Subject: [FX.php List] Related data on separate servers In-Reply-To: <4FB2759A.5020602@mac.com> References: <4FB2759A.5020602@mac.com> Message-ID: Since the 'server/host' is part of the query (to get the data), I'd say YES, you need another query for that related data. :) Beverly On 15 May 2012, at 11:26 AM, Anders Monsen wrote: > I'm having an issue getting related data using FX. The setup is as follows. > > Two servers. Server 1 has multiple files. I have a layout on one file that has related data from other files on Server 1. These show up as expected in the PHP page. > > Also, I have related data from Server 2 showing up in the FMP layout on Server 1. This does not show up in PHP. There is a web enabled account with same access on Server 2 as Server 1. I looked at the primary array, which shows data on the FMP layout, and not one instance of Server 2 fields appear in this array. > > Will I need a separate query to Server 2 on the same page, or should I be able to see the related data on the second server from the main server FMP layout? > > Thanks, > Anders Monsen > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From andersm at mac.com Tue May 15 09:48:37 2012 From: andersm at mac.com (Anders Monsen) Date: Tue May 15 09:10:56 2012 Subject: [FX.php List] Related data on separate servers In-Reply-To: References: <4FB2759A.5020602@mac.com> Message-ID: <4FB27AD5.5050305@mac.com> Thanks, Beverly. I had hoped to run it all in one query. At least I now can confirm with the direct query to the second server that PHP is able to see and return the data, so I'll use the process that works. Anders On 5/15/12 10:32 AM, BEVERLY VOTH wrote: > Since the 'server/host' is part of the query (to get the data), I'd say YES, you need another query for that related data. :) > > Beverly > > > On 15 May 2012, at 11:26 AM, Anders Monsen wrote: > >> I'm having an issue getting related data using FX. The setup is as follows. >> >> Two servers. Server 1 has multiple files. I have a layout on one file that has related data from other files on Server 1. These show up as expected in the PHP page. >> >> Also, I have related data from Server 2 showing up in the FMP layout on Server 1. This does not show up in PHP. There is a web enabled account with same access on Server 2 as Server 1. I looked at the primary array, which shows data on the FMP layout, and not one instance of Server 2 fields appear in this array. >> >> Will I need a separate query to Server 2 on the same page, or should I be able to see the related data on the second server from the main server FMP layout? >> >> Thanks, >> Anders Monsen >> _______________________________________________ >> 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 adenman at tmea.org Tue May 15 11:13:36 2012 From: adenman at tmea.org (Andrew Denman) Date: Tue May 15 10:36:03 2012 Subject: [FX.php List] Related data on separate servers In-Reply-To: <4FB27AD5.5050305@mac.com> References: <4FB2759A.5020602@mac.com> <4FB27AD5.5050305@mac.com> Message-ID: It's been a long time since I've used a two server setup like this, but I remember that this should work. Points of failure off the top of my head are: 1) How the external data source is linked. Try using an IP address if it doesn't specify one already. 2) The account username and password you are using from the web must match exactly between the two files. I don't have a way to test this, so if neither of those are the issue dual queries sounds like the best solution. Andrew Denman -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Anders Monsen Sent: Tuesday, May 15, 2012 10:49 AM To: FX.php Discussion List Subject: Re: [FX.php List] Related data on separate servers Thanks, Beverly. I had hoped to run it all in one query. At least I now can confirm with the direct query to the second server that PHP is able to see and return the data, so I'll use the process that works. Anders On 5/15/12 10:32 AM, BEVERLY VOTH wrote: > Since the 'server/host' is part of the query (to get the data), I'd > say YES, you need another query for that related data. :) > > Beverly > > > On 15 May 2012, at 11:26 AM, Anders Monsen wrote: > >> I'm having an issue getting related data using FX. The setup is as follows. >> >> Two servers. Server 1 has multiple files. I have a layout on one file that has related data from other files on Server 1. These show up as expected in the PHP page. >> >> Also, I have related data from Server 2 showing up in the FMP layout on Server 1. This does not show up in PHP. There is a web enabled account with same access on Server 2 as Server 1. I looked at the primary array, which shows data on the FMP layout, and not one instance of Server 2 fields appear in this array. >> >> Will I need a separate query to Server 2 on the same page, or should I be able to see the related data on the second server from the main server FMP layout? >> >> Thanks, >> Anders Monsen >> _______________________________________________ >> 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 > > _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list From jsfmp at earthlink.net Tue May 15 12:54:26 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Tue May 15 12:16:41 2012 Subject: [FX.php List] PayPal integration? In-Reply-To: References: <5CBC47D6-7840-4944-A5C4-3BEE18181899@earthlink.net> <025DB964-35E4-4B67-BCA1-306F31E3D3D1@bluecrocodile.co.nz> Message-ID: <1B745E32-B665-43EB-9508-105E20857181@earthlink.net> Thanks everybody for your comments! This is still in the proposal stage. If it goes through and I hit any snags along the way, I may be back ;) Best, -Joel On May 14, 2012, at 5:16 AM, BEVERLY VOTH wrote: > What Steve said. > > I've been integrating payment gateways for a long time. None of them seem to work the way I want! If you can find one that allows a "silent post" AND if you are using HTTPS on your server (to capture the data that needs to be secure), then you can get your forms and UI the way you want. I *never* STORE the data which shouldn't be stored (ssn, etc.), but pass it on to the HTTPS gateway. Then with silent post, you should get a silent response (authorization code, etc.) This makes it seamless to your user. > > But then people seem to like PayPal. Especially if they have their accounts and can use them for payment instead of retyping everything. > > Beverly > > > On 14 May 2012, at 2:58 AM, Steve Winter wrote: > >> Hey Joel >> >> My experience has been that it's a bit more 'chatty', particularly if you're PaymentsPro (so both the direct payment and Express checkout), i.e. there are multiple calls made to the API, then the user is redirected, then more calls are needed once they're back. >> >> The SDK code is useful to see how to get started, but note that certainly the PHP nap sample code provided is out of date in the names of a number of the 'names' that it uses. >> SDK: https://www.x.com/developers/paypal/documentation-tools/paypal-sdk-index >> API reference: https://www.x.com/developers/paypal/documentation-tools/api >> >> One other thing well worth mentioning is that when using the Sandbox to do your testing, you need to create a merchant sandbox account, implement that as the merchant in your test code, then create other test accounts in the sandbox and use the card and/or account details which the sandbox creates for testing - any other pp accounts, or credit card numbers will fail? >> Sandbox: https://www.x.com/developers/paypal/documentation-tools/api >> Sandbox user guide: https://cms.paypal.com/cms_content/CA/en_US/files/developer/PP_Sandbox_UserGuide.pdf >> >> Hope this helps. >> >> Cheers >> Steve >> >> >> >>> Hi all >>> >>> Before I head down the rabbit hole by myself, I thought I'd ask around: >>> Has anyone integrated PayPal payments into their site or shopping cart? Any comments or tips? >>> >>> TIA, >>> -Joel_______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> Steve Winter >> +44 777 852 4776 >> steve@bluecrocodile.co.nz >> >> >> >> _______________________________________________ >> 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 andersm at mac.com Tue May 15 13:17:25 2012 From: andersm at mac.com (Anders Monsen) Date: Tue May 15 12:39:41 2012 Subject: [FX.php List] Related data on separate servers In-Reply-To: References: <4FB2759A.5020602@mac.com> <4FB27AD5.5050305@mac.com> Message-ID: <4FB2ABC5.5060801@mac.com> I made sure #2 is set up this way, but there is one query to the FMP db, and that uses the server 1 domain name. I wasn't sure if the fact that the server 2 is in the graph in the server 1 file and the field is in a portal on the web layout would let it work, but I must have missed something. I decided to cut through the knot and write a 2nd query instead. We'll see if there's unexpected overhead. Anders On 5/15/12 12:13 PM, Andrew Denman wrote: > It's been a long time since I've used a two server setup like this, but I remember that this should work. Points of failure off the top of my head are: > > 1) How the external data source is linked. Try using an IP address if it doesn't specify one already. > 2) The account username and password you are using from the web must match exactly between the two files. > > I don't have a way to test this, so if neither of those are the issue dual queries sounds like the best solution. > > Andrew Denman > > -----Original Message----- > From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Anders Monsen > Sent: Tuesday, May 15, 2012 10:49 AM > To: FX.php Discussion List > Subject: Re: [FX.php List] Related data on separate servers > > Thanks, Beverly. I had hoped to run it all in one query. At least I now can confirm with the direct query to the second server that PHP is able to see and return the data, so I'll use the process that works. > > Anders > > On 5/15/12 10:32 AM, BEVERLY VOTH wrote: >> Since the 'server/host' is part of the query (to get the data), I'd >> say YES, you need another query for that related data. :) >> >> Beverly >> >> >> On 15 May 2012, at 11:26 AM, Anders Monsen wrote: >> >>> I'm having an issue getting related data using FX. The setup is as follows. >>> >>> Two servers. Server 1 has multiple files. I have a layout on one file that has related data from other files on Server 1. These show up as expected in the PHP page. >>> >>> Also, I have related data from Server 2 showing up in the FMP layout on Server 1. This does not show up in PHP. There is a web enabled account with same access on Server 2 as Server 1. I looked at the primary array, which shows data on the FMP layout, and not one instance of Server 2 fields appear in this array. >>> >>> Will I need a separate query to Server 2 on the same page, or should I be able to see the related data on the second server from the main server FMP layout? >>> >>> Thanks, >>> Anders Monsen >>> _______________________________________________ >>> 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 >> >> > _______________________________________________ > 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 dsomar at gmail.com Thu May 17 14:29:37 2012 From: dsomar at gmail.com (Denis Somar) Date: Thu May 17 13:52:05 2012 Subject: [FX.php List] Best way to sort? Message-ID: Any best advice on the optimal way to sort. I'm not doing anything wild other than sorting in descending order by creation date (and I have this field ), but wanted to know if there's an optimal way to do it. There can be between 1-(infinity and beyond) most likely 100 results sorted. Many thanks, Denis -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120517/ddabab39/attachment.html From steve at bluecrocodile.co.nz Thu May 17 14:49:54 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Thu May 17 14:12:15 2012 Subject: [FX.php List] Best way to sort? In-Reply-To: References: Message-ID: <963CD803-F1BD-4F84-9867-8CD13DE04B67@bluecrocodile.co.nz> Hi Denis My thoughts... Is the field which you want to sort by indexed (or indexible) in FM...? If so, add a sort parameter to your FX query. If not, get the results back in 'whatever' order from FM and sort with PHP... That said, the only way to know for sure is to generate a large record set and try both ways... Let us know what you find... Cheers Steve Sent from the iPhone of Steve Winter Matatiro Solutions steve@matatirosolutions.co.uk +44 777 852 4776 On 17 May 2012, at 21:29, Denis Somar wrote: > Any best advice on the optimal way to sort. > > I'm not doing anything wild other than sorting in descending order by creation date (and I have this field ), but wanted to know if there's an optimal way to do it. There can be between 1-(infinity and beyond) most likely 100 results sorted. > > Many thanks, > Denis > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dsomar at gmail.com Thu May 17 15:34:07 2012 From: dsomar at gmail.com (Denis Somar) Date: Thu May 17 14:56:34 2012 Subject: [FX.php List] Best way to sort? In-Reply-To: <963CD803-F1BD-4F84-9867-8CD13DE04B67@bluecrocodile.co.nz> References: <963CD803-F1BD-4F84-9867-8CD13DE04B67@bluecrocodile.co.nz> Message-ID: It is indeed indexed. I'm thinking of just sorting in FM - Would you happen to have a snippet to show how to sort the xml? Cheers, D On Thu, May 17, 2012 at 4:49 PM, Steve Winter wrote: > Hi Denis > > My thoughts... > > Is the field which you want to sort by indexed (or indexible) in FM...? If > so, add a sort parameter to your FX query. > > If not, get the results back in 'whatever' order from FM and sort with > PHP... > > That said, the only way to know for sure is to generate a large record set > and try both ways... > > Let us know what you find... > > Cheers > Steve > > Sent from the iPhone of Steve Winter > Matatiro Solutions > steve@matatirosolutions.co.uk > +44 777 852 4776 > > On 17 May 2012, at 21:29, Denis Somar wrote: > > > Any best advice on the optimal way to sort. > > > > I'm not doing anything wild other than sorting in descending order by > creation date (and I have this field ), but wanted to know if there's an > optimal way to do it. There can be between 1-(infinity and beyond) most > likely 100 results sorted. > > > > Many thanks, > > Denis > > _______________________________________________ > > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120517/8391492a/attachment.html From steve at bluecrocodile.co.nz Fri May 18 02:44:19 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Fri May 18 02:06:26 2012 Subject: [FX.php List] Best way to sort? In-Reply-To: References: <963CD803-F1BD-4F84-9867-8CD13DE04B67@bluecrocodile.co.nz> Message-ID: Hi Denis Ummm, I'm a bit confused? you don't need to deal with the XML directly? Say your query is currently this; $courseQuery = new FX($serverIP, $serverPort, $dataSourceType); $courseQuery->SetDBUserPass($webUN, $webPW); $courseQuery->SetDBData($database, $database, 'all'); $courseQuery->AddDBParam('field', 'value'); $courseData = $courseQuery->FMFind(); Then what you can do is add $courseQuery->AddSortParam('fieldToSortBy', 'ascend'); Where the second parameter is either ascend or descend as appropriate. If you wanted to sort by two fields, then add more calls to the AddSortParam function. That way your complete call becomes; $courseQuery = new FX($serverIP, $serverPort, $dataSourceType); $courseQuery->SetDBUserPass($webUN, $webPW); $courseQuery->SetDBData($database, $database, 'all'); $courseQuery->AddDBParam('field', 'value'); $courseQuery->AddSortParam('fieldToSortBy', 'ascend'); $courseQuery->AddSortParam('secondFieldToSortBy', 'ascend'); $courseData = $courseQuery->FMFind(); Now (assuming that there are results) $courseData['data'] records will be sorted by fieldToSortBy and secondFieldToSortBy. Back to my advice, if either of those two fields are unindexable (which probably isn't really a word, but I think you get the idea ;-) because they are, for example calculations based on related fields, or some such thing, or the record set which is likely to be returned is very large, then this may well have a significant (negative) impact on performance in which case it may be better to get the data back, and then use PHP to do the sorting - that's more complex to achieve, so if this works, without noticeable performance degradation, then go with it? Does that make sense?? does it achieve what you wanted it to?? Cheers Steve > It is indeed indexed. I'm thinking of just sorting in FM - Would you happen to have a snippet to show how to sort the xml? > > Cheers, > D > > > > On Thu, May 17, 2012 at 4:49 PM, Steve Winter wrote: > Hi Denis > > My thoughts... > > Is the field which you want to sort by indexed (or indexible) in FM...? If so, add a sort parameter to your FX query. > > If not, get the results back in 'whatever' order from FM and sort with PHP... > > That said, the only way to know for sure is to generate a large record set and try both ways... > > Let us know what you find... > > Cheers > Steve > > Sent from the iPhone of Steve Winter > Matatiro Solutions > steve@matatirosolutions.co.uk > +44 777 852 4776 > > On 17 May 2012, at 21:29, Denis Somar wrote: > > > Any best advice on the optimal way to sort. > > > > I'm not doing anything wild other than sorting in descending order by creation date (and I have this field ), but wanted to know if there's an optimal way to do it. There can be between 1-(infinity and beyond) most likely 100 results sorted. > > > > Many thanks, > > Denis > > _______________________________________________ > > 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 > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120518/c8a81233/attachment-0001.html From steve at bluecrocodile.co.nz Fri May 18 02:48:06 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Fri May 18 02:10:16 2012 Subject: [FX.php List] Best way to sort? In-Reply-To: References: <963CD803-F1BD-4F84-9867-8CD13DE04B67@bluecrocodile.co.nz> Message-ID: Erratum: In my previous post there was an error in the code which I sent, made in the process of 'generalising' a specific piece of in-use code > $courseQuery->SetDBData($database, $database, 'all'); Should read > $courseQuery->SetDBData($database, $layout, 'all'); Cheers Steve Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120518/79d1908a/attachment.html From sthoms at wavecomm.com Fri May 18 06:43:37 2012 From: sthoms at wavecomm.com (Steven Thoms) Date: Fri May 18 06:05:47 2012 Subject: [FX.php List] Best way to sort? In-Reply-To: References: Message-ID: <1CE8581B-D367-4A9D-8E9B-A64C7B844B16@wavecomm.com> Just a thought, Since you are searching by creation date descending, and unsorted records will always come out sorted by creation date ascending, you could not sort the query and use: array_reverse($result['data'], true); which would always be faster than a FileMaker sort. Steve On May 17, 2012, at 4:29 PM, Denis Somar wrote: > Any best advice on the optimal way to sort. > > I'm not doing anything wild other than sorting in descending order > by creation date (and I have this field ), but wanted to know if > there's an optimal way to do it. There can be between 1-(infinity > and beyond) most likely 100 results sorted. > > Many thanks, > Denis > _______________________________________________ > 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 Thu May 24 13:15:59 2012 From: bob at patin.com (Bob Patin) Date: Thu May 24 12:38:39 2012 Subject: [FX.php List] [OFF] PHP upload script won't write to drive B, but will write to drive A Message-ID: <7F15AAE7-78D4-405D-AEB9-28AC91F70E11@patin.com> I have a simple PHP script that has worked for years, writing to a folder on a website; the site is on a 2nd drive on an Xserve (not the system drive). I took the same script and changed it to write to a folder on the system drive, and it worked fine; this tells me that the script itself isn't the issue, but rather the drive to which I'm trying to write. This is an Apple Xserve, running Tiger Server; has anyone seen this before? I've already reset r/w permissions for that folder, so I know that's not the issue; I can FTP to the folder without any trouble, so I know that writing to the drive isn't an issue (and there are terrabytes of available space). I'm wondering if using Disk Utility to repair the drive might make a difference, but I can't try it during the day because it unmounts the drive. Any ideas are appreciated; thanks, Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker From bob at patin.com Thu May 24 13:18:24 2012 From: bob at patin.com (Bob Patin) Date: Thu May 24 12:41:02 2012 Subject: [FX.php List] [OFF] PHP upload script won't write to drive B, but will write to drive A In-Reply-To: <7F15AAE7-78D4-405D-AEB9-28AC91F70E11@patin.com> References: <7F15AAE7-78D4-405D-AEB9-28AC91F70E11@patin.com> Message-ID: <49483852-8D70-4228-9F7C-209385E3DFC3@patin.com> I also created a 2nd folder alongside the problematic one, and set permissions for it, changed my PHP script to point to it instead, and it fails too. Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker On May 24, 2012, at 2:15 PM, Bob Patin wrote: > I have a simple PHP script that has worked for years, writing to a folder on a website; the site is on a 2nd drive on an Xserve (not the system drive). > > I took the same script and changed it to write to a folder on the system drive, and it worked fine; this tells me that the script itself isn't the issue, but rather the drive to which I'm trying to write. > > This is an Apple Xserve, running Tiger Server; has anyone seen this before? > > I've already reset r/w permissions for that folder, so I know that's not the issue; I can FTP to the folder without any trouble, so I know that writing to the drive isn't an issue (and there are terrabytes of available space). > > I'm wondering if using Disk Utility to repair the drive might make a difference, but I can't try it during the day because it unmounts the drive. > > Any ideas are appreciated; thanks, > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dsomar at gmail.com Thu May 24 13:26:00 2012 From: dsomar at gmail.com (Denis Somar) Date: Thu May 24 12:47:59 2012 Subject: [FX.php List] Catch FileMaker Server before it dies? Message-ID: Hi all, I'm about to go into beta testing with my first production-worthy FMP web project. I'm not sure of the load to expect (nothing huge initially) in terms of users, but I'm wondering if I can catch catch automatically when the site is under a heavy load so I know that it happens. Are there any PHP calls that can be used to die gracefully (or not) and just say the database server isn't working/isn't responding. The v11 database is going to be accessed via two FileMaker clients (using a separated interface file) frequently AND also some number of web users. Thus I'm unsure of how to measure / determine when FM will break under the pressure of requests. The server is hosted at triple8.net so I don't know how much I can install in terms of admin tools. TIA, Denis -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120524/4337c098/attachment.html From chris at iViking.org Thu May 24 13:40:37 2012 From: chris at iViking.org (Chris Hansen) Date: Thu May 24 13:02:01 2012 Subject: [FX.php List] [OFF] PHP upload script won't write to drive B, but will write to drive A In-Reply-To: <49483852-8D70-4228-9F7C-209385E3DFC3@patin.com> References: <7F15AAE7-78D4-405D-AEB9-28AC91F70E11@patin.com> <49483852-8D70-4228-9F7C-209385E3DFC3@patin.com> Message-ID: <42E78ED2-B616-4757-9875-6D4732872C92@iViking.org> Bob, Are there any folders above the one in question with very restrictive permissions? I've seen things similar to what you describe in situations like that. Best, --Chris On May 24, 2012, at 1:18 PM, Bob Patin wrote: > I also created a 2nd folder alongside the problematic one, and set permissions for it, changed my PHP script to point to it instead, and it fails too. > > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > On May 24, 2012, at 2:15 PM, Bob Patin wrote: > >> I have a simple PHP script that has worked for years, writing to a folder on a website; the site is on a 2nd drive on an Xserve (not the system drive). >> >> I took the same script and changed it to write to a folder on the system drive, and it worked fine; this tells me that the script itself isn't the issue, but rather the drive to which I'm trying to write. >> >> This is an Apple Xserve, running Tiger Server; has anyone seen this before? >> >> I've already reset r/w permissions for that folder, so I know that's not the issue; I can FTP to the folder without any trouble, so I know that writing to the drive isn't an issue (and there are terrabytes of available space). >> >> I'm wondering if using Disk Utility to repair the drive might make a difference, but I can't try it during the day because it unmounts the drive. >> >> Any ideas are appreciated; thanks, >> >> Bob Patin >> Longterm Solutions LLC >> bob@longtermsolutions.com >> 615-333-6858 >> http://www.longtermsolutions.com >> FileMaker 9, 10 & 11 Certified Developer >> Member of FileMaker Business Alliance and FileMaker TechNet >> -- >> Twitter: bobpatin >> Google+: http://www.longtermsolutions.com/plus >> AIM: longterm1954 >> iChat: bobpatin >> -- >> Expert FileMaker Consulting >> FileMaker Hosting for all versions of FileMaker >> >> _______________________________________________ >> 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 Thu May 24 14:53:06 2012 From: bob at patin.com (Bob Patin) Date: Thu May 24 14:15:37 2012 Subject: [FX.php List] [OFF] PHP upload script won't write to drive B, but will write to drive A In-Reply-To: <42E78ED2-B616-4757-9875-6D4732872C92@iViking.org> References: <7F15AAE7-78D4-405D-AEB9-28AC91F70E11@patin.com> <49483852-8D70-4228-9F7C-209385E3DFC3@patin.com> <42E78ED2-B616-4757-9875-6D4732872C92@iViking.org> Message-ID: Well, it's a typical web server; the main documents folder doesn't have r/w for writing using a PHP script, but this particular one does. This server's configured just like all my others, and it's worked for years--just in the last week or so the drive doesn't want to allow me to write to it w/ the PHP script. Is there a way to get back the nature of the error, when using the standard PHP upload script? Best, Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker On May 24, 2012, at 2:40 PM, Chris Hansen wrote: > Bob, > > Are there any folders above the one in question with very restrictive permissions? I've seen things similar to what you describe in situations like that. Best, > > --Chris > > On May 24, 2012, at 1:18 PM, Bob Patin wrote: > >> I also created a 2nd folder alongside the problematic one, and set permissions for it, changed my PHP script to point to it instead, and it fails too. >> >> >> Bob Patin >> Longterm Solutions LLC >> bob@longtermsolutions.com >> 615-333-6858 >> http://www.longtermsolutions.com >> FileMaker 9, 10 & 11 Certified Developer >> Member of FileMaker Business Alliance and FileMaker TechNet >> -- >> Twitter: bobpatin >> Google+: http://www.longtermsolutions.com/plus >> AIM: longterm1954 >> iChat: bobpatin >> -- >> Expert FileMaker Consulting >> FileMaker Hosting for all versions of FileMaker >> >> On May 24, 2012, at 2:15 PM, Bob Patin wrote: >> >>> I have a simple PHP script that has worked for years, writing to a folder on a website; the site is on a 2nd drive on an Xserve (not the system drive). >>> >>> I took the same script and changed it to write to a folder on the system drive, and it worked fine; this tells me that the script itself isn't the issue, but rather the drive to which I'm trying to write. >>> >>> This is an Apple Xserve, running Tiger Server; has anyone seen this before? >>> >>> I've already reset r/w permissions for that folder, so I know that's not the issue; I can FTP to the folder without any trouble, so I know that writing to the drive isn't an issue (and there are terrabytes of available space). >>> >>> I'm wondering if using Disk Utility to repair the drive might make a difference, but I can't try it during the day because it unmounts the drive. >>> >>> Any ideas are appreciated; thanks, >>> >>> Bob Patin >>> Longterm Solutions LLC >>> bob@longtermsolutions.com >>> 615-333-6858 >>> http://www.longtermsolutions.com >>> FileMaker 9, 10 & 11 Certified Developer >>> Member of FileMaker Business Alliance and FileMaker TechNet >>> -- >>> Twitter: bobpatin >>> Google+: http://www.longtermsolutions.com/plus >>> AIM: longterm1954 >>> iChat: bobpatin >>> -- >>> Expert FileMaker Consulting >>> FileMaker Hosting for all versions of FileMaker >>> >>> _______________________________________________ >>> 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 Thu May 24 15:12:15 2012 From: bob at patin.com (Bob Patin) Date: Thu May 24 14:34:53 2012 Subject: [FX.php List] Catch FileMaker Server before it dies? In-Reply-To: References: Message-ID: <68E6B1F4-B4BC-47AC-A6C9-53AFF9F934F0@patin.com> I have a little script I use that will send me an error message if a web server's WPE isn't responding; what I do is to use a test database that has a few records; if the WPE doesn't respond in a reasonable amount of seconds, I get an SMS and an email warning me that there was an issue. I use a robot machine (that does other robot duties too) to run this script every 3 minutes. You could write some sort of script to do a simple find; if it doesn't return an error-free response, you could direct users to an error page. However, if the WPE geeks completely, you're not going to get a FileMaker error back, and perhaps Chris could tell you what sort of IF statement to write to catch that situation. Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker On May 24, 2012, at 2:26 PM, Denis Somar wrote: > Hi all, > > I'm about to go into beta testing with my first production-worthy FMP web project. I'm not sure of the load to expect (nothing huge initially) in terms of users, but I'm wondering if I can catch catch automatically when the site is under a heavy load so I know that it happens. Are there any PHP calls that can be used to die gracefully (or not) and just say the database server isn't working/isn't responding. > From sthoms at wavecomm.com Thu May 24 16:23:30 2012 From: sthoms at wavecomm.com (Steven Thoms) Date: Thu May 24 15:45:14 2012 Subject: [FX.php List] Catch FileMaker Server before it dies? In-Reply-To: References: Message-ID: <49AFDA28-8234-44F4-8E85-2BBBD188EB70@wavecomm.com> This is a bit more than you are probably looking for, but... I do this: (substantially simplified) $strError = ''; $resultError = 0; $query = new FX(FM_IP, FM_PORT, FM_VERSION, SCHEME); $query -> SetDBData($file); $query -> SetDBUserPass(FM_USERNAME, FM_PASSWORD); $result = $query -> FMDBNames(); //print_r($query); if ( $query->lastErrorCode != 0 ) { AddError("The database is not available.
The Web Publishing Engine is not responding. ErrorCode:" . $query->lastErrorCode , $strError); } else { $searchDbs = explode("," , REQUIRED_DBS); $dataString = serialize($result['data']); foreach ( $searchDbs as $key=>$dbName ) { if ( strpos($dataString , $dbName) === false ) { $newError = "The " . $dbName . " database was not available.".$dataString; AddError($newError , $strError); } } } if ( $strError != '' ) { include_once "{$AppLoc}src/error.php";exit; } This ensures not only that the wpe is responding but that the dbs needed are there. I found FMDBNames() gives the quickest response. Steve On May 24, 2012, at 3:26 PM, Denis Somar wrote: > Hi all, > > I'm about to go into beta testing with my first production-worthy > FMP web project. I'm not sure of the load to expect (nothing huge > initially) in terms of users, but I'm wondering if I can catch catch > automatically when the site is under a heavy load so I know that it > happens. Are there any PHP calls that can be used to die gracefully > (or not) and just say the database server isn't working/isn't > responding. > > The v11 database is going to be accessed via two FileMaker clients > (using a separated interface file) frequently AND also some number > of web users. Thus I'm unsure of how to measure / determine when FM > will break under the pressure of requests. The server is hosted at > triple8.net so I don't know how much I can install in terms of admin > tools. > > TIA, > Denis > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From andersm at mac.com Fri May 25 11:23:31 2012 From: andersm at mac.com (Anders Monsen) Date: Fri May 25 10:45:07 2012 Subject: [FX.php List] Catch FileMaker Server before it dies? In-Reply-To: <68E6B1F4-B4BC-47AC-A6C9-53AFF9F934F0@patin.com> References: <68E6B1F4-B4BC-47AC-A6C9-53AFF9F934F0@patin.com> Message-ID: <4FBFC013.3040901@mac.com> Bob, What PHP function do you use for the SMS? When I set up something similar recently the PHP send mail script failed to send any mail using working SMTP settings. I ended up creating a web page that logged successes and failures in a db and running a server side script that would send the email, which has the downside of a delay. However, I also run a cron which checks the WPE process and starts this up via the command line, so if everything works no intervention is required by the DBA. Anders On 5/24/12 4:12 PM, Bob Patin wrote: > I have a little script I use that will send me an error message if a web server's WPE isn't responding; what I do is to use a test database that has a few records; if the WPE doesn't respond in a reasonable amount of seconds, I get an SMS and an email warning me that there was an issue. I use a robot machine (that does other robot duties too) to run this script every 3 minutes. > > You could write some sort of script to do a simple find; if it doesn't return an error-free response, you could direct users to an error page. However, if the WPE geeks completely, you're not going to get a FileMaker error back, and perhaps Chris could tell you what sort of IF statement to write to catch that situation. > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10& 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > > On May 24, 2012, at 2:26 PM, Denis Somar wrote: > >> Hi all, >> >> I'm about to go into beta testing with my first production-worthy FMP web project. I'm not sure of the load to expect (nothing huge initially) in terms of users, but I'm wondering if I can catch catch automatically when the site is under a heavy load so I know that it happens. Are there any PHP calls that can be used to die gracefully (or not) and just say the database server isn't working/isn't responding. >> > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > From adenman at tmea.org Fri May 25 12:12:18 2012 From: adenman at tmea.org (Andrew Denman) Date: Fri May 25 11:33:55 2012 Subject: [FX.php List] Catch FileMaker Server before it dies? In-Reply-To: <68E6B1F4-B4BC-47AC-A6C9-53AFF9F934F0@patin.com> References: <68E6B1F4-B4BC-47AC-A6C9-53AFF9F934F0@patin.com> Message-ID: Here's my error checking block that handles FileMaker errors and FX.php errors (when FileMaker server isn't responding or something goes wrong with the XML), based off instructions Chris provided in the past. // Find them! $Data = $Setup->FMFind(); // See if there's an error if(FX::isError($Data) || $Data['errorCode'] != 0 ){ // Display for FX.php error if(FX::isError($Data)){ $error = "The server may be down.
"; $error .= $Data->getMessage(); // Display for FileMaker error }else{ require_once('\FX\FMErrors.php'); //$errorsList is error array name $error = $errorsList[$Data['errorCode']]; } }else{ // Everything OK, process data } // END FM error Andrew Denman -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin Sent: Thursday, May 24, 2012 4:12 PM To: FX.php Discussion List Subject: Re: [FX.php List] Catch FileMaker Server before it dies? I have a little script I use that will send me an error message if a web server's WPE isn't responding; what I do is to use a test database that has a few records; if the WPE doesn't respond in a reasonable amount of seconds, I get an SMS and an email warning me that there was an issue. I use a robot machine (that does other robot duties too) to run this script every 3 minutes. You could write some sort of script to do a simple find; if it doesn't return an error-free response, you could direct users to an error page. However, if the WPE geeks completely, you're not going to get a FileMaker error back, and perhaps Chris could tell you what sort of IF statement to write to catch that situation. Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker On May 24, 2012, at 2:26 PM, Denis Somar wrote: > Hi all, > > I'm about to go into beta testing with my first production-worthy FMP web project. I'm not sure of the load to expect (nothing huge initially) in terms of users, but I'm wondering if I can catch catch automatically when the site is under a heavy load so I know that it happens. Are there any PHP calls that can be used to die gracefully (or not) and just say the database server isn't working/isn't responding. > _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list From dsomar at gmail.com Fri May 25 12:28:05 2012 From: dsomar at gmail.com (Denis Somar) Date: Fri May 25 11:50:01 2012 Subject: [FX.php List] Catch FileMaker Server before it dies? In-Reply-To: References: <68E6B1F4-B4BC-47AC-A6C9-53AFF9F934F0@patin.com> Message-ID: Is that script effectively running a FindAll step? On Fri, May 25, 2012 at 2:12 PM, Andrew Denman wrote: > Here's my error checking block that handles FileMaker errors and FX.php > errors (when FileMaker server isn't responding or something goes wrong with > the XML), based off instructions Chris provided in the past. > > // Find them! > $Data = $Setup->FMFind(); > > // See if there's an error > if(FX::isError($Data) || $Data['errorCode'] != 0 ){ > // Display for FX.php error > if(FX::isError($Data)){ > $error = "The server may be down.
"; > $error .= $Data->getMessage(); > // Display for FileMaker error > }else{ > require_once('\FX\FMErrors.php'); > //$errorsList is error array name > $error = $errorsList[$Data['errorCode']]; > } > }else{ > // Everything OK, process data > } // END FM error > > > Andrew Denman > > > -----Original Message----- > From: fx.php_list-bounces@mail.iviking.org [mailto: > fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin > Sent: Thursday, May 24, 2012 4:12 PM > To: FX.php Discussion List > Subject: Re: [FX.php List] Catch FileMaker Server before it dies? > > I have a little script I use that will send me an error message if a web > server's WPE isn't responding; what I do is to use a test database that has > a few records; if the WPE doesn't respond in a reasonable amount of > seconds, I get an SMS and an email warning me that there was an issue. I > use a robot machine (that does other robot duties too) to run this script > every 3 minutes. > > You could write some sort of script to do a simple find; if it doesn't > return an error-free response, you could direct users to an error page. > However, if the WPE geeks completely, you're not going to get a FileMaker > error back, and perhaps Chris could tell you what sort of IF statement to > write to catch that situation. > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business > Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > > On May 24, 2012, at 2:26 PM, Denis Somar wrote: > > > Hi all, > > > > I'm about to go into beta testing with my first production-worthy FMP > web project. I'm not sure of the load to expect (nothing huge initially) > in terms of users, but I'm wondering if I can catch catch automatically > when the site is under a heavy load so I know that it happens. Are there > any PHP calls that can be used to die gracefully (or not) and just say the > database server isn't working/isn't responding. > > > > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120525/b0904876/attachment.html From adenman at tmea.org Fri May 25 13:25:12 2012 From: adenman at tmea.org (Andrew Denman) Date: Fri May 25 12:46:47 2012 Subject: [FX.php List] Catch FileMaker Server before it dies? In-Reply-To: References: <68E6B1F4-B4BC-47AC-A6C9-53AFF9F934F0@patin.com> Message-ID: No, it's a snippet I stole from the page I could open the quickest. In this particular case the code above the provided snippet sets up a find request. I included only the last line so you could see where the $Data variable came from. $Setup is the FX.php object. I use this check, or a variation depending on page flow, after each database request to check for errors. It can be any type of request (new, edit, find, findall). Andrew Denman From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Denis Somar Sent: Friday, May 25, 2012 1:28 PM To: FX.php Discussion List Subject: Re: [FX.php List] Catch FileMaker Server before it dies? Is that script effectively running a FindAll step? On Fri, May 25, 2012 at 2:12 PM, Andrew Denman > wrote: Here's my error checking block that handles FileMaker errors and FX.php errors (when FileMaker server isn't responding or something goes wrong with the XML), based off instructions Chris provided in the past. // Find them! $Data = $Setup->FMFind(); // See if there's an error if(FX::isError($Data) || $Data['errorCode'] != 0 ){ // Display for FX.php error if(FX::isError($Data)){ $error = "The server may be down.
"; $error .= $Data->getMessage(); // Display for FileMaker error }else{ require_once('\FX\FMErrors.php'); //$errorsList is error array name $error = $errorsList[$Data['errorCode']]; } }else{ // Everything OK, process data } // END FM error Andrew Denman -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin Sent: Thursday, May 24, 2012 4:12 PM To: FX.php Discussion List Subject: Re: [FX.php List] Catch FileMaker Server before it dies? I have a little script I use that will send me an error message if a web server's WPE isn't responding; what I do is to use a test database that has a few records; if the WPE doesn't respond in a reasonable amount of seconds, I get an SMS and an email warning me that there was an issue. I use a robot machine (that does other robot duties too) to run this script every 3 minutes. You could write some sort of script to do a simple find; if it doesn't return an error-free response, you could direct users to an error page. However, if the WPE geeks completely, you're not going to get a FileMaker error back, and perhaps Chris could tell you what sort of IF statement to write to catch that situation. Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker On May 24, 2012, at 2:26 PM, Denis Somar wrote: > Hi all, > > I'm about to go into beta testing with my first production-worthy FMP web project. I'm not sure of the load to expect (nothing huge initially) in terms of users, but I'm wondering if I can catch catch automatically when the site is under a heavy load so I know that it happens. Are there any PHP calls that can be used to die gracefully (or not) and just say the database server isn't working/isn't responding. > _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120525/8b814e7d/attachment-0001.html From bob at patin.com Sat May 26 10:51:33 2012 From: bob at patin.com (Bob Patin) Date: Sat May 26 10:14:06 2012 Subject: [FX.php List] Catch FileMaker Server before it dies? In-Reply-To: <4FBFC013.3040901@mac.com> References: <68E6B1F4-B4BC-47AC-A6C9-53AFF9F934F0@patin.com> <4FBFC013.3040901@mac.com> Message-ID: <36987AC0-9468-4118-94C8-8116B2E8D01F@patin.com> Here's the entire page (with all but one server removed for brevity) for each FM server that I use; as you'll see, I do a simple FINDALL to see if it responds, and if it doesn't, it'll send me an email; if it succeeds, it updates the page, on which I have each server displayed, and the last time the test occurred. A simple META REFRESH reloads the page every 5 minutes, which runs the test. Sending SMS is rather easy; it's just an email SEND, but to an AT&T email address (phone#@txt.att.net). Here is a list of all the various email addresses for US carriers: AT&T: number@txt.att.net Qwest: number@qwestmp.com T-Mobile: number@tmomail.net Verizon: number@vtext.com Sprint: number@messaging.sprintpcs.com or number@pm.sprint.com Virgin Mobile: number@vmobl.com Nextel: number@messaging.nextel.com Alltel: number@message.alltel.com Metro PCS: number@mymetropcs.com Powertel: number@ptel.com Boost Mobile: number@myboostmobile.com Suncom: number@tms.suncom.com Tracfone: number@mmst5.tracfone.com U.S. Cellular: number@email.uscc.net There's a mail_function page that is included in this as well; if anyone wants it, email me back-channel and I'll be glad to send it to you. I got it from someone years ago and have used it for all my mail-sending in PHP. WPE Uptest
WEB PUBLISHING ENGINE
LAST TEST:
NEXT TEST:
SetDBData('wpe_test.fp7','data' ); $q->SetDBPassword($testpw,$testun); $qResult = $q->FMFindAll(); $later = strtotime(date("h:i:s")); if ($later - $now > 3){ $color = "#FFADA7"; $message = $machine." IS NOT FUNCTIONAL."; // send email $body = $machine.": ".$message."\n"; $body .= "Tested: ".date("m/d/Y h:i:s A"); $to="bob@patin.com"; $from="info@*********"; $subject='Server '.$machine.' Reply Test at '.date("m/d/Y h:i:s A"); $replyto=$from; sock_mail(1, $to, $subject , $body, $replyto , $from); // send sms $body = $machine.": ".$message." -- ".date("m/d/Y h:i:s A"); $to="615*******@txt.att.net"; $from="info@***********"; $subject='Server '.$machine.' Reply Test at '.date("m/d/Y h:i:s A"); $replyto=$from; sock_mail(1, $to, $subject , $body, $replyto , $from); }else{ $color = "#ABFCAE"; $message = "OK"; $body = $machine.": ".$message." -- ".date("m/d/Y h:i:s A"); } echo '
'.nl2br($body).'
'; // other servers would go here... ?> On May 25, 2012, at 12:23 PM, Anders Monsen wrote: > Bob, > > What PHP function do you use for the SMS? When I set up something similar recently the PHP send mail script failed to send any mail using working SMTP settings. > > I ended up creating a web page that logged successes and failures in a db and running a server side script that would send the email, which has the downside of a delay. > > However, I also run a cron which checks the WPE process and starts this up via the command line, so if everything works no intervention is required by the DBA. > > Anders > > > On 5/24/12 4:12 PM, Bob Patin wrote: >> I have a little script I use that will send me an error message if a web server's WPE isn't responding; what I do is to use a test database that has a few records; if the WPE doesn't respond in a reasonable amount of seconds, I get an SMS and an email warning me that there was an issue. I use a robot machine (that does other robot duties too) to run this script every 3 minutes. >> >> You could write some sort of script to do a simple find; if it doesn't return an error-free response, you could direct users to an error page. However, if the WPE geeks completely, you're not going to get a FileMaker error back, and perhaps Chris could tell you what sort of IF statement to write to catch that situation. >> >> Bob Patin >> Longterm Solutions LLC >> bob@longtermsolutions.com >> 615-333-6858 >> http://www.longtermsolutions.com >> FileMaker 9, 10& 11 Certified Developer >> Member of FileMaker Business Alliance and FileMaker TechNet >> -- >> Twitter: bobpatin >> Google+: http://www.longtermsolutions.com/plus >> AIM: longterm1954 >> iChat: bobpatin >> -- >> Expert FileMaker Consulting >> FileMaker Hosting for all versions of FileMaker >> >> >> On May 24, 2012, at 2:26 PM, Denis Somar wrote: >> >>> Hi all, >>> >>> I'm about to go into beta testing with my first production-worthy FMP web project. I'm not sure of the load to expect (nothing huge initially) in terms of users, but I'm wondering if I can catch catch automatically when the site is under a heavy load so I know that it happens. Are there any PHP calls that can be used to die gracefully (or not) and just say the database server isn't working/isn't responding. >>> >> _______________________________________________ >> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120526/c88dea6b/attachment.html From beverlyvoth at gmail.com Sat May 26 11:00:51 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Sat May 26 10:22:33 2012 Subject: [FX.php List] Catch FileMaker Server before it dies? In-Reply-To: <36987AC0-9468-4118-94C8-8116B2E8D01F@patin.com> References: <68E6B1F4-B4BC-47AC-A6C9-53AFF9F934F0@patin.com> <4FBFC013.3040901@mac.com> <36987AC0-9468-4118-94C8-8116B2E8D01F@patin.com> Message-ID: just a small question, Bob! Why "FMFindAll()" instead of "FMFindAny()"? would that work and be sufficient? Beverly On 26 May 2012, at 12:51 PM, Bob Patin wrote: > Here's the entire page (with all but one server removed for brevity) for each FM server that I use; as you'll see, I do a simple FINDALL to see if it responds, and if it doesn't, it'll send me an email; if it succeeds, it updates the page, on which I have each server displayed, and the last time the test occurred. > > A simple META REFRESH reloads the page every 5 minutes, which runs the test. > > Sending SMS is rather easy; it's just an email SEND, but to an AT&T email address (phone#@txt.att.net). Here is a list of all the various email addresses for US carriers: > > ? AT&T: number@txt.att.net > ? Qwest: number@qwestmp.com > ? T-Mobile: number@tmomail.net > ? Verizon: number@vtext.com > ? Sprint: number@messaging.sprintpcs.com or number@pm.sprint.com > ? Virgin Mobile: number@vmobl.com > ? Nextel: number@messaging.nextel.com > ? Alltel: number@message.alltel.com > ? Metro PCS: number@mymetropcs.com > ? Powertel: number@ptel.com > ? Boost Mobile: number@myboostmobile.com > ? Suncom: number@tms.suncom.com > ? Tracfone: number@mmst5.tracfone.com > ? U.S. Cellular: number@email.uscc.net > There's a mail_function page that is included in this as well; if anyone wants it, email me back-channel and I'll be glad to send it to you. I got it from someone years ago and have used it for all my mail-sending in PHP. > > > > > > > > WPE Uptest > > >
> WEB PUBLISHING ENGINE
> LAST TEST:
> NEXT TEST:
> > error_reporting(0); > > include_once('FX/FX.php'); > include_once('FX/server_data.php'); > include_once('mail_function.php'); > > // fms2 ------------------------------------------------------------------ > $machine = "fms2"; > $serverIP = "xs2.longtermsolutions.com"; > > $now = strtotime(date("h:i:s")); > > // load data > $q =new FX($serverIP,$webCompanionPort, $dataType, $scheme); > $q->SetDBData('wpe_test.fp7','data' ); > $q->SetDBPassword($testpw,$testun); > $qResult = $q->FMFindAll(); > > $later = strtotime(date("h:i:s")); > > if ($later - $now > 3){ > $color = "#FFADA7"; > $message = $machine." IS NOT FUNCTIONAL."; > > // send email > $body = $machine.": ".$message."\n"; > $body .= "Tested: ".date("m/d/Y h:i:s A"); > $to="bob@patin.com"; > $from="info@*********"; > $subject='Server '.$machine.' Reply Test at '.date("m/d/Y h:i:s A"); > $replyto=$from; > sock_mail(1, $to, $subject , $body, $replyto , $from); > // send sms > $body = $machine.": ".$message." -- ".date("m/d/Y h:i:s A"); > $to="615*******@txt.att.net"; > $from="info@***********"; > $subject='Server '.$machine.' Reply Test at '.date("m/d/Y h:i:s A"); > $replyto=$from; > sock_mail(1, $to, $subject , $body, $replyto , $from); > }else{ > $color = "#ABFCAE"; > $message = "OK"; > $body = $machine.": ".$message." -- ".date("m/d/Y h:i:s A"); > } > > echo '
'.nl2br($body).'
'; > > // other servers would go here... > > ?> > > > > > On May 25, 2012, at 12:23 PM, Anders Monsen wrote: > >> Bob, >> >> What PHP function do you use for the SMS? When I set up something similar recently the PHP send mail script failed to send any mail using working SMTP settings. >> >> I ended up creating a web page that logged successes and failures in a db and running a server side script that would send the email, which has the downside of a delay. >> >> However, I also run a cron which checks the WPE process and starts this up via the command line, so if everything works no intervention is required by the DBA. >> >> Anders From sthoms at wavecomm.com Sat May 26 12:39:46 2012 From: sthoms at wavecomm.com (Steven Thoms) Date: Sat May 26 12:01:23 2012 Subject: [FX.php List] Catch FileMaker Server before it dies? In-Reply-To: References: <68E6B1F4-B4BC-47AC-A6C9-53AFF9F934F0@patin.com> <4FBFC013.3040901@mac.com> <36987AC0-9468-4118-94C8-8116B2E8D01F@patin.com> Message-ID: <82EB4AFE-A0C6-45F0-A4BA-68B1FE34DB69@wavecomm.com> I think -dbnames is even faster than a -findany Steve 207 798-0171 On May 26, 2012, at 1:00 PM, BEVERLY VOTH wrote: > just a small question, Bob! Why "FMFindAll()" instead of > "FMFindAny()"? would that work and be sufficient? > > Beverly > > On 26 May 2012, at 12:51 PM, Bob Patin wrote: > >> Here's the entire page (with all but one server removed for >> brevity) for each FM server that I use; as you'll see, I do a >> simple FINDALL to see if it responds, and if it doesn't, it'll send >> me an email; if it succeeds, it updates the page, on which I have >> each server displayed, and the last time the test occurred. >> >> A simple META REFRESH reloads the page every 5 minutes, which runs >> the test. >> >> Sending SMS is rather easy; it's just an email SEND, but to an AT&T >> email address (phone#@txt.att.net). Here is a list of all the >> various email addresses for US carriers: >> >> ? AT&T: number@txt.att.net >> ? Qwest: number@qwestmp.com >> ? T-Mobile: number@tmomail.net >> ? Verizon: number@vtext.com >> ? Sprint: number@messaging.sprintpcs.com or number@pm.sprint.com >> ? Virgin Mobile: number@vmobl.com >> ? Nextel: number@messaging.nextel.com >> ? Alltel: number@message.alltel.com >> ? Metro PCS: number@mymetropcs.com >> ? Powertel: number@ptel.com >> ? Boost Mobile: number@myboostmobile.com >> ? Suncom: number@tms.suncom.com >> ? Tracfone: number@mmst5.tracfone.com >> ? U.S. Cellular: number@email.uscc.net >> There's a mail_function page that is included in this as well; if >> anyone wants it, email me back-channel and I'll be glad to send it >> to you. I got it from someone years ago and have used it for all my >> mail-sending in PHP. >> >> >> >> >> >> >> >> WPE Uptest >> >> >>
>> WEB PUBLISHING ENGINE
>> LAST TEST:
>> NEXT TEST:
>> >> > error_reporting(0); >> >> include_once('FX/FX.php'); >> include_once('FX/server_data.php'); >> include_once('mail_function.php'); >> >> // fms2 >> ------------------------------------------------------------------ >> $machine = "fms2"; >> $serverIP = "xs2.longtermsolutions.com"; >> >> $now = strtotime(date("h:i:s")); >> >> // load data >> $q =new FX($serverIP,$webCompanionPort, $dataType, $scheme); >> $q->SetDBData('wpe_test.fp7','data' ); >> $q->SetDBPassword($testpw,$testun); >> $qResult = $q->FMFindAll(); >> >> $later = strtotime(date("h:i:s")); >> >> if ($later - $now > 3){ >> $color = "#FFADA7"; >> $message = $machine." IS NOT FUNCTIONAL."; >> >> // send email >> $body = $machine.": ".$message."\n"; >> $body .= "Tested: ".date("m/d/Y h:i:s A"); >> $to="bob@patin.com"; >> $from="info@*********"; >> $subject='Server '.$machine.' Reply Test at '.date("m/d/Y h:i:s >> A"); >> $replyto=$from; >> sock_mail(1, $to, $subject , $body, $replyto , $from); >> // send sms >> $body = $machine.": ".$message." -- ".date("m/d/Y h:i:s A"); >> $to="615*******@txt.att.net"; >> $from="info@***********"; >> $subject='Server '.$machine.' Reply Test at '.date("m/d/Y h:i:s >> A"); >> $replyto=$from; >> sock_mail(1, $to, $subject , $body, $replyto , $from); >> }else{ >> $color = "#ABFCAE"; >> $message = "OK"; >> $body = $machine.": ".$message." -- ".date("m/d/Y h:i:s A"); >> } >> >> echo '
'.nl2br($body).'
'; >> >> // other servers would go here... >> >> ?> >> >> >> >> >> On May 25, 2012, at 12:23 PM, Anders Monsen wrote: >> >>> Bob, >>> >>> What PHP function do you use for the SMS? When I set up something >>> similar recently the PHP send mail script failed to send any mail >>> using working SMTP settings. >>> >>> I ended up creating a web page that logged successes and failures >>> in a db and running a server side script that would send the >>> email, which has the downside of a delay. >>> >>> However, I also run a cron which checks the WPE process and starts >>> this up via the command line, so if everything works no >>> intervention is required by the DBA. >>> >>> Anders > _______________________________________________ > 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 Sun May 27 13:33:15 2012 From: bob at patin.com (Bob Patin) Date: Sun May 27 12:55:40 2012 Subject: [FX.php List] Catch FileMaker Server before it dies? In-Reply-To: References: <68E6B1F4-B4BC-47AC-A6C9-53AFF9F934F0@patin.com> <4FBFC013.3040901@mac.com> <36987AC0-9468-4118-94C8-8116B2E8D01F@patin.com> Message-ID: <9F01AE35-E8FA-4779-AF19-12AC3470ABB0@patin.com> Well, since there's only one record, it shouldn't make any difference; I've never used FindAny() before, never even knew it existed... :) So what exactly does it do? Does it ramdomly find 1 record? BP Bob Patin Longterm Solutions LLC P.O. Box 3408 Brentwood, TN 37024 bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus -- FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On May 26, 2012, at 12:00 PM, BEVERLY VOTH wrote: > just a small question, Bob! Why "FMFindAll()" instead of "FMFindAny()"? would that work and be sufficient? > > Beverly > > On 26 May 2012, at 12:51 PM, Bob Patin wrote: > >> Here's the entire page (with all but one server removed for brevity) for each FM server that I use; as you'll see, I do a simple FINDALL to see if it responds, and if it doesn't, it'll send me an email; if it succeeds, it updates the page, on which I have each server displayed, and the last time the test occurred. >> >> A simple META REFRESH reloads the page every 5 minutes, which runs the test. >> >> Sending SMS is rather easy; it's just an email SEND, but to an AT&T email address (phone#@txt.att.net). Here is a list of all the various email addresses for US carriers: >> >> ? AT&T: number@txt.att.net >> ? Qwest: number@qwestmp.com >> ? T-Mobile: number@tmomail.net >> ? Verizon: number@vtext.com >> ? Sprint: number@messaging.sprintpcs.com or number@pm.sprint.com >> ? Virgin Mobile: number@vmobl.com >> ? Nextel: number@messaging.nextel.com >> ? Alltel: number@message.alltel.com >> ? Metro PCS: number@mymetropcs.com >> ? Powertel: number@ptel.com >> ? Boost Mobile: number@myboostmobile.com >> ? Suncom: number@tms.suncom.com >> ? Tracfone: number@mmst5.tracfone.com >> ? U.S. Cellular: number@email.uscc.net >> There's a mail_function page that is included in this as well; if anyone wants it, email me back-channel and I'll be glad to send it to you. I got it from someone years ago and have used it for all my mail-sending in PHP. >> >> >> >> >> >> >> >> WPE Uptest >> >> >>
>> WEB PUBLISHING ENGINE
>> LAST TEST:
>> NEXT TEST:
>> >> > error_reporting(0); >> >> include_once('FX/FX.php'); >> include_once('FX/server_data.php'); >> include_once('mail_function.php'); >> >> // fms2 ------------------------------------------------------------------ >> $machine = "fms2"; >> $serverIP = "xs2.longtermsolutions.com"; >> >> $now = strtotime(date("h:i:s")); >> >> // load data >> $q =new FX($serverIP,$webCompanionPort, $dataType, $scheme); >> $q->SetDBData('wpe_test.fp7','data' ); >> $q->SetDBPassword($testpw,$testun); >> $qResult = $q->FMFindAll(); >> >> $later = strtotime(date("h:i:s")); >> >> if ($later - $now > 3){ >> $color = "#FFADA7"; >> $message = $machine." IS NOT FUNCTIONAL."; >> >> // send email >> $body = $machine.": ".$message."\n"; >> $body .= "Tested: ".date("m/d/Y h:i:s A"); >> $to="bob@patin.com"; >> $from="info@*********"; >> $subject='Server '.$machine.' Reply Test at '.date("m/d/Y h:i:s A"); >> $replyto=$from; >> sock_mail(1, $to, $subject , $body, $replyto , $from); >> // send sms >> $body = $machine.": ".$message." -- ".date("m/d/Y h:i:s A"); >> $to="615*******@txt.att.net"; >> $from="info@***********"; >> $subject='Server '.$machine.' Reply Test at '.date("m/d/Y h:i:s A"); >> $replyto=$from; >> sock_mail(1, $to, $subject , $body, $replyto , $from); >> }else{ >> $color = "#ABFCAE"; >> $message = "OK"; >> $body = $machine.": ".$message." -- ".date("m/d/Y h:i:s A"); >> } >> >> echo '
'.nl2br($body).'
'; >> >> // other servers would go here... >> >> ?> >> >> >> >> >> On May 25, 2012, at 12:23 PM, Anders Monsen wrote: >> >>> Bob, >>> >>> What PHP function do you use for the SMS? When I set up something similar recently the PHP send mail script failed to send any mail using working SMTP settings. >>> >>> I ended up creating a web page that logged successes and failures in a db and running a server side script that would send the email, which has the downside of a delay. >>> >>> However, I also run a cron which checks the WPE process and starts this up via the command line, so if everything works no intervention is required by the DBA. >>> >>> Anders > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From zippyaus at yahoo.com Mon May 28 02:47:13 2012 From: zippyaus at yahoo.com (Stephe Pocock) Date: Mon May 28 02:08:38 2012 Subject: [FX.php List] Related Data on a second server In-Reply-To: <9F01AE35-E8FA-4779-AF19-12AC3470ABB0@patin.com> References: <68E6B1F4-B4BC-47AC-A6C9-53AFF9F934F0@patin.com> <4FBFC013.3040901@mac.com> <36987AC0-9468-4118-94C8-8116B2E8D01F@patin.com> <9F01AE35-E8FA-4779-AF19-12AC3470ABB0@patin.com> Message-ID: <1338194833.24830.YahooMailNeo@web112001.mail.gq1.yahoo.com> Hi all For performance and dependability reasons we have two Filemaker servers. On server one I have a comments database and on server two I have a contacts database. Comments display the related contact in Filemaker without and issue. If I try and display the contact details in the results returned on the comments database, I don't get a result. Is this possible using FX.php? I am trying to get the full name to return from the contacts database. Full code below. Any help would be greatly appreciated. Regards Stephen setDBData('Precedents.fp7','comment_web','1000'); $comments->SetDBUserPass ($webUN, $webPW); $comments->AddDBParam('Comment::resource_id',$resourceId); $commentsResult=$comments->FMFind(); //foreach ($commentsResult['data'] as $key => $comment) ?> Precedents ???
??? ??? ???
    ??? ??? ??? ??? $comment) { ?> ??? ??? ??? ???
  • ??? ??? ??? ??? ???
    ??? ??? ??? ???
  • ??? ??? ??? ??? ??? ??? ???
???
-------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120528/56f2f703/attachment.html From jsfmp at earthlink.net Tue May 29 10:17:26 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Tue May 29 09:38:41 2012 Subject: [FX.php List] [OFF] FM12 API needs PHP 5.3.6 / 5.3.8 ? ? Message-ID: Hi all Is anybody here running FMS12 w/ the API? FM12 specs say that "Windows users need PHP 5.3.8 and Mac users need PHP 5.3.6" but I'm wondering if that's really true. Is anyone running the FM12 API w/ a lower version of PHP? http://www.filemaker.com/products/filemaker-server/server-12-specifications.html (FM11 specs say you just need "PHP 5.0 or higher"): http://help.filemaker.com/app/answers/detail/a_id/7638/ Any real-world experience? FWIW: I've asked this elsewhere but haven't gotten a response. TIA, -Joel ~~~~~~~~~~~~~~~~~~~~~ Joel Shapiro FileMaker Pro : database design : web development http://jsfmp.com 415-269-5055 ~~~~~~~~~~~~~~~~~~~~~ From steve at bluecrocodile.co.nz Tue May 29 10:24:00 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Tue May 29 09:45:22 2012 Subject: [FX.php List] [OFF] FM12 API needs PHP 5.3.6 / 5.3.8 ? ? In-Reply-To: References: Message-ID: <956FD052-CE27-4446-A160-F0A97873224D@bluecrocodile.co.nz> Hi Joel I've got an FM-based web app which is running on a Linux server, accessing a Windows based FMS, so the actual API code is on the Linux box - that's running PHP 5.2.17 no problem - not sure what version of PHP is on that Windows box as I have no access to it (at that level ;-) That's the only real FM12 stuff I've got up as yet - couple of others looking like they're going there shortly? Cheers Steve > Hi all > > Is anybody here running FMS12 w/ the API? > > FM12 specs say that "Windows users need PHP 5.3.8 and Mac users need PHP 5.3.6" but I'm wondering if that's really true. Is anyone running the FM12 API w/ a lower version of PHP? > http://www.filemaker.com/products/filemaker-server/server-12-specifications.html > > (FM11 specs say you just need "PHP 5.0 or higher"): > http://help.filemaker.com/app/answers/detail/a_id/7638/ > > Any real-world experience? > > FWIW: I've asked this elsewhere but haven't gotten a response. > > TIA, > -Joel > > ~~~~~~~~~~~~~~~~~~~~~ > Joel Shapiro > FileMaker Pro > : database design > : web development > http://jsfmp.com > 415-269-5055 > ~~~~~~~~~~~~~~~~~~~~~ > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz From jsfmp at earthlink.net Tue May 29 10:32:43 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Tue May 29 09:54:00 2012 Subject: [FX.php List] [OFF] FM12 API needs PHP 5.3.6 / 5.3.8 ? ? In-Reply-To: <956FD052-CE27-4446-A160-F0A97873224D@bluecrocodile.co.nz> References: <956FD052-CE27-4446-A160-F0A97873224D@bluecrocodile.co.nz> Message-ID: <35FB7659-E0E3-4EB1-9556-DBF5D9BACE0E@earthlink.net> Thanks Steve! (I can't imagine that the PHP version on that Windows machine makes a difference...) I've read that they updated the API to no longer have all the deprecated code (e.g. "Assigning the return value of new by reference"), but I'd be surprised if FMI added any brand-new PHP functions. Anybody else? Thanks, -Joel On May 29, 2012, at 9:24 AM, Steve Winter wrote: > Hi Joel > > I've got an FM-based web app which is running on a Linux server, accessing a Windows based FMS, so the actual API code is on the Linux box - that's running PHP 5.2.17 no problem - not sure what version of PHP is on that Windows box as I have no access to it (at that level ;-) > > That's the only real FM12 stuff I've got up as yet - couple of others looking like they're going there shortly? > > Cheers > Steve > >> Hi all >> >> Is anybody here running FMS12 w/ the API? >> >> FM12 specs say that "Windows users need PHP 5.3.8 and Mac users need PHP 5.3.6" but I'm wondering if that's really true. Is anyone running the FM12 API w/ a lower version of PHP? >> http://www.filemaker.com/products/filemaker-server/server-12-specifications.html >> >> (FM11 specs say you just need "PHP 5.0 or higher"): >> http://help.filemaker.com/app/answers/detail/a_id/7638/ >> >> Any real-world experience? >> >> FWIW: I've asked this elsewhere but haven't gotten a response. >> >> TIA, >> -Joel >> >> ~~~~~~~~~~~~~~~~~~~~~ >> Joel Shapiro >> FileMaker Pro >> : database design >> : web development >> http://jsfmp.com >> 415-269-5055 >> ~~~~~~~~~~~~~~~~~~~~~ >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > Steve Winter > +44 777 852 4776 > steve@bluecrocodile.co.nz > > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From csinfo at criticalsolution.com Wed May 30 22:03:34 2012 From: csinfo at criticalsolution.com (John Funk) Date: Wed May 30 21:24:49 2012 Subject: [FX.php List] Data source type Message-ID: It may be late or I may be a block head, but can someone reply to what the $dataServerType is for fmp12 databases? On my setup FMPro12 is not working..... Thanks John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120530/d5fb0019/attachment.html From msyk at msyk.net Wed May 30 22:08:04 2012 From: msyk at msyk.net (Masayuki Nii) Date: Wed May 30 21:29:21 2012 Subject: [FX.php List] Re-Data source type In-Reply-To: References: Message-ID: <244621161.0.1338437284232.JavaMail.msyk@msyk.net> Try "FMPro7". At Wed, 30 May 2012 23:03:34 -0500, John Funk wrote: > It may be late or I may be a block head, but can someone reply to what the > $dataServerType is for fmp12 databases? > On my setup FMPro12 is not working..... > Thanks > John > > ________________________________________________________________________ ????/Masayuki Nii Web Site Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii INTER-Mediator [for Web App] http://inter-mediator.info From csinfo at criticalsolution.com Wed May 30 22:15:17 2012 From: csinfo at criticalsolution.com (John Funk) Date: Wed May 30 21:36:31 2012 Subject: [FX.php List] Re-Data source type In-Reply-To: <244621161.0.1338437284232.JavaMail.msyk@msyk.net> Message-ID: Dos not work. On 5/30/12 11:08 PM, "Masayuki Nii" wrote: > Try "FMPro7". > > At Wed, 30 May 2012 23:03:34 -0500, John Funk wrote: >> It may be late or I may be a block head, but can someone reply to what the >> $dataServerType is for fmp12 databases? >> On my setup FMPro12 is not working..... >> Thanks >> John >> >> > > ________________________________________________________________________ > ????/Masayuki Nii Web Site > Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii > INTER-Mediator [for Web App] http://inter-mediator.info > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From chris at iViking.org Wed May 30 23:00:43 2012 From: chris at iViking.org (Chris Hansen) Date: Wed May 30 22:21:20 2012 Subject: [FX.php List] Re-Data source type In-Reply-To: References: Message-ID: <05E6AFD4-3CE3-44CE-A06A-F7549A8D2AA0@iViking.org> Could you be more specific? Does not work how? If you turn on debugging for FX.php what is output? Is there any sort of error returned? The XML has not changed, so there must be another issue. Best, --Chris Hansen On May 30, 2012, at 10:15 PM, John Funk wrote: > Dos not work. > > > On 5/30/12 11:08 PM, "Masayuki Nii" wrote: > >> Try "FMPro7". >> >> At Wed, 30 May 2012 23:03:34 -0500, John Funk wrote: >>> It may be late or I may be a block head, but can someone reply to what the >>> $dataServerType is for fmp12 databases? >>> On my setup FMPro12 is not working..... >>> Thanks >>> John >>> >>> >> >> ________________________________________________________________________ >> ????/Masayuki Nii Web Site >> Twitter: @msyknii (ja), @MasayukiNii (en) / Facebook: Masayuki Nii >> INTER-Mediator [for Web App] http://inter-mediator.info >> >> _______________________________________________ >> 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 Thu May 31 06:38:41 2012 From: bob at patin.com (Bob Patin) Date: Thu May 31 06:00:53 2012 Subject: [FX.php List] Data source type In-Reply-To: References: Message-ID: <9F0B44FB-FB42-4F9F-9DA8-77F98DA83209@patin.com> John, Don't change it; all you need to do is rename the database anywhere that you reference it, so that it has its fmp12 extension. Hopefully your database name is in your server data page and not in all your queries; if it *is* in all your queries, you'll have to change each one so that it reads "database.fmp12" instead of "database.fp7." Best, Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker On May 30, 2012, at 11:03 PM, John Funk wrote: > It may be late or I may be a block head, but can someone reply to what the $dataServerType is for fmp12 databases? > On my setup FMPro12 is not working..... > Thanks > John > _______________________________________________ > 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/20120531/67e4f7df/attachment.html From csinfo at criticalsolution.com Thu May 31 08:48:42 2012 From: csinfo at criticalsolution.com (John Funk) Date: Thu May 31 08:10:23 2012 Subject: [FX.php List] Data source type In-Reply-To: <9F0B44FB-FB42-4F9F-9DA8-77F98DA83209@patin.com> Message-ID: I am getting a cannot use fx error as array type error when in debug mode... I do keep all my server setting in a server.php file and the database name in the active script. I have made the changes needed .fp7 -> .fmp12 and the IP of the server. Since I do not even get a response from: http://fmserver12.company.com (the machine base url) and fmserver11 does, I think the problem is that iis is not configured correctly on the fm12 server, this is my customer?s machine so I have a call into their help desk to resolve this first. Thanks for input. John On 5/31/12 7:38 AM, "Bob Patin" wrote: > John, > > Don't change it; all you need to do is rename the database anywhere that you > reference it, so that it has its fmp12 extension. > > Hopefully your database name is in your server data page and not in all your > queries; if it *is* in all your queries, you'll have to change each one so > that it reads "database.fmp12" instead of "database.fp7." > > Best, > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > > On May 30, 2012, at 11:03 PM, John Funk wrote: > >> Data source type >> It may be late or I may be a block head, but can someone reply to what the >> $dataServerType is for fmp12 databases? >> On my setup FMPro12 is not working..... >> Thanks >> John >> _______________________________________________ >> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120531/5bed1ecd/attachment.html From dale.bengston at gmail.com Thu May 31 09:25:11 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Thu May 31 08:46:23 2012 Subject: [FX.php List] Data source type In-Reply-To: References: Message-ID: <291F1C4C-3EC0-47EF-8E45-5114B17E9E0B@gmail.com> John, When you get something that's not an array from FX, it typically means it's returning the error object rather than the data array. Use print_r() to dump the object to the screen and see what it's reporting back from FX. Hope that helped, Dale -- Dale Bengston Streamline Studio, LLC www.streamline-studio.com On May 31, 2012, at 9:48 AM, John Funk wrote: > I am getting a cannot use fx error as array type error when in debug mode... > > I do keep all my server setting in a server.php file and the database name in the active script. I have made the changes needed .fp7 -> .fmp12 and the IP of the server. > > Since I do not even get a response from: http://fmserver12.company.com (the machine base url) and fmserver11 does, I think the problem is that iis is not configured correctly on the fm12 server, this is my customer?s machine so I have a call into their help desk to resolve this first. > > Thanks for input. > John > > > On 5/31/12 7:38 AM, "Bob Patin" wrote: > >> John, >> >> Don't change it; all you need to do is rename the database anywhere that you reference it, so that it has its fmp12 extension. >> >> Hopefully your database name is in your server data page and not in all your queries; if it *is* in all your queries, you'll have to change each one so that it reads "database.fmp12" instead of "database.fp7." >> >> Best, >> >> Bob Patin >> Longterm Solutions LLC >> bob@longtermsolutions.com >> 615-333-6858 >> http://www.longtermsolutions.com >> FileMaker 9, 10 & 11 Certified Developer >> Member of FileMaker Business Alliance and FileMaker TechNet >> -- >> Twitter: bobpatin >> Google+: http://www.longtermsolutions.com/plus >> AIM: longterm1954 >> iChat: bobpatin >> -- >> Expert FileMaker Consulting >> FileMaker Hosting for all versions of FileMaker >> >> >> On May 30, 2012, at 11:03 PM, John Funk wrote: >> >>> Data source type >>> It may be late or I may be a block head, but can someone reply to what the $dataServerType is for fmp12 databases? >>> On my setup FMPro12 is not working..... >>> Thanks >>> John >>> _______________________________________________ >>> 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 > _______________________________________________ > 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/20120531/0e25ad63/attachment-0001.html From jschwartz at exit445.com Thu May 31 10:15:08 2012 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Thu May 31 09:41:07 2012 Subject: [FX.php List] [OFF] FM12 API needs PHP 5.3.6 / 5.3.8 ? ? In-Reply-To: <35FB7659-E0E3-4EB1-9556-DBF5D9BACE0E@earthlink.net> References: <956FD052-CE27-4446-A160-F0A97873224D@bluecrocodile.co.nz> <35FB7659-E0E3-4EB1-9556-DBF5D9BACE0E@earthlink.net> Message-ID: Hi Joel, I don't have an answer to you specific question, but I am in the middle of a rather troublesome migration from FMP11 under Windows Server 2008 at one cloud service to FMP12 at another cloud service. I have yet to put my finger on the problem, but the symptom is Error22 errors. Another symptom in my case is the behavior of the new servers to halt at every error, including Notices (!) and API Deprcation errors, which I will suggest still exist. The web site didn't behave this way before and I am going back and forth trying to figure out what change is causing the problem. My latest troubleshooting experiment suggests that there *IS* a difference in the API files. I swapped out my FMP11 version of the API files (Filemaker.php plus the FileMaker folder) and it solved the Error 22. Not sure if this addresses the issues that you are having. Jonathan At 9:32 AM -0700 5/29/12, Joel Shapiro wrote: >Thanks Steve! > >(I can't imagine that the PHP version on that >Windows machine makes a difference...) > >I've read that they updated the API to no longer >have all the deprecated code (e.g. "Assigning >the return value of new by reference"), but I'd >be surprised if FMI added any brand-new PHP >functions. > >Anybody else? > >Thanks, >-Joel > > >On May 29, 2012, at 9:24 AM, Steve Winter wrote: > >> Hi Joel >> >> I've got an FM-based web app which is running >>on a Linux server, accessing a Windows based >>FMS, so the actual API code is on the Linux box >>- that's running PHP 5.2.17 no problem - not >>sure what version of PHP is on that Windows box >>as I have no access to it (at that level ;-) >> >> That's the only real FM12 stuff I've got up as >>yet - couple of others looking like they're >>going there shortly? >> >> Cheers >> Steve >> >>> Hi all >>> >>> Is anybody here running FMS12 w/ the API? >>> >>> FM12 specs say that "Windows users need PHP >>>5.3.8 and Mac users need PHP 5.3.6" but I'm >>>wondering if that's really true. Is anyone >>>running the FM12 API w/ a lower version of PHP? >>> >>>http://www.filemaker.com/products/filemaker-server/server-12-specifications.html >>> >>> (FM11 specs say you just need "PHP 5.0 or higher"): >>> http://help.filemaker.com/app/answers/detail/a_id/7638/ >>> >>> Any real-world experience? >>> >>> FWIW: I've asked this elsewhere but haven't gotten a response. >>> >>> TIA, >>> -Joel >>> >>> ~~~~~~~~~~~~~~~~~~~~~ >>> Joel Shapiro >>> FileMaker Pro >>> : database design >>> : web development >>> http://jsfmp.com >>> 415-269-5055 >>> ~~~~~~~~~~~~~~~~~~~~~ >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> Steve Winter >> +44 777 852 4776 >> steve@bluecrocodile.co.nz >> >> >> >> >> _______________________________________________ >> 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 -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From jsfmp at earthlink.net Thu May 31 14:25:36 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Thu May 31 13:46:46 2012 Subject: [FX.php List] [ANN] CWP User Group - Monday at DevCon Message-ID: CWP USER GROUP AT FILEMAKER DEVCON 2012 For the sixth straight year, people doing Custom Web Publishing are getting together at the beginning of the FileMaker Developer Conference to share projects, tips and ideas. This year's DevCon has only one (only one!) regular session that addresses CWP, so come get your CWP groove on at this year's CWP User Group meeting. DATE: Monday, July 16 TIME: 4:00 - 6:00 p.m. (before the 6:30 keynote) ROOM: Splash 1-4 This will be a friendly, informal chance to share some of what we have been doing with FileMaker and CWP. All web-related tools and technologies are relevant. This year we may see some FM12 media streaming, RESTful development, CSS preprocessing, "google-style" searches, LDAP/TS integration, an FM-based web-development framework, and more! Please let me know if you have something you'd like to share or ideas to discuss. Everyone's welcome. Come join us! http://jsfmp.com/cwp-user-group -Joel ~~~~~~~~~~~~~~~~~~~~~ Joel Shapiro FileMaker Pro : database design : web development http://jsfmp.com 415-269-5055 ~~~~~~~~~~~~~~~~~~~~~ http://twitter.com/jsfmp From andersm at mac.com Thu May 31 15:21:11 2012 From: andersm at mac.com (Anders Monsen) Date: Thu May 31 14:42:35 2012 Subject: [FX.php List] [OFF] FM12 API needs PHP 5.3.6 / 5.3.8 ? ? In-Reply-To: <35FB7659-E0E3-4EB1-9556-DBF5D9BACE0E@earthlink.net> References: <956FD052-CE27-4446-A160-F0A97873224D@bluecrocodile.co.nz> <35FB7659-E0E3-4EB1-9556-DBF5D9BACE0E@earthlink.net> Message-ID: <4FC7E0C7.5040402@mac.com> There is at least one new function dealing with the new container behavior. Anders On 5/29/12 11:32 AM, Joel Shapiro wrote: > Thanks Steve! > > (I can't imagine that the PHP version on that Windows machine makes a difference...) > > I've read that they updated the API to no longer have all the deprecated code (e.g. "Assigning the return value of new by reference"), but I'd be surprised if FMI added any brand-new PHP functions. > > Anybody else? > > Thanks, > -Joel > > > On May 29, 2012, at 9:24 AM, Steve Winter wrote: > >> Hi Joel >> >> I've got an FM-based web app which is running on a Linux server, accessing a Windows based FMS, so the actual API code is on the Linux box - that's running PHP 5.2.17 no problem - not sure what version of PHP is on that Windows box as I have no access to it (at that level ;-) >> >> That's the only real FM12 stuff I've got up as yet - couple of others looking like they're going there shortly? >> >> Cheers >> Steve >> >>> Hi all >>> >>> Is anybody here running FMS12 w/ the API? >>> >>> FM12 specs say that "Windows users need PHP 5.3.8 and Mac users need PHP 5.3.6" but I'm wondering if that's really true. Is anyone running the FM12 API w/ a lower version of PHP? >>> http://www.filemaker.com/products/filemaker-server/server-12-specifications.html >>> >>> (FM11 specs say you just need "PHP 5.0 or higher"): >>> http://help.filemaker.com/app/answers/detail/a_id/7638/ >>> >>> Any real-world experience? >>> >>> FWIW: I've asked this elsewhere but haven't gotten a response. >>> >>> TIA, >>> -Joel >>> >>> ~~~~~~~~~~~~~~~~~~~~~ >>> Joel Shapiro >>> FileMaker Pro >>> : database design >>> : web development >>> http://jsfmp.com >>> 415-269-5055 >>> ~~~~~~~~~~~~~~~~~~~~~ >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> Steve Winter >> +44 777 852 4776 >> steve@bluecrocodile.co.nz >> >> >> >> >> _______________________________________________ >> 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 jsfmp at earthlink.net Thu May 31 15:40:23 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Thu May 31 15:01:31 2012 Subject: [FX.php List] [OFF] FM12 API needs PHP 5.3.6 / 5.3.8 ? ? In-Reply-To: <4FC7E0C7.5040402@mac.com> References: <956FD052-CE27-4446-A160-F0A97873224D@bluecrocodile.co.nz> <35FB7659-E0E3-4EB1-9556-DBF5D9BACE0E@earthlink.net> <4FC7E0C7.5040402@mac.com> Message-ID: Hi Anders Any chance you've had a chance to look at that new function (getContainerDataURL) to see if it uses anything that was only added or fixed in 5.3.6? I haven't installed FMS12 yet so can't look at the PHP files. (Anybody care to share a zip of the FM12 "standalone" for me to look through? ;) Thanks, -Joel On May 31, 2012, at 2:21 PM, Anders Monsen wrote: > There is at least one new function dealing with the new container behavior. > > Anders > > On 5/29/12 11:32 AM, Joel Shapiro wrote: >> Thanks Steve! >> >> (I can't imagine that the PHP version on that Windows machine makes a difference...) >> >> I've read that they updated the API to no longer have all the deprecated code (e.g. "Assigning the return value of new by reference"), but I'd be surprised if FMI added any brand-new PHP functions. >> >> Anybody else? >> >> Thanks, >> -Joel >> >> >> On May 29, 2012, at 9:24 AM, Steve Winter wrote: >> >>> Hi Joel >>> >>> I've got an FM-based web app which is running on a Linux server, accessing a Windows based FMS, so the actual API code is on the Linux box - that's running PHP 5.2.17 no problem - not sure what version of PHP is on that Windows box as I have no access to it (at that level ;-) >>> >>> That's the only real FM12 stuff I've got up as yet - couple of others looking like they're going there shortly? >>> >>> Cheers >>> Steve >>> >>>> Hi all >>>> >>>> Is anybody here running FMS12 w/ the API? >>>> >>>> FM12 specs say that "Windows users need PHP 5.3.8 and Mac users need PHP 5.3.6" but I'm wondering if that's really true. Is anyone running the FM12 API w/ a lower version of PHP? >>>> http://www.filemaker.com/products/filemaker-server/server-12-specifications.html >>>> >>>> (FM11 specs say you just need "PHP 5.0 or higher"): >>>> http://help.filemaker.com/app/answers/detail/a_id/7638/ >>>> >>>> Any real-world experience? >>>> >>>> FWIW: I've asked this elsewhere but haven't gotten a response. >>>> >>>> TIA, >>>> -Joel >>>> >>>> ~~~~~~~~~~~~~~~~~~~~~ >>>> Joel Shapiro >>>> FileMaker Pro >>>> : database design >>>> : web development >>>> http://jsfmp.com >>>> 415-269-5055 >>>> ~~~~~~~~~~~~~~~~~~~~~ >>>> >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> Steve Winter >>> +44 777 852 4776 >>> steve@bluecrocodile.co.nz >>> >>> >>> >>> >>> _______________________________________________ >>> 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 >> >> > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From jsfmp at earthlink.net Thu May 31 15:46:05 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Thu May 31 15:07:15 2012 Subject: [FX.php List] [OFF] FM12 API needs PHP 5.3.6 / 5.3.8 ? ? In-Reply-To: References: <956FD052-CE27-4446-A160-F0A97873224D@bluecrocodile.co.nz> <35FB7659-E0E3-4EB1-9556-DBF5D9BACE0E@earthlink.net> Message-ID: <2E7E57C0-1B15-4DA0-A5FD-EADD8088D319@earthlink.net> Hey Jonathan I think I read somewhere of someone using a pre-12 API with FMS12 and having problems until they switched to the correct API, so I'd be careful there. FWIW: I'm not yet having any "issues". I've got a new client that will probably use an external webhost and I know that it's rare for general webhosts to be very current in their PHP versions. So if FM12 REALLY needs 5.3.6 and above -- and FM11 only needs 5.0 -- then we might be better off building in FM11. Or so go my thoughts at the moment... -Joel On May 31, 2012, at 9:15 AM, Jonathan Schwartz wrote: > Hi Joel, > > I don't have an answer to you specific question, > but I am in the middle of a rather troublesome > migration from FMP11 under Windows Server 2008 at > one cloud service to FMP12 at another cloud > service. > > I have yet to put my finger on the problem, but the symptom is Error22 errors. > > Another symptom in my case is the behavior of the > new servers to halt at every error, including > Notices (!) and API Deprcation errors, which I > will suggest still exist. The web site didn't > behave this way before and I am going back and > forth trying to figure out what change is causing > the problem. > > My latest troubleshooting experiment suggests > that there *IS* a difference in the API files. I > swapped out my FMP11 version of the API files > (Filemaker.php plus the FileMaker folder) and it > solved the Error 22. > > Not sure if this addresses the issues that you are having. > > Jonathan > > > > At 9:32 AM -0700 5/29/12, Joel Shapiro wrote: >> Thanks Steve! >> >> (I can't imagine that the PHP version on that >> Windows machine makes a difference...) >> >> I've read that they updated the API to no longer >> have all the deprecated code (e.g. "Assigning >> the return value of new by reference"), but I'd >> be surprised if FMI added any brand-new PHP >> functions. >> >> Anybody else? >> >> Thanks, >> -Joel >> >> >> On May 29, 2012, at 9:24 AM, Steve Winter wrote: >> >>> Hi Joel >>> >>> I've got an FM-based web app which is running >>> on a Linux server, accessing a Windows based >>> FMS, so the actual API code is on the Linux box >>> - that's running PHP 5.2.17 no problem - not >>> sure what version of PHP is on that Windows box >>> as I have no access to it (at that level ;-) >>> >>> That's the only real FM12 stuff I've got up as >>> yet - couple of others looking like they're >>> going there shortly? >>> >>> Cheers >>> Steve >>> >>>> Hi all >>>> >>>> Is anybody here running FMS12 w/ the API? >>>> >>>> FM12 specs say that "Windows users need PHP >>>> 5.3.8 and Mac users need PHP 5.3.6" but I'm >>>> wondering if that's really true. Is anyone >>>> running the FM12 API w/ a lower version of PHP? >>>> >>>> http://www.filemaker.com/products/filemaker-server/server-12-specifications.html >>>> >>>> (FM11 specs say you just need "PHP 5.0 or higher"): >>>> http://help.filemaker.com/app/answers/detail/a_id/7638/ >>>> >>>> Any real-world experience? >>>> >>>> FWIW: I've asked this elsewhere but haven't gotten a response. >>>> >>>> TIA, >>>> -Joel >>>> >>>> ~~~~~~~~~~~~~~~~~~~~~ >>>> Joel Shapiro >>>> FileMaker Pro >>>> : database design >>>> : web development >>>> http://jsfmp.com >>>> 415-269-5055 >>>> ~~~~~~~~~~~~~~~~~~~~~ >>>> >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >>> Steve Winter >>> +44 777 852 4776 >>> steve@bluecrocodile.co.nz >>> >>> >>> >>> >>> _______________________________________________ >>> 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 > > > -- > Jonathan Schwartz > Exit 445 Group > jonathan@exit445.com > http://www.exit445.com > 415-370-5011 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From andersm at mac.com Thu May 31 15:48:28 2012 From: andersm at mac.com (Anders Monsen) Date: Thu May 31 15:09:39 2012 Subject: [FX.php List] [OFF] FM12 API needs PHP 5.3.6 / 5.3.8 ? ? In-Reply-To: References: <956FD052-CE27-4446-A160-F0A97873224D@bluecrocodile.co.nz> <35FB7659-E0E3-4EB1-9556-DBF5D9BACE0E@earthlink.net> <4FC7E0C7.5040402@mac.com> Message-ID: <4FC7E72C.3030506@mac.com> Joel, I have not compared the two files. I installed FMS12 on a dev machine after removing all pieces of FMS11, though I may still have the old API files in an include folder and can try to compare, or I'll see if I can get you the zip file. Anders On 5/31/12 4:40 PM, Joel Shapiro wrote: > Hi Anders > > Any chance you've had a chance to look at that new function (getContainerDataURL) to see if it uses anything that was only added or fixed in 5.3.6? > > I haven't installed FMS12 yet so can't look at the PHP files. (Anybody care to share a zip of the FM12 "standalone" for me to look through? ;) > > Thanks, > -Joel > > > On May 31, 2012, at 2:21 PM, Anders Monsen wrote: > >> There is at least one new function dealing with the new container behavior. >> >> Anders >> >> On 5/29/12 11:32 AM, Joel Shapiro wrote: >>> Thanks Steve! >>> >>> (I can't imagine that the PHP version on that Windows machine makes a difference...) >>> >>> I've read that they updated the API to no longer have all the deprecated code (e.g. "Assigning the return value of new by reference"), but I'd be surprised if FMI added any brand-new PHP functions. >>> >>> Anybody else? >>> >>> Thanks, >>> -Joel >>> >>> >>> On May 29, 2012, at 9:24 AM, Steve Winter wrote: >>> >>>> Hi Joel >>>> >>>> I've got an FM-based web app which is running on a Linux server, accessing a Windows based FMS, so the actual API code is on the Linux box - that's running PHP 5.2.17 no problem - not sure what version of PHP is on that Windows box as I have no access to it (at that level ;-) >>>> >>>> That's the only real FM12 stuff I've got up as yet - couple of others looking like they're going there shortly? >>>> >>>> Cheers >>>> Steve >>>> >>>>> Hi all >>>>> >>>>> Is anybody here running FMS12 w/ the API? >>>>> >>>>> FM12 specs say that "Windows users need PHP 5.3.8 and Mac users need PHP 5.3.6" but I'm wondering if that's really true. Is anyone running the FM12 API w/ a lower version of PHP? >>>>> http://www.filemaker.com/products/filemaker-server/server-12-specifications.html >>>>> >>>>> (FM11 specs say you just need "PHP 5.0 or higher"): >>>>> http://help.filemaker.com/app/answers/detail/a_id/7638/ >>>>> >>>>> Any real-world experience? >>>>> >>>>> FWIW: I've asked this elsewhere but haven't gotten a response. >>>>> >>>>> TIA, >>>>> -Joel >>>>> >>>>> ~~~~~~~~~~~~~~~~~~~~~ >>>>> Joel Shapiro >>>>> FileMaker Pro >>>>> : database design >>>>> : web development >>>>> http://jsfmp.com >>>>> 415-269-5055 >>>>> ~~~~~~~~~~~~~~~~~~~~~ >>>>> >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> Steve Winter >>>> +44 777 852 4776 >>>> steve@bluecrocodile.co.nz >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> 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 >>> >>> >> _______________________________________________ >> 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 jsfmp at earthlink.net Thu May 31 16:13:24 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Thu May 31 15:34:33 2012 Subject: [FX.php List] [OFF] FM12 API needs PHP 5.3.6 / 5.3.8 ? ? In-Reply-To: <4FC7E72C.3030506@mac.com> References: <956FD052-CE27-4446-A160-F0A97873224D@bluecrocodile.co.nz> <35FB7659-E0E3-4EB1-9556-DBF5D9BACE0E@earthlink.net> <4FC7E0C7.5040402@mac.com> <4FC7E72C.3030506@mac.com> Message-ID: Thanks Anders! Yep, that zip's from FM12 -- it's got getContainerDataURL(). getContainerDataURL() uses - strncasecmp & substr: both available since PHP 4) - htmlspecialchars_decode: available since PHP 5.1.0(!) -- which is later than the specs for FM11, which was "PHP 5.0 or higher" Oddly, though, the FM11 API also uses htmlspecialchars_decode (for the original getContainerData), which presumably wouldn't have run correctly under 5.0. I've gotta run. Will report back if I find anything else of interest. -Joel On May 31, 2012, at 2:48 PM, Anders Monsen wrote: > Joel, > > I have not compared the two files. I installed FMS12 on a dev machine after removing all pieces of FMS11, though I may still have the old API files in an include folder and can try to compare, or I'll see if I can get you the zip file. > > Anders > > On 5/31/12 4:40 PM, Joel Shapiro wrote: >> Hi Anders >> >> Any chance you've had a chance to look at that new function (getContainerDataURL) to see if it uses anything that was only added or fixed in 5.3.6? >> >> I haven't installed FMS12 yet so can't look at the PHP files. (Anybody care to share a zip of the FM12 "standalone" for me to look through? ;) >> >> Thanks, >> -Joel >> >> >> On May 31, 2012, at 2:21 PM, Anders Monsen wrote: >> >>> There is at least one new function dealing with the new container behavior. >>> >>> Anders >>> >>> On 5/29/12 11:32 AM, Joel Shapiro wrote: >>>> Thanks Steve! >>>> >>>> (I can't imagine that the PHP version on that Windows machine makes a difference...) >>>> >>>> I've read that they updated the API to no longer have all the deprecated code (e.g. "Assigning the return value of new by reference"), but I'd be surprised if FMI added any brand-new PHP functions. >>>> >>>> Anybody else? >>>> >>>> Thanks, >>>> -Joel >>>> >>>> >>>> On May 29, 2012, at 9:24 AM, Steve Winter wrote: >>>> >>>>> Hi Joel >>>>> >>>>> I've got an FM-based web app which is running on a Linux server, accessing a Windows based FMS, so the actual API code is on the Linux box - that's running PHP 5.2.17 no problem - not sure what version of PHP is on that Windows box as I have no access to it (at that level ;-) >>>>> >>>>> That's the only real FM12 stuff I've got up as yet - couple of others looking like they're going there shortly? >>>>> >>>>> Cheers >>>>> Steve >>>>> >>>>>> Hi all >>>>>> >>>>>> Is anybody here running FMS12 w/ the API? >>>>>> >>>>>> FM12 specs say that "Windows users need PHP 5.3.8 and Mac users need PHP 5.3.6" but I'm wondering if that's really true. Is anyone running the FM12 API w/ a lower version of PHP? >>>>>> http://www.filemaker.com/products/filemaker-server/server-12-specifications.html >>>>>> >>>>>> (FM11 specs say you just need "PHP 5.0 or higher"): >>>>>> http://help.filemaker.com/app/answers/detail/a_id/7638/ >>>>>> >>>>>> Any real-world experience? >>>>>> >>>>>> FWIW: I've asked this elsewhere but haven't gotten a response. >>>>>> >>>>>> TIA, >>>>>> -Joel >>>>>> >>>>>> ~~~~~~~~~~~~~~~~~~~~~ >>>>>> Joel Shapiro >>>>>> FileMaker Pro >>>>>> : database design >>>>>> : web development >>>>>> http://jsfmp.com >>>>>> 415-269-5055 >>>>>> ~~~~~~~~~~~~~~~~~~~~~ >>>>>> >>>>>> _______________________________________________ >>>>>> FX.php_List mailing list >>>>>> FX.php_List@mail.iviking.org >>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>> Steve Winter >>>>> +44 777 852 4776 >>>>> steve@bluecrocodile.co.nz >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >>>> >>>> >>> _______________________________________________ >>> 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 >> >> > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From KFutter at sbc.vic.edu.au Thu May 31 16:20:46 2012 From: KFutter at sbc.vic.edu.au (Kevin Futter) Date: Thu May 31 15:42:45 2012 Subject: [FX.php List] Data source type In-Reply-To: <9F0B44FB-FB42-4F9F-9DA8-77F98DA83209@patin.com> Message-ID: Bob, it's best not to use a file extension on database calls at all. It still works, as the FileMaker server knows which database you're after without being supplied the file extension, and this immunises you against future changes to the file extension. So, just simply "database" will do. Also, for those of us who use a single instance of FX to pull data from multiple databases, storing their references outside the query isn't practical. -- Kevin Futter Webmaster, St. Bernard's College http://www.sbc.vic.edu.au/ From: Bob Patin > Reply-To: "FX.php Discussion List" > Date: Thursday, 31 May 2012 10:38 PM To: "FX.php Discussion List" > Subject: Re: [FX.php List] Data source type John, Don't change it; all you need to do is rename the database anywhere that you reference it, so that it has its fmp12 extension. Hopefully your database name is in your server data page and not in all your queries; if it *is* in all your queries, you'll have to change each one so that it reads "database.fmp12" instead of "database.fp7." Best, Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker On May 30, 2012, at 11:03 PM, John Funk wrote: It may be late or I may be a block head, but can someone reply to what the $dataServerType is for fmp12 databases? On my setup FMPro12 is not working..... Thanks John _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list This e-mail and any attachments may be confidential. You must not disclose or use the information in this e-mail if you are not the intended recipient. If you have received this e-mail in error, please notify us immediately and delete the e-mail and all copies. The College does not guarantee that this e-mail is virus or error free. The attached files are provided and may only be used on the basis that the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of the attached files, whether caused by the negligence of the sender or not. The content and opinions in this e-mail are not necessarily those of the College. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120531/0ede2416/attachment.html From jschwartz at exit445.com Thu May 31 19:43:34 2012 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Thu May 31 19:05:10 2012 Subject: [FX.php List] [OFF] FM12 API needs PHP 5.3.6 / 5.3.8 ? ? In-Reply-To: <2E7E57C0-1B15-4DA0-A5FD-EADD8088D319@earthlink.net> References: <956FD052-CE27-4446-A160-F0A97873224D@bluecrocodile.co.nz> <35FB7659-E0E3-4EB1-9556-DBF5D9BACE0E@earthlink.net> <2E7E57C0-1B15-4DA0-A5FD-EADD8088D319@earthlink.net> Message-ID: <8D530F9B-B1D8-4337-AF42-C56162BFAF54@exit445.com> Yes, I learned the lesson of using the FMS12 API. One observation...most Deprecation errors are gone, but not all. Jonathan Schwartz Exit 445 Group 415-370-5011 On May 31, 2012, at 2:46 PM, Joel Shapiro wrote: > Hey Jonathan > > I think I read somewhere of someone using a pre-12 API with FMS12 and having problems until they switched to the correct API, so I'd be careful there. > > FWIW: I'm not yet having any "issues". I've got a new client that will probably use an external webhost and I know that it's rare for general webhosts to be very current in their PHP versions. So if FM12 REALLY needs 5.3.6 and above -- and FM11 only needs 5.0 -- then we might be better off building in FM11. Or so go my thoughts at the moment... > > -Joel > > > On May 31, 2012, at 9:15 AM, Jonathan Schwartz wrote: > >> Hi Joel, >> >> I don't have an answer to you specific question, >> but I am in the middle of a rather troublesome >> migration from FMP11 under Windows Server 2008 at >> one cloud service to FMP12 at another cloud >> service. >> >> I have yet to put my finger on the problem, but the symptom is Error22 errors. >> >> Another symptom in my case is the behavior of the >> new servers to halt at every error, including >> Notices (!) and API Deprcation errors, which I >> will suggest still exist. The web site didn't >> behave this way before and I am going back and >> forth trying to figure out what change is causing >> the problem. >> >> My latest troubleshooting experiment suggests >> that there *IS* a difference in the API files. I >> swapped out my FMP11 version of the API files >> (Filemaker.php plus the FileMaker folder) and it >> solved the Error 22. >> >> Not sure if this addresses the issues that you are having. >> >> Jonathan >> >> >> >> At 9:32 AM -0700 5/29/12, Joel Shapiro wrote: >>> Thanks Steve! >>> >>> (I can't imagine that the PHP version on that >>> Windows machine makes a difference...) >>> >>> I've read that they updated the API to no longer >>> have all the deprecated code (e.g. "Assigning >>> the return value of new by reference"), but I'd >>> be surprised if FMI added any brand-new PHP >>> functions. >>> >>> Anybody else? >>> >>> Thanks, >>> -Joel >>> >>> >>> On May 29, 2012, at 9:24 AM, Steve Winter wrote: >>> >>>> Hi Joel >>>> >>>> I've got an FM-based web app which is running >>>> on a Linux server, accessing a Windows based >>>> FMS, so the actual API code is on the Linux box >>>> - that's running PHP 5.2.17 no problem - not >>>> sure what version of PHP is on that Windows box >>>> as I have no access to it (at that level ;-) >>>> >>>> That's the only real FM12 stuff I've got up as >>>> yet - couple of others looking like they're >>>> going there shortly? >>>> >>>> Cheers >>>> Steve >>>> >>>>> Hi all >>>>> >>>>> Is anybody here running FMS12 w/ the API? >>>>> >>>>> FM12 specs say that "Windows users need PHP >>>>> 5.3.8 and Mac users need PHP 5.3.6" but I'm >>>>> wondering if that's really true. Is anyone >>>>> running the FM12 API w/ a lower version of PHP? >>>>> >>>>> http://www.filemaker.com/products/filemaker-server/server-12-specifications.html >>>>> >>>>> (FM11 specs say you just need "PHP 5.0 or higher"): >>>>> http://help.filemaker.com/app/answers/detail/a_id/7638/ >>>>> >>>>> Any real-world experience? >>>>> >>>>> FWIW: I've asked this elsewhere but haven't gotten a response. >>>>> >>>>> TIA, >>>>> -Joel >>>>> >>>>> ~~~~~~~~~~~~~~~~~~~~~ >>>>> Joel Shapiro >>>>> FileMaker Pro >>>>> : database design >>>>> : web development >>>>> http://jsfmp.com >>>>> 415-269-5055 >>>>> ~~~~~~~~~~~~~~~~~~~~~ >>>>> >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> >>>> Steve Winter >>>> +44 777 852 4776 >>>> steve@bluecrocodile.co.nz >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> 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 >> >> >> -- >> Jonathan Schwartz >> Exit 445 Group >> jonathan@exit445.com >> http://www.exit445.com >> 415-370-5011 >> _______________________________________________ >> 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