From zippyaus at yahoo.com Tue Jul 1 09:15:00 2014 From: zippyaus at yahoo.com (Stephe Pocock) Date: Tue Jul 1 09:12:52 2014 Subject: [FX.php List] Please help with slow code In-Reply-To: References: <71B70BDA-DA9F-4DE0-890A-CCF3AE193FE0@gmail.com> <1403773815.25313.YahooMailNeo@web163202.mail.gq1.yahoo.com> <3F7A6713-4181-4EE5-946D-77C9DAB5D948@iViking.org> <1404102338.87199.YahooMailNeo@web163204.mail.gq1.yahoo.com> <6288D14B-565F-4136-8158-038B0898688D@iViking.org> <1404141866.81061.YahooMailNeo@web163204.mail.gq1.yahoo.com> Message-ID: <1404227700.67060.YahooMailNeo@web163203.mail.gq1.yahoo.com> Hi Chris FX is really slow with that code.? It makes no difference if I use FMPro7 or FMAlt.? 16 seconds to return 200 records. The sort has not effect on FX. FAP returns the records in an blink.? When the sort is added it take a second, maybe 2. I started to change my pages to FAP reluctantly, but started to compare find speeds. Using Jonathon Stark's examples, I run up a FAP page and and FX page. I am now getting some strange issues with FX.php SetDBData('DB_Con','php_lay'); $request->SetDBUserPass('user', 'pword'); $request->AddSortParam('Level','ascend'); $request->AddSortParam('Position','ascend'); $request->AddSortParam('Name','ascend'); $result = $request->FMFindAll(); $records = $result['data']; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; foreach($records as $record) { ??? echo ''; ??? echo ''; ??? echo ''; ??? echo ''; ??? echo ''; } echo '
NameTypeAccount Name
'.$record['Name'][0].''.$record['Position'][0].''.$record['Level'][0].'
'; ?> I have used the above code for my test.? The table header row is displayed but no data.? I have debugging on, and if I click the debug link, it shows all my records in the xml with an error code of 0. What is wrong with my foreach statement that would produce this result. Thank you so much Stephen ________________________________ From: Chris Hansen To: Stephe Pocock Cc: FX.php Discussion List Sent: Monday, 30 June 2014 11:52 PM Subject: Re: [FX.php List] Please help with slow code Stephen, So are you saying that if you perform a query via FAP without sorting, it returns quickly? ?Is this the case with FX.php as well, or is it still slow? ?If it's the sort that is slow, and you're only dealing with a couple hundred records, I'd absolutely perform the sort using PHP. Also, not to be a broken record, but I've asked you twice to try the query using a different data type parameter (FMPro7 -- or 13 if you like -- rather than FMAlt). ?This really can make a difference. Best, --Chris On Jun 30, 2014, at 9:24 AM, Stephe Pocock wrote: Hi Chris > > >Thanks for the response. > > >I am not sure what is going on with my solution. > > >As i said, it worked fine under FM11 but under 12 and now 13 it is slow, 18 seconds to load 230 records. > > >Today, I re-wrote the page using the Filemaker php API, I used the same layout and the same find request return the original calculation fields.? The results are returned almost instantly.? The slowness with FM php is the sorting. > > >Thanks > > >Stephen > > > >________________________________ > From: Chris Hansen >To: Stephe Pocock >Sent: Monday, 30 June 2014 11:06 PM >Subject: Re: [FX.php List] Please help with slow code > > > >Hi Stephen, > > >So all three of the calculations were UN-stored calcs? ?Well, if there's no way to create stored versions of the calculations (via periodically re-loaded lookups, for example), then doing the calc in PHP might be faster. ?That said, it does seem odd that the performance was okay in FM 11 if that's the problem. > > >That brings me to the other possibility: FMAlt vs FMPro7. ?The reason that FMAlt was introduced was that a bug was introduced in FMS12 related to portals and/or repeating fields as returned by a specific XML schema. ?(Everything else works fine.) ?The XML grammar used by FMAlt is much more verbose, and I have seen responses with it take twice as long to load (though typically the difference is quite a bit smaller.) ?Are there portals and/or repeating fields on the layout in question, and if not, have you tried using FMPro7 as your data type? ?(Note that you can use FMPro12 as the data type, too, but the output will be no different.) > > >Best, > > >--Chris > > > > >On Jun 29, 2014, at 10:25 PM, Stephe Pocock wrote: > >Hi Chris >> >> >>There were 6 fields on the layout. >> >> >>3 calculations. >> >> >>I have removed the calculations from the php page and layout and the page loads faster, but obviously does not have the required data. >> >> >>The thing that bothers me is these are the same pages and setups that we have for Filemaker 11 and we never had the slow loads. >> >> >>Are you suggesting that I not use calculations and do all of the calculations in php? >> >> >>Thanks >> >>Stephen >> >> >> >> >>________________________________ >> From: Chris Hansen >>To: Stephe Pocock ; FX.php Discussion List >>Sent: Friday, 27 June 2014 12:21 AM >>Subject: Re: [FX.php List] Please help with slow code >> >> >> >>Hi Stephe, >> >> >>A few questions: >> >> >>1) Are there many excess fields on the layout in question? >> >> >>2) Are there any summary or unstored calculation fields? >> >> >>3) Have you tried performing the query using data type FMPro7? (In this case any integer gte 7 will perform the same.) >> >> >>Best, >> >> >>--Chris >> >> >> >> >>On Jun 26, 2014, at 3:10 AM, Stephe Pocock wrote: >> >>Hi >>> >>>We pretty much use the same code for all our FX pages.? Ever since we moved from Filemaker 11 this has been a lot slower to load. >>> >>>I use the latest FX.php and FMalt >>> >>>I would greatly appreciate it if someone could review this code and let me know if there is anything out of the ordinary. >>> >>> >>>>> >>>define('DEBUG', FALSE); >>> >>>include_once("../FX/FX.php"); >>>include_once("../FX/server_data.php"); >>>include_once("../FX/FMErrors.php"); >>> >>>$TitleID=$_REQUEST['Initial']; >>> >>>$cat=new FX($serverIP,$webCompanionPort,'FMAlt'); >>>$cat->setDBData('FMOnline','TQS_Manual_PHP', 'ALL'); >>>$cat->SetDBUserPass ($webUN, $webPW); >>>$cat->AddDBParam('Initial',$TitleID); >>>$cat->AddDBParam('Reference','FMP'); >>> >>>$cat->AddSortParam('Title','ascend'); >>> >>>$catResult=$cat->FMFind(); >>>foreach ($catResult['data'] as $key => $catData) >>> >>>?> >>> >>> >>> >>> >>>Forms, Manuals and Publications >>> >>> >>> >>> >>> >>>? >>>>>$checkHeader = NULL; >>> >>>foreach ($catResult['data'] as $key => $catData) >>>{ >>>$Title = $catData['Title'][0]; >>>$URL = $catData['URL'][0]; >>>$target = $catData['c_URL_target'][0]; >>> >>> >>>echo "\n >>>\n >>>\n >>>\n"; >>> >>>} >>>// End the foreach loop >>>?> >>>
>>>???????????????
??? ???
$Title
>>> >>> >>> >>> >>> >>> >>> >>>There are less than 100 records and it takes up to a minute to load. >>> >>>We are using FMS13 on iis 2008R2. >>> >>>Thanks in advance. >>> >>>Stephen >>> >>>_______________________________________________ >>>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/20140701/ce854372/attachment-0001.html From adenman at tmea.org Tue Jul 1 10:17:13 2014 From: adenman at tmea.org (Andrew Denman) Date: Tue Jul 1 10:15:04 2014 Subject: [FX.php List] RE: FX using PHP 5.5? In-Reply-To: References: Message-ID: I submitted a patch to github for this. Try using this one: https://github.com/APD183/fxphp Andrew Denman -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Robert Fox Sent: Monday, June 30, 2014 3:55 PM To: FX.php Discussion List Subject: [FX.php List] FX using PHP 5.5? Is it possible to use FX.php with PHP 5.5? I just tried doing that today, and received the error: "preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead" Sure enough, it's deprecated in PHP 5.5, and the DigitalOcean droplet I just fired up is using PHP 5.5.14. I'm willing to contribute to refactoring if somebody else hasn't already figured out a workaround for this! Thanks, Rob_______________________________________________ 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 Jul 1 11:57:29 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Tue Jul 1 11:55:22 2014 Subject: [FX.php List] Please help with slow code In-Reply-To: <1404227700.67060.YahooMailNeo@web163203.mail.gq1.yahoo.com> References: <71B70BDA-DA9F-4DE0-890A-CCF3AE193FE0@gmail.com> <1403773815.25313.YahooMailNeo@web163202.mail.gq1.yahoo.com> <3F7A6713-4181-4EE5-946D-77C9DAB5D948@iViking.org> <1404102338.87199.YahooMailNeo@web163204.mail.gq1.yahoo.com> <6288D14B-565F-4136-8158-038B0898688D@iViking.org> <1404141866.81061.YahooMailNeo@web163204.mail.gq1.yahoo.com> <1404227700.67060.YahooMailNeo@web163203.mail.gq1.yahoo.com> Message-ID: Hi Stephe, Try adding print_r($result); after your FX query and see what?s returned. As far as the slowdown, may we assume the sort fields are not unstored/calc fields and that you do not have any extraneous fields (especially calculation fields or portals or summary fields) on the layout referenced in your FX query. How does it perform with just two sort fields? Just one? Any difference? Hope this helps, Dale On Jul 1, 2014, at 10:15 AM, Stephe Pocock wrote: > Hi Chris > > FX is really slow with that code. It makes no difference if I use FMPro7 or FMAlt. 16 seconds to return 200 records. > > The sort has not effect on FX. > > FAP returns the records in an blink. When the sort is added it take a second, maybe 2. > > I started to change my pages to FAP reluctantly, but started to compare find speeds. > > Using Jonathon Stark's examples, I run up a FAP page and and FX page. > > I am now getting some strange issues with FX.php > > > define('DEBUG', TRUE); > > > require_once ('../FX/FX.php'); > $request = new FX('10.70.10.166', '80', 'FMAlt'); > $request->SetDBData('DB_Con','php_lay'); > $request->SetDBUserPass('user', 'pword'); > $request->AddSortParam('Level','ascend'); > $request->AddSortParam('Position','ascend'); > $request->AddSortParam('Name','ascend'); > $result = $request->FMFindAll(); > $records = $result['data']; > > echo ''; > echo ''; > echo ''; > echo ''; > echo ''; > echo ''; > > foreach($records as $record) { > echo ''; > echo ''; > echo ''; > echo ''; > echo ''; > } > echo '
NameTypeAccount Name
'.$record['Name'][0].''.$record['Position'][0].''.$record['Level'][0].'
'; > > ?> > > I have used the above code for my test. The table header row is displayed but no data. I have debugging on, and if I click the debug link, it shows all my records in the xml with an error code of 0. > > What is wrong with my foreach statement that would produce this result. > > Thank you so much > > Stephen > > > > > > > > From: Chris Hansen > To: Stephe Pocock > Cc: FX.php Discussion List > Sent: Monday, 30 June 2014 11:52 PM > Subject: Re: [FX.php List] Please help with slow code > > Stephen, > > So are you saying that if you perform a query via FAP without sorting, it returns quickly? Is this the case with FX.php as well, or is it still slow? If it's the sort that is slow, and you're only dealing with a couple hundred records, I'd absolutely perform the sort using PHP. > > Also, not to be a broken record, but I've asked you twice to try the query using a different data type parameter (FMPro7 -- or 13 if you like -- rather than FMAlt). This really can make a difference. > > Best, > > --Chris > > On Jun 30, 2014, at 9:24 AM, Stephe Pocock wrote: > >> Hi Chris >> >> Thanks for the response. >> >> I am not sure what is going on with my solution. >> >> As i said, it worked fine under FM11 but under 12 and now 13 it is slow, 18 seconds to load 230 records. >> >> Today, I re-wrote the page using the Filemaker php API, I used the same layout and the same find request return the original calculation fields. The results are returned almost instantly. The slowness with FM php is the sorting. >> >> Thanks >> >> Stephen >> >> From: Chris Hansen >> To: Stephe Pocock >> Sent: Monday, 30 June 2014 11:06 PM >> Subject: Re: [FX.php List] Please help with slow code >> >> Hi Stephen, >> >> So all three of the calculations were UN-stored calcs? Well, if there's no way to create stored versions of the calculations (via periodically re-loaded lookups, for example), then doing the calc in PHP might be faster. That said, it does seem odd that the performance was okay in FM 11 if that's the problem. >> >> That brings me to the other possibility: FMAlt vs FMPro7. The reason that FMAlt was introduced was that a bug was introduced in FMS12 related to portals and/or repeating fields as returned by a specific XML schema. (Everything else works fine.) The XML grammar used by FMAlt is much more verbose, and I have seen responses with it take twice as long to load (though typically the difference is quite a bit smaller.) Are there portals and/or repeating fields on the layout in question, and if not, have you tried using FMPro7 as your data type? (Note that you can use FMPro12 as the data type, too, but the output will be no different.) >> >> Best, >> >> --Chris >> >> >> >> On Jun 29, 2014, at 10:25 PM, Stephe Pocock wrote: >> >>> Hi Chris >>> >>> There were 6 fields on the layout. >>> >>> 3 calculations. >>> >>> I have removed the calculations from the php page and layout and the page loads faster, but obviously does not have the required data. >>> >>> The thing that bothers me is these are the same pages and setups that we have for Filemaker 11 and we never had the slow loads. >>> >>> Are you suggesting that I not use calculations and do all of the calculations in php? >>> >>> Thanks >>> >>> Stephen >>> >>> From: Chris Hansen >>> To: Stephe Pocock ; FX.php Discussion List >>> Sent: Friday, 27 June 2014 12:21 AM >>> Subject: Re: [FX.php List] Please help with slow code >>> >>> Hi Stephe, >>> >>> A few questions: >>> >>> 1) Are there many excess fields on the layout in question? >>> >>> 2) Are there any summary or unstored calculation fields? >>> >>> 3) Have you tried performing the query using data type FMPro7? (In this case any integer gte 7 will perform the same.) >>> >>> Best, >>> >>> --Chris >>> >>> >>> >>> On Jun 26, 2014, at 3:10 AM, Stephe Pocock wrote: >>> >>>> Hi >>>> >>>> We pretty much use the same code for all our FX pages. Ever since we moved from Filemaker 11 this has been a lot slower to load. >>>> >>>> I use the latest FX.php and FMalt >>>> >>>> I would greatly appreciate it if someone could review this code and let me know if there is anything out of the ordinary. >>>> >>>> >>> >>>> define('DEBUG', FALSE); >>>> >>>> include_once("../FX/FX.php"); >>>> include_once("../FX/server_data.php"); >>>> include_once("../FX/FMErrors.php"); >>>> >>>> $TitleID=$_REQUEST['Initial']; >>>> >>>> $cat=new FX($serverIP,$webCompanionPort,'FMAlt'); >>>> $cat->setDBData('FMOnline','TQS_Manual_PHP', 'ALL'); >>>> $cat->SetDBUserPass ($webUN, $webPW); >>>> $cat->AddDBParam('Initial',$TitleID); >>>> $cat->AddDBParam('Reference','FMP'); >>>> >>>> $cat->AddSortParam('Title','ascend'); >>>> >>>> $catResult=$cat->FMFind(); >>>> foreach ($catResult['data'] as $key => $catData) >>>> >>>> ?> >>>> >>>> >>>> >>>> >>>> Forms, Manuals and Publications >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> $checkHeader = NULL; >>>> >>>> foreach ($catResult['data'] as $key => $catData) >>>> { >>>> $Title = $catData['Title'][0]; >>>> $URL = $catData['URL'][0]; >>>> $target = $catData['c_URL_target'][0]; >>>> >>>> >>>> echo "\n >>>> \n >>>> \n >>>> \n"; >>>> >>>> } >>>> // End the foreach loop >>>> ?> >>>>
>>>>
$Title
>>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> There are less than 100 records and it takes up to a minute to load. >>>> >>>> We are using FMS13 on iis 2008R2. >>>> >>>> Thanks in advance. >>>> >>>> Stephen >>>> >>>> _______________________________________________ >>>> 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/20140701/cc616262/attachment-0001.html From zippyaus at yahoo.com Tue Jul 1 17:00:10 2014 From: zippyaus at yahoo.com (Stephe Pocock) Date: Tue Jul 1 16:57:59 2014 Subject: [FX.php List] Please help with slow code In-Reply-To: References: <71B70BDA-DA9F-4DE0-890A-CCF3AE193FE0@gmail.com> <1403773815.25313.YahooMailNeo@web163202.mail.gq1.yahoo.com> <3F7A6713-4181-4EE5-946D-77C9DAB5D948@iViking.org> <1404102338.87199.YahooMailNeo@web163204.mail.gq1.yahoo.com> <6288D14B-565F-4136-8158-038B0898688D@iViking.org> <1404141866.81061.YahooMailNeo@web163204.mail.gq1.yahoo.com> <1404227700.67060.YahooMailNeo@web163203.mail.gq1.yahoo.com> Message-ID: <1404255610.94561.YahooMailNeo@web163201.mail.gq1.yahoo.com> Hi Dale Thanks for the input. The print_r($result) returns the following Array ( [data] => Array ( ) [linkNext] => [linkPrevious] => [foundCount] => 0 [fields] => Array ( ) [URL] => http://user:pword@10.70.10.166:80/fmi/xml/fmresultset.xml?-db=DB_Con&-lay=php_Lay&-max=50&-sortfield.1=Level&-sortorder.1=ascend&-sortfield.2=Position&-sortorder.2=ascend&-sortfield.3=Name&-sortorder.3=ascend&-findall [query] => [errorCode] => 4 [valueLists] => Array ( ) )? As the query is no longer working I cannot test the sorts. Removing the sorts returns Array ( [data] => Array ( ) [linkNext] => [linkPrevious] => [foundCount] => 0 [fields] => Array ( ) [URL] => http://user:pword@10.70.10.166:80/fmi/xml/fmresultset.xml?-db=DB_Con&-lay=php_Lay&-max=50&-findall [query] => [errorCode] => 4 [valueLists] => Array ( ) ) I may need to restart the server over the weekend.??? Many thanks Stephe ________________________________ From: Dale Bengston To: Stephe Pocock ; FX.php Discussion List Sent: Wednesday, 2 July 2014 1:57 AM Subject: Re: [FX.php List] Please help with slow code Hi Stephe, Try adding? print_r($result); after your FX query and see what?s returned. As far as the slowdown, may we assume the sort fields are not unstored/calc fields and that you do not have any extraneous fields (especially calculation fields or portals or summary fields) on the layout referenced in your FX query. How does it perform with just two sort fields? Just one? Any difference? Hope this helps, Dale On Jul 1, 2014, at 10:15 AM, Stephe Pocock wrote: Hi Chris > > >FX is really slow with that code.? It makes no difference if I use FMPro7 or FMAlt.? 16 seconds to return 200 records. > > >The sort has not effect on FX. > > >FAP returns the records in an blink.? When the sort is added it take a second, maybe 2. > > >I started to change my pages to FAP reluctantly, but started to compare find speeds. > > >Using Jonathon Stark's examples, I run up a FAP page and and FX page. > > >I am now getting some strange issues with FX.php > > > >define('DEBUG', TRUE); > > >require_once ('../FX/FX.php'); >$request = new FX('10.70.10.166', '80', 'FMAlt'); >$request->SetDBData('DB_Con','php_lay'); >$request->SetDBUserPass('user', 'pword'); >$request->AddSortParam('Level','ascend'); >$request->AddSortParam('Position','ascend'); >$request->AddSortParam('Name','ascend'); >$result = $request->FMFindAll(); >$records = $result['data']; > >echo ''; >echo ''; >echo ''; >echo ''; >echo ''; >echo ''; > >foreach($records as $record) { >??? echo ''; >??? echo ''; >??? echo ''; >??? echo ''; >??? echo ''; >} >echo '
NameTypeAccount Name
'.$record['Name'][0].''.$record['Position'][0].''.$record['Level'][0].'
'; > >?> > >I have used the above code for my test.? The table header row is displayed but no data.? I have debugging on, and if I click the debug link, it shows all my records in the xml with an error code of 0. > >What is wrong with my foreach statement that would produce this result. > >Thank you so much > >Stephen > > > > > > > > > > > > > > > > >________________________________ > From: Chris Hansen >To: Stephe Pocock >Cc: FX.php Discussion List >Sent: Monday, 30 June 2014 11:52 PM >Subject: Re: [FX.php List] Please help with slow code > > > >Stephen, > > >So are you saying that if you perform a query via FAP without sorting, it returns quickly? ?Is this the case with FX.php as well, or is it still slow? ?If it's the sort that is slow, and you're only dealing with a couple hundred records, I'd absolutely perform the sort using PHP. > > >Also, not to be a broken record, but I've asked you twice to try the query using a different data type parameter (FMPro7 -- or 13 if you like -- rather than FMAlt). ?This really can make a difference. > > >Best, > > >--Chris > >On Jun 30, 2014, at 9:24 AM, Stephe Pocock wrote: > >Hi Chris >> >> >>Thanks for the response. >> >> >>I am not sure what is going on with my solution. >> >> >>As i said, it worked fine under FM11 but under 12 and now 13 it is slow, 18 seconds to load 230 records. >> >> >>Today, I re-wrote the page using the Filemaker php API, I used the same layout and the same find request return the original calculation fields.? The results are returned almost instantly.? The slowness with FM php is the sorting. >> >> >>Thanks >> >> >>Stephen >> >> >> >>________________________________ >> From: Chris Hansen >>To: Stephe Pocock >>Sent: Monday, 30 June 2014 11:06 PM >>Subject: Re: [FX.php List] Please help with slow code >> >> >> >>Hi Stephen, >> >> >>So all three of the calculations were UN-stored calcs? ?Well, if there's no way to create stored versions of the calculations (via periodically re-loaded lookups, for example), then doing the calc in PHP might be faster. ?That said, it does seem odd that the performance was okay in FM 11 if that's the problem. >> >> >>That brings me to the other possibility: FMAlt vs FMPro7. ?The reason that FMAlt was introduced was that a bug was introduced in FMS12 related to portals and/or repeating fields as returned by a specific XML schema. ?(Everything else works fine.) ?The XML grammar used by FMAlt is much more verbose, and I have seen responses with it take twice as long to load (though typically the difference is quite a bit smaller.) ?Are there portals and/or repeating fields on the layout in question, and if not, have you tried using FMPro7 as your data type? ?(Note that you can use FMPro12 as the data type, too, but the output will be no different.) >> >> >>Best, >> >> >>--Chris >> >> >> >> >>On Jun 29, 2014, at 10:25 PM, Stephe Pocock wrote: >> >>Hi Chris >>> >>> >>>There were 6 fields on the layout. >>> >>> >>>3 calculations. >>> >>> >>>I have removed the calculations from the php page and layout and the page loads faster, but obviously does not have the required data. >>> >>> >>>The thing that bothers me is these are the same pages and setups that we have for Filemaker 11 and we never had the slow loads. >>> >>> >>>Are you suggesting that I not use calculations and do all of the calculations in php? >>> >>> >>>Thanks >>> >>>Stephen >>> >>> >>> >>> >>>________________________________ >>> From: Chris Hansen >>>To: Stephe Pocock ; FX.php Discussion List >>>Sent: Friday, 27 June 2014 12:21 AM >>>Subject: Re: [FX.php List] Please help with slow code >>> >>> >>> >>>Hi Stephe, >>> >>> >>>A few questions: >>> >>> >>>1) Are there many excess fields on the layout in question? >>> >>> >>>2) Are there any summary or unstored calculation fields? >>> >>> >>>3) Have you tried performing the query using data type FMPro7? (In this case any integer gte 7 will perform the same.) >>> >>> >>>Best, >>> >>> >>>--Chris >>> >>> >>> >>> >>>On Jun 26, 2014, at 3:10 AM, Stephe Pocock wrote: >>> >>>Hi >>>> >>>>We pretty much use the same code for all our FX pages.? Ever since we moved from Filemaker 11 this has been a lot slower to load. >>>> >>>>I use the latest FX.php and FMalt >>>> >>>>I would greatly appreciate it if someone could review this code and let me know if there is anything out of the ordinary. >>>> >>>> >>>>>>> >>>>define('DEBUG', FALSE); >>>> >>>>include_once("../FX/FX.php"); >>>>include_once("../FX/server_data.php"); >>>>include_once("../FX/FMErrors.php"); >>>> >>>>$TitleID=$_REQUEST['Initial']; >>>> >>>>$cat=new FX($serverIP,$webCompanionPort,'FMAlt'); >>>>$cat->setDBData('FMOnline','TQS_Manual_PHP', 'ALL'); >>>>$cat->SetDBUserPass ($webUN, $webPW); >>>>$cat->AddDBParam('Initial',$TitleID); >>>>$cat->AddDBParam('Reference','FMP'); >>>> >>>>$cat->AddSortParam('Title','ascend'); >>>> >>>>$catResult=$cat->FMFind(); >>>>foreach ($catResult['data'] as $key => $catData) >>>> >>>>?> >>>> >>>> >>>> >>>> >>>>Forms, Manuals and Publications >>>> >>>> >>>> >>>> >>>> >>>>? >>>>>>>$checkHeader = NULL; >>>> >>>>foreach ($catResult['data'] as $key => $catData) >>>>{ >>>>$Title = $catData['Title'][0]; >>>>$URL = $catData['URL'][0]; >>>>$target = $catData['c_URL_target'][0]; >>>> >>>> >>>>echo "\n >>>>\n >>>>\n >>>>\n"; >>>> >>>>} >>>>// End the foreach loop >>>>?> >>>>
>>>>???????????????
??? ???
$Title
>>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>>There are less than 100 records and it takes up to a minute to load. >>>> >>>>We are using FMS13 on iis 2008R2. >>>> >>>>Thanks in advance. >>>> >>>>Stephen >>>> >>>>_______________________________________________ >>>>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/20140701/dcb883f4/attachment-0001.html From rfox at innerfile.com Wed Jul 2 07:02:40 2014 From: rfox at innerfile.com (Robert Fox) Date: Wed Jul 2 07:05:18 2014 Subject: [FX.php List] RE: FX using PHP 5.5? In-Reply-To: References: , Message-ID: I had been using the latest version from yodarunamok's repo (linked to from iviking.org), I will try the patch today. ________________________________________ From: fx.php_list-bounces@mail.iviking.org [fx.php_list-bounces@mail.iviking.org] On Behalf Of Andrew Denman [adenman@tmea.org] Sent: Tuesday, July 01, 2014 12:17 PM To: FX.php Discussion List Subject: [FX.php List] RE: FX using PHP 5.5? I submitted a patch to github for this. Try using this one: https://github.com/APD183/fxphp Andrew Denman -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Robert Fox Sent: Monday, June 30, 2014 3:55 PM To: FX.php Discussion List Subject: [FX.php List] FX using PHP 5.5? Is it possible to use FX.php with PHP 5.5? I just tried doing that today, and received the error: "preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead" Sure enough, it's deprecated in PHP 5.5, and the DigitalOcean droplet I just fired up is using PHP 5.5.14. I'm willing to contribute to refactoring if somebody else hasn't already figured out a workaround for this! Thanks, Rob_______________________________________________ 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 Wed Jul 2 13:31:14 2014 From: adenman at tmea.org (Andrew Denman) Date: Wed Jul 2 13:29:01 2014 Subject: [FX.php List] RE: FX using PHP 5.5? In-Reply-To: References: , Message-ID: Just to be clear (as I now see it may not have been), yodarunamok's version is the official. The pull request I submitted hasn't yet been included in that one. The link I included is a fork that includes the patch to run on PHP 5.5 without errors. Andrew Denman -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Robert Fox Sent: Wednesday, July 02, 2014 8:03 AM To: FX.php Discussion List Subject: [FX.php List] RE: FX using PHP 5.5? I had been using the latest version from yodarunamok's repo (linked to from iviking.org), I will try the patch today. ________________________________________ From: fx.php_list-bounces@mail.iviking.org [fx.php_list-bounces@mail.iviking.org] On Behalf Of Andrew Denman [adenman@tmea.org] Sent: Tuesday, July 01, 2014 12:17 PM To: FX.php Discussion List Subject: [FX.php List] RE: FX using PHP 5.5? I submitted a patch to github for this. Try using this one: https://github.com/APD183/fxphp Andrew Denman -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Robert Fox Sent: Monday, June 30, 2014 3:55 PM To: FX.php Discussion List Subject: [FX.php List] FX using PHP 5.5? Is it possible to use FX.php with PHP 5.5? I just tried doing that today, and received the error: "preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead" Sure enough, it's deprecated in PHP 5.5, and the DigitalOcean droplet I just fired up is using PHP 5.5.14. I'm willing to contribute to refactoring if somebody else hasn't already figured out a workaround for this! Thanks, Rob_______________________________________________ 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 zippyaus at yahoo.com Wed Jul 2 08:23:45 2014 From: zippyaus at yahoo.com (Stephe Pocock) Date: Thu Jul 3 08:34:32 2014 Subject: [FX.php List] Please help with slow code In-Reply-To: References: <71B70BDA-DA9F-4DE0-890A-CCF3AE193FE0@gmail.com> <1403773815.25313.YahooMailNeo@web163202.mail.gq1.yahoo.com> <3F7A6713-4181-4EE5-946D-77C9DAB5D948@iViking.org> <1404102338.87199.YahooMailNeo@web163204.mail.gq1.yahoo.com> <6288D14B-565F-4136-8158-038B0898688D@iViking.org> <1404141866.81061.YahooMailNeo@web163204.mail.gq1.yahoo.com> <1404227700.67060.YahooMailNeo@web163203.mail.gq1.yahoo.com> <1404255610.94561.YahooMailNeo@web163201.mail.gq1.yahoo.com> Message-ID: <1404311025.3057.YahooMailNeo@web163202.mail.gq1.yahoo.com> Hi This is the strange thing. If I paste the url into my browser the XML is displayed with all the results. Stephe ________________________________ From: Dale Bengston To: Stephe Pocock Sent: Wednesday, 2 July 2014 10:00 AM Subject: Re: [FX.php List] Please help with slow code Error code 4: "Command is unknown.? That?s a new one on me. What happens if you paste the url into your browser?s url box directly? Dale On Jul 1, 2014, at 6:00 PM, Stephe Pocock wrote: Hi Dale > > >Thanks for the input. > > >The print_r($result) returns the following > > >Array ( [data] => Array ( ) [linkNext] => [linkPrevious] => [foundCount] => 0 [fields] => Array ( ) [URL] => http://user:pword@10.70.10.166:80/fmi/xml/fmresultset.xml?-db=DB_Con&-lay=php_Lay&-max=50&-sortfield.1=Level&-sortorder.1=ascend&-sortfield.2=Position&-sortorder.2=ascend&-sortfield.3=Name&-sortorder.3=ascend&-findall [query] => [errorCode] => 4 [valueLists] => Array ( ) )? > > >As the query is no longer working I cannot test the sorts. > > >Removing the sorts returns > > >Array ( [data] => Array ( ) [linkNext] => [linkPrevious] => [foundCount] => 0 [fields] => Array ( ) [URL] => http://user:pword@10.70.10.166:80/fmi/xml/fmresultset.xml?-db=DB_Con&-lay=php_Lay&-max=50&-findall [query] => [errorCode] => 4 [valueLists] => Array ( ) ) > > > >I may need to restart the server over the weekend.??? > > > >Many thanks > > > >Stephe > > > > > > >________________________________ > From: Dale Bengston >To: Stephe Pocock ; FX.php Discussion List >Sent: Wednesday, 2 July 2014 1:57 AM >Subject: Re: [FX.php List] Please help with slow code > > > >Hi Stephe, > > >Try adding? > > >print_r($result); > > >after your FX query and see what?s returned. > > >As far as the slowdown, may we assume the sort fields are not unstored/calc fields and that you do not have any extraneous fields (especially calculation fields or portals or summary fields) on the layout referenced in your FX query. > > >How does it perform with just two sort fields? Just one? Any difference? > > >Hope this helps, >Dale > > >On Jul 1, 2014, at 10:15 AM, Stephe Pocock wrote: > >Hi Chris >> >> >>FX is really slow with that code.? It makes no difference if I use FMPro7 or FMAlt.? 16 seconds to return 200 records. >> >> >>The sort has not effect on FX. >> >> >>FAP returns the records in an blink.? When the sort is added it take a second, maybe 2. >> >> >>I started to change my pages to FAP reluctantly, but started to compare find speeds. >> >> >>Using Jonathon Stark's examples, I run up a FAP page and and FX page. >> >> >>I am now getting some strange issues with FX.php >> >> >>> >>define('DEBUG', TRUE); >> >> >>require_once ('../FX/FX.php'); >>$request = new FX('10.70.10.166', '80', 'FMAlt'); >>$request->SetDBData('DB_Con','php_lay'); >>$request->SetDBUserPass('user', 'pword'); >>$request->AddSortParam('Level','ascend'); >>$request->AddSortParam('Position','ascend'); >>$request->AddSortParam('Name','ascend'); >>$result = $request->FMFindAll(); >>$records = $result['data']; >> >>echo ''; >>echo ''; >>echo ''; >>echo ''; >>echo ''; >>echo ''; >> >>foreach($records as $record) { >>??? echo ''; >>??? echo ''; >>??? echo ''; >>??? echo ''; >>??? echo ''; >>} >>echo '
NameTypeAccount Name
'.$record['Name'][0].''.$record['Position'][0].''.$record['Level'][0].'
'; >> >>?> >> >>I have used the above code for my test.? The table header row is displayed but no data.? I have debugging on, and if I click the debug link, it shows all my records in the xml with an error code of 0. >> >>What is wrong with my foreach statement that would produce this result. >> >>Thank you so much >> >>Stephen >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >>________________________________ >> From: Chris Hansen >>To: Stephe Pocock >>Cc: FX.php Discussion List >>Sent: Monday, 30 June 2014 11:52 PM >>Subject: Re: [FX.php List] Please help with slow code >> >> >> >>Stephen, >> >> >>So are you saying that if you perform a query via FAP without sorting, it returns quickly? ?Is this the case with FX.php as well, or is it still slow? ?If it's the sort that is slow, and you're only dealing with a couple hundred records, I'd absolutely perform the sort using PHP. >> >> >>Also, not to be a broken record, but I've asked you twice to try the query using a different data type parameter (FMPro7 -- or 13 if you like -- rather than FMAlt). ?This really can make a difference. >> >> >>Best, >> >> >>--Chris >> >>On Jun 30, 2014, at 9:24 AM, Stephe Pocock wrote: >> >>Hi Chris >>> >>> >>>Thanks for the response. >>> >>> >>>I am not sure what is going on with my solution. >>> >>> >>>As i said, it worked fine under FM11 but under 12 and now 13 it is slow, 18 seconds to load 230 records. >>> >>> >>>Today, I re-wrote the page using the Filemaker php API, I used the same layout and the same find request return the original calculation fields.? The results are returned almost instantly.? The slowness with FM php is the sorting. >>> >>> >>>Thanks >>> >>> >>>Stephen >>> >>> >>> >>>________________________________ >>> From: Chris Hansen >>>To: Stephe Pocock >>>Sent: Monday, 30 June 2014 11:06 PM >>>Subject: Re: [FX.php List] Please help with slow code >>> >>> >>> >>>Hi Stephen, >>> >>> >>>So all three of the calculations were UN-stored calcs? ?Well, if there's no way to create stored versions of the calculations (via periodically re-loaded lookups, for example), then doing the calc in PHP might be faster. ?That said, it does seem odd that the performance was okay in FM 11 if that's the problem. >>> >>> >>>That brings me to the other possibility: FMAlt vs FMPro7. ?The reason that FMAlt was introduced was that a bug was introduced in FMS12 related to portals and/or repeating fields as returned by a specific XML schema. ?(Everything else works fine.) ?The XML grammar used by FMAlt is much more verbose, and I have seen responses with it take twice as long to load (though typically the difference is quite a bit smaller.) ?Are there portals and/or repeating fields on the layout in question, and if not, have you tried using FMPro7 as your data type? ?(Note that you can use FMPro12 as the data type, too, but the output will be no different.) >>> >>> >>>Best, >>> >>> >>>--Chris >>> >>> >>> >>> >>>On Jun 29, 2014, at 10:25 PM, Stephe Pocock wrote: >>> >>>Hi Chris >>>> >>>> >>>>There were 6 fields on the layout. >>>> >>>> >>>>3 calculations. >>>> >>>> >>>>I have removed the calculations from the php page and layout and the page loads faster, but obviously does not have the required data. >>>> >>>> >>>>The thing that bothers me is these are the same pages and setups that we have for Filemaker 11 and we never had the slow loads. >>>> >>>> >>>>Are you suggesting that I not use calculations and do all of the calculations in php? >>>> >>>> >>>>Thanks >>>> >>>>Stephen >>>> >>>> >>>> >>>> >>>>________________________________ >>>> From: Chris Hansen >>>>To: Stephe Pocock ; FX.php Discussion List >>>>Sent: Friday, 27 June 2014 12:21 AM >>>>Subject: Re: [FX.php List] Please help with slow code >>>> >>>> >>>> >>>>Hi Stephe, >>>> >>>> >>>>A few questions: >>>> >>>> >>>>1) Are there many excess fields on the layout in question? >>>> >>>> >>>>2) Are there any summary or unstored calculation fields? >>>> >>>> >>>>3) Have you tried performing the query using data type FMPro7? (In this case any integer gte 7 will perform the same.) >>>> >>>> >>>>Best, >>>> >>>> >>>>--Chris >>>> >>>> >>>> >>>> >>>>On Jun 26, 2014, at 3:10 AM, Stephe Pocock wrote: >>>> >>>>Hi >>>>> >>>>>We pretty much use the same code for all our FX pages.? Ever since we moved from Filemaker 11 this has been a lot slower to load. >>>>> >>>>>I use the latest FX.php and FMalt >>>>> >>>>>I would greatly appreciate it if someone could review this code and let me know if there is anything out of the ordinary. >>>>> >>>>> >>>>>>>>> >>>>>define('DEBUG', FALSE); >>>>> >>>>>include_once("../FX/FX.php"); >>>>>include_once("../FX/server_data.php"); >>>>>include_once("../FX/FMErrors.php"); >>>>> >>>>>$TitleID=$_REQUEST['Initial']; >>>>> >>>>>$cat=new FX($serverIP,$webCompanionPort,'FMAlt'); >>>>>$cat->setDBData('FMOnline','TQS_Manual_PHP', 'ALL'); >>>>>$cat->SetDBUserPass ($webUN, $webPW); >>>>>$cat->AddDBParam('Initial',$TitleID); >>>>>$cat->AddDBParam('Reference','FMP'); >>>>> >>>>>$cat->AddSortParam('Title','ascend'); >>>>> >>>>>$catResult=$cat->FMFind(); >>>>>foreach ($catResult['data'] as $key => $catData) >>>>> >>>>>?> >>>>> >>>>> >>>>> >>>>> >>>>>Forms, Manuals and Publications >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>? >>>>>>>>>$checkHeader = NULL; >>>>> >>>>>foreach ($catResult['data'] as $key => $catData) >>>>>{ >>>>>$Title = $catData['Title'][0]; >>>>>$URL = $catData['URL'][0]; >>>>>$target = $catData['c_URL_target'][0]; >>>>> >>>>> >>>>>echo "\n >>>>>\n >>>>>\n >>>>>\n"; >>>>> >>>>>} >>>>>// End the foreach loop >>>>>?> >>>>>
>>>>>???????????????
??? ???
$Title
>>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>There are less than 100 records and it takes up to a minute to load. >>>>> >>>>>We are using FMS13 on iis 2008R2. >>>>> >>>>>Thanks in advance. >>>>> >>>>>Stephen >>>>> >>>>>_______________________________________________ >>>>>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/20140702/ff27d1b0/attachment-0001.html From zippyaus at yahoo.com Thu Jul 3 18:33:46 2014 From: zippyaus at yahoo.com (Stephe Pocock) Date: Thu Jul 3 18:31:27 2014 Subject: [FX.php List] Please help with slow code In-Reply-To: References: <71B70BDA-DA9F-4DE0-890A-CCF3AE193FE0@gmail.com> <1403773815.25313.YahooMailNeo@web163202.mail.gq1.yahoo.com> <3F7A6713-4181-4EE5-946D-77C9DAB5D948@iViking.org> <1404102338.87199.YahooMailNeo@web163204.mail.gq1.yahoo.com> <6288D14B-565F-4136-8158-038B0898688D@iViking.org> <1404141866.81061.YahooMailNeo@web163204.mail.gq1.yahoo.com> <1404227700.67060.YahooMailNeo@web163203.mail.gq1.yahoo.com> <1404255610.94561.YahooMailNeo@web163201.mail.gq1.yahoo.com> <1404311025.3057.YahooMailNeo@web163202.mail.gq1.yahoo.com> Message-ID: <1404434026.85200.YahooMailNeo@web163203.mail.gq1.yahoo.com> Thanks Dale and Theodore for your time. Yes, I am using FMS13. I did download the latest version of FX from github, but perhaps, I have missed something there.? I will try again today. If all else fails, I will try restart the server over the weekend when I have fewer users on it and I can schedule a downtime. Thanks again. Stephe ________________________________ From: "Fitzgerald, Theodore C" To: Stephe Pocock ; FX. php Discussion List ; Dale Bengston Sent: Thursday, 3 July 2014 10:47 PM Subject: RE: [FX.php List] Please help with slow code Stephe, ? I might have missed this, but what version of FileMaker server are you using?? And are you using the latest code from the FX.php github repo?? The ?unknown command? issue happens with FileMaker Server 13 and older versions of FX.php due to a change in 13. ? Ted ? Application Programmer/Analyst ITS-Enterprise Services 2800 UCC University of Iowa ? From:fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Stephe Pocock Sent: Wednesday, July 02, 2014 9:24 AM To: Dale Bengston; FX.php Discussion List Subject: Re: [FX.php List] Please help with slow code ? Hi ? This is the strange thing. ? If I paste the url into my browser the XML is displayed with all the results. ? Stephe ? ________________________________ From:Dale Bengston To: Stephe Pocock Sent: Wednesday, 2 July 2014 10:00 AM Subject: Re: [FX.php List] Please help with slow code ? Error code 4: "Command is unknown.? That?s a new one on me. ? What happens if you paste the url into your browser?s url box directly? ? Dale ? ? On Jul 1, 2014, at 6:00 PM, Stephe Pocock wrote: Hi Dale >? >Thanks for the input. >? >The print_r($result) returns the following >? >Array ( [data] => Array ( ) [linkNext] => [linkPrevious] => [foundCount] => 0 [fields] => Array ( ) [URL] => http://user:pword@10.70.10.166:80/fmi/xml/fmresultset.xml?-db=DB_Con&-lay=php_Lay&-max=50&-sortfield.1=Level&-sortorder.1=ascend&-sortfield.2=Position&-sortorder.2=ascend&-sortfield.3=Name&-sortorder.3=ascend&-findall [query] => [errorCode] => 4 [valueLists] => Array ( ) )? >? >As the query is no longer working I cannot test the sorts. >? >Removing the sorts returns >? >Array ( [data] => Array ( ) [linkNext] => [linkPrevious] => [foundCount] => 0 [fields] => Array ( ) [URL] => http://user:pword@10.70.10.166:80/fmi/xml/fmresultset.xml?-db=DB_Con&-lay=php_Lay&-max=50&-findall [query] => [errorCode] => 4 [valueLists] => Array ( ) ) >? >I may need to restart the server over the weekend.??? >? >Many thanks >? >Stephe >? >? > >________________________________ > >From:Dale Bengston >To: Stephe Pocock ; FX.php Discussion List >Sent: Wednesday, 2 July 2014 1:57 AM >Subject: Re: [FX.php List] Please help with slow code >? >Hi Stephe, >? >Try adding? >? >??????????? print_r($result); >? >after your FX query and see what?s returned. >? >As far as the slowdown, may we assume the sort fields are not unstored/calc fields and that you do not have any extraneous fields (especially calculation fields or portals or summary fields) on the layout referenced in your FX query. >? >How does it perform with just two sort fields? Just one? Any difference? >? >Hope this helps, >Dale >? >On Jul 1, 2014, at 10:15 AM, Stephe Pocock wrote: > > > >Hi Chris >>? >>FX is really slow with that code.? It makes no difference if I use FMPro7 or FMAlt.? 16 seconds to return 200 records. >>? >>The sort has not effect on FX. >>? >>FAP returns the records in an blink.? When the sort is added it take a second, maybe 2. >>? >>I started to change my pages to FAP reluctantly, but started to compare find speeds. >>? >>Using Jonathon Stark's examples, I run up a FAP page and and FX page. >>? >>I am now getting some strange issues with FX.php >>? >>> >>define('DEBUG', TRUE); >> >> >>require_once ('../FX/FX.php'); >>$request = new FX('10.70.10.166', '80', 'FMAlt'); >>$request->SetDBData('DB_Con','php_lay'); >>$request->SetDBUserPass('user', 'pword'); >>$request->AddSortParam('Level','ascend'); >>$request->AddSortParam('Position','ascend'); >>$request->AddSortParam('Name','ascend'); >>$result = $request->FMFindAll(); >>$records = $result['data']; >> >>echo ''; >>echo ''; >>echo ''; >>echo ''; >>echo ''; >>echo ''; >> >>foreach($records as $record) { >>??? echo ''; >>??? echo ''; >>??? echo ''; >>??? echo ''; >>??? echo ''; >>} >>echo '
NameTypeAccount Name
'.$record['Name'][0].''.$record['Position'][0].''.$record['Level'][0].'
'; >> >>?> >> >>I have used the above code for my test.? The table header row is displayed but no data.? I have debugging on, and if I click the debug link, it shows all my records in the xml with an error code of 0. >> >>What is wrong with my foreach statement that would produce this result. >> >>Thank you so much >> >>Stephen >>? >>? >>? >>? >>? >>? >>? >> >>________________________________ >> >>From:Chris Hansen >>To: Stephe Pocock >>Cc: FX.php Discussion List >>Sent: Monday, 30 June 2014 11:52 PM >>Subject: Re: [FX.php List] Please help with slow code >>? >>Stephen, >>? >>So are you saying that if you perform a query via FAP without sorting, it returns quickly? ?Is this the case with FX.php as well, or is it still slow? ?If it's the sort that is slow, and you're only dealing with a couple hundred records, I'd absolutely perform the sort using PHP. >>? >>Also, not to be a broken record, but I've asked you twice to try the query using a different data type parameter (FMPro7 -- or 13 if you like -- rather than FMAlt). ?This really can make a difference. >>? >>Best, >>? >>--Chris >>? >>On Jun 30, 2014, at 9:24 AM, Stephe Pocock wrote: >> >> >> >>Hi Chris >>>? >>>Thanks for the response. >>>? >>>I am not sure what is going on with my solution. >>>? >>>As i said, it worked fine under FM11 but under 12 and now 13 it is slow, 18 seconds to load 230 records. >>>? >>>Today, I re-wrote the page using the Filemaker php API, I used the same layout and the same find request return the original calculation fields.? The results are returned almost instantly.? The slowness with FM php is the sorting. >>>? >>>Thanks >>>? >>>Stephen >>>? >>> >>>________________________________ >>> >>>From:Chris Hansen >>>To: Stephe Pocock >>>Sent: Monday, 30 June 2014 11:06 PM >>>Subject: Re: [FX.php List] Please help with slow code >>>? >>>Hi Stephen, >>>? >>>So all three of the calculations were UN-stored calcs? ?Well, if there's no way to create stored versions of the calculations (via periodically re-loaded lookups, for example), then doing the calc in PHP might be faster. ?That said, it does seem odd that the performance was okay in FM 11 if that's the problem. >>>? >>>That brings me to the other possibility: FMAlt vs FMPro7. ?The reason that FMAlt was introduced was that a bug was introduced in FMS12 related to portals and/or repeating fields as returned by a specific XML schema. ?(Everything else works fine.) ?The XML grammar used by FMAlt is much more verbose, and I have seen responses with it take twice as long to load (though typically the difference is quite a bit smaller.) ?Are there portals and/or repeating fields on the layout in question, and if not, have you tried using FMPro7 as your data type? ?(Note that you can use FMPro12 as the data type, too, but the output will be no different.) >>>? >>>Best, >>>? >>>--Chris >>>? >>>? >>>On Jun 29, 2014, at 10:25 PM, Stephe Pocock wrote: >>> >>> >>> >>>Hi Chris >>>>? >>>>There were 6 fields on the layout. >>>>? >>>>3 calculations. >>>>? >>>>I have removed the calculations from the php page and layout and the page loads faster, but obviously does not have the required data. >>>>? >>>>The thing that bothers me is these are the same pages and setups that we have for Filemaker 11 and we never had the slow loads. >>>>? >>>>Are you suggesting that I not use calculations and do all of the calculations in php? >>>>? >>>>Thanks >>>> >>>>Stephen >>>>? >>>> >>>>________________________________ >>>> >>>>From:Chris Hansen >>>>To: Stephe Pocock ; FX.php Discussion List >>>>Sent: Friday, 27 June 2014 12:21 AM >>>>Subject: Re: [FX.php List] Please help with slow code >>>>? >>>>Hi Stephe, >>>>? >>>>A few questions: >>>>? >>>>1) Are there many excess fields on the layout in question? >>>>? >>>>2) Are there any summary or unstored calculation fields? >>>>? >>>>3) Have you tried performing the query using data type FMPro7? (In this case any integer gte 7 will perform the same.) >>>>? >>>>Best, >>>>? >>>>--Chris >>>>? >>>>? >>>>On Jun 26, 2014, at 3:10 AM, Stephe Pocock wrote: >>>> >>>> >>>> >>>>Hi >>>>> >>>>>We pretty much use the same code for all our FX pages.? Ever since we moved from Filemaker 11 this has been a lot slower to load. >>>>> >>>>>I use the latest FX.php and FMalt >>>>> >>>>>I would greatly appreciate it if someone could review this code and let me know if there is anything out of the ordinary. >>>>>>>>> >>>>>define('DEBUG', FALSE); >>>>> >>>>>include_once("../FX/FX.php"); >>>>>include_once("../FX/server_data.php"); >>>>>include_once("../FX/FMErrors.php"); >>>>> >>>>>$TitleID=$_REQUEST['Initial']; >>>>> >>>>>$cat=new FX($serverIP,$webCompanionPort,'FMAlt'); >>>>>$cat->setDBData('FMOnline','TQS_Manual_PHP', 'ALL'); >>>>>$cat->SetDBUserPass ($webUN, $webPW); >>>>>$cat->AddDBParam('Initial',$TitleID); >>>>>$cat->AddDBParam('Reference','FMP'); >>>>> >>>>>$cat->AddSortParam('Title','ascend'); >>>>> >>>>>$catResult=$cat->FMFind(); >>>>>foreach ($catResult['data'] as $key => $catData) >>>>> >>>>>?> >>>>> >>>>> >>>>> >>>>> >>>>>Forms, Manuals and Publications >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>? >>>>>>>>>$checkHeader = NULL; >>>>> >>>>>foreach ($catResult['data'] as $key => $catData) >>>>>{ >>>>>$Title = $catData['Title'][0]; >>>>>$URL = $catData['URL'][0]; >>>>>$target = $catData['c_URL_target'][0]; >>>>> >>>>> >>>>>echo "\n >>>>>\n >>>>>\n >>>>>\n"; >>>>> >>>>>} >>>>>// End the foreach loop >>>>>?> >>>>>
>>>>>???????????????
??? ???
$Title
>>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>There are less than 100 records and it takes up to a minute to load. >>>>> >>>>>We are using FMS13 on iis 2008R2. >>>>> >>>>>Thanks in advance. >>>>> >>>>>Stephen >>>>>_______________________________________________ >>>>>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/20140703/cda0f1ab/attachment-0001.html From rfox at innerfile.com Fri Jul 4 16:40:55 2014 From: rfox at innerfile.com (Robert Fox) Date: Fri Jul 4 16:38:36 2014 Subject: [FX.php List] RE: FX using PHP 5.5? In-Reply-To: References: , , Message-ID: I've updated MAMP so that I can work with PHP 5.5 a little more easily. Now that I'm using the patched FX from Andrew, I am getting a new error from line 216 of '/datasource_classes/RetrieveFMXML.class.php': "preg_replace_callback(): Requires argument 2, 'utf8HTMLEntities', to be a valid callback" ________________________________________ From: fx.php_list-bounces@mail.iviking.org [fx.php_list-bounces@mail.iviking.org] On Behalf Of Andrew Denman [adenman@tmea.org] Sent: Wednesday, July 02, 2014 3:31 PM To: FX.php Discussion List Subject: [FX.php List] RE: FX using PHP 5.5? Just to be clear (as I now see it may not have been), yodarunamok's version is the official. The pull request I submitted hasn't yet been included in that one. The link I included is a fork that includes the patch to run on PHP 5.5 without errors. Andrew Denman -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Robert Fox Sent: Wednesday, July 02, 2014 8:03 AM To: FX.php Discussion List Subject: [FX.php List] RE: FX using PHP 5.5? I had been using the latest version from yodarunamok's repo (linked to from iviking.org), I will try the patch today. ________________________________________ From: fx.php_list-bounces@mail.iviking.org [fx.php_list-bounces@mail.iviking.org] On Behalf Of Andrew Denman [adenman@tmea.org] Sent: Tuesday, July 01, 2014 12:17 PM To: FX.php Discussion List Subject: [FX.php List] RE: FX using PHP 5.5? I submitted a patch to github for this. Try using this one: https://github.com/APD183/fxphp Andrew Denman -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Robert Fox Sent: Monday, June 30, 2014 3:55 PM To: FX.php Discussion List Subject: [FX.php List] FX using PHP 5.5? Is it possible to use FX.php with PHP 5.5? I just tried doing that today, and received the error: "preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead" Sure enough, it's deprecated in PHP 5.5, and the DigitalOcean droplet I just fired up is using PHP 5.5.14. I'm willing to contribute to refactoring if somebody else hasn't already figured out a workaround for this! Thanks, Rob_______________________________________________ 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 ted-fitzgerald at uiowa.edu Thu Jul 3 08:47:27 2014 From: ted-fitzgerald at uiowa.edu (Fitzgerald, Theodore C) Date: Mon Jul 7 09:05:12 2014 Subject: [FX.php List] Please help with slow code In-Reply-To: <1404311025.3057.YahooMailNeo@web163202.mail.gq1.yahoo.com> References: <71B70BDA-DA9F-4DE0-890A-CCF3AE193FE0@gmail.com> <1403773815.25313.YahooMailNeo@web163202.mail.gq1.yahoo.com> <3F7A6713-4181-4EE5-946D-77C9DAB5D948@iViking.org> <1404102338.87199.YahooMailNeo@web163204.mail.gq1.yahoo.com> <6288D14B-565F-4136-8158-038B0898688D@iViking.org> <1404141866.81061.YahooMailNeo@web163204.mail.gq1.yahoo.com> <1404227700.67060.YahooMailNeo@web163203.mail.gq1.yahoo.com> <1404255610.94561.YahooMailNeo@web163201.mail.gq1.yahoo.com> <1404311025.3057.YahooMailNeo@web163202.mail.gq1.yahoo.com> Message-ID: Stephe, I might have missed this, but what version of FileMaker server are you using? And are you using the latest code from the FX.php github repo? The ?unknown command? issue happens with FileMaker Server 13 and older versions of FX.php due to a change in 13. Ted Application Programmer/Analyst ITS-Enterprise Services 2800 UCC University of Iowa From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Stephe Pocock Sent: Wednesday, July 02, 2014 9:24 AM To: Dale Bengston; FX.php Discussion List Subject: Re: [FX.php List] Please help with slow code Hi This is the strange thing. If I paste the url into my browser the XML is displayed with all the results. Stephe ________________________________ From: Dale Bengston > To: Stephe Pocock > Sent: Wednesday, 2 July 2014 10:00 AM Subject: Re: [FX.php List] Please help with slow code Error code 4: "Command is unknown.? That?s a new one on me. What happens if you paste the url into your browser?s url box directly? Dale On Jul 1, 2014, at 6:00 PM, Stephe Pocock > wrote: Hi Dale Thanks for the input. The print_r($result) returns the following Array ( [data] => Array ( ) [linkNext] => [linkPrevious] => [foundCount] => 0 [fields] => Array ( ) [URL] => http://user:pword@10.70.10.166:80/fmi/xml/fmresultset.xml?-db=DB_Con&-lay=php_Lay&-max=50&-sortfield.1=Level&-sortorder.1=ascend&-sortfield.2=Position&-sortorder.2=ascend&-sortfield.3=Name&-sortorder.3=ascend&-findall [query] => [errorCode] => 4 [valueLists] => Array ( ) ) As the query is no longer working I cannot test the sorts. Removing the sorts returns Array ( [data] => Array ( ) [linkNext] => [linkPrevious] => [foundCount] => 0 [fields] => Array ( ) [URL] => http://user:pword@10.70.10.166:80/fmi/xml/fmresultset.xml?-db=DB_Con&-lay=php_Lay&-max=50&-findall [query] => [errorCode] => 4 [valueLists] => Array ( ) ) I may need to restart the server over the weekend. Many thanks Stephe ________________________________ From: Dale Bengston > To: Stephe Pocock >; FX.php Discussion List > Sent: Wednesday, 2 July 2014 1:57 AM Subject: Re: [FX.php List] Please help with slow code Hi Stephe, Try adding print_r($result); after your FX query and see what?s returned. As far as the slowdown, may we assume the sort fields are not unstored/calc fields and that you do not have any extraneous fields (especially calculation fields or portals or summary fields) on the layout referenced in your FX query. How does it perform with just two sort fields? Just one? Any difference? Hope this helps, Dale On Jul 1, 2014, at 10:15 AM, Stephe Pocock > wrote: Hi Chris FX is really slow with that code. It makes no difference if I use FMPro7 or FMAlt. 16 seconds to return 200 records. The sort has not effect on FX. FAP returns the records in an blink. When the sort is added it take a second, maybe 2. I started to change my pages to FAP reluctantly, but started to compare find speeds. Using Jonathon Stark's examples, I run up a FAP page and and FX page. I am now getting some strange issues with FX.php SetDBData('DB_Con','php_lay'); $request->SetDBUserPass('user', 'pword'); $request->AddSortParam('Level','ascend'); $request->AddSortParam('Position','ascend'); $request->AddSortParam('Name','ascend'); $result = $request->FMFindAll(); $records = $result['data']; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; foreach($records as $record) { echo ''; echo ''; echo ''; echo ''; echo ''; } echo '
NameTypeAccount Name
'.$record['Name'][0].''.$record['Position'][0].''.$record['Level'][0].'
'; ?> I have used the above code for my test. The table header row is displayed but no data. I have debugging on, and if I click the debug link, it shows all my records in the xml with an error code of 0. What is wrong with my foreach statement that would produce this result. Thank you so much Stephen ________________________________ From: Chris Hansen > To: Stephe Pocock > Cc: FX.php Discussion List > Sent: Monday, 30 June 2014 11:52 PM Subject: Re: [FX.php List] Please help with slow code Stephen, So are you saying that if you perform a query via FAP without sorting, it returns quickly? Is this the case with FX.php as well, or is it still slow? If it's the sort that is slow, and you're only dealing with a couple hundred records, I'd absolutely perform the sort using PHP. Also, not to be a broken record, but I've asked you twice to try the query using a different data type parameter (FMPro7 -- or 13 if you like -- rather than FMAlt). This really can make a difference. Best, --Chris On Jun 30, 2014, at 9:24 AM, Stephe Pocock > wrote: Hi Chris Thanks for the response. I am not sure what is going on with my solution. As i said, it worked fine under FM11 but under 12 and now 13 it is slow, 18 seconds to load 230 records. Today, I re-wrote the page using the Filemaker php API, I used the same layout and the same find request return the original calculation fields. The results are returned almost instantly. The slowness with FM php is the sorting. Thanks Stephen ________________________________ From: Chris Hansen > To: Stephe Pocock > Sent: Monday, 30 June 2014 11:06 PM Subject: Re: [FX.php List] Please help with slow code Hi Stephen, So all three of the calculations were UN-stored calcs? Well, if there's no way to create stored versions of the calculations (via periodically re-loaded lookups, for example), then doing the calc in PHP might be faster. That said, it does seem odd that the performance was okay in FM 11 if that's the problem. That brings me to the other possibility: FMAlt vs FMPro7. The reason that FMAlt was introduced was that a bug was introduced in FMS12 related to portals and/or repeating fields as returned by a specific XML schema. (Everything else works fine.) The XML grammar used by FMAlt is much more verbose, and I have seen responses with it take twice as long to load (though typically the difference is quite a bit smaller.) Are there portals and/or repeating fields on the layout in question, and if not, have you tried using FMPro7 as your data type? (Note that you can use FMPro12 as the data type, too, but the output will be no different.) Best, --Chris On Jun 29, 2014, at 10:25 PM, Stephe Pocock > wrote: Hi Chris There were 6 fields on the layout. 3 calculations. I have removed the calculations from the php page and layout and the page loads faster, but obviously does not have the required data. The thing that bothers me is these are the same pages and setups that we have for Filemaker 11 and we never had the slow loads. Are you suggesting that I not use calculations and do all of the calculations in php? Thanks Stephen ________________________________ From: Chris Hansen > To: Stephe Pocock >; FX.php Discussion List > Sent: Friday, 27 June 2014 12:21 AM Subject: Re: [FX.php List] Please help with slow code Hi Stephe, A few questions: 1) Are there many excess fields on the layout in question? 2) Are there any summary or unstored calculation fields? 3) Have you tried performing the query using data type FMPro7? (In this case any integer gte 7 will perform the same.) Best, --Chris On Jun 26, 2014, at 3:10 AM, Stephe Pocock > wrote: Hi We pretty much use the same code for all our FX pages. Ever since we moved from Filemaker 11 this has been a lot slower to load. I use the latest FX.php and FMalt I would greatly appreciate it if someone could review this code and let me know if there is anything out of the ordinary. setDBData('FMOnline','TQS_Manual_PHP', 'ALL'); $cat->SetDBUserPass ($webUN, $webPW); $cat->AddDBParam('Initial',$TitleID); $cat->AddDBParam('Reference','FMP'); $cat->AddSortParam('Title','ascend'); $catResult=$cat->FMFind(); foreach ($catResult['data'] as $key => $catData) ?> Forms, Manuals and Publications $catData) { $Title = $catData['Title'][0]; $URL = $catData['URL'][0]; $target = $catData['c_URL_target'][0]; echo "\n \n \n \n"; } // End the foreach loop ?>
$Title
There are less than 100 records and it takes up to a minute to load. We are using FMS13 on iis 2008R2. Thanks in advance. Stephen _______________________________________________ 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/20140703/3e60fdb9/attachment-0001.html From bob at patin.com Tue Jul 8 14:14:17 2014 From: bob at patin.com (Bob Patin) Date: Tue Jul 8 14:11:39 2014 Subject: [FX.php List] Shouldn't this work? Message-ID: <00F0BCC8-C640-405A-B9E5-070327B1EA5E@patin.com> I?m working on a client?s database, updating a web app for her; she has some rather long TO names and field names. I have this field on my web layout: Certification_Client_Program_Info::Association_Member_Date Shouldn?t I be able to edit to it using this $edit->AddDBParam("Certification_Client_Program_Info::Association_Member_Date",$Association_Member_Date); ? When I try, the page doesn?t load, indicating a parse error. I can always find the related record, extract its recid, then edit the record, but that means 2 more queries. Thanks, Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From dale.bengston at gmail.com Tue Jul 8 15:39:31 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Tue Jul 8 15:36:55 2014 Subject: [FX.php List] Shouldn't this work? In-Reply-To: <00F0BCC8-C640-405A-B9E5-070327B1EA5E@patin.com> References: <00F0BCC8-C640-405A-B9E5-070327B1EA5E@patin.com> Message-ID: <8BEED3AB-BD00-4A53-BDD0-16DE141669B8@gmail.com> Hi Bob, A parse error indicates a PHP syntax error. Is the line before this one missing a semicolon at the end? Dale On Jul 8, 2014, at 3:14 PM, Bob Patin wrote: > I?m working on a client?s database, updating a web app for her; she has some rather long TO names and field names. > > I have this field on my web layout: > > Certification_Client_Program_Info::Association_Member_Date > > Shouldn?t I be able to edit to it using this > > $edit->AddDBParam("Certification_Client_Program_Info::Association_Member_Date",$Association_Member_Date); > > ? > > When I try, the page doesn?t load, indicating a parse error. I can always find the related record, extract its recid, then edit the record, but that means 2 more queries. > > Thanks, > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11, 12 & 13 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From michael at pre1.com Tue Jul 8 15:50:58 2014 From: michael at pre1.com (Michael Sloper) Date: Tue Jul 8 15:48:21 2014 Subject: [FX.php List] Shouldn't this work? In-Reply-To: <8BEED3AB-BD00-4A53-BDD0-16DE141669B8@gmail.com> References: <00F0BCC8-C640-405A-B9E5-070327B1EA5E@patin.com> <8BEED3AB-BD00-4A53-BDD0-16DE141669B8@gmail.com> Message-ID: <02D3480C-10C6-4BCB-88B2-F9ECCF0F313A@pre1.com> Control-Shift V will validate php syntax in TextMate. Very helpful for this. -Michael On Jul 8, 2014, at 2:39 PM, Dale Bengston wrote: > Hi Bob, > > A parse error indicates a PHP syntax error. Is the line before this one missing a semicolon at the end? > > Dale > > On Jul 8, 2014, at 3:14 PM, Bob Patin wrote: > >> I?m working on a client?s database, updating a web app for her; she has some rather long TO names and field names. >> >> I have this field on my web layout: >> >> Certification_Client_Program_Info::Association_Member_Date >> >> Shouldn?t I be able to edit to it using this >> >> $edit->AddDBParam("Certification_Client_Program_Info::Association_Member_Date",$Association_Member_Date); >> >> ? >> >> When I try, the page doesn?t load, indicating a parse error. I can always find the related record, extract its recid, then edit the record, but that means 2 more queries. >> >> Thanks, >> >> Bob Patin >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> FileMaker 9, 10, 11, 12 & 13 Certified Developer >> http://www.longtermsolutions.com >> - >> iChat: bobpatin@me.com >> Twitter: bobpatin >> ? >> FileMaker Consulting >> FileMaker Hosting for all versions of FileMaker >> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 496 bytes Desc: Message signed with OpenPGP using GPGMail Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20140708/8f05f622/signature.bin From bob at patin.com Tue Jul 8 19:12:22 2014 From: bob at patin.com (Bob Patin) Date: Tue Jul 8 19:09:56 2014 Subject: [FX.php List] Shouldn't this work? In-Reply-To: <8BEED3AB-BD00-4A53-BDD0-16DE141669B8@gmail.com> References: <00F0BCC8-C640-405A-B9E5-070327B1EA5E@patin.com> <8BEED3AB-BD00-4A53-BDD0-16DE141669B8@gmail.com> Message-ID: <0CB65502-B40C-4CDF-AB97-FCB49B6FD8BE@patin.com> No, and I do know that it indicates a syntax error, but there isn't one. I could comment out the single line that wrote to that field and the page would work fine... then if I un-commented it, it would fail again. I finally wrote 2 new queries and write to the related field in a separate query. Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jul 8, 2014, at 4:39 PM, Dale Bengston wrote: > Hi Bob, > > A parse error indicates a PHP syntax error. Is the line before this one missing a semicolon at the end? > > Dale -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140708/5d8f2838/attachment.html From bob at patin.com Tue Jul 8 19:13:39 2014 From: bob at patin.com (Bob Patin) Date: Tue Jul 8 19:11:12 2014 Subject: [FX.php List] Shouldn't this work? In-Reply-To: <02D3480C-10C6-4BCB-88B2-F9ECCF0F313A@pre1.com> References: <00F0BCC8-C640-405A-B9E5-070327B1EA5E@patin.com> <8BEED3AB-BD00-4A53-BDD0-16DE141669B8@gmail.com> <02D3480C-10C6-4BCB-88B2-F9ECCF0F313A@pre1.com> Message-ID: <43B13C80-3A23-486D-98EB-3693D6FD485A@patin.com> But there *is* no syntax error; here's the line: $edit->AddDBParam("Certification_Client_Program_Info::Association_Member_Date",$Association_Member_Date); If it's commented out, the query works fine. I can only think that it has something to do with the related field, but I did a workaround and moved on... Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jul 8, 2014, at 4:50 PM, Michael Sloper wrote: > > Control-Shift V will validate php syntax in TextMate. Very helpful for this. > > -Michael > > On Jul 8, 2014, at 2:39 PM, Dale Bengston wrote: > >> Hi Bob, >> >> A parse error indicates a PHP syntax error. Is the line before this one missing a semicolon at the end? >> >> Dale >> >> On Jul 8, 2014, at 3:14 PM, Bob Patin wrote: >> >>> I?m working on a client?s database, updating a web app for her; she has some rather long TO names and field names. >>> >>> I have this field on my web layout: >>> >>> Certification_Client_Program_Info::Association_Member_Date >>> >>> Shouldn?t I be able to edit to it using this >>> >>> $edit->AddDBParam("Certification_Client_Program_Info::Association_Member_Date",$Association_Member_Date); >>> >>> ? >>> >>> When I try, the page doesn?t load, indicating a parse error. I can always find the related record, extract its recid, then edit the record, but that means 2 more queries. >>> >>> Thanks, >>> >>> Bob Patin >>> Longterm Solutions >>> bob@longtermsolutions.com >>> 615-333-6858 >>> FileMaker 9, 10, 11, 12 & 13 Certified Developer >>> http://www.longtermsolutions.com >>> - >>> iChat: bobpatin@me.com >>> Twitter: bobpatin >>> ? >>> FileMaker Consulting >>> FileMaker Hosting for all versions of FileMaker >>> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > 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/20140708/dd1f5354/attachment.html From mail at jsfmp.com Tue Jul 15 14:58:35 2014 From: mail at jsfmp.com (Joel Shapiro) Date: Tue Jul 15 14:55:32 2014 Subject: [FX.php List] [OFF] FMS13 & SSL? Message-ID: Hi all It seems FMS13 comes w/ a default SSL certificate, such that hitting an FMS13 site on https can bring up an "untrusted connection/invalid certificate" warning. ("The certificate is only valid for FMI Certificate Authority...") I've seen this on two different servers now -- both Windows. My question: Is it possible that this FMI cert could override an existing cert? I've got a client who's setting up FMS13 now (2-machine). Their tech dept said they'd installed an SSL cert on the web server but we didn't test it before installing FMS. Now when we go to https we get the FMI "invalid certificate" warning. The tech dept isn't the friendliest, so we're trying to check if the FMS install could have overwritten the existing cert -- or if this means that there was never one before FMS. Does anybody know? TIA, -Joel From steve at bluecrocodile.co.nz Tue Jul 15 15:33:25 2014 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Tue Jul 15 15:30:34 2014 Subject: [FX.php List] [OFF] FMS13 & SSL? In-Reply-To: References: Message-ID: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> Howdy Yes it can, and yes it does, because the FMS install establishes its own instance of the httpd service (which IIS also uses) installs its own SSL cert into that, and takes over the task of serving data through port 443 on that machine. You can install your own certificate so long as it's issued by one of a small set of SSL certificate providers, using the fmsadmin command line tool. On a train at the mo, so can't find references, but google and/or the FMS docs can provide details. Cheers Steve Sent from the iPhone of Steve Winter Matatiro Solutions steve@matatirosolutions.co.uk +44 777 852 4776 > On 15 Jul 2014, at 21:58, Joel Shapiro wrote: > > Hi all > > It seems FMS13 comes w/ a default SSL certificate, such that hitting an FMS13 site on https can bring up an "untrusted connection/invalid certificate" warning. ("The certificate is only valid for FMI Certificate Authority...") I've seen this on two different servers now -- both Windows. > > My question: > Is it possible that this FMI cert could override an existing cert? I've got a client who's setting up FMS13 now (2-machine). Their tech dept said they'd installed an SSL cert on the web server but we didn't test it before installing FMS. Now when we go to https we get the FMI "invalid certificate" warning. The tech dept isn't the friendliest, so we're trying to check if the FMS install could have overwritten the existing cert -- or if this means that there was never one before FMS. > > Does anybody know? > > TIA, > -Joel > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From mail at jsfmp.com Tue Jul 15 15:39:14 2014 From: mail at jsfmp.com (Joel Shapiro) Date: Tue Jul 15 15:36:08 2014 Subject: [FX.php List] [OFF] FMS13 & SSL? In-Reply-To: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> Message-ID: <40C7D896-BF9D-4757-B423-17EA7161A67A@jsfmp.com> Great, thanks Steve. Happy travels :) (In case anyone's following, here's the list of supported SSL certs & vendors for 13: http://help.filemaker.com/app/answers/detail/a_id/11413/ -Joel On Jul 15, 2014, at 2:33 PM, Steve Winter wrote: > Howdy > > Yes it can, and yes it does, because the FMS install establishes its own instance of the httpd service (which IIS also uses) installs its own SSL cert into that, and takes over the task of serving data through port 443 on that machine. > > You can install your own certificate so long as it's issued by one of a small set of SSL certificate providers, using the fmsadmin command line tool. On a train at the mo, so can't find references, but google and/or the FMS docs can provide details. > > Cheers > Steve > > Sent from the iPhone of Steve Winter > Matatiro Solutions > steve@matatirosolutions.co.uk > +44 777 852 4776 > >> On 15 Jul 2014, at 21:58, Joel Shapiro wrote: >> >> Hi all >> >> It seems FMS13 comes w/ a default SSL certificate, such that hitting an FMS13 site on https can bring up an "untrusted connection/invalid certificate" warning. ("The certificate is only valid for FMI Certificate Authority...") I've seen this on two different servers now -- both Windows. >> >> My question: >> Is it possible that this FMI cert could override an existing cert? I've got a client who's setting up FMS13 now (2-machine). Their tech dept said they'd installed an SSL cert on the web server but we didn't test it before installing FMS. Now when we go to https we get the FMI "invalid certificate" warning. The tech dept isn't the friendliest, so we're trying to check if the FMS install could have overwritten the existing cert -- or if this means that there was never one before FMS. >> >> Does anybody know? >> >> TIA, >> -Joel >> >> _______________________________________________ >> 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 Tue Jul 15 15:42:49 2014 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Tue Jul 15 15:40:02 2014 Subject: [FX.php List] [OFF] FMS13 & SSL? In-Reply-To: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> Message-ID: <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> Also worth mentioning is that the small list of SSL providers and types is because the same cert is used for connections between FMS and the web and FMS and FMP/FMGo and it's because of the route certs in Go that you can only use those providers... However if as in your case you have a two machine install then it may be possible that you could install a non-approved provider cert in the web machine (i.e a cheaper one) and then have your web connections secured with a 'real' certificate, leaving the FMI self-signed one in place on the primary server for Pro/Go connections. YMMV Steve Sent from the iPhone of Steve Winter Matatiro Solutions steve@matatirosolutions.co.uk +44 777 852 4776 > On 15 Jul 2014, at 22:33, Steve Winter wrote: > > Howdy > > Yes it can, and yes it does, because the FMS install establishes its own instance of the httpd service (which IIS also uses) installs its own SSL cert into that, and takes over the task of serving data through port 443 on that machine. > > You can install your own certificate so long as it's issued by one of a small set of SSL certificate providers, using the fmsadmin command line tool. On a train at the mo, so can't find references, but google and/or the FMS docs can provide details. > > Cheers > Steve > > Sent from the iPhone of Steve Winter > Matatiro Solutions > steve@matatirosolutions.co.uk > +44 777 852 4776 > >> On 15 Jul 2014, at 21:58, Joel Shapiro wrote: >> >> Hi all >> >> It seems FMS13 comes w/ a default SSL certificate, such that hitting an FMS13 site on https can bring up an "untrusted connection/invalid certificate" warning. ("The certificate is only valid for FMI Certificate Authority...") I've seen this on two different servers now -- both Windows. >> >> My question: >> Is it possible that this FMI cert could override an existing cert? I've got a client who's setting up FMS13 now (2-machine). Their tech dept said they'd installed an SSL cert on the web server but we didn't test it before installing FMS. Now when we go to https we get the FMI "invalid certificate" warning. The tech dept isn't the friendliest, so we're trying to check if the FMS install could have overwritten the existing cert -- or if this means that there was never one before FMS. >> >> Does anybody know? >> >> TIA, >> -Joel >> >> _______________________________________________ >> 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 mail at jsfmp.com Tue Jul 15 15:57:12 2014 From: mail at jsfmp.com (Joel Shapiro) Date: Tue Jul 15 15:54:07 2014 Subject: [FX.php List] [OFF] FMS13 & SSL? In-Reply-To: <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> Message-ID: <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> Darn that Go! Thanks for the extra info. Interesting thought about the 2-machine config. Seems some have had problems using the command-line installation on 2-machine configs: http://fmforums.com/forum/topic/90722-ssl-certificate-installation/ And FWIW here's the doc w/ SSL install instructions (Appendix D): http://www.filemaker.com/nl/support/docs/downloads/security_guide_13_en.pdf Best, -Joel On Jul 15, 2014, at 2:42 PM, Steve Winter wrote: > Also worth mentioning is that the small list of SSL providers and types is because the same cert is used for connections between FMS and the web and FMS and FMP/FMGo and it's because of the route certs in Go that you can only use those providers... > > However if as in your case you have a two machine install then it may be possible that you could install a non-approved provider cert in the web machine (i.e a cheaper one) and then have your web connections secured with a 'real' certificate, leaving the FMI self-signed one in place on the primary server for Pro/Go connections. > > YMMV > Steve > > Sent from the iPhone of Steve Winter > Matatiro Solutions > steve@matatirosolutions.co.uk > +44 777 852 4776 > >> On 15 Jul 2014, at 22:33, Steve Winter wrote: >> >> Howdy >> >> Yes it can, and yes it does, because the FMS install establishes its own instance of the httpd service (which IIS also uses) installs its own SSL cert into that, and takes over the task of serving data through port 443 on that machine. >> >> You can install your own certificate so long as it's issued by one of a small set of SSL certificate providers, using the fmsadmin command line tool. On a train at the mo, so can't find references, but google and/or the FMS docs can provide details. >> >> Cheers >> Steve >> >> Sent from the iPhone of Steve Winter >> Matatiro Solutions >> steve@matatirosolutions.co.uk >> +44 777 852 4776 >> >>> On 15 Jul 2014, at 21:58, Joel Shapiro wrote: >>> >>> Hi all >>> >>> It seems FMS13 comes w/ a default SSL certificate, such that hitting an FMS13 site on https can bring up an "untrusted connection/invalid certificate" warning. ("The certificate is only valid for FMI Certificate Authority...") I've seen this on two different servers now -- both Windows. >>> >>> My question: >>> Is it possible that this FMI cert could override an existing cert? I've got a client who's setting up FMS13 now (2-machine). Their tech dept said they'd installed an SSL cert on the web server but we didn't test it before installing FMS. Now when we go to https we get the FMI "invalid certificate" warning. The tech dept isn't the friendliest, so we're trying to check if the FMS install could have overwritten the existing cert -- or if this means that there was never one before FMS. >>> >>> Does anybody know? >>> >>> TIA, >>> -Joel >>> >>> _______________________________________________ >>> 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 Jul 15 18:04:31 2014 From: chris at iViking.org (Chris Hansen) Date: Tue Jul 15 18:01:21 2014 Subject: [FX.php List] [OFF] FMS13 & SSL? In-Reply-To: <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> Message-ID: <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> Also, keep in mind the "non-traditional" 2-machine install that Bob Patin (correct me if I'm wrong, Bob) has been using. Namely, a dedicated web server machine, and an "all FileMaker stuff" machine. Used that way, you could use whatever cert you want on the web server. You can set up the cURL used by FX.php to ignore the cert warnings (if it doesn't already), and no worries about a user seeing one, as they'd only be connecting via the cert on the web server. Just a thought... Hopefully it's at least somewhat useful to someone =) Best, --Chris On Jul 15, 2014, at 3:57 PM, Joel Shapiro wrote: > Darn that Go! > > Thanks for the extra info. Interesting thought about the 2-machine config. Seems some have had problems using the command-line installation on 2-machine configs: > http://fmforums.com/forum/topic/90722-ssl-certificate-installation/ > > And FWIW here's the doc w/ SSL install instructions (Appendix D): > http://www.filemaker.com/nl/support/docs/downloads/security_guide_13_en.pdf > > Best, > -Joel > > > On Jul 15, 2014, at 2:42 PM, Steve Winter wrote: > >> Also worth mentioning is that the small list of SSL providers and types is because the same cert is used for connections between FMS and the web and FMS and FMP/FMGo and it's because of the route certs in Go that you can only use those providers... >> >> However if as in your case you have a two machine install then it may be possible that you could install a non-approved provider cert in the web machine (i.e a cheaper one) and then have your web connections secured with a 'real' certificate, leaving the FMI self-signed one in place on the primary server for Pro/Go connections. >> >> YMMV >> Steve >> >> Sent from the iPhone of Steve Winter >> Matatiro Solutions >> steve@matatirosolutions.co.uk >> +44 777 852 4776 >> >>> On 15 Jul 2014, at 22:33, Steve Winter wrote: >>> >>> Howdy >>> >>> Yes it can, and yes it does, because the FMS install establishes its own instance of the httpd service (which IIS also uses) installs its own SSL cert into that, and takes over the task of serving data through port 443 on that machine. >>> >>> You can install your own certificate so long as it's issued by one of a small set of SSL certificate providers, using the fmsadmin command line tool. On a train at the mo, so can't find references, but google and/or the FMS docs can provide details. >>> >>> Cheers >>> Steve >>> >>> Sent from the iPhone of Steve Winter >>> Matatiro Solutions >>> steve@matatirosolutions.co.uk >>> +44 777 852 4776 >>> >>>> On 15 Jul 2014, at 21:58, Joel Shapiro wrote: >>>> >>>> Hi all >>>> >>>> It seems FMS13 comes w/ a default SSL certificate, such that hitting an FMS13 site on https can bring up an "untrusted connection/invalid certificate" warning. ("The certificate is only valid for FMI Certificate Authority...") I've seen this on two different servers now -- both Windows. >>>> >>>> My question: >>>> Is it possible that this FMI cert could override an existing cert? I've got a client who's setting up FMS13 now (2-machine). Their tech dept said they'd installed an SSL cert on the web server but we didn't test it before installing FMS. Now when we go to https we get the FMI "invalid certificate" warning. The tech dept isn't the friendliest, so we're trying to check if the FMS install could have overwritten the existing cert -- or if this means that there was never one before FMS. >>>> >>>> Does anybody know? >>>> >>>> TIA, >>>> -Joel >>>> >>>> _______________________________________________ >>>> 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 mail at jsfmp.com Tue Jul 15 21:22:21 2014 From: mail at jsfmp.com (Joel Shapiro) Date: Tue Jul 15 21:19:20 2014 Subject: [FX.php List] [OFF] FMS13 & SSL? In-Reply-To: <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> Message-ID: <1A5975BD-D8A2-4F06-8578-53474A2689D7@jsfmp.com> Hi Chris Thanks for the reply. My understanding is that the changes that came w/ FMS13 made it hard/impossible to host different domains on one server, so setting up FMS as a one-machine config and then using a separate non-FM web server, pointing to the FMS server, was a way to get around that -- just like hosting a CWP site on a godaddy server and pointing to some FMS elsewhere. But I'd imagine there must be some performance loss by not having the WPE on the second server -- as in a "real" two-machine config -- so if you've got the two machines and don't need to host multiple sites, it seems you wouldn't want to use that setup. Or don't I understand correctly? FWIW: The tech dept in my situation just had to edit the website binding and the originally installed SSL cert is working again. (I'm going to try to get more details from them) Best, -Joel On Jul 15, 2014, at 5:04 PM, Chris Hansen wrote: > Also, keep in mind the "non-traditional" 2-machine install that Bob Patin (correct me if I'm wrong, Bob) has been using. Namely, a dedicated web server machine, and an "all FileMaker stuff" machine. Used that way, you could use whatever cert you want on the web server. You can set up the cURL used by FX.php to ignore the cert warnings (if it doesn't already), and no worries about a user seeing one, as they'd only be connecting via the cert on the web server. > > Just a thought... Hopefully it's at least somewhat useful to someone =) > > Best, > > --Chris > > On Jul 15, 2014, at 3:57 PM, Joel Shapiro wrote: > >> Darn that Go! >> >> Thanks for the extra info. Interesting thought about the 2-machine config. Seems some have had problems using the command-line installation on 2-machine configs: >> http://fmforums.com/forum/topic/90722-ssl-certificate-installation/ >> >> And FWIW here's the doc w/ SSL install instructions (Appendix D): >> http://www.filemaker.com/nl/support/docs/downloads/security_guide_13_en.pdf >> >> Best, >> -Joel >> >> >> On Jul 15, 2014, at 2:42 PM, Steve Winter wrote: >> >>> Also worth mentioning is that the small list of SSL providers and types is because the same cert is used for connections between FMS and the web and FMS and FMP/FMGo and it's because of the route certs in Go that you can only use those providers... >>> >>> However if as in your case you have a two machine install then it may be possible that you could install a non-approved provider cert in the web machine (i.e a cheaper one) and then have your web connections secured with a 'real' certificate, leaving the FMI self-signed one in place on the primary server for Pro/Go connections. >>> >>> YMMV >>> Steve >>> >>> Sent from the iPhone of Steve Winter >>> Matatiro Solutions >>> steve@matatirosolutions.co.uk >>> +44 777 852 4776 >>> >>>> On 15 Jul 2014, at 22:33, Steve Winter wrote: >>>> >>>> Howdy >>>> >>>> Yes it can, and yes it does, because the FMS install establishes its own instance of the httpd service (which IIS also uses) installs its own SSL cert into that, and takes over the task of serving data through port 443 on that machine. >>>> >>>> You can install your own certificate so long as it's issued by one of a small set of SSL certificate providers, using the fmsadmin command line tool. On a train at the mo, so can't find references, but google and/or the FMS docs can provide details. >>>> >>>> Cheers >>>> Steve >>>> >>>> Sent from the iPhone of Steve Winter >>>> Matatiro Solutions >>>> steve@matatirosolutions.co.uk >>>> +44 777 852 4776 >>>> >>>>> On 15 Jul 2014, at 21:58, Joel Shapiro wrote: >>>>> >>>>> Hi all >>>>> >>>>> It seems FMS13 comes w/ a default SSL certificate, such that hitting an FMS13 site on https can bring up an "untrusted connection/invalid certificate" warning. ("The certificate is only valid for FMI Certificate Authority...") I've seen this on two different servers now -- both Windows. >>>>> >>>>> My question: >>>>> Is it possible that this FMI cert could override an existing cert? I've got a client who's setting up FMS13 now (2-machine). Their tech dept said they'd installed an SSL cert on the web server but we didn't test it before installing FMS. Now when we go to https we get the FMI "invalid certificate" warning. The tech dept isn't the friendliest, so we're trying to check if the FMS install could have overwritten the existing cert -- or if this means that there was never one before FMS. >>>>> >>>>> Does anybody know? >>>>> >>>>> TIA, >>>>> -Joel >>>>> >>>>> _______________________________________________ >>>>> 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 Wed Jul 16 08:34:37 2014 From: chris at iViking.org (Chris Hansen) Date: Wed Jul 16 08:31:25 2014 Subject: [FX.php List] [OFF] FMS13 & SSL? In-Reply-To: <1A5975BD-D8A2-4F06-8578-53474A2689D7@jsfmp.com> References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> <1A5975BD-D8A2-4F06-8578-53474A2689D7@jsfmp.com> Message-ID: Hey Joel, There might be a performance loss since the data being transferred would be XML (verbose). Of course, as I don't know the format of the data is that FileMaker would be passing in the other scenario, it's hard to surmise exactly what the performance difference would be. Also, the various parts of FileMaker server might be designed to take advantage of living on a single machine (just a guess). Finally, in my experience, the bigger data gets, the more likely it is to live on its own, optimized machine, as searching lots of data non-optimally will be much slower than transferring a bit of data over the network. At any rate, there are a variety of reasons to use your own web server rather than FileMaker's, e.g. wider choice of server options (nginx, linux web servers, apache on windows, etc.), the availability of server or php modules not available with FileMaker's server version, and so on. Thanks for the update on the SSL process. My guess is that others may well run into the problem down-the-line. Best, --Chris On Jul 15, 2014, at 9:22 PM, Joel Shapiro wrote: > Hi Chris > > Thanks for the reply. > > My understanding is that the changes that came w/ FMS13 made it hard/impossible to host different domains on one server, so setting up FMS as a one-machine config and then using a separate non-FM web server, pointing to the FMS server, was a way to get around that -- just like hosting a CWP site on a godaddy server and pointing to some FMS elsewhere. But I'd imagine there must be some performance loss by not having the WPE on the second server -- as in a "real" two-machine config -- so if you've got the two machines and don't need to host multiple sites, it seems you wouldn't want to use that setup. Or don't I understand correctly? > > FWIW: The tech dept in my situation just had to edit the website binding and the originally installed SSL cert is working again. (I'm going to try to get more details from them) > > Best, > -Joel > > > On Jul 15, 2014, at 5:04 PM, Chris Hansen wrote: > >> Also, keep in mind the "non-traditional" 2-machine install that Bob Patin (correct me if I'm wrong, Bob) has been using. Namely, a dedicated web server machine, and an "all FileMaker stuff" machine. Used that way, you could use whatever cert you want on the web server. You can set up the cURL used by FX.php to ignore the cert warnings (if it doesn't already), and no worries about a user seeing one, as they'd only be connecting via the cert on the web server. >> >> Just a thought... Hopefully it's at least somewhat useful to someone =) >> >> Best, >> >> --Chris >> >> On Jul 15, 2014, at 3:57 PM, Joel Shapiro wrote: >> >>> Darn that Go! >>> >>> Thanks for the extra info. Interesting thought about the 2-machine config. Seems some have had problems using the command-line installation on 2-machine configs: >>> http://fmforums.com/forum/topic/90722-ssl-certificate-installation/ >>> >>> And FWIW here's the doc w/ SSL install instructions (Appendix D): >>> http://www.filemaker.com/nl/support/docs/downloads/security_guide_13_en.pdf >>> >>> Best, >>> -Joel >>> >>> >>> On Jul 15, 2014, at 2:42 PM, Steve Winter wrote: >>> >>>> Also worth mentioning is that the small list of SSL providers and types is because the same cert is used for connections between FMS and the web and FMS and FMP/FMGo and it's because of the route certs in Go that you can only use those providers... >>>> >>>> However if as in your case you have a two machine install then it may be possible that you could install a non-approved provider cert in the web machine (i.e a cheaper one) and then have your web connections secured with a 'real' certificate, leaving the FMI self-signed one in place on the primary server for Pro/Go connections. >>>> >>>> YMMV >>>> Steve >>>> >>>> Sent from the iPhone of Steve Winter >>>> Matatiro Solutions >>>> steve@matatirosolutions.co.uk >>>> +44 777 852 4776 >>>> >>>>> On 15 Jul 2014, at 22:33, Steve Winter wrote: >>>>> >>>>> Howdy >>>>> >>>>> Yes it can, and yes it does, because the FMS install establishes its own instance of the httpd service (which IIS also uses) installs its own SSL cert into that, and takes over the task of serving data through port 443 on that machine. >>>>> >>>>> You can install your own certificate so long as it's issued by one of a small set of SSL certificate providers, using the fmsadmin command line tool. On a train at the mo, so can't find references, but google and/or the FMS docs can provide details. >>>>> >>>>> Cheers >>>>> Steve >>>>> >>>>> Sent from the iPhone of Steve Winter >>>>> Matatiro Solutions >>>>> steve@matatirosolutions.co.uk >>>>> +44 777 852 4776 >>>>> >>>>>> On 15 Jul 2014, at 21:58, Joel Shapiro wrote: >>>>>> >>>>>> Hi all >>>>>> >>>>>> It seems FMS13 comes w/ a default SSL certificate, such that hitting an FMS13 site on https can bring up an "untrusted connection/invalid certificate" warning. ("The certificate is only valid for FMI Certificate Authority...") I've seen this on two different servers now -- both Windows. >>>>>> >>>>>> My question: >>>>>> Is it possible that this FMI cert could override an existing cert? I've got a client who's setting up FMS13 now (2-machine). Their tech dept said they'd installed an SSL cert on the web server but we didn't test it before installing FMS. Now when we go to https we get the FMI "invalid certificate" warning. The tech dept isn't the friendliest, so we're trying to check if the FMS install could have overwritten the existing cert -- or if this means that there was never one before FMS. >>>>>> >>>>>> Does anybody know? >>>>>> >>>>>> TIA, >>>>>> -Joel >>>>>> >>>>>> _______________________________________________ >>>>>> 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 mail at jsfmp.com Wed Jul 16 21:30:12 2014 From: mail at jsfmp.com (Joel Shapiro) Date: Wed Jul 16 21:27:08 2014 Subject: [FX.php List] [OFF] FMS13 & SSL? In-Reply-To: References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> <1A5975BD-D8A2-4F06-8578-53474A2689D7@jsfmp.com> Message-ID: Thanks Chris I wonder how many CWP solutions out in the world use 2- or 3-machine configs vs 1-machine. I know of a number of people that had set up 2-machine when the API (& FMI guidelines) first came out but then changed to 1-machine a year or two later to "simplify" things. And I wonder how many of the multi-machine configs are set up as per FMI and how many use these non-FM web servers. And I wonder what kind of noticeable performance difference there is between the various setups, especially on sites without a lot of data &/or traffic. (Anybody here up for a poll?) Anyway, I wonder. Best, -Joel On Jul 16, 2014, at 7:34 AM, Chris Hansen wrote: > Hey Joel, > > There might be a performance loss since the data being transferred would be XML (verbose). Of course, as I don't know the format of the data is that FileMaker would be passing in the other scenario, it's hard to surmise exactly what the performance difference would be. Also, the various parts of FileMaker server might be designed to take advantage of living on a single machine (just a guess). Finally, in my experience, the bigger data gets, the more likely it is to live on its own, optimized machine, as searching lots of data non-optimally will be much slower than transferring a bit of data over the network. > > At any rate, there are a variety of reasons to use your own web server rather than FileMaker's, e.g. wider choice of server options (nginx, linux web servers, apache on windows, etc.), the availability of server or php modules not available with FileMaker's server version, and so on. > > Thanks for the update on the SSL process. My guess is that others may well run into the problem down-the-line. > > Best, > > --Chris > > On Jul 15, 2014, at 9:22 PM, Joel Shapiro wrote: > >> Hi Chris >> >> Thanks for the reply. >> >> My understanding is that the changes that came w/ FMS13 made it hard/impossible to host different domains on one server, so setting up FMS as a one-machine config and then using a separate non-FM web server, pointing to the FMS server, was a way to get around that -- just like hosting a CWP site on a godaddy server and pointing to some FMS elsewhere. But I'd imagine there must be some performance loss by not having the WPE on the second server -- as in a "real" two-machine config -- so if you've got the two machines and don't need to host multiple sites, it seems you wouldn't want to use that setup. Or don't I understand correctly? >> >> FWIW: The tech dept in my situation just had to edit the website binding and the originally installed SSL cert is working again. (I'm going to try to get more details from them) >> >> Best, >> -Joel >> >> >> On Jul 15, 2014, at 5:04 PM, Chris Hansen wrote: >> >>> Also, keep in mind the "non-traditional" 2-machine install that Bob Patin (correct me if I'm wrong, Bob) has been using. Namely, a dedicated web server machine, and an "all FileMaker stuff" machine. Used that way, you could use whatever cert you want on the web server. You can set up the cURL used by FX.php to ignore the cert warnings (if it doesn't already), and no worries about a user seeing one, as they'd only be connecting via the cert on the web server. >>> >>> Just a thought... Hopefully it's at least somewhat useful to someone =) >>> >>> Best, >>> >>> --Chris >>> >>> On Jul 15, 2014, at 3:57 PM, Joel Shapiro wrote: >>> >>>> Darn that Go! >>>> >>>> Thanks for the extra info. Interesting thought about the 2-machine config. Seems some have had problems using the command-line installation on 2-machine configs: >>>> http://fmforums.com/forum/topic/90722-ssl-certificate-installation/ >>>> >>>> And FWIW here's the doc w/ SSL install instructions (Appendix D): >>>> http://www.filemaker.com/nl/support/docs/downloads/security_guide_13_en.pdf >>>> >>>> Best, >>>> -Joel >>>> >>>> >>>> On Jul 15, 2014, at 2:42 PM, Steve Winter wrote: >>>> >>>>> Also worth mentioning is that the small list of SSL providers and types is because the same cert is used for connections between FMS and the web and FMS and FMP/FMGo and it's because of the route certs in Go that you can only use those providers... >>>>> >>>>> However if as in your case you have a two machine install then it may be possible that you could install a non-approved provider cert in the web machine (i.e a cheaper one) and then have your web connections secured with a 'real' certificate, leaving the FMI self-signed one in place on the primary server for Pro/Go connections. >>>>> >>>>> YMMV >>>>> Steve >>>>> >>>>> Sent from the iPhone of Steve Winter >>>>> Matatiro Solutions >>>>> steve@matatirosolutions.co.uk >>>>> +44 777 852 4776 >>>>> >>>>>> On 15 Jul 2014, at 22:33, Steve Winter wrote: >>>>>> >>>>>> Howdy >>>>>> >>>>>> Yes it can, and yes it does, because the FMS install establishes its own instance of the httpd service (which IIS also uses) installs its own SSL cert into that, and takes over the task of serving data through port 443 on that machine. >>>>>> >>>>>> You can install your own certificate so long as it's issued by one of a small set of SSL certificate providers, using the fmsadmin command line tool. On a train at the mo, so can't find references, but google and/or the FMS docs can provide details. >>>>>> >>>>>> Cheers >>>>>> Steve >>>>>> >>>>>> Sent from the iPhone of Steve Winter >>>>>> Matatiro Solutions >>>>>> steve@matatirosolutions.co.uk >>>>>> +44 777 852 4776 >>>>>> >>>>>>> On 15 Jul 2014, at 21:58, Joel Shapiro wrote: >>>>>>> >>>>>>> Hi all >>>>>>> >>>>>>> It seems FMS13 comes w/ a default SSL certificate, such that hitting an FMS13 site on https can bring up an "untrusted connection/invalid certificate" warning. ("The certificate is only valid for FMI Certificate Authority...") I've seen this on two different servers now -- both Windows. >>>>>>> >>>>>>> My question: >>>>>>> Is it possible that this FMI cert could override an existing cert? I've got a client who's setting up FMS13 now (2-machine). Their tech dept said they'd installed an SSL cert on the web server but we didn't test it before installing FMS. Now when we go to https we get the FMI "invalid certificate" warning. The tech dept isn't the friendliest, so we're trying to check if the FMS install could have overwritten the existing cert -- or if this means that there was never one before FMS. >>>>>>> >>>>>>> Does anybody know? >>>>>>> >>>>>>> TIA, >>>>>>> -Joel >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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 KFutter at sbc.vic.edu.au Wed Jul 16 21:51:25 2014 From: KFutter at sbc.vic.edu.au (Kevin Futter) Date: Wed Jul 16 21:47:36 2014 Subject: [FX.php List] [OFF] FMS13 & SSL? In-Reply-To: References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> <1A5975BD-D8A2-4F06-8578-53474A2689D7@jsfmp.com> Message-ID: Non-FM web server set ups all the way here. We publish a wide variety of information across many sites using multiple web servers, to both internal and external clients - *some* of which is drawn from FileMaker. Having the ability for any authorised site or server to connect to FileMaker and effectively use it as a web service has great utility for us. So our web servers talk to WPE on the FileMaker server. If there?s a performance hit, the flexibility more than makes up for it. For information that is designed from the outset to be published on the web, we use MySQL anyway. Kev On 17/07/2014 1:30 pm, "Joel Shapiro" wrote: >Thanks Chris > >I wonder how many CWP solutions out in the world use 2- or 3-machine >configs vs 1-machine. I know of a number of people that had set up >2-machine when the API (& FMI guidelines) first came out but then changed >to 1-machine a year or two later to "simplify" things. And I wonder how >many of the multi-machine configs are set up as per FMI and how many use >these non-FM web servers. And I wonder what kind of noticeable >performance difference there is between the various setups, especially on >sites without a lot of data &/or traffic. > >(Anybody here up for a poll?) > >Anyway, I wonder. > >Best, >-Joel > > >On Jul 16, 2014, at 7:34 AM, Chris Hansen wrote: > >> Hey Joel, >> >> There might be a performance loss since the data being transferred >>would be XML (verbose). Of course, as I don't know the format of the >>data is that FileMaker would be passing in the other scenario, it's hard >>to surmise exactly what the performance difference would be. Also, the >>various parts of FileMaker server might be designed to take advantage of >>living on a single machine (just a guess). Finally, in my experience, >>the bigger data gets, the more likely it is to live on its own, >>optimized machine, as searching lots of data non-optimally will be much >>slower than transferring a bit of data over the network. >> >> At any rate, there are a variety of reasons to use your own web server >>rather than FileMaker's, e.g. wider choice of server options (nginx, >>linux web servers, apache on windows, etc.), the availability of server >>or php modules not available with FileMaker's server version, and so on. >> >> Thanks for the update on the SSL process. My guess is that others may >>well run into the problem down-the-line. >> >> Best, >> >> --Chris >> >> On Jul 15, 2014, at 9:22 PM, Joel Shapiro wrote: >> >>> Hi Chris >>> >>> Thanks for the reply. >>> >>> My understanding is that the changes that came w/ FMS13 made it >>>hard/impossible to host different domains on one server, so setting up >>>FMS as a one-machine config and then using a separate non-FM web >>>server, pointing to the FMS server, was a way to get around that -- >>>just like hosting a CWP site on a godaddy server and pointing to some >>>FMS elsewhere. But I'd imagine there must be some performance loss by >>>not having the WPE on the second server -- as in a "real" two-machine >>>config -- so if you've got the two machines and don't need to host >>>multiple sites, it seems you wouldn't want to use that setup. Or don't >>>I understand correctly? >>> >>> FWIW: The tech dept in my situation just had to edit the website >>>binding and the originally installed SSL cert is working again. (I'm >>>going to try to get more details from them) >>> >>> Best, >>> -Joel >>> >>> >>> On Jul 15, 2014, at 5:04 PM, Chris Hansen wrote: >>> >>>> Also, keep in mind the "non-traditional" 2-machine install that Bob >>>>Patin (correct me if I'm wrong, Bob) has been using. Namely, a >>>>dedicated web server machine, and an "all FileMaker stuff" machine. >>>>Used that way, you could use whatever cert you want on the web server. >>>> You can set up the cURL used by FX.php to ignore the cert warnings >>>>(if it doesn't already), and no worries about a user seeing one, as >>>>they'd only be connecting via the cert on the web server. >>>> >>>> Just a thought... Hopefully it's at least somewhat useful to someone >>>>=) >>>> >>>> Best, >>>> >>>> --Chris >>>> >>>> On Jul 15, 2014, at 3:57 PM, Joel Shapiro wrote: >>>> >>>>> Darn that Go! >>>>> >>>>> Thanks for the extra info. Interesting thought about the 2-machine >>>>>config. Seems some have had problems using the command-line >>>>>installation on 2-machine configs: >>>>> http://fmforums.com/forum/topic/90722-ssl-certificate-installation/ >>>>> >>>>> And FWIW here's the doc w/ SSL install instructions (Appendix D): >>>>> >>>>>http://www.filemaker.com/nl/support/docs/downloads/security_guide_13_e >>>>>n.pdf >>>>> >>>>> Best, >>>>> -Joel >>>>> >>>>> >>>>> On Jul 15, 2014, at 2:42 PM, Steve Winter >>>>> wrote: >>>>> >>>>>> Also worth mentioning is that the small list of SSL providers and >>>>>>types is because the same cert is used for connections between FMS >>>>>>and the web and FMS and FMP/FMGo and it's because of the route certs >>>>>>in Go that you can only use those providers... >>>>>> >>>>>> However if as in your case you have a two machine install then it >>>>>>may be possible that you could install a non-approved provider cert >>>>>>in the web machine (i.e a cheaper one) and then have your web >>>>>>connections secured with a 'real' certificate, leaving the FMI >>>>>>self-signed one in place on the primary server for Pro/Go >>>>>>connections. >>>>>> >>>>>> YMMV >>>>>> Steve >>>>>> >>>>>> Sent from the iPhone of Steve Winter >>>>>> Matatiro Solutions >>>>>> steve@matatirosolutions.co.uk >>>>>> +44 777 852 4776 >>>>>> >>>>>>> On 15 Jul 2014, at 22:33, Steve Winter >>>>>>>wrote: >>>>>>> >>>>>>> Howdy >>>>>>> >>>>>>> Yes it can, and yes it does, because the FMS install establishes >>>>>>>its own instance of the httpd service (which IIS also uses) >>>>>>>installs its own SSL cert into that, and takes over the task of >>>>>>>serving data through port 443 on that machine. >>>>>>> >>>>>>> You can install your own certificate so long as it's issued by one >>>>>>>of a small set of SSL certificate providers, using the fmsadmin >>>>>>>command line tool. On a train at the mo, so can't find references, >>>>>>>but google and/or the FMS docs can provide details. >>>>>>> >>>>>>> Cheers >>>>>>> Steve >>>>>>> >>>>>>> Sent from the iPhone of Steve Winter >>>>>>> Matatiro Solutions >>>>>>> steve@matatirosolutions.co.uk >>>>>>> +44 777 852 4776 >>>>>>> >>>>>>>> On 15 Jul 2014, at 21:58, Joel Shapiro wrote: >>>>>>>> >>>>>>>> Hi all >>>>>>>> >>>>>>>> It seems FMS13 comes w/ a default SSL certificate, such that >>>>>>>>hitting an FMS13 site on https can bring up an "untrusted >>>>>>>>connection/invalid certificate" warning. ("The certificate is >>>>>>>>only valid for FMI Certificate Authority...") I've seen this on >>>>>>>>two different servers now -- both Windows. >>>>>>>> >>>>>>>> My question: >>>>>>>> Is it possible that this FMI cert could override an existing >>>>>>>>cert? I've got a client who's setting up FMS13 now (2-machine). >>>>>>>>Their tech dept said they'd installed an SSL cert on the web >>>>>>>>server but we didn't test it before installing FMS. Now when we >>>>>>>>go to https we get the FMI "invalid certificate" warning. The >>>>>>>>tech dept isn't the friendliest, so we're trying to check if the >>>>>>>>FMS install could have overwritten the existing cert -- or if this >>>>>>>>means that there was never one before FMS. >>>>>>>> >>>>>>>> Does anybody know? >>>>>>>> >>>>>>>> TIA, >>>>>>>> -Joel >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> 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 [http://www.sbc.vic.edu.au/assets/images/email_logo.gif] St Bernard's College Achieving Excellence By Learning And Doing Kevin Futter Webmaster Ph: +61392891007 | Mobile: Email: KFutter@sbc.vic.edu.au 41 Rosehill Road, Essendon, Victoria, 3040 | Ph: 03 9289 1000 | F: 9337 1741 | www.sbc.vic.edu.au ________________________________ 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. From tim.webko at gmail.com Wed Jul 16 21:51:32 2014 From: tim.webko at gmail.com (Tim 'Webko' Booth) Date: Wed Jul 16 21:48:18 2014 Subject: [FX.php List] [OFF] FMS13 & SSL? In-Reply-To: References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> <1A5975BD-D8A2-4F06-8578-53474A2689D7@jsfmp.com> Message-ID: I'll put mine in... At Niche, we never used a 1 machine. And very rarely a two machine FM type system... Nearly all (90%+) were a random web server pointed at a single FM Server with WPE Cheers Webko On 17 July 2014 13:30, Joel Shapiro wrote: > Thanks Chris > > I wonder how many CWP solutions out in the world use 2- or 3-machine > configs vs 1-machine. I know of a number of people that had set up > 2-machine when the API (& FMI guidelines) first came out but then changed > to 1-machine a year or two later to "simplify" things. And I wonder how > many of the multi-machine configs are set up as per FMI and how many use > these non-FM web servers. And I wonder what kind of noticeable performance > difference there is between the various setups, especially on sites without > a lot of data &/or traffic. > > (Anybody here up for a poll?) > > Anyway, I wonder. > > Best, > -Joel > > > On Jul 16, 2014, at 7:34 AM, Chris Hansen wrote: > > > Hey Joel, > > > > There might be a performance loss since the data being transferred would > be XML (verbose). Of course, as I don't know the format of the data is > that FileMaker would be passing in the other scenario, it's hard to surmise > exactly what the performance difference would be. Also, the various parts > of FileMaker server might be designed to take advantage of living on a > single machine (just a guess). Finally, in my experience, the bigger data > gets, the more likely it is to live on its own, optimized machine, as > searching lots of data non-optimally will be much slower than transferring > a bit of data over the network. > > > > At any rate, there are a variety of reasons to use your own web server > rather than FileMaker's, e.g. wider choice of server options (nginx, linux > web servers, apache on windows, etc.), the availability of server or php > modules not available with FileMaker's server version, and so on. > > > > Thanks for the update on the SSL process. My guess is that others may > well run into the problem down-the-line. > > > > Best, > > > > --Chris > > > > On Jul 15, 2014, at 9:22 PM, Joel Shapiro wrote: > > > >> Hi Chris > >> > >> Thanks for the reply. > >> > >> My understanding is that the changes that came w/ FMS13 made it > hard/impossible to host different domains on one server, so setting up FMS > as a one-machine config and then using a separate non-FM web server, > pointing to the FMS server, was a way to get around that -- just like > hosting a CWP site on a godaddy server and pointing to some FMS elsewhere. > But I'd imagine there must be some performance loss by not having the WPE > on the second server -- as in a "real" two-machine config -- so if you've > got the two machines and don't need to host multiple sites, it seems you > wouldn't want to use that setup. Or don't I understand correctly? > >> > >> FWIW: The tech dept in my situation just had to edit the website > binding and the originally installed SSL cert is working again. (I'm going > to try to get more details from them) > >> > >> Best, > >> -Joel > >> > >> > >> On Jul 15, 2014, at 5:04 PM, Chris Hansen wrote: > >> > >>> Also, keep in mind the "non-traditional" 2-machine install that Bob > Patin (correct me if I'm wrong, Bob) has been using. Namely, a dedicated > web server machine, and an "all FileMaker stuff" machine. Used that way, > you could use whatever cert you want on the web server. You can set up the > cURL used by FX.php to ignore the cert warnings (if it doesn't already), > and no worries about a user seeing one, as they'd only be connecting via > the cert on the web server. > >>> > >>> Just a thought... Hopefully it's at least somewhat useful to someone > =) > >>> > >>> Best, > >>> > >>> --Chris > >>> > >>> On Jul 15, 2014, at 3:57 PM, Joel Shapiro wrote: > >>> > >>>> Darn that Go! > >>>> > >>>> Thanks for the extra info. Interesting thought about the 2-machine > config. Seems some have had problems using the command-line installation > on 2-machine configs: > >>>> http://fmforums.com/forum/topic/90722-ssl-certificate-installation/ > >>>> > >>>> And FWIW here's the doc w/ SSL install instructions (Appendix D): > >>>> > http://www.filemaker.com/nl/support/docs/downloads/security_guide_13_en.pdf > >>>> > >>>> Best, > >>>> -Joel > >>>> > >>>> > >>>> On Jul 15, 2014, at 2:42 PM, Steve Winter > wrote: > >>>> > >>>>> Also worth mentioning is that the small list of SSL providers and > types is because the same cert is used for connections between FMS and the > web and FMS and FMP/FMGo and it's because of the route certs in Go that you > can only use those providers... > >>>>> > >>>>> However if as in your case you have a two machine install then it > may be possible that you could install a non-approved provider cert in the > web machine (i.e a cheaper one) and then have your web connections secured > with a 'real' certificate, leaving the FMI self-signed one in place on the > primary server for Pro/Go connections. > >>>>> > >>>>> YMMV > >>>>> Steve > >>>>> > >>>>> Sent from the iPhone of Steve Winter > >>>>> Matatiro Solutions > >>>>> steve@matatirosolutions.co.uk > >>>>> +44 777 852 4776 > >>>>> > >>>>>> On 15 Jul 2014, at 22:33, Steve Winter > wrote: > >>>>>> > >>>>>> Howdy > >>>>>> > >>>>>> Yes it can, and yes it does, because the FMS install establishes > its own instance of the httpd service (which IIS also uses) installs its > own SSL cert into that, and takes over the task of serving data through > port 443 on that machine. > >>>>>> > >>>>>> You can install your own certificate so long as it's issued by one > of a small set of SSL certificate providers, using the fmsadmin command > line tool. On a train at the mo, so can't find references, but google > and/or the FMS docs can provide details. > >>>>>> > >>>>>> Cheers > >>>>>> Steve > >>>>>> > >>>>>> Sent from the iPhone of Steve Winter > >>>>>> Matatiro Solutions > >>>>>> steve@matatirosolutions.co.uk > >>>>>> +44 777 852 4776 > >>>>>> > >>>>>>> On 15 Jul 2014, at 21:58, Joel Shapiro wrote: > >>>>>>> > >>>>>>> Hi all > >>>>>>> > >>>>>>> It seems FMS13 comes w/ a default SSL certificate, such that > hitting an FMS13 site on https can bring up an "untrusted > connection/invalid certificate" warning. ("The certificate is only valid > for FMI Certificate Authority...") I've seen this on two different servers > now -- both Windows. > >>>>>>> > >>>>>>> My question: > >>>>>>> Is it possible that this FMI cert could override an existing cert? > I've got a client who's setting up FMS13 now (2-machine). Their tech dept > said they'd installed an SSL cert on the web server but we didn't test it > before installing FMS. Now when we go to https we get the FMI "invalid > certificate" warning. The tech dept isn't the friendliest, so we're trying > to check if the FMS install could have overwritten the existing cert -- or > if this means that there was never one before FMS. > >>>>>>> > >>>>>>> Does anybody know? > >>>>>>> > >>>>>>> TIA, > >>>>>>> -Joel > >>>>>>> > >>>>>>> _______________________________________________ > >>>>>>> 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140717/8992d8d0/attachment.html From steve at bluecrocodile.co.nz Thu Jul 17 01:19:40 2014 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Thu Jul 17 01:16:34 2014 Subject: [FX.php List] [OFF] FMS13 & SSL? In-Reply-To: References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> <1A5975BD-D8A2-4F06-8578-53474A2689D7@jsfmp.com> Message-ID: <47DD1308-A4BE-47FD-9D14-752C34669FDF@bluecrocodile.co.nz> And adding my 2c to this conversation... The stats here would be about the same as Webko - almost all solutions I've implemented and/or maintain over the last several years have had usually a 1machine FM install (though in a few isolated cases a 2 machine FM install) and then the actual PHP has been on another machine - usually a *nix web server, usually on the same LAN as the FMS, though in a number of cases that's not even the case, with the PHP being on the client's web server, (in some random web farm) and the the DBs being on an FM hosting providers FMS. Based on the experience I had with one web application I now in fact recommend this approach - that the PHP should be on a web server and not on the FMS - these days with 'servers' being mostly virtualised, and relatively cheap the 'cost' of the network traffic to get the XML from the FMS to the web server is (in my experience) lower than the 'cost' of having the FMS also do the post-processing of that XML - particularly if the FM needs of the application are low, and/or as others have mentioned the application is blending data from FMS and another data source (e.g. MySQL). YMMV Steve > I'll put mine in... > > At Niche, we never used a 1 machine. And very rarely a two machine FM type system... > > Nearly all (90%+) were a random web server pointed at a single FM Server with WPE > > Cheers > > Webko > > > On 17 July 2014 13:30, Joel Shapiro wrote: > Thanks Chris > > I wonder how many CWP solutions out in the world use 2- or 3-machine configs vs 1-machine. I know of a number of people that had set up 2-machine when the API (& FMI guidelines) first came out but then changed to 1-machine a year or two later to "simplify" things. And I wonder how many of the multi-machine configs are set up as per FMI and how many use these non-FM web servers. And I wonder what kind of noticeable performance difference there is between the various setups, especially on sites without a lot of data &/or traffic. > > (Anybody here up for a poll?) > > Anyway, I wonder. > > Best, > -Joel > > > On Jul 16, 2014, at 7:34 AM, Chris Hansen wrote: > > > Hey Joel, > > > > There might be a performance loss since the data being transferred would be XML (verbose). Of course, as I don't know the format of the data is that FileMaker would be passing in the other scenario, it's hard to surmise exactly what the performance difference would be. Also, the various parts of FileMaker server might be designed to take advantage of living on a single machine (just a guess). Finally, in my experience, the bigger data gets, the more likely it is to live on its own, optimized machine, as searching lots of data non-optimally will be much slower than transferring a bit of data over the network. > > > > At any rate, there are a variety of reasons to use your own web server rather than FileMaker's, e.g. wider choice of server options (nginx, linux web servers, apache on windows, etc.), the availability of server or php modules not available with FileMaker's server version, and so on. > > > > Thanks for the update on the SSL process. My guess is that others may well run into the problem down-the-line. > > > > Best, > > > > --Chris > > > > On Jul 15, 2014, at 9:22 PM, Joel Shapiro wrote: > > > >> Hi Chris > >> > >> Thanks for the reply. > >> > >> My understanding is that the changes that came w/ FMS13 made it hard/impossible to host different domains on one server, so setting up FMS as a one-machine config and then using a separate non-FM web server, pointing to the FMS server, was a way to get around that -- just like hosting a CWP site on a godaddy server and pointing to some FMS elsewhere. But I'd imagine there must be some performance loss by not having the WPE on the second server -- as in a "real" two-machine config -- so if you've got the two machines and don't need to host multiple sites, it seems you wouldn't want to use that setup. Or don't I understand correctly? > >> > >> FWIW: The tech dept in my situation just had to edit the website binding and the originally installed SSL cert is working again. (I'm going to try to get more details from them) > >> > >> Best, > >> -Joel > >> > >> > >> On Jul 15, 2014, at 5:04 PM, Chris Hansen wrote: > >> > >>> Also, keep in mind the "non-traditional" 2-machine install that Bob Patin (correct me if I'm wrong, Bob) has been using. Namely, a dedicated web server machine, and an "all FileMaker stuff" machine. Used that way, you could use whatever cert you want on the web server. You can set up the cURL used by FX.php to ignore the cert warnings (if it doesn't already), and no worries about a user seeing one, as they'd only be connecting via the cert on the web server. > >>> > >>> Just a thought... Hopefully it's at least somewhat useful to someone =) > >>> > >>> Best, > >>> > >>> --Chris > >>> > >>> On Jul 15, 2014, at 3:57 PM, Joel Shapiro wrote: > >>> > >>>> Darn that Go! > >>>> > >>>> Thanks for the extra info. Interesting thought about the 2-machine config. Seems some have had problems using the command-line installation on 2-machine configs: > >>>> http://fmforums.com/forum/topic/90722-ssl-certificate-installation/ > >>>> > >>>> And FWIW here's the doc w/ SSL install instructions (Appendix D): > >>>> http://www.filemaker.com/nl/support/docs/downloads/security_guide_13_en.pdf > >>>> > >>>> Best, > >>>> -Joel > >>>> > >>>> > >>>> On Jul 15, 2014, at 2:42 PM, Steve Winter wrote: > >>>> > >>>>> Also worth mentioning is that the small list of SSL providers and types is because the same cert is used for connections between FMS and the web and FMS and FMP/FMGo and it's because of the route certs in Go that you can only use those providers... > >>>>> > >>>>> However if as in your case you have a two machine install then it may be possible that you could install a non-approved provider cert in the web machine (i.e a cheaper one) and then have your web connections secured with a 'real' certificate, leaving the FMI self-signed one in place on the primary server for Pro/Go connections. > >>>>> > >>>>> YMMV > >>>>> Steve > >>>>> > >>>>> Sent from the iPhone of Steve Winter > >>>>> Matatiro Solutions > >>>>> steve@matatirosolutions.co.uk > >>>>> +44 777 852 4776 > >>>>> > >>>>>> On 15 Jul 2014, at 22:33, Steve Winter wrote: > >>>>>> > >>>>>> Howdy > >>>>>> > >>>>>> Yes it can, and yes it does, because the FMS install establishes its own instance of the httpd service (which IIS also uses) installs its own SSL cert into that, and takes over the task of serving data through port 443 on that machine. > >>>>>> > >>>>>> You can install your own certificate so long as it's issued by one of a small set of SSL certificate providers, using the fmsadmin command line tool. On a train at the mo, so can't find references, but google and/or the FMS docs can provide details. > >>>>>> > >>>>>> Cheers > >>>>>> Steve > >>>>>> > >>>>>> Sent from the iPhone of Steve Winter > >>>>>> Matatiro Solutions > >>>>>> steve@matatirosolutions.co.uk > >>>>>> +44 777 852 4776 > >>>>>> > >>>>>>> On 15 Jul 2014, at 21:58, Joel Shapiro wrote: > >>>>>>> > >>>>>>> Hi all > >>>>>>> > >>>>>>> It seems FMS13 comes w/ a default SSL certificate, such that hitting an FMS13 site on https can bring up an "untrusted connection/invalid certificate" warning. ("The certificate is only valid for FMI Certificate Authority...") I've seen this on two different servers now -- both Windows. > >>>>>>> > >>>>>>> My question: > >>>>>>> Is it possible that this FMI cert could override an existing cert? I've got a client who's setting up FMS13 now (2-machine). Their tech dept said they'd installed an SSL cert on the web server but we didn't test it before installing FMS. Now when we go to https we get the FMI "invalid certificate" warning. The tech dept isn't the friendliest, so we're trying to check if the FMS install could have overwritten the existing cert -- or if this means that there was never one before FMS. > >>>>>>> > >>>>>>> Does anybody know? > >>>>>>> > >>>>>>> TIA, > >>>>>>> -Joel > >>>>>>> > >>>>>>> _______________________________________________ > >>>>>>> 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 > > _______________________________________________ > 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/20140717/36fa5c7c/attachment-0001.html From beverlyvoth at gmail.com Thu Jul 17 06:47:10 2014 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Thu Jul 17 06:44:09 2014 Subject: [FX.php List] [OFF] FMS13 & SSL? In-Reply-To: References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> <1A5975BD-D8A2-4F06-8578-53474A2689D7@jsfmp.com> Message-ID: <211994C9-9CEB-4AD5-89A5-1786A8318454@gmail.com> Joel, when people are just learning how and/or only have 1 site (in house, public or private), I always recommend 1-machine. It is very easy to set up if you follow TFM. If you are running MySQL and FM and PHP, then 2-machine (FMServer for one) and MySQL and php/WebServer the other works well enough, too. Then if you expand, all websites (including those using FM db) are on a webserver dedicated to that task with appropriate web apps (& perhaps with mail server as well, if needed). Then each db type (FM, MS SQL, MySQL, Oracle if used) should have it's own server. They just work better when dedicated. And that doesn't mean you need to have cloud-worthy machines as servers, unless your into that... When I was co-owner of a hosting provider with 100's of sites, we always said 'single-point-of-failure' can save you in the long run. If you have an OS update or hardware upgrade, for example, you don't have to take everything down, just the one machine. Beverly On 16 Jul 2014, at 11:30 PM, Joel Shapiro wrote: > Thanks Chris > > I wonder how many CWP solutions out in the world use 2- or 3-machine configs vs 1-machine. I know of a number of people that had set up 2-machine when the API (& FMI guidelines) first came out but then changed to 1-machine a year or two later to "simplify" things. And I wonder how many of the multi-machine configs are set up as per FMI and how many use these non-FM web servers. And I wonder what kind of noticeable performance difference there is between the various setups, especially on sites without a lot of data &/or traffic. > > (Anybody here up for a poll?) > > Anyway, I wonder. > > Best, > -Joel > > > On Jul 16, 2014, at 7:34 AM, Chris Hansen wrote: > >> Hey Joel, >> >> There might be a performance loss since the data being transferred would be XML (verbose). Of course, as I don't know the format of the data is that FileMaker would be passing in the other scenario, it's hard to surmise exactly what the performance difference would be. Also, the various parts of FileMaker server might be designed to take advantage of living on a single machine (just a guess). Finally, in my experience, the bigger data gets, the more likely it is to live on its own, optimized machine, as searching lots of data non-optimally will be much slower than transferring a bit of data over the network. >> >> At any rate, there are a variety of reasons to use your own web server rather than FileMaker's, e.g. wider choice of server options (nginx, linux web servers, apache on windows, etc.), the availability of server or php modules not available with FileMaker's server version, and so on. >> >> Thanks for the update on the SSL process. My guess is that others may well run into the problem down-the-line. >> >> Best, >> >> --Chris >> >> On Jul 15, 2014, at 9:22 PM, Joel Shapiro wrote: >> >>> Hi Chris >>> >>> Thanks for the reply. >>> >>> My understanding is that the changes that came w/ FMS13 made it hard/impossible to host different domains on one server, so setting up FMS as a one-machine config and then using a separate non-FM web server, pointing to the FMS server, was a way to get around that -- just like hosting a CWP site on a godaddy server and pointing to some FMS elsewhere. But I'd imagine there must be some performance loss by not having the WPE on the second server -- as in a "real" two-machine config -- so if you've got the two machines and don't need to host multiple sites, it seems you wouldn't want to use that setup. Or don't I understand correctly? >>> >>> FWIW: The tech dept in my situation just had to edit the website binding and the originally installed SSL cert is working again. (I'm going to try to get more details from them) >>> >>> Best, >>> -Joel >>> >>> >>> On Jul 15, 2014, at 5:04 PM, Chris Hansen wrote: >>> >>>> Also, keep in mind the "non-traditional" 2-machine install that Bob Patin (correct me if I'm wrong, Bob) has been using. Namely, a dedicated web server machine, and an "all FileMaker stuff" machine. Used that way, you could use whatever cert you want on the web server. You can set up the cURL used by FX.php to ignore the cert warnings (if it doesn't already), and no worries about a user seeing one, as they'd only be connecting via the cert on the web server. >>>> >>>> Just a thought... Hopefully it's at least somewhat useful to someone =) >>>> >>>> Best, >>>> >>>> --Chris >>>> >>>> On Jul 15, 2014, at 3:57 PM, Joel Shapiro wrote: >>>> >>>>> Darn that Go! >>>>> >>>>> Thanks for the extra info. Interesting thought about the 2-machine config. Seems some have had problems using the command-line installation on 2-machine configs: >>>>> http://fmforums.com/forum/topic/90722-ssl-certificate-installation/ >>>>> >>>>> And FWIW here's the doc w/ SSL install instructions (Appendix D): >>>>> http://www.filemaker.com/nl/support/docs/downloads/security_guide_13_en.pdf >>>>> >>>>> Best, >>>>> -Joel >>>>> >>>>> >>>>> On Jul 15, 2014, at 2:42 PM, Steve Winter wrote: >>>>> >>>>>> Also worth mentioning is that the small list of SSL providers and types is because the same cert is used for connections between FMS and the web and FMS and FMP/FMGo and it's because of the route certs in Go that you can only use those providers... >>>>>> >>>>>> However if as in your case you have a two machine install then it may be possible that you could install a non-approved provider cert in the web machine (i.e a cheaper one) and then have your web connections secured with a 'real' certificate, leaving the FMI self-signed one in place on the primary server for Pro/Go connections. >>>>>> >>>>>> YMMV >>>>>> Steve >>>>>> >>>>>> Sent from the iPhone of Steve Winter >>>>>> Matatiro Solutions >>>>>> steve@matatirosolutions.co.uk >>>>>> +44 777 852 4776 >>>>>> >>>>>>> On 15 Jul 2014, at 22:33, Steve Winter wrote: >>>>>>> >>>>>>> Howdy >>>>>>> >>>>>>> Yes it can, and yes it does, because the FMS install establishes its own instance of the httpd service (which IIS also uses) installs its own SSL cert into that, and takes over the task of serving data through port 443 on that machine. >>>>>>> >>>>>>> You can install your own certificate so long as it's issued by one of a small set of SSL certificate providers, using the fmsadmin command line tool. On a train at the mo, so can't find references, but google and/or the FMS docs can provide details. >>>>>>> >>>>>>> Cheers >>>>>>> Steve >>>>>>> >>>>>>> Sent from the iPhone of Steve Winter >>>>>>> Matatiro Solutions >>>>>>> steve@matatirosolutions.co.uk >>>>>>> +44 777 852 4776 >>>>>>> >>>>>>>> On 15 Jul 2014, at 21:58, Joel Shapiro wrote: >>>>>>>> >>>>>>>> Hi all >>>>>>>> >>>>>>>> It seems FMS13 comes w/ a default SSL certificate, such that hitting an FMS13 site on https can bring up an "untrusted connection/invalid certificate" warning. ("The certificate is only valid for FMI Certificate Authority...") I've seen this on two different servers now -- both Windows. >>>>>>>> >>>>>>>> My question: >>>>>>>> Is it possible that this FMI cert could override an existing cert? I've got a client who's setting up FMS13 now (2-machine). Their tech dept said they'd installed an SSL cert on the web server but we didn't test it before installing FMS. Now when we go to https we get the FMI "invalid certificate" warning. The tech dept isn't the friendliest, so we're trying to check if the FMS install could have overwritten the existing cert -- or if this means that there was never one before FMS. >>>>>>>> >>>>>>>> Does anybody know? >>>>>>>> >>>>>>>> TIA, >>>>>>>> -Joel >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> 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 dale.bengston at gmail.com Thu Jul 17 07:22:03 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Thu Jul 17 07:18:50 2014 Subject: [FX.php List] [OFF] FMS13 & SSL? In-Reply-To: References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> <1A5975BD-D8A2-4F06-8578-53474A2689D7@jsfmp.com> Message-ID: <3101E8EE-B4F9-4C61-83E7-42532F0EF767@gmail.com> Kevin has described my scenario almost to the letter. Dale On Jul 16, 2014, at 10:51 PM, Kevin Futter wrote: > Non-FM web server set ups all the way here. We publish a wide variety of > information across many sites using multiple web servers, to both internal > and external clients - *some* of which is drawn from FileMaker. Having the > ability for any authorised site or server to connect to FileMaker and > effectively use it as a web service has great utility for us. So our web > servers talk to WPE on the FileMaker server. If there?s a performance hit, > the flexibility more than makes up for it. For information that is > designed from the outset to be published on the web, we use MySQL anyway. > > Kev > > On 17/07/2014 1:30 pm, "Joel Shapiro" wrote: > >> Thanks Chris >> >> I wonder how many CWP solutions out in the world use 2- or 3-machine >> configs vs 1-machine. I know of a number of people that had set up >> 2-machine when the API (& FMI guidelines) first came out but then changed >> to 1-machine a year or two later to "simplify" things. And I wonder how >> many of the multi-machine configs are set up as per FMI and how many use >> these non-FM web servers. And I wonder what kind of noticeable >> performance difference there is between the various setups, especially on >> sites without a lot of data &/or traffic. >> >> (Anybody here up for a poll?) >> >> Anyway, I wonder. >> >> Best, >> -Joel >> >> >> On Jul 16, 2014, at 7:34 AM, Chris Hansen wrote: >> >>> Hey Joel, >>> >>> There might be a performance loss since the data being transferred >>> would be XML (verbose). Of course, as I don't know the format of the >>> data is that FileMaker would be passing in the other scenario, it's hard >>> to surmise exactly what the performance difference would be. Also, the >>> various parts of FileMaker server might be designed to take advantage of >>> living on a single machine (just a guess). Finally, in my experience, >>> the bigger data gets, the more likely it is to live on its own, >>> optimized machine, as searching lots of data non-optimally will be much >>> slower than transferring a bit of data over the network. >>> >>> At any rate, there are a variety of reasons to use your own web server >>> rather than FileMaker's, e.g. wider choice of server options (nginx, >>> linux web servers, apache on windows, etc.), the availability of server >>> or php modules not available with FileMaker's server version, and so on. >>> >>> Thanks for the update on the SSL process. My guess is that others may >>> well run into the problem down-the-line. >>> >>> Best, >>> >>> --Chris >>> >>> On Jul 15, 2014, at 9:22 PM, Joel Shapiro wrote: >>> >>>> Hi Chris >>>> >>>> Thanks for the reply. >>>> >>>> My understanding is that the changes that came w/ FMS13 made it >>>> hard/impossible to host different domains on one server, so setting up >>>> FMS as a one-machine config and then using a separate non-FM web >>>> server, pointing to the FMS server, was a way to get around that -- >>>> just like hosting a CWP site on a godaddy server and pointing to some >>>> FMS elsewhere. But I'd imagine there must be some performance loss by >>>> not having the WPE on the second server -- as in a "real" two-machine >>>> config -- so if you've got the two machines and don't need to host >>>> multiple sites, it seems you wouldn't want to use that setup. Or don't >>>> I understand correctly? >>>> >>>> FWIW: The tech dept in my situation just had to edit the website >>>> binding and the originally installed SSL cert is working again. (I'm >>>> going to try to get more details from them) >>>> >>>> Best, >>>> -Joel >>>> >>>> >>>> On Jul 15, 2014, at 5:04 PM, Chris Hansen wrote: >>>> >>>>> Also, keep in mind the "non-traditional" 2-machine install that Bob >>>>> Patin (correct me if I'm wrong, Bob) has been using. Namely, a >>>>> dedicated web server machine, and an "all FileMaker stuff" machine. >>>>> Used that way, you could use whatever cert you want on the web server. >>>>> You can set up the cURL used by FX.php to ignore the cert warnings >>>>> (if it doesn't already), and no worries about a user seeing one, as >>>>> they'd only be connecting via the cert on the web server. >>>>> >>>>> Just a thought... Hopefully it's at least somewhat useful to someone >>>>> =) >>>>> >>>>> Best, >>>>> >>>>> --Chris >>>>> >>>>> On Jul 15, 2014, at 3:57 PM, Joel Shapiro wrote: >>>>> >>>>>> Darn that Go! >>>>>> >>>>>> Thanks for the extra info. Interesting thought about the 2-machine >>>>>> config. Seems some have had problems using the command-line >>>>>> installation on 2-machine configs: >>>>>> http://fmforums.com/forum/topic/90722-ssl-certificate-installation/ >>>>>> >>>>>> And FWIW here's the doc w/ SSL install instructions (Appendix D): >>>>>> >>>>>> http://www.filemaker.com/nl/support/docs/downloads/security_guide_13_e >>>>>> n.pdf >>>>>> >>>>>> Best, >>>>>> -Joel >>>>>> >>>>>> >>>>>> On Jul 15, 2014, at 2:42 PM, Steve Winter >>>>>> wrote: >>>>>> >>>>>>> Also worth mentioning is that the small list of SSL providers and >>>>>>> types is because the same cert is used for connections between FMS >>>>>>> and the web and FMS and FMP/FMGo and it's because of the route certs >>>>>>> in Go that you can only use those providers... >>>>>>> >>>>>>> However if as in your case you have a two machine install then it >>>>>>> may be possible that you could install a non-approved provider cert >>>>>>> in the web machine (i.e a cheaper one) and then have your web >>>>>>> connections secured with a 'real' certificate, leaving the FMI >>>>>>> self-signed one in place on the primary server for Pro/Go >>>>>>> connections. >>>>>>> >>>>>>> YMMV >>>>>>> Steve >>>>>>> >>>>>>> Sent from the iPhone of Steve Winter >>>>>>> Matatiro Solutions >>>>>>> steve@matatirosolutions.co.uk >>>>>>> +44 777 852 4776 >>>>>>> >>>>>>>> On 15 Jul 2014, at 22:33, Steve Winter >>>>>>>> wrote: >>>>>>>> >>>>>>>> Howdy >>>>>>>> >>>>>>>> Yes it can, and yes it does, because the FMS install establishes >>>>>>>> its own instance of the httpd service (which IIS also uses) >>>>>>>> installs its own SSL cert into that, and takes over the task of >>>>>>>> serving data through port 443 on that machine. >>>>>>>> >>>>>>>> You can install your own certificate so long as it's issued by one >>>>>>>> of a small set of SSL certificate providers, using the fmsadmin >>>>>>>> command line tool. On a train at the mo, so can't find references, >>>>>>>> but google and/or the FMS docs can provide details. >>>>>>>> >>>>>>>> Cheers >>>>>>>> Steve >>>>>>>> >>>>>>>> Sent from the iPhone of Steve Winter >>>>>>>> Matatiro Solutions >>>>>>>> steve@matatirosolutions.co.uk >>>>>>>> +44 777 852 4776 >>>>>>>> >>>>>>>>> On 15 Jul 2014, at 21:58, Joel Shapiro wrote: >>>>>>>>> >>>>>>>>> Hi all >>>>>>>>> >>>>>>>>> It seems FMS13 comes w/ a default SSL certificate, such that >>>>>>>>> hitting an FMS13 site on https can bring up an "untrusted >>>>>>>>> connection/invalid certificate" warning. ("The certificate is >>>>>>>>> only valid for FMI Certificate Authority...") I've seen this on >>>>>>>>> two different servers now -- both Windows. >>>>>>>>> >>>>>>>>> My question: >>>>>>>>> Is it possible that this FMI cert could override an existing >>>>>>>>> cert? I've got a client who's setting up FMS13 now (2-machine). >>>>>>>>> Their tech dept said they'd installed an SSL cert on the web >>>>>>>>> server but we didn't test it before installing FMS. Now when we >>>>>>>>> go to https we get the FMI "invalid certificate" warning. The >>>>>>>>> tech dept isn't the friendliest, so we're trying to check if the >>>>>>>>> FMS install could have overwritten the existing cert -- or if this >>>>>>>>> means that there was never one before FMS. >>>>>>>>> >>>>>>>>> Does anybody know? >>>>>>>>> >>>>>>>>> TIA, >>>>>>>>> -Joel >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> 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 > > > > [http://www.sbc.vic.edu.au/assets/images/email_logo.gif] > > St Bernard's College > Achieving Excellence By Learning And Doing > Kevin Futter > Webmaster > Ph: +61392891007 | Mobile: > Email: KFutter@sbc.vic.edu.au > 41 Rosehill Road, Essendon, Victoria, 3040 | Ph: 03 9289 1000 | F: 9337 1741 | www.sbc.vic.edu.au > ________________________________ > 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. > _______________________________________________ > 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 Jul 17 08:02:42 2014 From: bob at patin.com (Bob Patin) Date: Thu Jul 17 07:59:30 2014 Subject: [FX.php List] [OFF] FMS13 & SSL? In-Reply-To: <3101E8EE-B4F9-4C61-83E7-42532F0EF767@gmail.com> References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> <1A5975BD-D8A2-4F06-8578-53474A2689D7@jsfmp.com> <3101E8EE-B4F9-4C61-83E7-42532F0EF767@gmail.com> Message-ID: We started with CDML, where you *had to* use FileMaker Server and then one or more slaves running FM Pro Unlimited; the web server was yet another machine, so back in those days a web app would involve 5 machines in our network (1 FM Server, 1 web server, 3 FM Pro Unlimited machines). Then when we started hosting PHP sites, we used 2-machine configs all the time; at some point I started trying out single-machine configs, and found it to work really well for lots of cases. Now, with FMS 13 and its unwillingness to play well with OS X Server, I?ve set up some FMS 13 servers as single-machine installs with lots of RAM, and then have a web server that I use to point to whichever FMS 13 server it needs. The benefit of this setup is that if there should be a failure on the FMS 13 machine, I could put the database up on another machine, change the IP address in my web app, and be back in business in 2 minutes. I agree with Bev?s comment about single point of failure; having maintained a network now for about 16 years, I much prefer dealing with a single machine than with pairs. My latest thought on this is to spread clients out among lots of machines, rather than using 2-machine configs; if a client?s web app is doing tons of traffic, I try to put him on a site with web apps that have scant traffic, to balance things out. Fortunately these days, we have huge bandwidth so the issue now comes down to the machines themselves. Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From mail at jsfmp.com Thu Jul 17 21:20:28 2014 From: mail at jsfmp.com (Joel Shapiro) Date: Thu Jul 17 21:17:14 2014 Subject: [FX.php List] [OFF] Multiple Servers [WAS FMS13 & SSL?] In-Reply-To: References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> <1A5975BD-D8A2-4F06-8578-53474A2689D7@jsfmp.com> <3101E8EE-B4F9-4C61-83E7-42532F0EF767@gmail.com> Message-ID: <78BFDD25-E636-4F48-9B75-17E6D9A3AA34@jsfmp.com> (Thought it appropriate to change the subject.) Thanks everybody for your comments. Interesting, no? For my part, my sites have almost always been just FM (no MySQL, etc.). I've had clients on both 1- & 2-machine configs, with no noticeable difference. The current client that led to this initial post has had 2-machine "FM" configs since long before I started working with them. When they decided they were ready for FM13, they automatically allocated two VMs for the purpose, and I figured we might as well use them. We're planning to bring their old FM10 & FM11 CWP solutions onto here as well, which would be still more traffic. Maybe I was naive to think FMI's suggestion would lead to better performance. There is also, though, the possiblity they may some day use a bit of WebDirect, so keeping with the FM/WPE web server _seemed_ like the right choice. (Am I the only person here putting the WPE onto the web server?) I will say, though, that I never understood why FMI never mentions the non-FM web server in their "deployment alternatives", since (a) it's easier & (b) could allow *more* use of FM/CWP by letting people know they can have their FM-served data on their existing website/webhost. -Joel From bob at patin.com Fri Jul 18 06:41:41 2014 From: bob at patin.com (Bob Patin) Date: Fri Jul 18 06:38:30 2014 Subject: [FX.php List] [OFF] Multiple Servers [WAS FMS13 & SSL?] In-Reply-To: <78BFDD25-E636-4F48-9B75-17E6D9A3AA34@jsfmp.com> References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> <1A5975BD-D8A2-4F06-8578-53474A2689D7@jsfmp.com> <3101E8EE-B4F9-4C61-83E7-42532F0EF767@gmail.com> <78BFDD25-E636-4F48-9B75-17E6D9A3AA34@jsfmp.com> Message-ID: On Jul 17, 2014, at 10:20 PM, Joel Shapiro wrote: > (Am I the only person here putting the WPE onto the web server?) No, that?s what I used to do all the time, but not anymore; I like the idea of having a web server that has no WPE on it, and then accessing the WPE on whatever FM Server I plan to use for that web app. What would really be nice is if somehow we could use a single machine with multiple WPEs on it; this can be done w/ virtual machines though... > > I will say, though, that I never understood why FMI never mentions the non-FM web server in their "deployment alternatives", since (a) it's easier & (b) could allow *more* use of FM/CWP by letting people know they can have their FM-served data on their existing website/webhost. They do mention it, as the 3-machine alternative, although I?ve never tried it. They don?t really mention the method that I?m using now though, where the WPE is on FM Server and the web server is just a normal non-FM web server; I suspect that?s because their best-use guidelines recommend not using FM Server for anything but database service? I don?t go to FMI for any assistance with FM things though; my experience with their tech support has (to put it mildly) not been positive. Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140718/269a0e24/attachment.html From mail at jsfmp.com Fri Jul 18 08:49:34 2014 From: mail at jsfmp.com (Joel Shapiro) Date: Fri Jul 18 08:46:16 2014 Subject: [FX.php List] [OFF] Multiple Servers [WAS FMS13 & SSL?] In-Reply-To: References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> <1A5975BD-D8A2-4F06-8578-53474A2689D7@jsfmp.com> <3101E8EE-B4F9-4C61-83E7-42532F0EF767@gmail.com> <78BFDD25-E636-4F48-9B75-17E6D9A3AA34@jsfmp.com> Message-ID: <591038E0-E008-4139-A1FB-54970AFBE15E@jsfmp.com> Hi Bob FWIW: The "getting started guides" state that the 3-machine & 2-machine "alternative" (both of which they removed with FMS13) have the "Web Server Module" on the web server machine, which they define as "this FileMaker Server software component is installed on the web server host machine. The Web Server Module enables the Web Publishing Engine to connect to the web server." So it looks like they never give an option for a non-FM machine to be in the mix. Best, -Joel On Jul 18, 2014, at 5:41 AM, Bob Patin wrote: >> I will say, though, that I never understood why FMI never mentions the non-FM web server in their "deployment alternatives", since (a) it's easier & (b) could allow *more* use of FM/CWP by letting people know they can have their FM-served data on their existing website/webhost. > > They do mention it, as the 3-machine alternative, although I?ve never tried it. From dsomar at gmail.com Fri Jul 18 09:12:53 2014 From: dsomar at gmail.com (Denis Somar) Date: Fri Jul 18 09:09:55 2014 Subject: [FX.php List] [OFF] Multiple Servers [WAS FMS13 & SSL?] In-Reply-To: <591038E0-E008-4139-A1FB-54970AFBE15E@jsfmp.com> References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> <1A5975BD-D8A2-4F06-8578-53474A2689D7@jsfmp.com> <3101E8EE-B4F9-4C61-83E7-42532F0EF767@gmail.com> <78BFDD25-E636-4F48-9B75-17E6D9A3AA34@jsfmp.com> <591038E0-E008-4139-A1FB-54970AFBE15E@jsfmp.com> Message-ID: There's also a recent walkthrough on setting up FMS with an inexpensive SSL certificate here: https://fmdev.filemaker.com/thread/77246 HTH, Denis On Fri, Jul 18, 2014 at 10:49 AM, Joel Shapiro wrote: > Hi Bob > > FWIW: The "getting started guides" state that the 3-machine & 2-machine > "alternative" (both of which they removed with FMS13) have the "Web Server > Module" on the web server machine, which they define as "this FileMaker > Server software component is installed on the web server host machine. The > Web Server Module enables the Web Publishing Engine to connect to the web > server." So it looks like they never give an option for a non-FM machine > to be in the mix. > > Best, > -Joel > > > On Jul 18, 2014, at 5:41 AM, Bob Patin wrote: > > >> I will say, though, that I never understood why FMI never mentions the > non-FM web server in their "deployment alternatives", since (a) it's easier > & (b) could allow *more* use of FM/CWP by letting people know they can have > their FM-served data on their existing website/webhost. > > > > They do mention it, as the 3-machine alternative, although I?ve never > tried it. > > > _______________________________________________ > 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/20140718/ba663205/attachment.html From bob at patin.com Fri Jul 18 09:26:03 2014 From: bob at patin.com (Bob Patin) Date: Fri Jul 18 09:22:42 2014 Subject: [FX.php List] [OFF] Multiple Servers [WAS FMS13 & SSL?] In-Reply-To: <591038E0-E008-4139-A1FB-54970AFBE15E@jsfmp.com> References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> <1A5975BD-D8A2-4F06-8578-53474A2689D7@jsfmp.com> <3101E8EE-B4F9-4C61-83E7-42532F0EF767@gmail.com> <78BFDD25-E636-4F48-9B75-17E6D9A3AA34@jsfmp.com> <591038E0-E008-4139-A1FB-54970AFBE15E@jsfmp.com> Message-ID: <1ADD784E-5F4B-4A9B-936C-FB6ABF5CC7B2@patin.com> Oh well... I'm going to keep doing it as I am now: do a 1-machine install, use a web server on the 2nd machine to connect to the WPE on the FM Server. BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jul 18, 2014, at 9:49 AM, Joel Shapiro wrote: > Hi Bob > > FWIW: The "getting started guides" state that the 3-machine & 2-machine "alternative" (both of which they removed with FMS13) have the "Web Server Module" on the web server machine, which they define as "this FileMaker Server software component is installed on the web server host machine. The Web Server Module enables the Web Publishing Engine to connect to the web server." So it looks like they never give an option for a non-FM machine to be in the mix. > > Best, > -Joel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140718/4e0d972e/attachment.html From mail at jsfmp.com Fri Jul 18 09:32:14 2014 From: mail at jsfmp.com (Joel Shapiro) Date: Fri Jul 18 09:28:58 2014 Subject: [FX.php List] [OFF] Multiple Servers [WAS FMS13 & SSL?] In-Reply-To: <1ADD784E-5F4B-4A9B-936C-FB6ABF5CC7B2@patin.com> References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> <1A5975BD-D8A2-4F06-8578-53474A2689D7@jsfmp.com> <3101E8EE-B4F9-4C61-83E7-42532F0EF767@gmail.com> <78BFDD25-E636-4F48-9B75-17E6D9A3AA34@jsfmp.com> <591038E0-E008-4139-A1FB-54970AFBE15E@jsfmp.com> <1ADD784E-5F4B-4A9B-936C-FB6ABF5CC7B2@patin.com> Message-ID: <8FA90511-31A8-4A93-9744-DA1730BB55C2@jsfmp.com> You seem to be in the majority ;) On Jul 18, 2014, at 8:26 AM, Bob Patin wrote: > Oh well... > > I'm going to keep doing it as I am now: do a 1-machine install, use a web server on the 2nd machine to connect to the WPE on the FM Server. > > BP > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11, 12 & 13 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > On Jul 18, 2014, at 9:49 AM, Joel Shapiro wrote: > >> Hi Bob >> >> FWIW: The "getting started guides" state that the 3-machine & 2-machine "alternative" (both of which they removed with FMS13) have the "Web Server Module" on the web server machine, which they define as "this FileMaker Server software component is installed on the web server host machine. The Web Server Module enables the Web Publishing Engine to connect to the web server." So it looks like they never give an option for a non-FM machine to be in the mix. >> >> Best, >> -Joel > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From mail at jsfmp.com Fri Jul 18 13:20:13 2014 From: mail at jsfmp.com (Joel Shapiro) Date: Fri Jul 18 13:16:55 2014 Subject: [FX.php List] [OFF] Multiple Servers [WAS FMS13 & SSL?] In-Reply-To: References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> <1A5975BD-D8A2-4F06-8578-53474A2689D7@jsfmp.com> <3101E8EE-B4F9-4C61-83E7-42532F0EF767@gmail.com> <78BFDD25-E636-4F48-9B75-17E6D9A3AA34@jsfmp.com> <591038E0-E008-4139-A1FB-54970AFBE15E@jsfmp.com> Message-ID: <82150C96-7857-433F-8A7C-121548299AAF@jsfmp.com> Thanks, Denis. Boy it would be great if somebody put all these FMS13/SSL tips together in once place. (Anybody know anyone w/ a FileMaker/Web blog who might be willing? ;) Best -Joel On Jul 18, 2014, at 8:12 AM, Denis Somar wrote: > There's also a recent walkthrough on setting up FMS with an inexpensive SSL certificate here: > https://fmdev.filemaker.com/thread/77246 > > HTH, > Denis From csinfo at criticalsolution.com Fri Jul 18 14:50:08 2014 From: csinfo at criticalsolution.com (csinfo) Date: Fri Jul 18 14:46:51 2014 Subject: [FX.php List] Running a FM script from PHP/FX on more than one PC In-Reply-To: Message-ID: I have a script that runs from the windows command line of a client, it inserts data and processes the data to turn it into a job. Now my client wants a few PC to be able to run it but in initial tests, the scripts are stepping on each other and the Jobs are a mixture of data from multiple sources. Does anyone know if when I call a FileMaker script with FX, it will run on only the found set.? If so, I would do it flag records by a PC identifier and find them while running the script. Sample code: $request = new FX($ServerIP, $Port,$dataSourceType ); $request->SetDBData($fmdb,$Layout, $Group); $request->SetDBUserPass($fmAccount, $fmPass); $request->AddDBParam( 'InUseBy', $InUseBy ); //$InUseBy = PC1..PC2..PC3 etc $request->AddDBParam('-script', 'FMScriptToRun' ); I will be testing this onsite but I thought some input is always helpful. John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140718/c5c00724/attachment.html From ted-fitzgerald at uiowa.edu Fri Jul 18 18:27:37 2014 From: ted-fitzgerald at uiowa.edu (Fitzgerald, Theodore C) Date: Fri Jul 18 18:24:18 2014 Subject: [FX.php List] RE: Running a FM script from PHP/FX on more than one PC In-Reply-To: References: , Message-ID: John, In my experience, when I run a script from FX it has always only ran against the Found Set. You can also pass script parameters to scripts like so: $request->PerformFMScript('FMScriptToRun'); $request->AddDBParam('-script.param', $InUseBy); and then do a find in your script on FileMaker. Although since you only have one find criteria, I'm not sure why you would do this in your situation...just something for the future perhaps! Ted ________________________________ From: fx.php_list-bounces@mail.iviking.org [fx.php_list-bounces@mail.iviking.org] on behalf of csinfo [csinfo@criticalsolution.com] Sent: Friday, July 18, 2014 3:50 PM To: FX.php Discussion List Subject: [FX.php List] Running a FM script from PHP/FX on more than one PC I have a script that runs from the windows command line of a client, it inserts data and processes the data to turn it into a job. Now my client wants a few PC to be able to run it but in initial tests, the scripts are stepping on each other and the Jobs are a mixture of data from multiple sources. Does anyone know if when I call a FileMaker script with FX, it will run on only the found set.? If so, I would do it flag records by a PC identifier and find them while running the script. Sample code: $request = new FX($ServerIP, $Port,$dataSourceType ); $request->SetDBData($fmdb,$Layout, $Group); $request->SetDBUserPass($fmAccount, $fmPass); $request->AddDBParam( 'InUseBy', $InUseBy ); //$InUseBy = PC1..PC2..PC3 etc $request->AddDBParam('-script', 'FMScriptToRun' ); I will be testing this onsite but I thought some input is always helpful. John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140719/c8e9a26c/attachment.html From Kmohr at ncoesc.org Sat Jul 19 18:50:13 2014 From: Kmohr at ncoesc.org (Kathy Mohr) Date: Sat Jul 19 18:46:49 2014 Subject: [FX.php List] FMS 12 with FX sample solution In-Reply-To: <20140718152900.0BFF919DFCC7@mail.iviking.org> References: <20140718152900.0BFF919DFCC7@mail.iviking.org> Message-ID: I've been struggling with getting our Filemaker 12 Server lately. I had no problem until about a week ago when for some reason the admin console decided not to load. I reinstalled FMS 12 three times today. What I think worked was wiping out Java on the Windows 8 server and then letting the FM server install load the version of Java it wanted. Next, I was trying to move my project to next steps by implementing CWP using FX. However, I haven't got it to work. Would anyone mind sending me a sample solution using FM 12 and webpages so I can load them on our server just to test that FX is going to work with 12? All the databases that come with the FX download are previous versions of FM. Thank you. Kathleen Mohr Director of Technology/Professional Development North Central Ohio Educational Service Center Tiffin Center 928 West Market Street Tiffin, Ohio 44883 Tiffin Office: 419-447-2929 x172 Cell: 419-939-3645 kmohr@ncoesc.org fx.php_list@mail.iviking.org on July 18, 2014 at 11:29 AM -0400 wrote: >Send FX.php_List mailing list submissions to > fx.php_list@mail.iviking.org > >To subscribe or unsubscribe via the World Wide Web, visit > http://www.iviking.org/mailman/listinfo/fx.php_list >or, via email, send a message with subject or body 'help' to > fx.php_list-request@mail.iviking.org > >You can reach the person managing the list at > fx.php_list-owner@mail.iviking.org > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of FX.php_List digest..." > > >Today's Topics: > > 1. [OFF] Multiple Servers [WAS FMS13 & SSL?] (Joel Shapiro) > 2. Re: [OFF] Multiple Servers [WAS FMS13 & SSL?] (Bob Patin) > 3. Re: [OFF] Multiple Servers [WAS FMS13 & SSL?] (Joel Shapiro) > 4. Re: [OFF] Multiple Servers [WAS FMS13 & SSL?] (Denis Somar) > 5. Re: [OFF] Multiple Servers [WAS FMS13 & SSL?] (Bob Patin) > 6. Re: [OFF] Multiple Servers [WAS FMS13 & SSL?] (Joel Shapiro) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Thu, 17 Jul 2014 20:20:28 -0700 >From: Joel Shapiro >Subject: [FX.php List] [OFF] Multiple Servers [WAS FMS13 & SSL?] >To: "FX.php Discussion List" >Message-ID: <78BFDD25-E636-4F48-9B75-17E6D9A3AA34@jsfmp.com> >Content-Type: text/plain; charset=windows-1252 > >(Thought it appropriate to change the subject.) > >Thanks everybody for your comments. Interesting, no? > >For my part, my sites have almost always been just FM (no MySQL, etc.). I've had clients on both 1- & 2-machine configs, with no noticeable difference. The current client that led to this initial post has had 2-machine "FM" configs since long before I >started working with them. When they decided they were ready for FM13, they automatically allocated two VMs for the purpose, and I figured we might as well use them. We're planning to bring their old FM10 & FM11 CWP solutions onto here as well, which >would be still more traffic. Maybe I was naive to think FMI's suggestion would lead to better performance. There is also, though, the possiblity they may some day use a bit of WebDirect, so keeping with the FM/WPE web server _seemed_ like the right >choice. > >(Am I the only person here putting the WPE onto the web server?) > >I will say, though, that I never understood why FMI never mentions the non-FM web server in their "deployment alternatives", since (a) it's easier & (b) could allow *more* use of FM/CWP by letting people know they can have their FM-served data on their >existing website/webhost. > >-Joel > > > >------------------------------ > >Message: 2 >Date: Fri, 18 Jul 2014 07:41:41 -0500 >From: Bob Patin >Subject: Re: [FX.php List] [OFF] Multiple Servers [WAS FMS13 & SSL?] >To: "FX.php Discussion List" >Message-ID: >Content-Type: text/plain; charset="windows-1252" > > >On Jul 17, 2014, at 10:20 PM, Joel Shapiro wrote: > >> (Am I the only person here putting the WPE onto the web server?) > >No, thats what I used to do all the time, but not anymore; I like the idea of having a web server that has no WPE on it, and then accessing the WPE on whatever FM Server I plan to use for that web app. > >What would really be nice is if somehow we could use a single machine with multiple WPEs on it; this can be done w/ virtual machines though... >> >> I will say, though, that I never understood why FMI never mentions the non-FM web server in their "deployment alternatives", since (a) it's easier & (b) could allow *more* use of FM/CWP by letting people know they can have their FM-served data on >their existing website/webhost. > >They do mention it, as the 3-machine alternative, although Ive never tried it. They dont really mention the method that Im using now though, where the WPE is on FM Server and the web server is just a normal non-FM web server; I suspect thats because >their best-use guidelines recommend not using FM Server for anything but database service > >I dont go to FMI for any assistance with FM things though; my experience with their tech support has (to put it mildly) not been positive. > >Bob Patin >Longterm Solutions >bob@longtermsolutions.com >615-333-6858 >FileMaker 9, 10, 11, 12 & 13 Certified Developer >http://www.longtermsolutions.com >- >iChat: bobpatin@me.com >Twitter: bobpatin > >FileMaker Consulting >FileMaker Hosting for all versions of FileMaker >PHP  Full email services  Free DNS hosting  Colocation  Consulting > > >-------------- next part -------------- >An HTML attachment was scrubbed... >URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140718/269a0e24/attachment-0001.html > >------------------------------ > >Message: 3 >Date: Fri, 18 Jul 2014 07:49:34 -0700 >From: Joel Shapiro >Subject: Re: [FX.php List] [OFF] Multiple Servers [WAS FMS13 & SSL?] >To: "FX.php Discussion List" >Message-ID: <591038E0-E008-4139-A1FB-54970AFBE15E@jsfmp.com> >Content-Type: text/plain; charset=windows-1252 > >Hi Bob > >FWIW: The "getting started guides" state that the 3-machine & 2-machine "alternative" (both of which they removed with FMS13) have the "Web Server Module" on the web server machine, which they define as "this FileMaker Server software component is >installed on the web server host machine. The Web Server Module enables the Web Publishing Engine to connect to the web server." So it looks like they never give an option for a non-FM machine to be in the mix. > >Best, >-Joel > > >On Jul 18, 2014, at 5:41 AM, Bob Patin wrote: > >>> I will say, though, that I never understood why FMI never mentions the non-FM web server in their "deployment alternatives", since (a) it's easier & (b) could allow *more* use of FM/CWP by letting people know they can have their FM-served data on >their existing website/webhost. >> >> They do mention it, as the 3-machine alternative, although Ive never tried it. > > > > >------------------------------ > >Message: 4 >Date: Fri, 18 Jul 2014 11:12:53 -0400 >From: Denis Somar >Subject: Re: [FX.php List] [OFF] Multiple Servers [WAS FMS13 & SSL?] >To: "FX.php Discussion List" >Message-ID: > >Content-Type: text/plain; charset="utf-8" > >There's also a recent walkthrough on setting up FMS with an inexpensive SSL >certificate here: >https://fmdev.filemaker.com/thread/77246 > >HTH, >Denis > > >On Fri, Jul 18, 2014 at 10:49 AM, Joel Shapiro wrote: > >> Hi Bob >> >> FWIW: The "getting started guides" state that the 3-machine & 2-machine >> "alternative" (both of which they removed with FMS13) have the "Web Server >> Module" on the web server machine, which they define as "this FileMaker >> Server software component is installed on the web server host machine. The >> Web Server Module enables the Web Publishing Engine to connect to the web >> server." So it looks like they never give an option for a non-FM machine >> to be in the mix. >> >> Best, >> -Joel >> >> >> On Jul 18, 2014, at 5:41 AM, Bob Patin wrote: >> >> >> I will say, though, that I never understood why FMI never mentions the >> non-FM web server in their "deployment alternatives", since (a) it's easier >> & (b) could allow *more* use of FM/CWP by letting people know they can have >> their FM-served data on their existing website/webhost. >> > >> > They do mention it, as the 3-machine alternative, although Ive never >> tried it. >> >> >> _______________________________________________ >> 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/20140718/ba663205/attachment-0001.html > >------------------------------ > >Message: 5 >Date: Fri, 18 Jul 2014 10:26:03 -0500 >From: Bob Patin >Subject: Re: [FX.php List] [OFF] Multiple Servers [WAS FMS13 & SSL?] >To: "FX.php Discussion List" >Message-ID: <1ADD784E-5F4B-4A9B-936C-FB6ABF5CC7B2@patin.com> >Content-Type: text/plain; charset="windows-1252" > >Oh well... > >I'm going to keep doing it as I am now: do a 1-machine install, use a web server on the 2nd machine to connect to the WPE on the FM Server. > >BP > >Bob Patin >Longterm Solutions >bob@longtermsolutions.com >615-333-6858 >FileMaker 9, 10, 11, 12 & 13 Certified Developer >http://www.longtermsolutions.com >- >iChat: bobpatin@me.com >Twitter: bobpatin > >FileMaker Consulting >FileMaker Hosting for all versions of FileMaker >PHP  Full email services  Free DNS hosting  Colocation  Consulting > >On Jul 18, 2014, at 9:49 AM, Joel Shapiro wrote: > >> Hi Bob >> >> FWIW: The "getting started guides" state that the 3-machine & 2-machine "alternative" (both of which they removed with FMS13) have the "Web Server Module" on the web server machine, which they define as "this FileMaker Server software component is >installed on the web server host machine. The Web Server Module enables the Web Publishing Engine to connect to the web server." So it looks like they never give an option for a non-FM machine to be in the mix. >> >> Best, >> -Joel > >-------------- next part -------------- >An HTML attachment was scrubbed... >URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140718/4e0d972e/attachment-0001.html > >------------------------------ > >Message: 6 >Date: Fri, 18 Jul 2014 08:32:14 -0700 >From: Joel Shapiro >Subject: Re: [FX.php List] [OFF] Multiple Servers [WAS FMS13 & SSL?] >To: "FX.php Discussion List" >Message-ID: <8FA90511-31A8-4A93-9744-DA1730BB55C2@jsfmp.com> >Content-Type: text/plain; charset=windows-1252 > >You seem to be in the majority ;) > >On Jul 18, 2014, at 8:26 AM, Bob Patin wrote: > >> Oh well... >> >> I'm going to keep doing it as I am now: do a 1-machine install, use a web server on the 2nd machine to connect to the WPE on the FM Server. >> >> BP >> >> Bob Patin >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> FileMaker 9, 10, 11, 12 & 13 Certified Developer >> http://www.longtermsolutions.com >> - >> iChat: bobpatin@me.com >> Twitter: bobpatin >>  >> FileMaker Consulting >> FileMaker Hosting for all versions of FileMaker >> PHP  Full email services  Free DNS hosting  Colocation  Consulting >> >> On Jul 18, 2014, at 9:49 AM, Joel Shapiro wrote: >> >>> Hi Bob >>> >>> FWIW: The "getting started guides" state that the 3-machine & 2-machine "alternative" (both of which they removed with FMS13) have the "Web Server Module" on the web server machine, which they define as "this FileMaker Server software component is >installed on the web server host machine. The Web Server Module enables the Web Publishing Engine to connect to the web server." So it looks like they never give an option for a non-FM machine to be in the mix. >>> >>> Best, >>> -Joel >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > >------------------------------ > >_______________________________________________ >FX.php_List >FX.php_List@mail.iviking.org >http://www.iviking.org/mailman/listinfo/fx.php_list > >End of FX.php_List Digest, Vol 117, Issue 12 >******************************************** From chris at iViking.org Mon Jul 21 09:54:10 2014 From: chris at iViking.org (Chris Hansen) Date: Mon Jul 21 09:50:36 2014 Subject: [FX.php List] Running a FM script from PHP/FX on more than one PC In-Reply-To: References: Message-ID: <4A61FDD3-6404-420C-A84D-1F11B2582CE5@iViking.org> John, The answer is: yes, mostly =) Basically, you can run THREE FileMaker scripts on each query that you perform: 1) PerformFMScriptPrefind($scriptName) - A script run here isn't run on the found set as there isn't one yet (so NO on this one); 2) PerformFMScriptPresort($scriptName) - This script is run after you have a found set, but before it is sorted (so YES here); 3) PerformFMScript($scriptName) - This is the main one that people use and runs just before data is returned (YES here too). HTH --Chris On Jul 18, 2014, at 2:50 PM, csinfo wrote: > I have a script that runs from the windows command line of a client, it inserts data and processes the data to turn it into a job. > Now my client wants a few PC to be able to run it but in initial tests, the scripts are stepping on each other and the Jobs are a mixture of data from multiple sources. > Does anyone know if when I call a FileMaker script with FX, it will run on only the found set.? > If so, I would do it flag records by a PC identifier and find them while running the script. > > Sample code: > $request = new FX($ServerIP, $Port,$dataSourceType ); > $request->SetDBData($fmdb,$Layout, $Group); > $request->SetDBUserPass($fmAccount, $fmPass); > $request->AddDBParam( 'InUseBy', $InUseBy ); //$InUseBy = PC1..PC2..PC3 etc > $request->AddDBParam('-script', 'FMScriptToRun' ); > > I will be testing this onsite but I thought some input is always helpful. > 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/20140721/c2ec84dc/attachment-0001.html From malcolm at filemakerstudio.com.au Thu Jul 17 21:31:17 2014 From: malcolm at filemakerstudio.com.au (Malcolm Fitzgerald) Date: Mon Jul 21 09:51:49 2014 Subject: [FX.php List] [OFF] Multiple Servers [WAS FMS13 & SSL?] In-Reply-To: <78BFDD25-E636-4F48-9B75-17E6D9A3AA34@jsfmp.com> References: <408C6A56-777F-48DB-A238-82B35B8A5CEA@bluecrocodile.co.nz> <5EEF1A45-736C-422B-88A8-9B57D988A8D2@bluecrocodile.co.nz> <14222CE1-994F-43C2-86BA-ED67500038EC@jsfmp.com> <491822AA-49BC-4695-8F5C-29B72D2EE8CE@iViking.org> <1A5975BD-D8A2-4F06-8578-53474A2689D7@jsfmp.com> <3101E8EE-B4F9-4C61-83E7-42532F0EF767@gmail.com> <78BFDD25-E636-4F48-9B75-17E6D9A3AA34@jsfmp.com> Message-ID: <75257719-AFE8-4A8E-88F3-693935A39FF7@filemakerstudio.com.au> On 18 Jul 2014, at 1:20 pm, Joel Shapiro wrote: > I will say, though, that I never understood why FMI never mentions the non-FM web server in their "deployment alternatives", since (a) it's easier & (b) could allow *more* use of FM/CWP by letting people know they can have their FM-served data on their existing website/webhost. I recall a diagram in TFM (which version??) which described a three machine setup which was a variation of this. malcolm From bob at patin.com Mon Jul 21 14:57:15 2014 From: bob at patin.com (Bob Patin) Date: Mon Jul 21 14:53:44 2014 Subject: [FX.php List] Inserting a web app into a WordPress site Message-ID: I have a client who?s interested in having me write a web app that would be inserted into his WordPress site. Has anyone on here done that, and if so, was it hard to do? Thanks, Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From dsomar at gmail.com Mon Jul 21 15:56:02 2014 From: dsomar at gmail.com (Denis Somar) Date: Mon Jul 21 15:52:29 2014 Subject: [FX.php List] Inserting a web app into a WordPress site In-Reply-To: References: Message-ID: Should be easy. I would recommend making a custom page template for the theme or a custom shortcode that triggers whatever PHP you write for FX. D > On Jul 21, 2014, at 4:57 PM, Bob Patin wrote: > > I have a client who?s interested in having me write a web app that would be inserted into his WordPress site. Has anyone on here done that, and if so, was it hard to do? > > Thanks, > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11, 12 & 13 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dale.bengston at gmail.com Mon Jul 21 16:10:50 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Mon Jul 21 16:07:24 2014 Subject: [FX.php List] Inserting a web app into a WordPress site In-Reply-To: References: Message-ID: Take a look at the WordPress Codex entries for their HTTP API. One or more of the helper functions may be what you need in order to tap into an existing web app. http://codex.wordpress.org/HTTP_API Dale On Jul 21, 2014, at 4:56 PM, Denis Somar wrote: > Should be easy. I would recommend making a custom page template for the theme or a custom shortcode that triggers whatever PHP you write for FX. > > D > >> On Jul 21, 2014, at 4:57 PM, Bob Patin wrote: >> >> I have a client who?s interested in having me write a web app that would be inserted into his WordPress site. Has anyone on here done that, and if so, was it hard to do? >> >> Thanks, >> >> Bob Patin >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> FileMaker 9, 10, 11, 12 & 13 Certified Developer >> http://www.longtermsolutions.com >> - >> iChat: bobpatin@me.com >> Twitter: bobpatin >> ? >> FileMaker Consulting >> FileMaker Hosting for all versions of FileMaker >> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From jschwartz at exit445.com Mon Jul 21 18:18:24 2014 From: jschwartz at exit445.com (jschwartz) Date: Mon Jul 21 18:14:51 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server Message-ID: Hi Folks, I had a perfectly fine fx.php system working under OS X 10.6.8, but the system would not pass a PCI security scan, so I agreed to move it to Windows 2008. Another guy is handling the Windows side. When I first installed the system under FMS 11, all was good the Web Publishing side. The Windows guy had to continue plugging security holes to pass the PCI scan. His last step was to replace PHP because the PCI scan complained about the embedded PHP version inside FMS 11. That?s when fx.php stopped talking to FileMaker. I got the cURL error, although password and connect info was correct.. I redeployed the Web Publishing Engine?twice. Each time, the deploy whacked IIS to the point that IIS stopped recognizing php files. The Windows gut isn?t too happy. We?re both wasting a huge amount for time just to to placate the credit card guys. Are there any secrets I should know? Thanks Jonathan From mail at jsfmp.com Mon Jul 21 19:33:43 2014 From: mail at jsfmp.com (Joel Shapiro) Date: Mon Jul 21 19:30:12 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: References: Message-ID: Hey Jonathan Is this a one- or two- machine config? Could you, as people here have been commenting, have a vanilla web server on its own machine, and have all FMS components -- including the WPE -- on the non-PHP Database server? -Joel On Jul 21, 2014, at 5:18 PM, jschwartz wrote: > Hi Folks, > > I had a perfectly fine fx.php system working under OS X 10.6.8, but the system would not pass a PCI security scan, so I agreed to move it to Windows 2008. Another guy is handling the Windows side. When I first installed the system under FMS 11, all was good the Web Publishing side. The Windows guy had to continue plugging security holes to pass the PCI scan. His last step was to replace PHP because the PCI scan complained about the embedded PHP version inside FMS 11. > > That?s when fx.php stopped talking to FileMaker. I got the cURL error, although password and connect info was correct.. I redeployed the Web Publishing Engine?twice. Each time, the deploy whacked IIS to the point that IIS stopped recognizing php files. > > The Windows gut isn?t too happy. We?re both wasting a huge amount for time just to to placate the credit card guys. > > Are there any secrets I should know? > > Thanks > > Jonathan_______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From jschwartz at exit445.com Mon Jul 21 19:37:46 2014 From: jschwartz at exit445.com (jschwartz) Date: Mon Jul 21 19:34:12 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: References: Message-ID: Hi Joel, Long time. Answer is?. One Machine. I suppose that I could ask them to spin up a separate virtual IIS web server, but why? I haven?t been paying attention. Is this a ?known issue?? Jonathan On Jul 21, 2014, at 6:33 PM, Joel Shapiro wrote: > Hey Jonathan > > Is this a one- or two- machine config? > > Could you, as people here have been commenting, have a vanilla web server on its own machine, and have all FMS components -- including the WPE -- on the non-PHP Database server? > > -Joel > > > On Jul 21, 2014, at 5:18 PM, jschwartz wrote: > >> Hi Folks, >> >> I had a perfectly fine fx.php system working under OS X 10.6.8, but the system would not pass a PCI security scan, so I agreed to move it to Windows 2008. Another guy is handling the Windows side. When I first installed the system under FMS 11, all was good the Web Publishing side. The Windows guy had to continue plugging security holes to pass the PCI scan. His last step was to replace PHP because the PCI scan complained about the embedded PHP version inside FMS 11. >> >> That?s when fx.php stopped talking to FileMaker. I got the cURL error, although password and connect info was correct.. I redeployed the Web Publishing Engine?twice. Each time, the deploy whacked IIS to the point that IIS stopped recognizing php files. >> >> The Windows gut isn?t too happy. We?re both wasting a huge amount for time just to to placate the credit card guys. >> >> Are there any secrets I should know? >> >> Thanks >> >> Jonathan_______________________________________________ >> 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 mail at jsfmp.com Mon Jul 21 19:45:34 2014 From: mail at jsfmp.com (Joel Shapiro) Date: Mon Jul 21 19:42:03 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: References: Message-ID: <68C17403-889B-4166-8824-18D4C8B899F8@jsfmp.com> Long time indeed. See you at DevCon? If you're having issues between IIS & FMS -- which I am on a FM13 setup right now -- one option could be to keep FMS off of the IIS machine. Let the "Windows guy" do what he needs to on a plain ol' web server (w/ the FX pointed to the DB server), and you won't have to worry about him trampling on your FMS/WPE/ETC -Joel On Jul 21, 2014, at 6:37 PM, jschwartz wrote: > Hi Joel, > > Long time. > > > Answer is?. > > One Machine. > > I suppose that I could ask them to spin up a separate virtual IIS web server, but why? I haven?t been paying attention. Is this a ?known issue?? > > Jonathan > > > On Jul 21, 2014, at 6:33 PM, Joel Shapiro wrote: > >> Hey Jonathan >> >> Is this a one- or two- machine config? >> >> Could you, as people here have been commenting, have a vanilla web server on its own machine, and have all FMS components -- including the WPE -- on the non-PHP Database server? >> >> -Joel >> >> >> On Jul 21, 2014, at 5:18 PM, jschwartz wrote: >> >>> Hi Folks, >>> >>> I had a perfectly fine fx.php system working under OS X 10.6.8, but the system would not pass a PCI security scan, so I agreed to move it to Windows 2008. Another guy is handling the Windows side. When I first installed the system under FMS 11, all was good the Web Publishing side. The Windows guy had to continue plugging security holes to pass the PCI scan. His last step was to replace PHP because the PCI scan complained about the embedded PHP version inside FMS 11. >>> >>> That?s when fx.php stopped talking to FileMaker. I got the cURL error, although password and connect info was correct.. I redeployed the Web Publishing Engine?twice. Each time, the deploy whacked IIS to the point that IIS stopped recognizing php files. >>> >>> The Windows gut isn?t too happy. We?re both wasting a huge amount for time just to to placate the credit card guys. >>> >>> Are there any secrets I should know? >>> >>> Thanks >>> >>> Jonathan_______________________________________________ >>> 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 jschwartz at exit445.com Mon Jul 21 20:19:50 2014 From: jschwartz at exit445.com (jschwartz) Date: Mon Jul 21 20:16:17 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: <68C17403-889B-4166-8824-18D4C8B899F8@jsfmp.com> References: <68C17403-889B-4166-8824-18D4C8B899F8@jsfmp.com> Message-ID: <27E9998F-2BE5-42C4-8FFD-B8F6DB9FFEE6@exit445.com> Joel, Will consider the two box option. Seems a shame to have to go that route for something so basic. Regarding DevCon... I stopped attending DevCon a couple of years back. I gave up on FMI delivering any useful content for the PHP Web Developer. The last productive year was 2007, I believe, with the introduction of the API. Or was it 2009? I also lost faith with the introduction of CWP 2.0. What are they calling it now? Web Direct? Would love it hear other opinions. Jonathan On Jul 21, 2014, at 6:45 PM, Joel Shapiro wrote: > Long time indeed. See you at DevCon? > > If you're having issues between IIS & FMS -- which I am on a FM13 setup right now -- one option could be to keep FMS off of the IIS machine. Let the "Windows guy" do what he needs to on a plain ol' web server (w/ the FX pointed to the DB server), and you won't have to worry about him trampling on your FMS/WPE/ETC > > -Joel > > > On Jul 21, 2014, at 6:37 PM, jschwartz wrote: > >> Hi Joel, >> >> Long time. >> >> >> Answer is?. >> >> One Machine. >> >> I suppose that I could ask them to spin up a separate virtual IIS web server, but why? I haven?t been paying attention. Is this a ?known issue?? >> >> Jonathan >> >> >> On Jul 21, 2014, at 6:33 PM, Joel Shapiro wrote: >> >>> Hey Jonathan >>> >>> Is this a one- or two- machine config? >>> >>> Could you, as people here have been commenting, have a vanilla web server on its own machine, and have all FMS components -- including the WPE -- on the non-PHP Database server? >>> >>> -Joel >>> >>> >>> On Jul 21, 2014, at 5:18 PM, jschwartz wrote: >>> >>>> Hi Folks, >>>> >>>> I had a perfectly fine fx.php system working under OS X 10.6.8, but the system would not pass a PCI security scan, so I agreed to move it to Windows 2008. Another guy is handling the Windows side. When I first installed the system under FMS 11, all was good the Web Publishing side. The Windows guy had to continue plugging security holes to pass the PCI scan. His last step was to replace PHP because the PCI scan complained about the embedded PHP version inside FMS 11. >>>> >>>> That?s when fx.php stopped talking to FileMaker. I got the cURL error, although password and connect info was correct.. I redeployed the Web Publishing Engine?twice. Each time, the deploy whacked IIS to the point that IIS stopped recognizing php files. >>>> >>>> The Windows gut isn?t too happy. We?re both wasting a huge amount for time just to to placate the credit card guys. >>>> >>>> Are there any secrets I should know? >>>> >>>> Thanks >>>> >>>> Jonathan_______________________________________________ >>>> 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 ted-fitzgerald at uiowa.edu Mon Jul 21 20:56:25 2014 From: ted-fitzgerald at uiowa.edu (Fitzgerald, Theodore C) Date: Mon Jul 21 20:52:52 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: References: Message-ID: Jonathan, What is "the cURL error"? Not able to reach the IIS server? Could it be a firewall issue? What happens if you try the XML url directly? You're sure cURL is installed and enabled? Ted ________________________________________ From: fx.php_list-bounces@mail.iviking.org [fx.php_list-bounces@mail.iviking.org] on behalf of jschwartz [jschwartz@exit445.com] Sent: Monday, July 21, 2014 7:18 PM To: FX.php List Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server Hi Folks, I had a perfectly fine fx.php system working under OS X 10.6.8, but the system would not pass a PCI security scan, so I agreed to move it to Windows 2008. Another guy is handling the Windows side. When I first installed the system under FMS 11, all was good the Web Publishing side. The Windows guy had to continue plugging security holes to pass the PCI scan. His last step was to replace PHP because the PCI scan complained about the embedded PHP version inside FMS 11. That?s when fx.php stopped talking to FileMaker. I got the cURL error, although password and connect info was correct.. I redeployed the Web Publishing Engine?twice. Each time, the deploy whacked IIS to the point that IIS stopped recognizing php files. The Windows gut isn?t too happy. We?re both wasting a huge amount for time just to to placate the credit card guys. Are there any secrets I should know? Thanks Jonathan_______________________________________________ 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 Jul 21 20:58:36 2014 From: bob at patin.com (Bob Patin) Date: Mon Jul 21 20:55:08 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: <27E9998F-2BE5-42C4-8FFD-B8F6DB9FFEE6@exit445.com> References: <68C17403-889B-4166-8824-18D4C8B899F8@jsfmp.com> <27E9998F-2BE5-42C4-8FFD-B8F6DB9FFEE6@exit445.com> Message-ID: On Jul 21, 2014, at 9:19 PM, jschwartz wrote: > Regarding DevCon... > > I stopped attending DevCon a couple of years back. I gave up on FMI delivering any useful content for the PHP Web Developer. The last productive year was 2007, I believe, with the introduction of the API. Or was it 2009? I also lost faith with the introduction of CWP 2.0. What are they calling it now? Web Direct? > > Would love it hear other opinions. I'm curious to see what they focus on this year, but my fear is that it'll be WebDirect, which interests me very little. But as to your going to Devcon, you'd get to see ME! And really... isn't that what it's all about? :) BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140721/a7e2e3e8/attachment.html From malcolm at notyourhomework.net Mon Jul 21 21:18:29 2014 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Mon Jul 21 21:14:57 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: <27E9998F-2BE5-42C4-8FFD-B8F6DB9FFEE6@exit445.com> References: <68C17403-889B-4166-8824-18D4C8B899F8@jsfmp.com> <27E9998F-2BE5-42C4-8FFD-B8F6DB9FFEE6@exit445.com> Message-ID: > I gave up on FMI delivering any useful content for the PHP Web Developer. What sort of things would you like to see appear in the product? malcolm From mail at jsfmp.com Mon Jul 21 21:19:51 2014 From: mail at jsfmp.com (Joel Shapiro) Date: Mon Jul 21 21:17:28 2014 Subject: [FX.php List] Inserting a web app into a WordPress site In-Reply-To: References: Message-ID: Hi Bob I once had a client that moved their main (non-FM-connected) website to WP -- which they maintained -- and wanted to include some of their FM content in it. Their basic WP theme allowed them to add iframes to their pages, so I designed a CWP page -- hosted on a different server -- to fit inside the iframe. It worked well for what they wanted (view a hard-coded category via WP, which displayed upcoming classes for that category via GET in the iframe, then sign up & pay). Note, though, that you can't work with Session vars inside an iframe (at least not cross-domain), so when a user was ready to purchase an item (w/ nec'y login), the "signup" link sent them out of the WP site onto a signup page on the client's separate/standard CWP web server. The URL changed, but visually it was seemless. Not full integration, certainly, but quick-ish and perfect for their needs. HTH, -Joel On Jul 21, 2014, at 1:57 PM, Bob Patin wrote: > I have a client who?s interested in having me write a web app that would be inserted into his WordPress site. Has anyone on here done that, and if so, was it hard to do? > > Thanks, > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11, 12 & 13 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From chris at iViking.org Mon Jul 21 23:27:58 2014 From: chris at iViking.org (Chris Hansen) Date: Mon Jul 21 23:24:22 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: References: Message-ID: Hi Jonathan, Given the version of FileMaker, I'm not sure that it's a known issue (FMS 13 is where things really seem to have gotten messy if you don't like FM's built in web server.) That said, I know that FMS has its own custom version of Tomcat running under the hood, and it does a lot of talking to itself on various ports. (Peter Wagemans of SHpartners has more knowledge of that than anyone I know outside of FileMaker, though he may have moved on to other areas these days.) The cURL issue could be any number of things, though log entries should give you a hint. For that matter, exactly what cURL error are you seeing? All that said, there's a fair amount of voodoo going on under the hood, and I don't think that trying to make FileMaker dance to a tune other than what it wants is going to make either it or you very happy... And what happens when you have to upgrade something? More of what you're going through now? I shudder to think. I'd agree with what's already been said: put FileMaker on its own machine. It's really a better idea to have a database server living behind the web server anyway. Best, --Chris On Jul 21, 2014, at 7:37 PM, jschwartz wrote: > Hi Joel, > > Long time. > > > Answer is?. > > One Machine. > > I suppose that I could ask them to spin up a separate virtual IIS web server, but why? I haven?t been paying attention. Is this a ?known issue?? > > Jonathan > > > On Jul 21, 2014, at 6:33 PM, Joel Shapiro wrote: > >> Hey Jonathan >> >> Is this a one- or two- machine config? >> >> Could you, as people here have been commenting, have a vanilla web server on its own machine, and have all FMS components -- including the WPE -- on the non-PHP Database server? >> >> -Joel >> >> >> On Jul 21, 2014, at 5:18 PM, jschwartz wrote: >> >>> Hi Folks, >>> >>> I had a perfectly fine fx.php system working under OS X 10.6.8, but the system would not pass a PCI security scan, so I agreed to move it to Windows 2008. Another guy is handling the Windows side. When I first installed the system under FMS 11, all was good the Web Publishing side. The Windows guy had to continue plugging security holes to pass the PCI scan. His last step was to replace PHP because the PCI scan complained about the embedded PHP version inside FMS 11. >>> >>> That?s when fx.php stopped talking to FileMaker. I got the cURL error, although password and connect info was correct.. I redeployed the Web Publishing Engine?twice. Each time, the deploy whacked IIS to the point that IIS stopped recognizing php files. >>> >>> The Windows gut isn?t too happy. We?re both wasting a huge amount for time just to to placate the credit card guys. >>> >>> Are there any secrets I should know? >>> >>> Thanks >>> >>> Jonathan_______________________________________________ >>> 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 jschwartz at exit445.com Tue Jul 22 09:03:23 2014 From: jschwartz at exit445.com (jschwartz) Date: Tue Jul 22 08:59:46 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: References: <68C17403-889B-4166-8824-18D4C8B899F8@jsfmp.com> <27E9998F-2BE5-42C4-8FFD-B8F6DB9FFEE6@exit445.com> Message-ID: Malcolm, I was referring to DevCon sessions?and the lack of content for us CWP folks. There might have been a small handful of php-related sessions in recent years. I?m looking for an entire track to make it worthwhile. My 2 cents. Jonathan On Jul 21, 2014, at 8:18 PM, Malcolm Fitzgerald wrote: >> I gave up on FMI delivering any useful content for the PHP Web Developer. > > What sort of things would you like to see appear in the product? > > 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 Tue Jul 22 09:20:45 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Tue Jul 22 09:17:09 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: References: <68C17403-889B-4166-8824-18D4C8B899F8@jsfmp.com> <27E9998F-2BE5-42C4-8FFD-B8F6DB9FFEE6@exit445.com> Message-ID: <9858DC0C-FC7D-45FB-BA68-3AE945A947C7@gmail.com> Jonathan, this is precisely why I don?t go to DevCon any more. Dale On Jul 22, 2014, at 10:03 AM, jschwartz wrote: > Malcolm, > > I was referring to DevCon sessions?and the lack of content for us CWP folks. There might have been a small handful of php-related sessions in recent years. I?m looking for an entire track to make it worthwhile. My 2 cents. > > Jonathan > > > On Jul 21, 2014, at 8:18 PM, Malcolm Fitzgerald wrote: > >>> I gave up on FMI delivering any useful content for the PHP Web Developer. >> >> What sort of things would you like to see appear in the product? >> >> 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 bob at patin.com Tue Jul 22 09:45:43 2014 From: bob at patin.com (Bob Patin) Date: Tue Jul 22 09:42:13 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: References: <68C17403-889B-4166-8824-18D4C8B899F8@jsfmp.com> <27E9998F-2BE5-42C4-8FFD-B8F6DB9FFEE6@exit445.com> Message-ID: Jonathan and Dale, I agree with you guys that PHP web apps take a back bench at Devcon; when you think about it, there's not a lot of revenue coming from web apps, when compared with seats of FileMaker and now with WebDirect. My impression is that FMI is putting a lot of emphasis on WebDirect as a primary revenue source going forward, and that's not something that in which I have a lot of interest. When clients contact me about web apps that they need, the first question I ask is always the number of users they expect to have. If they anticipate more the 3 or 4, I strongly discourage their considering WebDirect because it's too expensive to use as a replacement for a good PHP web app. As a result, I'm steering clients *away* from WebDirect, but I have to advise what I think is the most cost-effective solution for clients. I don't think PHP will go away, nor do I expect FMI to stop supporting it, but it's clear that their focus is on mobile, WebDirect and the desktop, in that order; For me, I enjoy doing straight-up FileMaker programming as much as I do PHP, so it really doesn't matter to me, but it means that Devcon doesn't offer much for those whose focus is mainly on web app development. One venue for getting more conversation going regarding web app development is Pause On Error, when and if the next one occurs; I could benefit from lots of sessions around web app design, and I'm sure there are others who'd be interested as well. Another idea would be to try to set one up just like the Pause organizers did; we could come up with some topics, find a suitable hotel, put the word out on a few forums, and see what happens. I'd be extremely interested in something like this, and wonder how much interest could be found from others... Topics that come to mind: FX.php techniques FileMaker API techniques JQuery integration Using other technologies Integrating a web app into an existing framework like WordPress or other site-template constructs If anyone is interested, please post here; maybe we could develop our own unconference for the fall. Best, Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jul 22, 2014, at 10:03 AM, jschwartz wrote: > I was referring to DevCon sessions?and the lack of content for us CWP folks. There might have been a small handful of php-related sessions in recent years. I?m looking for an entire track to make it worthwhile. My 2 cents. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140722/df9d0cdc/attachment-0001.html From andersm at mac.com Tue Jul 22 10:07:15 2014 From: andersm at mac.com (ANDERS MONSEN) Date: Tue Jul 22 10:03:40 2014 Subject: =?utf-8?B?UmU6IFtGWC5waHAgTGlzdF0gQ2FuJ3QgY29ubmVjdCB3aXRoIG1hbnVhbGx5?= =?utf-8?B?IGluc3RhbGxlZCBwaHAgb24JV2luZG93cyAyMDA4IFNlcnZlcg==?= Message-ID: <5ee901b1-4d2b-40bc-95d6-582c5f78ac8a@me.com> Actually, last year there were seven sessions that dealt with integration and web, including PHP and HTML5, in a separate web/integration track. Considering there are six tracks for sessions and there's the ability to host unconference sessions on anything you want, there seems to be a generous mix of CWP at DevCon. The people on this list tend to know their stuff, and maybe most sessions aren't aimed at this level, but rather the more introductory type. I suspect you're looking for more advanced integration tracks, but I think it becomes incumbent upon those with knowledge to propose such sessions. The alternatives are unconference sessions, which are informal and anyone can create, or creating a separate conference and working to attract high-end topics. You have to consider the audience. How many FileMaker developers with show up for sessions like "IDEs and FileMaker," "Custom-Built Web FrameWorks for FileMaker and PHP," "JQuery FileMaker Tools," "FMP URL Protocol - Advanced Techniques" and the like? Maybe those on this list, and handful others. Still, if no one proposes sessions like this to FileMaker when they call for DevCon sessions, they will never appear on the schedule. -- Anders On Jul 22, 2014, at 10:03 AM, jschwartz wrote: Malcolm, I was referring to DevCon sessions?and the lack of content for us CWP folks. There might have been a small handful of php-related sessions in recent years. I?m looking for an entire track to make it worthwhile. My 2 cents. Jonathan On Jul 21, 2014, at 8:18 PM, Malcolm Fitzgerald wrote: ? ? ? ?> ? ? ? ?> I gave up on FMI delivering any useful content for the PHP Web Developer. ? ? ? ?> ? ? ? ?> What sort of things would you like to see appear in the product? ? ? ? ?> ? ? ? ?> 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 -------------- next part -------------- Skipped content of type multipart/related From beverlyvoth at gmail.com Tue Jul 22 10:26:44 2014 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Tue Jul 22 10:23:12 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: <5ee901b1-4d2b-40bc-95d6-582c5f78ac8a@me.com> References: <5ee901b1-4d2b-40bc-95d6-582c5f78ac8a@me.com> Message-ID: <2CE70772-5B42-439A-927C-CC7922D07CD9@gmail.com> +1 well said, Anders! To get 'accepted' as speaker in the past, I had to submit 'basic' web sessions. Unconference is the way to get the good stuff. :) Alas, alack, I'm not attending either this year. Beverly On 22 Jul 2014, at 12:07 PM, ANDERS MONSEN wrote: > Actually, last year there were seven sessions that dealt with integration and web, including PHP and HTML5, in a separate web/integration track. > > Considering there are six tracks for sessions and there's the ability to host unconference sessions on anything you want, there seems to be a generous mix of CWP at DevCon. The people on this list tend to know their stuff, and maybe most sessions aren't aimed at this level, but rather the more introductory type. I suspect you're looking for more advanced integration tracks, but I think it becomes incumbent upon those with knowledge to propose such sessions. The alternatives are unconference sessions, which are informal and anyone can create, or creating a separate conference and working to attract high-end topics. You have to consider the audience. How many FileMaker developers with show up for sessions like "IDEs and FileMaker," "Custom-Built Web FrameWorks for FileMaker and PHP," "JQuery FileMaker Tools," "FMP URL Protocol - Advanced Techniques" and the like? Maybe those on this list, and handful others. Still, if no one proposes sessions like this to FileMaker when they call for DevCon sessions, they will never appear on the schedule. > > -- > Anders > > > On Jul 22, 2014, at 10:03 AM, jschwartz wrote: > >> Malcolm, >> >> I was referring to DevCon sessions?and the lack of content for us CWP folks. There might have been a small handful of php-related sessions in recent years. I?m looking for an entire track to make it worthwhile. My 2 cents. >> >> Jonathan >> >> >> On Jul 21, 2014, at 8:18 PM, Malcolm Fitzgerald wrote: >> >> > > I gave up on FMI delivering any useful content for the PHP Web Developer. >> > >> > What sort of things would you like to see appear in the product? >> > >> > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140722/f6948999/attachment.html From bob at patin.com Tue Jul 22 10:44:21 2014 From: bob at patin.com (Bob Patin) Date: Tue Jul 22 10:40:50 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: <5ee901b1-4d2b-40bc-95d6-582c5f78ac8a@me.com> References: <5ee901b1-4d2b-40bc-95d6-582c5f78ac8a@me.com> Message-ID: <14877DB9-FA92-4742-8424-12FA76D9C8F7@patin.com> On Jul 22, 2014, at 11:07 AM, ANDERS MONSEN wrote: > Actually, last year there were seven sessions that dealt with integration and web, including PHP and HTML5, in a separate web/integration track. Pleasantly surprised; I didn't remember there being that many, but then again, I probably didn't go to them because they were more for people just starting out... > > Considering there are six tracks for sessions and there's the ability to host unconference sessions on anything you want, there seems to be a generous mix of CWP at DevCon. The people on this list tend to know their stuff, and maybe most sessions aren't aimed at this level, but rather the more introductory type. I suspect you're looking for more advanced integration tracks, but I think it becomes incumbent upon those with knowledge to propose such sessions. The alternatives are unconference sessions, which are informal and anyone can create, or creating a separate conference and working to attract high-end topics. You have to consider the audience. How many FileMaker developers with show up for sessions like "IDEs and FileMaker," "Custom-Built Web FrameWorks for FileMaker and PHP," "JQuery FileMaker Tools," "FMP URL Protocol - Advanced Techniques" and the like? Maybe those on this list, and handful others. Still, if no one proposes sessions like this to FileMaker when they call for DevCon sessions, they will never appear on the schedule. You make an excellent point about unconference sessions, and I forgot all about those; some of the best things I saw in the last couple of years were these sessions. One thing that I'll say about Devcon: I've now been to about 10 of them, and in 2009 I was standing in the hall, running my mouth (no surprise there); a woman was looking for a developer in Tennessee, heard me talking, looked at my badge, and unbeknownst to me, checked up on me. A month later her boss called me; I got hired to redo their systems 2 days later, and have been on a nice retainer with them now for almost 5 years. So there's more to Devcon than just learning about new technology... :) Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140722/ec96a194/attachment.html From mail at jsfmp.com Tue Jul 22 11:43:27 2014 From: mail at jsfmp.com (Joel Shapiro) Date: Tue Jul 22 11:39:52 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: <14877DB9-FA92-4742-8424-12FA76D9C8F7@patin.com> References: <5ee901b1-4d2b-40bc-95d6-582c5f78ac8a@me.com> <14877DB9-FA92-4742-8424-12FA76D9C8F7@patin.com> Message-ID: <1A8E123C-D29D-48AF-9F16-4DADD99C3A78@jsfmp.com> Interestingly, this year at the CWP User Group meeting, I'm planning on starting a discussion around what's relevant/recommended for CWP developers to know -- from the whole massive world of web development -- and possibly suggestions on how to learn them. I've thought in the past about maybe having online meetups/conferences for groups of us, where we'd take turns sharing our screens and presenting. I've attended a few of these (large scale) and they can work really well. I don't, though, have experience on what'd work best (e.g. Webex, GoToMeeting/Webinar, ?). The idea of an in-person unconference sounds great, but I know so many people just on this list are so spread out geographically. -Joel p.s. Nice topic suggestions, Anders :) From steve at bluecrocodile.co.nz Tue Jul 22 15:13:09 2014 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Tue Jul 22 15:10:25 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: <2CE70772-5B42-439A-927C-CC7922D07CD9@gmail.com> References: <5ee901b1-4d2b-40bc-95d6-582c5f78ac8a@me.com> <2CE70772-5B42-439A-927C-CC7922D07CD9@gmail.com> Message-ID: <29EBD526-052A-4093-ADF4-6283CC1B58A9@bluecrocodile.co.nz> Merhaba Being as I am an agreeable kind of chap, I pretty much agree with what everyone's said...! there are a range of CWP/Integration sessions available at every DevCon, some years more so than others someone has to pitch advanced topics to FM. I do, every year, but... as Beverly pointed out, it's only my 'basic' and 'intermediate' level ones which get selected and that's because there are only 4.5 tracks (one's a vendor demo track this year) so space is tight and the market for advanced CWP topics is very small in the broader FM community and that's why people like Jonathan (Hi Jonathan, long time :-) choose to save their $$ and not attend which means they get to miss out on seeing Bob (a questionable 'loss' on their part ;-) who has an awesome idea to create our 'own' un-con at some stage and, along with Anders, has some great session ideas for that I look forward to hearing when/where it's going to be and will happily provide you with all manner of advanced topics to selected from See some of you in a few days, others when Bob's CWP un-con happens. Cheers Steve > +1 well said, Anders! > > To get 'accepted' as speaker in the past, I had to submit 'basic' web sessions. > > Unconference is the way to get the good stuff. :) > Alas, alack, I'm not attending either this year. > > Beverly > On 22 Jul 2014, at 12:07 PM, ANDERS MONSEN wrote: > >> Actually, last year there were seven sessions that dealt with integration and web, including PHP and HTML5, in a separate web/integration track. >> >> Considering there are six tracks for sessions and there's the ability to host unconference sessions on anything you want, there seems to be a generous mix of CWP at DevCon. The people on this list tend to know their stuff, and maybe most sessions aren't aimed at this level, but rather the more introductory type. I suspect you're looking for more advanced integration tracks, but I think it becomes incumbent upon those with knowledge to propose such sessions. The alternatives are unconference sessions, which are informal and anyone can create, or creating a separate conference and working to attract high-end topics. You have to consider the audience. How many FileMaker developers with show up for sessions like "IDEs and FileMaker," "Custom-Built Web FrameWorks for FileMaker and PHP," "JQuery FileMaker Tools," "FMP URL Protocol - Advanced Techniques" and the like? Maybe those on this list, and handful others. Still, if no one proposes sessions like this to FileMaker when they call for DevCon sessions, they will never appear on the schedule. >> >> -- >> Anders >> >> >> On Jul 22, 2014, at 10:03 AM, jschwartz wrote: >> >>> Malcolm, >>> >>> I was referring to DevCon sessions?and the lack of content for us CWP folks. There might have been a small handful of php-related sessions in recent years. I?m looking for an entire track to make it worthwhile. My 2 cents. >>> >>> Jonathan >>> >>> >>> On Jul 21, 2014, at 8:18 PM, Malcolm Fitzgerald wrote: >>> >>> > > I gave up on FMI delivering any useful content for the PHP Web Developer. >>> > >>> > What sort of things would you like to see appear in the product? >>> > >>> > 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 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/20140722/402699b2/attachment.html From bob at patin.com Tue Jul 22 15:31:03 2014 From: bob at patin.com (Bob Patin) Date: Tue Jul 22 15:27:27 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: <29EBD526-052A-4093-ADF4-6283CC1B58A9@bluecrocodile.co.nz> References: <5ee901b1-4d2b-40bc-95d6-582c5f78ac8a@me.com> <2CE70772-5B42-439A-927C-CC7922D07CD9@gmail.com> <29EBD526-052A-4093-ADF4-6283CC1B58A9@bluecrocodile.co.nz> Message-ID: <36063CD5-9EC5-4115-B15B-99E5EBF5DDCD@patin.com> On Jul 22, 2014, at 4:13 PM, Steve Winter wrote: > Merhaba > > Being as I am an agreeable kind of chap, I pretty much agree with what everyone's said...! > there are a range of CWP/Integration sessions available at every DevCon, some years more so than others > someone has to pitch advanced topics to FM. I do, every year, but... > as Beverly pointed out, it's only my 'basic' and 'intermediate' level ones which get selected > and that's because there are only 4.5 tracks (one's a vendor demo track this year) so space is tight > and the market for advanced CWP topics is very small in the broader FM community > and that's why people like Jonathan (Hi Jonathan, long time :-) choose to save their $$ and not attend > which means they get to miss out on seeing Bob (a questionable 'loss' on their part ;-) Oh, that hurts... okay, not so much, but still, I'll mourn... > who has an awesome idea to create our 'own' un-con at some stage ... just made up for it, now I feel okay again. > and, along with Anders, has some great session ideas for that > I look forward to hearing when/where it's going to be and will happily provide you with all manner of advanced topics to selected from > > See some of you in a few days, others when Bob's CWP un-con happens. I'll put together a little survey and see what I get back; I'll post a link here and on a couple of other forums just for grins... BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140722/7cc30928/attachment.html From jschwartz at exit445.com Tue Jul 22 16:05:04 2014 From: jschwartz at exit445.com (jschwartz) Date: Tue Jul 22 16:01:26 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: References: Message-ID: <01CE0EBB-190B-41FE-9631-D84F807BDEC1@exit445.com> Back to the original problem?. The Windows guy is going to restore the php functionality for the third time after the CWP deploy trashed it?.twice. Please remind me?what tests can I run to tell if I?m reaching FMS (the XML URL you mentioned) and to isolate the problem? As I mentioned, It?s been a long time since I worked under the hood with fx.php. Thanks Jonathan On Jul 21, 2014, at 7:56 PM, Fitzgerald, Theodore C wrote: > Jonathan, > > What is "the cURL error"? Not able to reach the IIS server? Could it be a firewall issue? What happens if you try the XML url directly? You're sure cURL is installed and enabled? > > Ted > ________________________________________ > From: fx.php_list-bounces@mail.iviking.org [fx.php_list-bounces@mail.iviking.org] on behalf of jschwartz [jschwartz@exit445.com] > Sent: Monday, July 21, 2014 7:18 PM > To: FX.php List > Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server > > Hi Folks, > > I had a perfectly fine fx.php system working under OS X 10.6.8, but the system would not pass a PCI security scan, so I agreed to move it to Windows 2008. Another guy is handling the Windows side. When I first installed the system under FMS 11, all was good the Web Publishing side. The Windows guy had to continue plugging security holes to pass the PCI scan. His last step was to replace PHP because the PCI scan complained about the embedded PHP version inside FMS 11. > > That?s when fx.php stopped talking to FileMaker. I got the cURL error, although password and connect info was correct.. I redeployed the Web Publishing Engine?twice. Each time, the deploy whacked IIS to the point that IIS stopped recognizing php files. > > The Windows gut isn?t too happy. We?re both wasting a huge amount for time just to to placate the credit card guys. > > Are there any secrets I should know? > > Thanks > > Jonathan_______________________________________________ > 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 ted-fitzgerald at uiowa.edu Tue Jul 22 17:30:32 2014 From: ted-fitzgerald at uiowa.edu (Fitzgerald, Theodore C) Date: Tue Jul 22 17:26:58 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: <01CE0EBB-190B-41FE-9631-D84F807BDEC1@exit445.com> References: , <01CE0EBB-190B-41FE-9631-D84F807BDEC1@exit445.com> Message-ID: Jonathan, You can use the following URL format to test if the XML portion of FileMaker's WPE is working (fx.php uses this behind the scenes): http://<>/fmi/xml/FMPXMLRESULT.xml??db=<>&?lay=<>&?findall Of you course, you'd want to use the address of your WPE server, and specify an appropriate database and layout. Ted ________________________________________ From: fx.php_list-bounces@mail.iviking.org [fx.php_list-bounces@mail.iviking.org] on behalf of jschwartz [jschwartz@exit445.com] Sent: Tuesday, July 22, 2014 5:05 PM To: FX.php List Subject: Re: [FX.php List] Can't connect with manually installed php on Windows 2008 Server Back to the original problem?. The Windows guy is going to restore the php functionality for the third time after the CWP deploy trashed it?.twice. Please remind me?what tests can I run to tell if I?m reaching FMS (the XML URL you mentioned) and to isolate the problem? As I mentioned, It?s been a long time since I worked under the hood with fx.php. Thanks Jonathan On Jul 21, 2014, at 7:56 PM, Fitzgerald, Theodore C wrote: > Jonathan, > > What is "the cURL error"? Not able to reach the IIS server? Could it be a firewall issue? What happens if you try the XML url directly? You're sure cURL is installed and enabled? > > Ted > ________________________________________ > From: fx.php_list-bounces@mail.iviking.org [fx.php_list-bounces@mail.iviking.org] on behalf of jschwartz [jschwartz@exit445.com] > Sent: Monday, July 21, 2014 7:18 PM > To: FX.php List > Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server > > Hi Folks, > > I had a perfectly fine fx.php system working under OS X 10.6.8, but the system would not pass a PCI security scan, so I agreed to move it to Windows 2008. Another guy is handling the Windows side. When I first installed the system under FMS 11, all was good the Web Publishing side. The Windows guy had to continue plugging security holes to pass the PCI scan. His last step was to replace PHP because the PCI scan complained about the embedded PHP version inside FMS 11. > > That?s when fx.php stopped talking to FileMaker. I got the cURL error, although password and connect info was correct.. I redeployed the Web Publishing Engine?twice. Each time, the deploy whacked IIS to the point that IIS stopped recognizing php files. > > The Windows gut isn?t too happy. We?re both wasting a huge amount for time just to to placate the credit card guys. > > Are there any secrets I should know? > > Thanks > > Jonathan_______________________________________________ > 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 jschwartz at exit445.com Tue Jul 22 19:50:53 2014 From: jschwartz at exit445.com (jschwartz) Date: Tue Jul 22 19:47:14 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: References: <01CE0EBB-190B-41FE-9631-D84F807BDEC1@exit445.com> Message-ID: <25CB398C-607B-4ABB-B925-39707865419D@exit445.com> Thanks very much. Will try it. Jonathan Schwartz Exit 445 Group 415-370-5011 > On Jul 22, 2014, at 4:30 PM, "Fitzgerald, Theodore C" wrote: > > Jonathan, > > You can use the following URL format to test if the XML portion of FileMaker's WPE is working (fx.php uses this behind the scenes): > > http://<>/fmi/xml/FMPXMLRESULT.xml??db=<>&?lay=<>&?findall > > Of you course, you'd want to use the address of your WPE server, and specify an appropriate database and layout. > > > Ted > ________________________________________ > From: fx.php_list-bounces@mail.iviking.org [fx.php_list-bounces@mail.iviking.org] on behalf of jschwartz [jschwartz@exit445.com] > Sent: Tuesday, July 22, 2014 5:05 PM > To: FX.php List > Subject: Re: [FX.php List] Can't connect with manually installed php on Windows 2008 Server > > Back to the original problem?. > > The Windows guy is going to restore the php functionality for the third time after the CWP deploy trashed it?.twice. > > Please remind me?what tests can I run to tell if I?m reaching FMS (the XML URL you mentioned) and to isolate the problem? As I mentioned, It?s been a long time since I worked under the hood with fx.php. > > Thanks > > Jonathan > > > > >> On Jul 21, 2014, at 7:56 PM, Fitzgerald, Theodore C wrote: >> >> Jonathan, >> >> What is "the cURL error"? Not able to reach the IIS server? Could it be a firewall issue? What happens if you try the XML url directly? You're sure cURL is installed and enabled? >> >> Ted >> ________________________________________ >> From: fx.php_list-bounces@mail.iviking.org [fx.php_list-bounces@mail.iviking.org] on behalf of jschwartz [jschwartz@exit445.com] >> Sent: Monday, July 21, 2014 7:18 PM >> To: FX.php List >> Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server >> >> Hi Folks, >> >> I had a perfectly fine fx.php system working under OS X 10.6.8, but the system would not pass a PCI security scan, so I agreed to move it to Windows 2008. Another guy is handling the Windows side. When I first installed the system under FMS 11, all was good the Web Publishing side. The Windows guy had to continue plugging security holes to pass the PCI scan. His last step was to replace PHP because the PCI scan complained about the embedded PHP version inside FMS 11. >> >> That?s when fx.php stopped talking to FileMaker. I got the cURL error, although password and connect info was correct.. I redeployed the Web Publishing Engine?twice. Each time, the deploy whacked IIS to the point that IIS stopped recognizing php files. >> >> The Windows gut isn?t too happy. We?re both wasting a huge amount for time just to to placate the credit card guys. >> >> Are there any secrets I should know? >> >> Thanks >> >> Jonathan_______________________________________________ >> 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 Wed Jul 23 07:30:40 2014 From: chris at iViking.org (Chris Hansen) Date: Wed Jul 23 07:26:57 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: References: , <01CE0EBB-190B-41FE-9631-D84F807BDEC1@exit445.com> Message-ID: Note that for most databases I prefer to use -findany rather than -findall -- much quicker to return a single record. Best, --Chris On Jul 22, 2014, at 5:30 PM, "Fitzgerald, Theodore C" wrote: > Jonathan, > > You can use the following URL format to test if the XML portion of FileMaker's WPE is working (fx.php uses this behind the scenes): > > http://<>/fmi/xml/FMPXMLRESULT.xml??db=<>&?lay=<>&?findall > > Of you course, you'd want to use the address of your WPE server, and specify an appropriate database and layout. > > > Ted > ________________________________________ > From: fx.php_list-bounces@mail.iviking.org [fx.php_list-bounces@mail.iviking.org] on behalf of jschwartz [jschwartz@exit445.com] > Sent: Tuesday, July 22, 2014 5:05 PM > To: FX.php List > Subject: Re: [FX.php List] Can't connect with manually installed php on Windows 2008 Server > > Back to the original problem?. > > The Windows guy is going to restore the php functionality for the third time after the CWP deploy trashed it?.twice. > > Please remind me?what tests can I run to tell if I?m reaching FMS (the XML URL you mentioned) and to isolate the problem? As I mentioned, It?s been a long time since I worked under the hood with fx.php. > > Thanks > > Jonathan > > > > > On Jul 21, 2014, at 7:56 PM, Fitzgerald, Theodore C wrote: > >> Jonathan, >> >> What is "the cURL error"? Not able to reach the IIS server? Could it be a firewall issue? What happens if you try the XML url directly? You're sure cURL is installed and enabled? >> >> Ted >> ________________________________________ >> From: fx.php_list-bounces@mail.iviking.org [fx.php_list-bounces@mail.iviking.org] on behalf of jschwartz [jschwartz@exit445.com] >> Sent: Monday, July 21, 2014 7:18 PM >> To: FX.php List >> Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server >> >> Hi Folks, >> >> I had a perfectly fine fx.php system working under OS X 10.6.8, but the system would not pass a PCI security scan, so I agreed to move it to Windows 2008. Another guy is handling the Windows side. When I first installed the system under FMS 11, all was good the Web Publishing side. The Windows guy had to continue plugging security holes to pass the PCI scan. His last step was to replace PHP because the PCI scan complained about the embedded PHP version inside FMS 11. >> >> That?s when fx.php stopped talking to FileMaker. I got the cURL error, although password and connect info was correct.. I redeployed the Web Publishing Engine?twice. Each time, the deploy whacked IIS to the point that IIS stopped recognizing php files. >> >> The Windows gut isn?t too happy. We?re both wasting a huge amount for time just to to placate the credit card guys. >> >> Are there any secrets I should know? >> >> Thanks >> >> Jonathan_______________________________________________ >> 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 jschwartz at exit445.com Wed Jul 23 07:33:50 2014 From: jschwartz at exit445.com (jschwartz) Date: Wed Jul 23 07:45:09 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: References: , <01CE0EBB-190B-41FE-9631-D84F807BDEC1@exit445.com> Message-ID: <5BD69680-6836-4FBA-83F6-D83AEED14722@exit445.com> Good idea. Thx. At this point, I am waiting for Windows guy to restore php functionality to IIS so that I can try this test. Apparently, WPE deploy in FMS seems to trash the user-installed php. Does this rings any bells? Jonathan On Jul 23, 2014, at 6:30 AM, Chris Hansen wrote: > Note that for most databases I prefer to use -findany rather than -findall -- much quicker to return a single record. > > Best, > > --Chris > > On Jul 22, 2014, at 5:30 PM, "Fitzgerald, Theodore C" wrote: > >> Jonathan, >> >> You can use the following URL format to test if the XML portion of FileMaker's WPE is working (fx.php uses this behind the scenes): >> >> http://<>/fmi/xml/FMPXMLRESULT.xml??db=<>&?lay=<>&?findall >> >> Of you course, you'd want to use the address of your WPE server, and specify an appropriate database and layout. >> >> >> Ted >> ________________________________________ >> From: fx.php_list-bounces@mail.iviking.org [fx.php_list-bounces@mail.iviking.org] on behalf of jschwartz [jschwartz@exit445.com] >> Sent: Tuesday, July 22, 2014 5:05 PM >> To: FX.php List >> Subject: Re: [FX.php List] Can't connect with manually installed php on Windows 2008 Server >> >> Back to the original problem?. >> >> The Windows guy is going to restore the php functionality for the third time after the CWP deploy trashed it?.twice. >> >> Please remind me?what tests can I run to tell if I?m reaching FMS (the XML URL you mentioned) and to isolate the problem? As I mentioned, It?s been a long time since I worked under the hood with fx.php. >> >> Thanks >> >> Jonathan >> >> >> >> >> On Jul 21, 2014, at 7:56 PM, Fitzgerald, Theodore C wrote: >> >>> Jonathan, >>> >>> What is "the cURL error"? Not able to reach the IIS server? Could it be a firewall issue? What happens if you try the XML url directly? You're sure cURL is installed and enabled? >>> >>> Ted >>> ________________________________________ >>> From: fx.php_list-bounces@mail.iviking.org [fx.php_list-bounces@mail.iviking.org] on behalf of jschwartz [jschwartz@exit445.com] >>> Sent: Monday, July 21, 2014 7:18 PM >>> To: FX.php List >>> Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server >>> >>> Hi Folks, >>> >>> I had a perfectly fine fx.php system working under OS X 10.6.8, but the system would not pass a PCI security scan, so I agreed to move it to Windows 2008. Another guy is handling the Windows side. When I first installed the system under FMS 11, all was good the Web Publishing side. The Windows guy had to continue plugging security holes to pass the PCI scan. His last step was to replace PHP because the PCI scan complained about the embedded PHP version inside FMS 11. >>> >>> That?s when fx.php stopped talking to FileMaker. I got the cURL error, although password and connect info was correct.. I redeployed the Web Publishing Engine?twice. Each time, the deploy whacked IIS to the point that IIS stopped recognizing php files. >>> >>> The Windows gut isn?t too happy. We?re both wasting a huge amount for time just to to placate the credit card guys. >>> >>> Are there any secrets I should know? >>> >>> Thanks >>> >>> Jonathan_______________________________________________ >>> 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 bob at patin.com Wed Jul 23 07:53:10 2014 From: bob at patin.com (Bob Patin) Date: Wed Jul 23 07:49:32 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: <5BD69680-6836-4FBA-83F6-D83AEED14722@exit445.com> References: , <01CE0EBB-190B-41FE-9631-D84F807BDEC1@exit445.com> <5BD69680-6836-4FBA-83F6-D83AEED14722@exit445.com> Message-ID: <4E93803D-DCBE-4640-AF2A-BCF5340E6690@patin.com> That happens to my client all the time; anytime they reinstall the WPE, it trashes PHP and their Windows guy has to fix it. I think it also trashes their IIS prefs too. Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jul 23, 2014, at 8:33 AM, jschwartz wrote: > Good idea. Thx. > > At this point, I am waiting for Windows guy to restore php functionality to IIS so that I can try this test. Apparently, WPE deploy in FMS seems to trash the user-installed php. > > Does this rings any bells? > > Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140723/39cd7e1f/attachment.html From jschwartz at exit445.com Wed Jul 23 07:56:11 2014 From: jschwartz at exit445.com (jschwartz) Date: Wed Jul 23 08:22:30 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: <4E93803D-DCBE-4640-AF2A-BCF5340E6690@patin.com> References: , <01CE0EBB-190B-41FE-9631-D84F807BDEC1@exit445.com> <5BD69680-6836-4FBA-83F6-D83AEED14722@exit445.com> <4E93803D-DCBE-4640-AF2A-BCF5340E6690@patin.com> Message-ID: <8A743D9F-C32C-47E3-94D4-23102E9E6CF6@exit445.com> OK! That?s good news?.kind of. At least I?m not alone. So, as soon as The Windows Guy restores IIS/PHP, I can try the direct XML UTL test?.and I won?t re-run WPE deploy again. I have found that it is ?The Great Fixer??but not in this case. ;-) Jonathan On Jul 23, 2014, at 6:53 AM, Bob Patin wrote: > That happens to my client all the time; anytime they reinstall the WPE, it trashes PHP and their Windows guy has to fix it. I think it also trashes their IIS prefs too. > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11, 12 & 13 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > > On Jul 23, 2014, at 8:33 AM, jschwartz wrote: > >> Good idea. Thx. >> >> At this point, I am waiting for Windows guy to restore php functionality to IIS so that I can try this test. Apparently, WPE deploy in FMS seems to trash the user-installed php. >> >> Does this rings any bells? >> >> Jonathan > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From jschwartz at exit445.com Thu Jul 24 08:37:15 2014 From: jschwartz at exit445.com (jschwartz) Date: Thu Jul 24 08:33:33 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: <4E93803D-DCBE-4640-AF2A-BCF5340E6690@patin.com> References: , <01CE0EBB-190B-41FE-9631-D84F807BDEC1@exit445.com> <5BD69680-6836-4FBA-83F6-D83AEED14722@exit445.com> <4E93803D-DCBE-4640-AF2A-BCF5340E6690@patin.com> Message-ID: <10BCEF98-78EB-4B41-BA9D-5B07E35D29D4@exit445.com> Fx?ers? OK. Back to the original problem of not being able to connect to WEP on this new Windows Server 2008 with independent PHP. The XML statement works (you have to click past the warning screen): https://test:test@38.99.250.207/fmi/xml/FMPXMLRESULT.xml?-db=log.fp7&-lay=web&-max=50&-new Calling the same log.php file doesn?t: https://38.99.250.207/d/log.php I do see mention of invalid XML characters in the error result. I also remember seeing a mention of needing to specify UTF-8 encoding in IIS somewhere in my travels. Could this be the issue? Would the Windows Guy know how to do this? Here?s the test script: include_once ("FX/FX.php"); define('DEBUG', true); $log = new FX( '38.99.250.207', '443', 'FMPro7', 'https' ); $log->SetDBData( 'log.fp7', 'web' ); $log->SetDBPassword( 'test', 'test' ); $logResult = $log->FMNew(); if (FX::isError($logResult)) { print_r($logResult); } FYI, I get the same error whether http or https. Jonathan On Jul 23, 2014, at 6:53 AM, Bob Patin wrote: > That happens to my client all the time; anytime they reinstall the WPE, it trashes PHP and their Windows guy has to fix it. I think it also trashes their IIS prefs too. > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11, 12 & 13 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > > On Jul 23, 2014, at 8:33 AM, jschwartz wrote: > >> Good idea. Thx. >> >> At this point, I am waiting for Windows guy to restore php functionality to IIS so that I can try this test. Apparently, WPE deploy in FMS seems to trash the user-installed php. >> >> Does this rings any bells? >> >> Jonathan > > _______________________________________________ > 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 Jul 24 09:09:45 2014 From: bob at patin.com (Bob Patin) Date: Thu Jul 24 09:06:11 2014 Subject: [FX.php List] [OFF] Online shipping rates calculator Message-ID: One of my clients has a cart where we want to do dynamic shipping rates calculations. I've already implemented a PHP library that does UPS, but even with the programmer's help we couldn't get Fedex or USPS working. Does anyone have a method for doing USPS? We don't need Fedex so much, but they're desperate to calculate USPS shipping on the fly. If you have some wisdom on this subject, please let me know; thanks, Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From beverlyvoth at gmail.com Thu Jul 24 09:18:38 2014 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Thu Jul 24 09:14:56 2014 Subject: [FX.php List] [OFF] Online shipping rates calculator In-Reply-To: References: Message-ID: <219E8A70-EDC1-4099-9533-9735DD75E536@gmail.com> would Plug-in help? Beverly On 24 Jul 2014, at 11:09 AM, Bob Patin wrote: > One of my clients has a cart where we want to do dynamic shipping rates calculations. I've already implemented a PHP library that does UPS, but even with the programmer's help we couldn't get Fedex or USPS working. > > Does anyone have a method for doing USPS? We don't need Fedex so much, but they're desperate to calculate USPS shipping on the fly. > > If you have some wisdom on this subject, please let me know; thanks, > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11, 12 & 13 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From bob at patin.com Thu Jul 24 09:23:10 2014 From: bob at patin.com (Bob Patin) Date: Thu Jul 24 09:19:34 2014 Subject: [FX.php List] [OFF] Online shipping rates calculator In-Reply-To: <219E8A70-EDC1-4099-9533-9735DD75E536@gmail.com> References: <219E8A70-EDC1-4099-9533-9735DD75E536@gmail.com> Message-ID: <98A04FFC-97D6-4650-90CE-404584B5C86E@patin.com> Well, NRG appears only to do UPS, which I already have in a PHP function; USPS has an API, but so far I haven't gotten far in finding out how to download and try it out... last time I tried to deal with it I vaguely recall hitting a wall... BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jul 24, 2014, at 10:18 AM, BEVERLY VOTH wrote: > would Plug-in help? > > > Beverly -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140724/84bc222b/attachment.html From bob at minteer.org Thu Jul 24 09:47:53 2014 From: bob at minteer.org (Bob Minteer) Date: Thu Jul 24 09:44:12 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: <10BCEF98-78EB-4B41-BA9D-5B07E35D29D4@exit445.com> References: , <01CE0EBB-190B-41FE-9631-D84F807BDEC1@exit445.com> <5BD69680-6836-4FBA-83F6-D83AEED14722@exit445.com> <4E93803D-DCBE-4640-AF2A-BCF5340E6690@patin.com> <10BCEF98-78EB-4B41-BA9D-5B07E35D29D4@exit445.com> Message-ID: Hi Jonathan, Which version of FX.php are you using ? Most recent from GitHub ? regards? Bob On Jul 24, 2014, at 9:37 AM, jschwartz wrote: > Fx?ers? > > OK. Back to the original problem of not being able to connect to WEP on this new Windows Server 2008 with independent PHP. > > The XML statement works (you have to click past the warning screen): > > https://test:test@38.99.250.207/fmi/xml/FMPXMLRESULT.xml?-db=log.fp7&-lay=web&-max=50&-new > > Calling the same log.php file doesn?t: > > https://38.99.250.207/d/log.php > > I do see mention of invalid XML characters in the error result. I also remember seeing a mention of needing to specify UTF-8 encoding in IIS somewhere in my travels. Could this be the issue? Would the Windows Guy know how to do this? > > Here?s the test script: > > include_once ("FX/FX.php"); > define('DEBUG', true); > > $log = new FX( '38.99.250.207', '443', 'FMPro7', 'https' ); > $log->SetDBData( 'log.fp7', 'web' ); > $log->SetDBPassword( 'test', 'test' ); > > $logResult = $log->FMNew(); > if (FX::isError($logResult)) { > print_r($logResult); > } > > FYI, I get the same error whether http or https. > > > Jonathan > > > On Jul 23, 2014, at 6:53 AM, Bob Patin wrote: > >> That happens to my client all the time; anytime they reinstall the WPE, it trashes PHP and their Windows guy has to fix it. I think it also trashes their IIS prefs too. >> >> Bob Patin >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> FileMaker 9, 10, 11, 12 & 13 Certified Developer >> http://www.longtermsolutions.com >> - >> iChat: bobpatin@me.com >> Twitter: bobpatin >> ? >> FileMaker Consulting >> FileMaker Hosting for all versions of FileMaker >> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >> >> >> On Jul 23, 2014, at 8:33 AM, jschwartz wrote: >> >>> Good idea. Thx. >>> >>> At this point, I am waiting for Windows guy to restore php functionality to IIS so that I can try this test. Apparently, WPE deploy in FMS seems to trash the user-installed php. >>> >>> Does this rings any bells? >>> >>> Jonathan >> >> _______________________________________________ >> 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 Jul 24 10:03:56 2014 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Thu Jul 24 10:00:15 2014 Subject: [FX.php List] [OFF] Online shipping rates calculator In-Reply-To: <98A04FFC-97D6-4650-90CE-404584B5C86E@patin.com> References: <219E8A70-EDC1-4099-9533-9735DD75E536@gmail.com> <98A04FFC-97D6-4650-90CE-404584B5C86E@patin.com> Message-ID: <1C1C58E0-12FD-4BCC-AD0A-81948AF42B0A@gmail.com> Ok, check this page: and see if it gives more information, including USPS and FedEx. Beverly On 24 Jul 2014, at 11:23 AM, Bob Patin wrote: > Well, NRG appears only to do UPS, which I already have in a PHP function; USPS has an API, but so far I haven't gotten far in finding out how to download and try it out... last time I tried to deal with it I vaguely recall hitting a wall... > > BP > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11, 12 & 13 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > On Jul 24, 2014, at 10:18 AM, BEVERLY VOTH wrote: > >> would Plug-in help? >> >> >> 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/20140724/1f5b8896/attachment.html From jschwartz at exit445.com Thu Jul 24 10:11:05 2014 From: jschwartz at exit445.com (jschwartz) Date: Thu Jul 24 10:07:21 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: References: , <01CE0EBB-190B-41FE-9631-D84F807BDEC1@exit445.com> <5BD69680-6836-4FBA-83F6-D83AEED14722@exit445.com> <4E93803D-DCBE-4640-AF2A-BCF5340E6690@patin.com> <10BCEF98-78EB-4B41-BA9D-5B07E35D29D4@exit445.com> Message-ID: <6E0C0C32-C28F-43CD-B612-F828D0358917@exit445.com> Yes Just downloaded fresh copy yesterday. New info: Getting error 802 on the fx_tester.php page. tester.fp7 has been loaded. https://38.99.250.207/d/FX/tutorials/fx_tester.php J On Jul 24, 2014, at 8:47 AM, Bob Minteer wrote: > Hi Jonathan, > > Which version of FX.php are you using ? Most recent from GitHub ? > > regards? > > Bob > > > On Jul 24, 2014, at 9:37 AM, jschwartz wrote: > >> Fx?ers? >> >> OK. Back to the original problem of not being able to connect to WEP on this new Windows Server 2008 with independent PHP. >> >> The XML statement works (you have to click past the warning screen): >> >> https://test:test@38.99.250.207/fmi/xml/FMPXMLRESULT.xml?-db=log.fp7&-lay=web&-max=50&-new >> >> Calling the same log.php file doesn?t: >> >> https://38.99.250.207/d/log.php >> >> I do see mention of invalid XML characters in the error result. I also remember seeing a mention of needing to specify UTF-8 encoding in IIS somewhere in my travels. Could this be the issue? Would the Windows Guy know how to do this? >> >> Here?s the test script: >> >> include_once ("FX/FX.php"); >> define('DEBUG', true); >> >> $log = new FX( '38.99.250.207', '443', 'FMPro7', 'https' ); >> $log->SetDBData( 'log.fp7', 'web' ); >> $log->SetDBPassword( 'test', 'test' ); >> >> $logResult = $log->FMNew(); >> if (FX::isError($logResult)) { >> print_r($logResult); >> } >> >> FYI, I get the same error whether http or https. >> >> >> Jonathan >> >> >> On Jul 23, 2014, at 6:53 AM, Bob Patin wrote: >> >>> That happens to my client all the time; anytime they reinstall the WPE, it trashes PHP and their Windows guy has to fix it. I think it also trashes their IIS prefs too. >>> >>> Bob Patin >>> Longterm Solutions >>> bob@longtermsolutions.com >>> 615-333-6858 >>> FileMaker 9, 10, 11, 12 & 13 Certified Developer >>> http://www.longtermsolutions.com >>> - >>> iChat: bobpatin@me.com >>> Twitter: bobpatin >>> ? >>> FileMaker Consulting >>> FileMaker Hosting for all versions of FileMaker >>> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >>> >>> >>> On Jul 23, 2014, at 8:33 AM, jschwartz wrote: >>> >>>> Good idea. Thx. >>>> >>>> At this point, I am waiting for Windows guy to restore php functionality to IIS so that I can try this test. Apparently, WPE deploy in FMS seems to trash the user-installed php. >>>> >>>> Does this rings any bells? >>>> >>>> Jonathan >>> >>> _______________________________________________ >>> 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 bob at patin.com Thu Jul 24 10:14:23 2014 From: bob at patin.com (Bob Patin) Date: Thu Jul 24 10:10:50 2014 Subject: [FX.php List] [OFF] Online shipping rates calculator In-Reply-To: <1C1C58E0-12FD-4BCC-AD0A-81948AF42B0A@gmail.com> References: <219E8A70-EDC1-4099-9533-9735DD75E536@gmail.com> <98A04FFC-97D6-4650-90CE-404584B5C86E@patin.com> <1C1C58E0-12FD-4BCC-AD0A-81948AF42B0A@gmail.com> Message-ID: Well, I'd prefer to do this without using a FM plugin; i did find this, which seems to work well: https://rocketship.it Testing it now, but it seems to do it quite easily... Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jul 24, 2014, at 11:03 AM, BEVERLY VOTH wrote: > Ok, check this page: > > > and see if it gives more information, including USPS and FedEx. > > Beverly -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140724/39c2957e/attachment.html From jschwartz at exit445.com Thu Jul 24 10:21:37 2014 From: jschwartz at exit445.com (jschwartz) Date: Thu Jul 24 10:17:51 2014 Subject: [FX.php List] [OFF] Online shipping rates calculator In-Reply-To: <98A04FFC-97D6-4650-90CE-404584B5C86E@patin.com> References: <219E8A70-EDC1-4099-9533-9735DD75E536@gmail.com> <98A04FFC-97D6-4650-90CE-404584B5C86E@patin.com> Message-ID: Bob, I just implemented FedEx, which uses a SOAP interface. It was a bear to wrap my head around SOAP, but I was successful. Got to believe that USPS is doable. I just looked at the API. Seems like straight XML. J On Jul 24, 2014, at 8:23 AM, Bob Patin wrote: > Well, NRG appears only to do UPS, which I already have in a PHP function; USPS has an API, but so far I haven't gotten far in finding out how to download and try it out... last time I tried to deal with it I vaguely recall hitting a wall... > > BP > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11, 12 & 13 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > On Jul 24, 2014, at 10:18 AM, BEVERLY VOTH wrote: > >> would Plug-in help? >> >> >> Beverly > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From bob at minteer.org Thu Jul 24 10:23:52 2014 From: bob at minteer.org (Bob Minteer) Date: Thu Jul 24 10:20:07 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: <6E0C0C32-C28F-43CD-B612-F828D0358917@exit445.com> References: , <01CE0EBB-190B-41FE-9631-D84F807BDEC1@exit445.com> <5BD69680-6836-4FBA-83F6-D83AEED14722@exit445.com> <4E93803D-DCBE-4640-AF2A-BCF5340E6690@patin.com> <10BCEF98-78EB-4B41-BA9D-5B07E35D29D4@exit445.com> <6E0C0C32-C28F-43CD-B612-F828D0358917@exit445.com> Message-ID: Jonathan, Maybe you have an issue with your SSL on the Filemaker Server ? Note that I changed to port 80 and left off the protocol spec. This works for me: "; $log->SetDBData( 'log.fp7', 'web' ); $log->SetDBPassword( 'test', 'test' ); $logResult = $log->FMNew(); if (FX::isError($logResult)) { print_r($logResult); } $returnData = $log->FMFindAll(); echo "
";
        print_r($returnData);
        echo "
"; ?> On Jul 24, 2014, at 11:11 AM, jschwartz wrote: > Yes Just downloaded fresh copy yesterday. > > New info: > > Getting error 802 on the fx_tester.php page. tester.fp7 has been loaded. > > https://38.99.250.207/d/FX/tutorials/fx_tester.php > > > J > > On Jul 24, 2014, at 8:47 AM, Bob Minteer wrote: > >> Hi Jonathan, >> >> Which version of FX.php are you using ? Most recent from GitHub ? >> >> regards? >> >> Bob >> >> >> On Jul 24, 2014, at 9:37 AM, jschwartz wrote: >> >>> Fx?ers? >>> >>> OK. Back to the original problem of not being able to connect to WEP on this new Windows Server 2008 with independent PHP. >>> >>> The XML statement works (you have to click past the warning screen): >>> >>> https://test:test@38.99.250.207/fmi/xml/FMPXMLRESULT.xml?-db=log.fp7&-lay=web&-max=50&-new >>> >>> Calling the same log.php file doesn?t: >>> >>> https://38.99.250.207/d/log.php >>> >>> I do see mention of invalid XML characters in the error result. I also remember seeing a mention of needing to specify UTF-8 encoding in IIS somewhere in my travels. Could this be the issue? Would the Windows Guy know how to do this? >>> >>> Here?s the test script: >>> >>> include_once ("FX/FX.php"); >>> define('DEBUG', true); >>> >>> $log = new FX( '38.99.250.207', '443', 'FMPro7', 'https' ); >>> $log->SetDBData( 'log.fp7', 'web' ); >>> $log->SetDBPassword( 'test', 'test' ); >>> >>> $logResult = $log->FMNew(); >>> if (FX::isError($logResult)) { >>> print_r($logResult); >>> } >>> >>> FYI, I get the same error whether http or https. >>> >>> >>> Jonathan >>> >>> >>> On Jul 23, 2014, at 6:53 AM, Bob Patin wrote: >>> >>>> That happens to my client all the time; anytime they reinstall the WPE, it trashes PHP and their Windows guy has to fix it. I think it also trashes their IIS prefs too. >>>> >>>> Bob Patin >>>> Longterm Solutions >>>> bob@longtermsolutions.com >>>> 615-333-6858 >>>> FileMaker 9, 10, 11, 12 & 13 Certified Developer >>>> http://www.longtermsolutions.com >>>> - >>>> iChat: bobpatin@me.com >>>> Twitter: bobpatin >>>> ? >>>> FileMaker Consulting >>>> FileMaker Hosting for all versions of FileMaker >>>> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >>>> >>>> >>>> On Jul 23, 2014, at 8:33 AM, jschwartz wrote: >>>> >>>>> Good idea. Thx. >>>>> >>>>> At this point, I am waiting for Windows guy to restore php functionality to IIS so that I can try this test. Apparently, WPE deploy in FMS seems to trash the user-installed php. >>>>> >>>>> Does this rings any bells? >>>>> >>>>> Jonathan >>>> >>>> _______________________________________________ >>>> 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 Thu Jul 24 10:32:54 2014 From: chris at iViking.org (Chris Hansen) Date: Thu Jul 24 10:29:09 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: <10BCEF98-78EB-4B41-BA9D-5B07E35D29D4@exit445.com> References: , <01CE0EBB-190B-41FE-9631-D84F807BDEC1@exit445.com> <5BD69680-6836-4FBA-83F6-D83AEED14722@exit445.com> <4E93803D-DCBE-4640-AF2A-BCF5340E6690@patin.com> <10BCEF98-78EB-4B41-BA9D-5B07E35D29D4@exit445.com> Message-ID: <3216358B-BA06-4EFA-817D-34F9333AA328@iViking.org> Jonathan, When I visit the page I see a cURL error. Are you able to connect to that machine and perform the cURL query directly? Best, --Chris On Jul 24, 2014, at 8:37 AM, jschwartz wrote: > Fx?ers? > > OK. Back to the original problem of not being able to connect to WEP on this new Windows Server 2008 with independent PHP. > > The XML statement works (you have to click past the warning screen): > > https://test:test@38.99.250.207/fmi/xml/FMPXMLRESULT.xml?-db=log.fp7&-lay=web&-max=50&-new > > Calling the same log.php file doesn?t: > > https://38.99.250.207/d/log.php > > I do see mention of invalid XML characters in the error result. I also remember seeing a mention of needing to specify UTF-8 encoding in IIS somewhere in my travels. Could this be the issue? Would the Windows Guy know how to do this? > > Here?s the test script: > > include_once ("FX/FX.php"); > define('DEBUG', true); > > $log = new FX( '38.99.250.207', '443', 'FMPro7', 'https' ); > $log->SetDBData( 'log.fp7', 'web' ); > $log->SetDBPassword( 'test', 'test' ); > > $logResult = $log->FMNew(); > if (FX::isError($logResult)) { > print_r($logResult); > } > > FYI, I get the same error whether http or https. > > > Jonathan > > > On Jul 23, 2014, at 6:53 AM, Bob Patin wrote: > >> That happens to my client all the time; anytime they reinstall the WPE, it trashes PHP and their Windows guy has to fix it. I think it also trashes their IIS prefs too. >> >> Bob Patin >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> FileMaker 9, 10, 11, 12 & 13 Certified Developer >> http://www.longtermsolutions.com >> - >> iChat: bobpatin@me.com >> Twitter: bobpatin >> ? >> FileMaker Consulting >> FileMaker Hosting for all versions of FileMaker >> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >> >> >> On Jul 23, 2014, at 8:33 AM, jschwartz wrote: >> >>> Good idea. Thx. >>> >>> At this point, I am waiting for Windows guy to restore php functionality to IIS so that I can try this test. Apparently, WPE deploy in FMS seems to trash the user-installed php. >>> >>> Does this rings any bells? >>> >>> Jonathan >> >> _______________________________________________ >> 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 ted-fitzgerald at uiowa.edu Thu Jul 24 10:57:02 2014 From: ted-fitzgerald at uiowa.edu (Fitzgerald, Theodore C) Date: Thu Jul 24 10:53:17 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: References: , <01CE0EBB-190B-41FE-9631-D84F807BDEC1@exit445.com> <5BD69680-6836-4FBA-83F6-D83AEED14722@exit445.com> <4E93803D-DCBE-4640-AF2A-BCF5340E6690@patin.com> <10BCEF98-78EB-4B41-BA9D-5B07E35D29D4@exit445.com> <6E0C0C32-C28F-43CD-B612-F828D0358917@exit445.com> Message-ID: Bob might be on to something here. When I visit your https XML page and you say to "just ignore the error", well cURL can't ignore the error, unless you tell it to (by setting the CURLOPT_SSL_VERIFYPEER option to false). Ted Application Programmer/Analyst ITS-Enterprise Services 2800 UCC University of Iowa -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Minteer Sent: Thursday, July 24, 2014 11:24 AM To: FX.php Discussion List Subject: Re: [FX.php List] Can't connect with manually installed php on Windows 2008 Server Jonathan, Maybe you have an issue with your SSL on the Filemaker Server ? Note that I changed to port 80 and left off the protocol spec. This works for me: "; $log->SetDBData( 'log.fp7', 'web' ); $log->SetDBPassword( 'test', 'test' ); $logResult = $log->FMNew(); if (FX::isError($logResult)) { print_r($logResult); } $returnData = $log->FMFindAll(); echo "
";
        print_r($returnData);
        echo "
"; ?> On Jul 24, 2014, at 11:11 AM, jschwartz wrote: > Yes Just downloaded fresh copy yesterday. > > New info: > > Getting error 802 on the fx_tester.php page. tester.fp7 has been loaded. > > https://38.99.250.207/d/FX/tutorials/fx_tester.php > > > J > > On Jul 24, 2014, at 8:47 AM, Bob Minteer wrote: > >> Hi Jonathan, >> >> Which version of FX.php are you using ? Most recent from GitHub ? >> >> regards... >> >> Bob >> >> >> On Jul 24, 2014, at 9:37 AM, jschwartz wrote: >> >>> Fx'ers... >>> >>> OK. Back to the original problem of not being able to connect to WEP on this new Windows Server 2008 with independent PHP. >>> >>> The XML statement works (you have to click past the warning screen): >>> >>> https://test:test@38.99.250.207/fmi/xml/FMPXMLRESULT.xml?-db=log.fp7 >>> &-lay=web&-max=50&-new >>> >>> Calling the same log.php file doesn't: >>> >>> https://38.99.250.207/d/log.php >>> >>> I do see mention of invalid XML characters in the error result. I also remember seeing a mention of needing to specify UTF-8 encoding in IIS somewhere in my travels. Could this be the issue? Would the Windows Guy know how to do this? >>> >>> Here's the test script: >>> >>> include_once ("FX/FX.php"); >>> define('DEBUG', true); >>> >>> $log = new FX( '38.99.250.207', '443', 'FMPro7', 'https' ); >>> $log->SetDBData( 'log.fp7', 'web' ); >>> $log->SetDBPassword( 'test', 'test' ); >>> >>> $logResult = $log->FMNew(); >>> if (FX::isError($logResult)) { >>> print_r($logResult); >>> } >>> >>> FYI, I get the same error whether http or https. >>> >>> >>> Jonathan >>> >>> >>> On Jul 23, 2014, at 6:53 AM, Bob Patin wrote: >>> >>>> That happens to my client all the time; anytime they reinstall the WPE, it trashes PHP and their Windows guy has to fix it. I think it also trashes their IIS prefs too. >>>> >>>> Bob Patin >>>> Longterm Solutions >>>> bob@longtermsolutions.com >>>> 615-333-6858 >>>> FileMaker 9, 10, 11, 12 & 13 Certified Developer >>>> http://www.longtermsolutions.com >>>> - >>>> iChat: bobpatin@me.com >>>> Twitter: bobpatin >>>> - >>>> FileMaker Consulting >>>> FileMaker Hosting for all versions of FileMaker PHP * Full email >>>> services * Free DNS hosting * Colocation * Consulting >>>> >>>> >>>> On Jul 23, 2014, at 8:33 AM, jschwartz wrote: >>>> >>>>> Good idea. Thx. >>>>> >>>>> At this point, I am waiting for Windows guy to restore php functionality to IIS so that I can try this test. Apparently, WPE deploy in FMS seems to trash the user-installed php. >>>>> >>>>> Does this rings any bells? >>>>> >>>>> Jonathan >>>> >>>> _______________________________________________ >>>> 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 dsomar at gmail.com Thu Jul 24 12:00:58 2014 From: dsomar at gmail.com (Denis Somar) Date: Thu Jul 24 11:57:35 2014 Subject: [FX.php List] USPS API Message-ID: I deleted the message but I just stumbled upon this myself when connecting with Shopify https://www.usps.com/business/web-tools-apis/welcome.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140724/5d5168d7/attachment-0001.html From bob at patin.com Thu Jul 24 12:24:57 2014 From: bob at patin.com (Bob Patin) Date: Thu Jul 24 12:21:21 2014 Subject: [FX.php List] USPS API In-Reply-To: References: Message-ID: I went there, but they don't make it easy to find a simple example of how to write it. Rocketship.it seems to work really well; the question now is whether the client will pay $289 to get USPS rates... :) BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jul 24, 2014, at 1:00 PM, Denis Somar wrote: > I deleted the message but I just stumbled upon this myself when connecting with Shopify > > https://www.usps.com/business/web-tools-apis/welcome.htm > _______________________________________________ > 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/20140724/5908953e/attachment.html From jschwartz at exit445.com Thu Jul 24 12:28:59 2014 From: jschwartz at exit445.com (jschwartz) Date: Thu Jul 24 12:25:14 2014 Subject: [FX.php List] USPS API In-Reply-To: References: Message-ID: Divide your hourly rate into $289. Can you do it without RocketShip in that many hours? Guess that depends on you hourly rate there in Tennessee. ;-) J On Jul 24, 2014, at 11:24 AM, Bob Patin wrote: > I went there, but they don't make it easy to find a simple example of how to write it. > > Rocketship.it seems to work really well; the question now is whether the client will pay $289 to get USPS rates... :) > > BP > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11, 12 & 13 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > On Jul 24, 2014, at 1:00 PM, Denis Somar wrote: > >> I deleted the message but I just stumbled upon this myself when connecting with Shopify >> >> https://www.usps.com/business/web-tools-apis/welcome.htm >> _______________________________________________ >> 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 jschwartz at exit445.com Thu Jul 24 12:30:18 2014 From: jschwartz at exit445.com (jschwartz) Date: Thu Jul 24 12:26:33 2014 Subject: [FX.php List] Can't connect with manually installed php on Windows 2008 Server In-Reply-To: References: , <01CE0EBB-190B-41FE-9631-D84F807BDEC1@exit445.com> <5BD69680-6836-4FBA-83F6-D83AEED14722@exit445.com> <4E93803D-DCBE-4640-AF2A-BCF5340E6690@patin.com> <10BCEF98-78EB-4B41-BA9D-5B07E35D29D4@exit445.com> <6E0C0C32-C28F-43CD-B612-F828D0358917@exit445.com> Message-ID: <468E6A89-CCF1-41E0-B716-DFF017C2ED1E@exit445.com> That was it. I removed the https scheme and it all started working. Thanks Chris and Bob and everyone else who jumped in to help. J On Jul 24, 2014, at 9:57 AM, Fitzgerald, Theodore C wrote: > Bob might be on to something here. > > When I visit your https XML page and you say to "just ignore the error", well cURL can't ignore the error, unless you tell it to (by setting the CURLOPT_SSL_VERIFYPEER option to false). > > Ted > > Application Programmer/Analyst > ITS-Enterprise Services > 2800 UCC > University of Iowa > > -----Original Message----- > From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Minteer > Sent: Thursday, July 24, 2014 11:24 AM > To: FX.php Discussion List > Subject: Re: [FX.php List] Can't connect with manually installed php on Windows 2008 Server > > Jonathan, > > Maybe you have an issue with your SSL on the Filemaker Server ? Note that I changed to port 80 and left off the protocol spec. > > This works for me: > > include_once ("FX/FX.php"); > define('DEBUG', true); > > $log = new FX( '38.99.250.207', 80, 'FMPro7' ); > > echo "I am using FX.php version: " . FX_VERSION_FULL . "
"; > > $log->SetDBData( 'log.fp7', 'web' ); > $log->SetDBPassword( 'test', 'test' ); > > $logResult = $log->FMNew(); > if (FX::isError($logResult)) { > print_r($logResult); > } > > $returnData = $log->FMFindAll(); > > echo "
";
>        print_r($returnData);
>        echo "
"; > ?> > > > On Jul 24, 2014, at 11:11 AM, jschwartz wrote: > >> Yes Just downloaded fresh copy yesterday. >> >> New info: >> >> Getting error 802 on the fx_tester.php page. tester.fp7 has been loaded. >> >> https://38.99.250.207/d/FX/tutorials/fx_tester.php >> >> >> J >> >> On Jul 24, 2014, at 8:47 AM, Bob Minteer wrote: >> >>> Hi Jonathan, >>> >>> Which version of FX.php are you using ? Most recent from GitHub ? >>> >>> regards... >>> >>> Bob >>> >>> >>> On Jul 24, 2014, at 9:37 AM, jschwartz wrote: >>> >>>> Fx'ers... >>>> >>>> OK. Back to the original problem of not being able to connect to WEP on this new Windows Server 2008 with independent PHP. >>>> >>>> The XML statement works (you have to click past the warning screen): >>>> >>>> https://test:test@38.99.250.207/fmi/xml/FMPXMLRESULT.xml?-db=log.fp7 >>>> &-lay=web&-max=50&-new >>>> >>>> Calling the same log.php file doesn't: >>>> >>>> https://38.99.250.207/d/log.php >>>> >>>> I do see mention of invalid XML characters in the error result. I also remember seeing a mention of needing to specify UTF-8 encoding in IIS somewhere in my travels. Could this be the issue? Would the Windows Guy know how to do this? >>>> >>>> Here's the test script: >>>> >>>> include_once ("FX/FX.php"); >>>> define('DEBUG', true); >>>> >>>> $log = new FX( '38.99.250.207', '443', 'FMPro7', 'https' ); >>>> $log->SetDBData( 'log.fp7', 'web' ); >>>> $log->SetDBPassword( 'test', 'test' ); >>>> >>>> $logResult = $log->FMNew(); >>>> if (FX::isError($logResult)) { >>>> print_r($logResult); >>>> } >>>> >>>> FYI, I get the same error whether http or https. >>>> >>>> >>>> Jonathan >>>> >>>> >>>> On Jul 23, 2014, at 6:53 AM, Bob Patin wrote: >>>> >>>>> That happens to my client all the time; anytime they reinstall the WPE, it trashes PHP and their Windows guy has to fix it. I think it also trashes their IIS prefs too. >>>>> >>>>> Bob Patin >>>>> Longterm Solutions >>>>> bob@longtermsolutions.com >>>>> 615-333-6858 >>>>> FileMaker 9, 10, 11, 12 & 13 Certified Developer >>>>> http://www.longtermsolutions.com >>>>> - >>>>> iChat: bobpatin@me.com >>>>> Twitter: bobpatin >>>>> - >>>>> FileMaker Consulting >>>>> FileMaker Hosting for all versions of FileMaker PHP * Full email >>>>> services * Free DNS hosting * Colocation * Consulting >>>>> >>>>> >>>>> On Jul 23, 2014, at 8:33 AM, jschwartz wrote: >>>>> >>>>>> Good idea. Thx. >>>>>> >>>>>> At this point, I am waiting for Windows guy to restore php functionality to IIS so that I can try this test. Apparently, WPE deploy in FMS seems to trash the user-installed php. >>>>>> >>>>>> Does this rings any bells? >>>>>> >>>>>> Jonathan >>>>> >>>>> _______________________________________________ >>>>> 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 rfox at innerfile.com Thu Jul 24 16:50:15 2014 From: rfox at innerfile.com (Robert Fox) Date: Thu Jul 24 16:46:30 2014 Subject: [FX.php List] Announcing the relaunch of filemakerwebsite.com Message-ID: Greetings fellow web publishers, The Inner File team (Ted Stein, Scot Self, and I) have been working on a project utilizing Laravel, Twitter Bootstrap and the FX.php API for a few months now, and we are nearly ready to release it to the world. Our goal is to make it easier than ever to make FileMaker databases accessible over the web, and we hope to launch* this product commercially later this year. Today we posted an introduction video to display the user interface and how easy (we hope!) it will be to create web layouts using the software. Your feedback would be much appreciated as we continue active development of this exciting initiative. Let us know what you think. Check out the video here: http://filemakerwebsite.com Cheers from the Inner File team, Rob, Scot, and Ted * Re-launch, actually: This project was initially the FileMaker Drupal module (http://drupal.org/project/filemaker), and we are now gearing up to release it as a web application utilizing the Laravel Framework. From dsomar at gmail.com Fri Jul 25 08:23:22 2014 From: dsomar at gmail.com (Denis Somar) Date: Fri Jul 25 08:19:54 2014 Subject: [FX.php List] Announcing the relaunch of filemakerwebsite.com In-Reply-To: References: Message-ID: Looks interesting - I would love to know more about how you connected FX to Laravel! Cheers, Denis On Thu, Jul 24, 2014 at 6:50 PM, Robert Fox wrote: > Greetings fellow web publishers, > > The Inner File team (Ted Stein, Scot Self, and I) have been working on a > project utilizing Laravel, Twitter Bootstrap and the FX.php API for a few > months now, and we are nearly ready to release it to the world. Our goal is > to make it easier than ever to make FileMaker databases accessible over the > web, and we hope to launch* this product commercially later this year. > > Today we posted an introduction video to display the user interface and > how easy (we hope!) it will be to create web layouts using the software. > Your feedback would be much appreciated as we continue active development > of this exciting initiative. Let us know what you think. > > Check out the video here: http://filemakerwebsite.com > > Cheers from the Inner File team, > Rob, Scot, and Ted > > * Re-launch, actually: This project was initially the FileMaker Drupal > module (http://drupal.org/project/filemaker), and we are now gearing up > to release it as a web application utilizing the Laravel > Framework._______________________________________________ > 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/20140725/f8061739/attachment.html From dsomar at gmail.com Fri Jul 25 08:45:19 2014 From: dsomar at gmail.com (Denis Somar) Date: Fri Jul 25 08:41:50 2014 Subject: [FX.php List] Undefined property error Message-ID: Undefined property: RetrieveFM7Data::$utf8HTMLEntities in */Volumes/Mac17/Users/denis2/Sites/sellFC v1/includes/datasource_classes/RetrieveFMXML.class.php* on line *216* *Any ideas why this would be showing up?* *Thanks,* *Denis* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140725/b1f05dfc/attachment-0001.html From dsomar at gmail.com Fri Jul 25 10:04:20 2014 From: dsomar at gmail.com (Denis Somar) Date: Fri Jul 25 10:00:52 2014 Subject: [FX.php List] preg_replace_callback() Message-ID: *Warning*: preg_replace_callback(): Requires argument 2, '', to be a valid callback in */Volumes/Mac17/Users/denis2/Sites/sellFC v1/includes/datasource_classes/RetrieveFMXML.class.php* on line *216* *I know there was a fork for this on Github but that was ALSO causing warnings. Any ideas?* *Thanks,* *Denis* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140725/23dc1391/attachment.html From tstein at innerfile.com Fri Jul 25 11:06:25 2014 From: tstein at innerfile.com (Ted Stein) Date: Fri Jul 25 11:02:26 2014 Subject: [FX.php List] Announcing the relaunch of filemakerwebsite.com In-Reply-To: Message-ID: Denis, Great question. It was actually a lot of fun. We ended up building a Laravel app that builds itself (writes its own models/views/controllers when you build a web layout). It?s sort of an MVC application that builds another MVC application (meta-MVC!) We're pretty excited about it but it isn't quite ready for beta testing. After beta, we will be offering some sort of free trial. If you need any custom web development before then, please don't hesitate to reach out to us via our website, phone or email below. Rob, Ted & Scot 202-630-FILE info@innerfile.com From: Denis Somar > Reply-To: "FX.php Discussion List" > Date: Fri, 25 Jul 2014 07:23:22 -0700 To: "FX.php Discussion List" > Subject: Re: [FX.php List] Announcing the relaunch of filemakerwebsite.com Looks interesting - I would love to know more about how you connected FX to Laravel! Cheers, Denis On Thu, Jul 24, 2014 at 6:50 PM, Robert Fox > wrote: Greetings fellow web publishers, The Inner File team (Ted Stein, Scot Self, and I) have been working on a project utilizing Laravel, Twitter Bootstrap and the FX.php API for a few months now, and we are nearly ready to release it to the world. Our goal is to make it easier than ever to make FileMaker databases accessible over the web, and we hope to launch* this product commercially later this year. Today we posted an introduction video to display the user interface and how easy (we hope!) it will be to create web layouts using the software. Your feedback would be much appreciated as we continue active development of this exciting initiative. Let us know what you think. Check out the video here: http://filemakerwebsite.com Cheers from the Inner File team, Rob, Scot, and Ted * Re-launch, actually: This project was initially the FileMaker Drupal module (http://drupal.org/project/filemaker), and we are now gearing up to release it as a web application utilizing the Laravel Framework._______________________________________________ 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/20140725/e33c2d4e/attachment.html From jschwartz at exit445.com Fri Jul 25 15:42:05 2014 From: jschwartz at exit445.com (jschwartz) Date: Fri Jul 25 15:38:14 2014 Subject: [FX.php List] Off: Reproducing FileMaker style operators in mySQL Message-ID: <6E2D3994-CA97-492F-9DC8-519F9E59C054@exit445.com> Folks, We FileMaker users are spoiled in that the capability to insert comparison operators in a field search is built into the UI which extends through to the WPE. I am migrating a FileMaker Web Publishing solution to mySQL and I don?t see that same capability being readily available. One colleague suggested that I would need to detect, parse and rebuild the query. I guess it?s not impossible. I would need to detect ?>?, ? References: <6E2D3994-CA97-492F-9DC8-519F9E59C054@exit445.com> Message-ID: <4E0C52EC-A87D-4A48-A294-5128639BB1B9@gmail.com> There are some similarities, but also some differences: http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html "..." in FMP is "BETWEEN" in MySQL ">=" the same in both. The above link is for the latest version of MySQL. Should you need an earlier version the page has links to them. Also this entire site is your "go-to" for MySQL. :) -- sent from myPhone -- Beverly Voth -- > On Jul 25, 2014, at 5:42 PM, jschwartz wrote: > > Folks, > > We FileMaker users are spoiled in that the capability to insert comparison operators in a field search is built into the UI which extends through to the WPE. > > I am migrating a FileMaker Web Publishing solution to mySQL and I don?t see that same capability being readily available. > > One colleague suggested that I would need to detect, parse and rebuild the query. I guess it?s not impossible. > > I would need to detect ?>?, ? > > Seems like someone would gone this route before. > > Any suggestions show to approach? > > Thanks > > Jonathan > > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From rfox at innerfile.com Sat Jul 26 10:52:52 2014 From: rfox at innerfile.com (Robert Fox) Date: Sat Jul 26 10:49:01 2014 Subject: [FX.php List] preg_replace_callback() In-Reply-To: References: Message-ID: Hi Denis, I also used the fork and resolved the error with a slight change: The callback that used to be: $this->utf8HTMLEntities I changed to: 'self::utf8HTMLEntities' The root cause of the error, of course, is a deprecated function in the latest version of PHP. So you could also get around this by just using an older PHP version and not worrying about the fork. But where's the fun in that?? ;) Cheers Rob ________________________________________ From: fx.php_list-bounces@mail.iviking.org [fx.php_list-bounces@mail.iviking.org] On Behalf Of Denis Somar [dsomar@gmail.com] Sent: Friday, July 25, 2014 12:04 PM To: FX.php Discussion List Subject: [FX.php List] preg_replace_callback() Warning: preg_replace_callback(): Requires argument 2, '', to be a valid callback in /Volumes/Mac17/Users/denis2/Sites/sellFC v1/includes/datasource_classes/RetrieveFMXML.class.php on line 216 I know there was a fork for this on Github but that was ALSO causing warnings. Any ideas? Thanks, Denis From chris at iViking.org Mon Jul 28 09:17:31 2014 From: chris at iViking.org (Chris Hansen) Date: Mon Jul 28 09:13:25 2014 Subject: [FX.php List] preg_replace_callback() In-Reply-To: References: Message-ID: <1F67B341-2B85-433A-B131-DEA978280A21@iViking.org> Sorry folks, I had posted a request for a tweak on the branch, then missed the email notifying me of that tweak. The fixed code is now part of FX.php! Huzzah! On Jul 26, 2014, at 10:52 AM, Robert Fox wrote: > Hi Denis, > I also used the fork and resolved the error with a slight change: > The callback that used to be: > $this->utf8HTMLEntities > I changed to: > 'self::utf8HTMLEntities' > > The root cause of the error, of course, is a deprecated function in the latest version of PHP. So you could also get around this by just using an older PHP version and not worrying about the fork. But where's the fun in that?? ;) > > Cheers > Rob > ________________________________________ > From: fx.php_list-bounces@mail.iviking.org [fx.php_list-bounces@mail.iviking.org] On Behalf Of Denis Somar [dsomar@gmail.com] > Sent: Friday, July 25, 2014 12:04 PM > To: FX.php Discussion List > Subject: [FX.php List] preg_replace_callback() > > Warning: preg_replace_callback(): Requires argument 2, '', to be a valid callback in /Volumes/Mac17/Users/denis2/Sites/sellFC v1/includes/datasource_classes/RetrieveFMXML.class.php on line 216 > > I know there was a fork for this on Github but that was ALSO causing warnings. Any ideas? > > Thanks, > Denis_______________________________________________ > 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 Mon Jul 28 10:02:24 2014 From: chris at iViking.org (Chris Hansen) Date: Mon Jul 28 09:58:18 2014 Subject: [FX.php List] Undefined property error In-Reply-To: References: Message-ID: <322AAF18-9521-4285-9D0A-0D3466D7612F@iViking.org> Denis, Just merged in a push, then added some more tweaks that should address this. Let me know if you continue to have problems after grabbing the latest version. Best, --Chris On Jul 25, 2014, at 8:45 AM, Denis Somar wrote: > Undefined property: RetrieveFM7Data::$utf8HTMLEntities in /Volumes/Mac17/Users/denis2/Sites/sellFC v1/includes/datasource_classes/RetrieveFMXML.class.php on line 216 > > Any ideas why this would be showing up? > > Thanks, > Denis > _______________________________________________ > 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/20140728/9e2197b2/attachment-0001.html From bob at patin.com Thu Jul 31 15:47:18 2014 From: bob at patin.com (Bob Patin) Date: Thu Jul 31 15:43:10 2014 Subject: [FX.php List] Any way to retrieve a file's hosting server's boot timestamp? Message-ID: <03617127-1562-4649-847C-19F4EFFF14DA@patin.com> I?m sprucing up my server monitoring script, which I run every 3 minutes on all my FileMaker servers; I?d really love to be able to see, in the monitor, the timestamp of the last boot of the FM Server. Does anyone know how I could get this without a system script? Thanks, Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From bob at patin.com Thu Jul 31 15:49:01 2014 From: bob at patin.com (Bob Patin) Date: Thu Jul 31 15:44:45 2014 Subject: [FX.php List] Any way to retrieve a file's hosting server's boot timestamp? In-Reply-To: <03617127-1562-4649-847C-19F4EFFF14DA@patin.com> References: <03617127-1562-4649-847C-19F4EFFF14DA@patin.com> Message-ID: I should?ve been a little clearer: I have a PHP function that I wrote that I can run on all the WPEs that I have running, so I?d like to do this one of two ways: 1) somehow retrieve this value in the FM test database that sits on each machine; 2) write something in PHP that would retrieve it from a query to the test database BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > On Jul 31, 2014, at 4:47 PM, Bob Patin wrote: > > I?m sprucing up my server monitoring script, which I run every 3 minutes on all my FileMaker servers; I?d really love to be able to see, in the monitor, the timestamp of the last boot of the FM Server. > > Does anyone know how I could get this without a system script? > > Thanks, > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11, 12 & 13 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list