From dsomar at gmail.com Thu Mar 1 08:52:35 2012 From: dsomar at gmail.com (Denis Somar) Date: Thu Mar 1 08:20:21 2012 Subject: [FX.php List] [OFF] Reload page in Safari after back button? In-Reply-To: <704AD00C-29AB-4159-AAF7-B1274A875EBC@earthlink.net> References: <704AD00C-29AB-4159-AAF7-B1274A875EBC@earthlink.net> Message-ID: I believe this has to do with browser caching. Try adding this to the header of your PHP and it should force it to reload: Cheers, Denis On Wed, Feb 29, 2012 at 6:11 PM, Joel Shapiro wrote: > Hi all! > > Safari, as far as I know, is the only browser that doesn't automatically > reload a page after clicking the Back button. (e.g.: Echo some $_SESSION > vars on page1, update those vars on page2, then click the Back button. In > Safari, page1 still shows the original vars until you click Reload. All > other browsers show the updated vars as soon as you click Back) > > I found one fix: "Setting onunload="" in the body-tag causes Safari to > invalidate the page and reload it upon window.history.back();", > but I'm wondering how other people here deal with this. > > Thoughts? > > > http://stackoverflow.com/questions/5297122/preventing-cache-on-back-button-in-safari-5/5305905#5305905 > > Thanks, > -Joel_______________________________________________ > 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/20120301/01a28fca/attachment-0001.html From bob at patin.com Thu Mar 1 06:20:04 2012 From: bob at patin.com (Bob Patin) Date: Thu Mar 1 09:07:39 2012 Subject: [FX.php List] [OFF] Spammers possibly using my online forms Message-ID: <5130594E-96BC-4CB1-B3FA-DBEB46ED2F3C@patin.com> I've had a situation in the last couple of weeks where one or more spammers have been able to use my mail server to send spam through it. I don't have relay turned on, use send-authentication, but yet somehow they were able to send a ton of spam. Question: I have some PHP scripts that send emails at the conclusion of the transaction; for example, a user uploads a file, and an email goes out to fellow co-workers to tell them they have another file to review. The mail-sending script that I use includes authentication for my mail server; is there still a way for spammers to "hijack" this script and use it to send spam? If so, is there a way to prevent it? Yesterday morning I was told that over 23,000 spam messages went thru my mail server; we locked it down, changed all the mail users' passwords, but it ws a huge pain, to say the least. Thanks for any insights, Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker From dsomar at gmail.com Thu Mar 1 09:46:29 2012 From: dsomar at gmail.com (Denis Somar) Date: Thu Mar 1 09:14:14 2012 Subject: [FX.php List] [OFF] Spammers possibly using my online forms In-Reply-To: <5130594E-96BC-4CB1-B3FA-DBEB46ED2F3C@patin.com> References: <5130594E-96BC-4CB1-B3FA-DBEB46ED2F3C@patin.com> Message-ID: Check file permissions on the script is a thought. On Thu, Mar 1, 2012 at 8:20 AM, Bob Patin wrote: > I've had a situation in the last couple of weeks where one or more > spammers have been able to use my mail server to send spam through it. > > I don't have relay turned on, use send-authentication, but yet somehow > they were able to send a ton of spam. > > Question: I have some PHP scripts that send emails at the conclusion of > the transaction; for example, a user uploads a file, and an email goes out > to fellow co-workers to tell them they have another file to review. > > The mail-sending script that I use includes authentication for my mail > server; is there still a way for spammers to "hijack" this script and use > it to send spam? If so, is there a way to prevent it? > > Yesterday morning I was told that over 23,000 spam messages went thru my > mail server; we locked it down, changed all the mail users' passwords, but > it ws a huge pain, to say the least. > > Thanks for any insights, > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120301/f965734f/attachment.html From bob at patin.com Thu Mar 1 05:21:27 2012 From: bob at patin.com (Bob Patin) Date: Thu Mar 1 09:28:29 2012 Subject: [FX.php List] [OFF] Reload page in Safari after back button? In-Reply-To: <704AD00C-29AB-4159-AAF7-B1274A875EBC@earthlink.net> References: <704AD00C-29AB-4159-AAF7-B1274A875EBC@earthlink.net> Message-ID: Joel, I never have found a solution for this nagging problem; no matter whether you tell users not to use the BACK button, they do it anyway? I was thinking about setting a session var that would keep track of where the user is *supposed* to be, but when you use the BACK button it doesn't actually reload the page, so there's no way to look at the session var and see if action needs to be taken. My question would be this: is there anything, PHP or Javascript, that would be triggered when someone arrives at a page using the BACK button? If you solve it you'll be my hero--wait, you're already my hero! Bob Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker On Feb 29, 2012, at 5:11 PM, Joel Shapiro wrote: > Hi all! > > Safari, as far as I know, is the only browser that doesn't automatically reload a page after clicking the Back button. (e.g.: Echo some $_SESSION vars on page1, update those vars on page2, then click the Back button. In Safari, page1 still shows the original vars until you click Reload. All other browsers show the updated vars as soon as you click Back) > > I found one fix: "Setting onunload="" in the body-tag causes Safari to invalidate the page and reload it upon window.history.back();", > but I'm wondering how other people here deal with this. > > Thoughts? > > http://stackoverflow.com/questions/5297122/preventing-cache-on-back-button-in-safari-5/5305905#5305905 > > Thanks, > -Joel_______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From jsfmp at earthlink.net Thu Mar 1 11:57:27 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Thu Mar 1 11:24:49 2012 Subject: [FX.php List] [OFF] Reload page in Safari after back button? In-Reply-To: References: <704AD00C-29AB-4159-AAF7-B1274A875EBC@earthlink.net> Message-ID: <642FD98F-72BC-4C64-9307-DCF977673258@earthlink.net> Hi Denis Thanks, but that doesn't make any difference in Safari. Best, -Joel On Mar 1, 2012, at 7:52 AM, Denis Somar wrote: > I believe this has to do with browser caching. Try adding this to the header of your PHP and it should force it to reload: > > > Cheers, > Denis > > On Wed, Feb 29, 2012 at 6:11 PM, Joel Shapiro wrote: > Hi all! > > Safari, as far as I know, is the only browser that doesn't automatically reload a page after clicking the Back button. (e.g.: Echo some $_SESSION vars on page1, update those vars on page2, then click the Back button. In Safari, page1 still shows the original vars until you click Reload. All other browsers show the updated vars as soon as you click Back) > > I found one fix: "Setting onunload="" in the body-tag causes Safari to invalidate the page and reload it upon window.history.back();", > but I'm wondering how other people here deal with this. > > Thoughts? > > http://stackoverflow.com/questions/5297122/preventing-cache-on-back-button-in-safari-5/5305905#5305905 > > Thanks, > -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 beverlyvoth at gmail.com Thu Mar 1 12:13:47 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Thu Mar 1 11:41:17 2012 Subject: [FX.php List] [OFF] Reload page in Safari after back button? In-Reply-To: <642FD98F-72BC-4C64-9307-DCF977673258@earthlink.net> References: <704AD00C-29AB-4159-AAF7-B1274A875EBC@earthlink.net> <642FD98F-72BC-4C64-9307-DCF977673258@earthlink.net> Message-ID: <75CEEE85-1C77-41D5-A90A-32BF319905E9@gmail.com> something in javascript to test the window.history()? just stabbing here.... also I googled "javascript prevent back button", but didn't follow any links. Perhaps something promising there? Beverly On 01 Mar 2012, at 1:57 PM, Joel Shapiro wrote: > Hi Denis > > Thanks, but that doesn't make any difference in Safari. > > Best, > -Joel > > > On Mar 1, 2012, at 7:52 AM, Denis Somar wrote: > >> I believe this has to do with browser caching. Try adding this to the header of your PHP and it should force it to reload: >> >> >> Cheers, >> Denis >> >> On Wed, Feb 29, 2012 at 6:11 PM, Joel Shapiro wrote: >> Hi all! >> >> Safari, as far as I know, is the only browser that doesn't automatically reload a page after clicking the Back button. (e.g.: Echo some $_SESSION vars on page1, update those vars on page2, then click the Back button. In Safari, page1 still shows the original vars until you click Reload. All other browsers show the updated vars as soon as you click Back) >> >> I found one fix: "Setting onunload="" in the body-tag causes Safari to invalidate the page and reload it upon window.history.back();", >> but I'm wondering how other people here deal with this. >> >> Thoughts? >> >> http://stackoverflow.com/questions/5297122/preventing-cache-on-back-button-in-safari-5/5305905#5305905 >> >> Thanks, >> -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 dale.bengston at gmail.com Thu Mar 1 13:13:50 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Thu Mar 1 12:41:16 2012 Subject: [FX.php List] [OFF] Reload page in Safari after back button? In-Reply-To: <75CEEE85-1C77-41D5-A90A-32BF319905E9@gmail.com> References: <704AD00C-29AB-4159-AAF7-B1274A875EBC@earthlink.net> <642FD98F-72BC-4C64-9307-DCF977673258@earthlink.net> <75CEEE85-1C77-41D5-A90A-32BF319905E9@gmail.com> Message-ID: <1E4404A5-0403-4468-A032-FF6D9FC5DFE3@gmail.com> Joel, what happens if you stick session_cache_limiter('private'); in your document after you declare session_start()? http://www.php.net/manual/en/function.session-cache-limiter.php Dale On Mar 1, 2012, at 1:13 PM, BEVERLY VOTH wrote: > something in javascript to test the window.history()? just stabbing here.... > > also I googled "javascript prevent back button", but didn't follow any links. Perhaps something promising there? > > Beverly > > On 01 Mar 2012, at 1:57 PM, Joel Shapiro wrote: > >> Hi Denis >> >> Thanks, but that doesn't make any difference in Safari. >> >> Best, >> -Joel >> >> >> On Mar 1, 2012, at 7:52 AM, Denis Somar wrote: >> >>> I believe this has to do with browser caching. Try adding this to the header of your PHP and it should force it to reload: >>> >>> >>> Cheers, >>> Denis >>> >>> On Wed, Feb 29, 2012 at 6:11 PM, Joel Shapiro wrote: >>> Hi all! >>> >>> Safari, as far as I know, is the only browser that doesn't automatically reload a page after clicking the Back button. (e.g.: Echo some $_SESSION vars on page1, update those vars on page2, then click the Back button. In Safari, page1 still shows the original vars until you click Reload. All other browsers show the updated vars as soon as you click Back) >>> >>> I found one fix: "Setting onunload="" in the body-tag causes Safari to invalidate the page and reload it upon window.history.back();", >>> but I'm wondering how other people here deal with this. >>> >>> Thoughts? >>> >>> http://stackoverflow.com/questions/5297122/preventing-cache-on-back-button-in-safari-5/5305905#5305905 >>> >>> Thanks, >>> -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 adenman at tmea.org Thu Mar 1 13:29:53 2012 From: adenman at tmea.org (Andrew Denman) Date: Thu Mar 1 12:57:31 2012 Subject: [FX.php List] [OFF] Reload page in Safari after back button? In-Reply-To: <642FD98F-72BC-4C64-9307-DCF977673258@earthlink.net> References: <704AD00C-29AB-4159-AAF7-B1274A875EBC@earthlink.net> <642FD98F-72BC-4C64-9307-DCF977673258@earthlink.net> Message-ID: I believe this article may explain what is happening and how to force a 'refresh' (either brute force or through javascript): http://www.webkit.org/blog/516/webkit-page-cache-ii-the-unload-event/ Andrew Denman -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Joel Shapiro Sent: Thursday, March 01, 2012 12:57 PM To: FX.php Discussion List Subject: Re: [FX.php List] [OFF] Reload page in Safari after back button? Hi Denis Thanks, but that doesn't make any difference in Safari. Best, -Joel On Mar 1, 2012, at 7:52 AM, Denis Somar wrote: > I believe this has to do with browser caching. Try adding this to the header of your PHP and it should force it to reload: > > > Cheers, > Denis > > On Wed, Feb 29, 2012 at 6:11 PM, Joel Shapiro wrote: > Hi all! > > Safari, as far as I know, is the only browser that doesn't > automatically reload a page after clicking the Back button. (e.g.: > Echo some $_SESSION vars on page1, update those vars on page2, then > click the Back button. In Safari, page1 still shows the original vars > until you click Reload. All other browsers show the updated vars as > soon as you click Back) > > I found one fix: "Setting onunload="" in the body-tag causes Safari to > invalidate the page and reload it upon window.history.back();", but I'm wondering how other people here deal with this. > > Thoughts? > > http://stackoverflow.com/questions/5297122/preventing-cache-on-back-bu > tton-in-safari-5/5305905#5305905 > > Thanks, > -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 jsfmp at earthlink.net Thu Mar 1 13:45:40 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Thu Mar 1 13:13:00 2012 Subject: [FX.php List] [OFF] Reload page in Safari after back button? In-Reply-To: References: <704AD00C-29AB-4159-AAF7-B1274A875EBC@earthlink.net> <642FD98F-72BC-4C64-9307-DCF977673258@earthlink.net> Message-ID: Hi I've thrown my test pages online: http://jsfmp.com/safariBackButton/without_bodyunload.php http://jsfmp.com/safariBackButton/with_bodyunload.php The first one, with no extra code, works in all browsers except Safari. The second one works in desktop Safari (Mac), but *not* on Mobile Safari (iOS). I haven't tried Windows Safari. session_cache_limiter('private'); doesn't make a difference either I haven't read through the webkit blog page yet. Gotta run now. More later? (?) Thanks all, -Joel On Mar 1, 2012, at 12:29 PM, Andrew Denman wrote: > I believe this article may explain what is happening and how to force a 'refresh' (either brute force or through javascript): > http://www.webkit.org/blog/516/webkit-page-cache-ii-the-unload-event/ > > Andrew Denman > > -----Original Message----- > From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Joel Shapiro > Sent: Thursday, March 01, 2012 12:57 PM > To: FX.php Discussion List > Subject: Re: [FX.php List] [OFF] Reload page in Safari after back button? > > Hi Denis > > Thanks, but that doesn't make any difference in Safari. > > Best, > -Joel > > > On Mar 1, 2012, at 7:52 AM, Denis Somar wrote: > >> I believe this has to do with browser caching. Try adding this to the header of your PHP and it should force it to reload: >> >> >> Cheers, >> Denis >> >> On Wed, Feb 29, 2012 at 6:11 PM, Joel Shapiro wrote: >> Hi all! >> >> Safari, as far as I know, is the only browser that doesn't >> automatically reload a page after clicking the Back button. (e.g.: >> Echo some $_SESSION vars on page1, update those vars on page2, then >> click the Back button. In Safari, page1 still shows the original vars >> until you click Reload. All other browsers show the updated vars as >> soon as you click Back) >> >> I found one fix: "Setting onunload="" in the body-tag causes Safari to >> invalidate the page and reload it upon window.history.back();", but I'm wondering how other people here deal with this. >> >> Thoughts? >> >> http://stackoverflow.com/questions/5297122/preventing-cache-on-back-bu >> tton-in-safari-5/5305905#5305905 >> >> Thanks, >> -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 vargas_s at aps.edu Thu Mar 1 13:52:23 2012 From: vargas_s at aps.edu (Vargas, Steve E) Date: Thu Mar 1 13:19:55 2012 Subject: [FX.php List] PHP software installation manual vs. FMP Adv. Server Message-ID: Hello, Is there a differences between a FileMaker Pro advanced server running PHP code where the PHP software was manually installed and sits right under the C: drive of a Windows server, and that of a FMP Advanced server running PHP code where the PHP software was installed during the configuration and installation of the FMP Advanced server, where the PHP software is now located several directories down from the root directory? One server is configured with FMP Advanced server 11.03, Windows 2008 server, and PHP version 5.0. The PHP software was installed via FMP Advanced Server installation. The other server is a legacy platform with the manual installation of PHP software. Are there difference development wise, app performance, and app maintenance? Thanks, Steve From leo at finalresort.org Thu Mar 1 13:55:43 2012 From: leo at finalresort.org (Leo R. Lundgren) Date: Thu Mar 1 13:23:10 2012 Subject: [FX.php List] PHP software installation manual vs. FMP Adv. Server In-Reply-To: References: Message-ID: <973A52A1-6EF0-4E52-B7B5-BAAB416FDFD1@finalresort.org> I would say no. And I would definately want to encourage you not to "be afraid" of rolling your own installation of PHP if you want to. There's nothing that should hinder you from doing that and still working just as well with FM. The only thing that comes to my mind is that maybe the FM PHP installation sets up the php privilege set on the FM server? But I don't know, it's been a while. I have built a few things in PHP which work directly with FM, and I have always used my own PHP installation. It works fine. It's just PHP regardless where you got it from. 1 mar 2012 kl. 21.52 skrev Vargas, Steve E: > Hello, > > Is there a differences between a FileMaker Pro advanced server running PHP code where the PHP software was manually installed and sits right under the C: drive of a Windows server, and that of a FMP Advanced server running PHP code where the PHP software was installed during the configuration and installation of the FMP Advanced server, where the PHP software is now located several directories down from the root directory? > > One server is configured with FMP Advanced server 11.03, Windows 2008 server, and PHP version 5.0. The PHP software was installed via FMP Advanced Server installation. > > The other server is a legacy platform with the manual installation of PHP software. > > Are there difference development wise, app performance, and app maintenance? > > > Thanks, > Steve > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| From csinfo at criticalsolution.com Thu Mar 1 15:01:16 2012 From: csinfo at criticalsolution.com (John Funk) Date: Thu Mar 1 14:28:51 2012 Subject: [FX.php List] Using global variables when calling a FileMaker Script In-Reply-To: <5EBD72BB-D072-43F5-9922-FBAEE82B7D8E@iViking.org> Message-ID: Chris, the global fields get set when the FM script runs, gathering data from specific records, then setting global fields with that data then creates records in other tables using a relationship that have those globals. (I hope that makes sense) So the FM script(s) are self contained and to not require any parameters from PHP or the user. As always, thanks John On 3/1/12 12:06 AM, "Chris Hansen" wrote: > John, > > Sorry, I was talking about global fields. It's been a long day. Everything I > said before, goes; but it applies to global fields. How do you go about > initially setting the global fields when you run the script via FX? > > --Chris > > On Feb 29, 2012, at 9:38 PM, John Funk wrote: > >> Thanks Chris, >> Good to know about the session variables but what I am trying to figure out >> is the behavior of global FIELDS while running a FileMaker script from >> PHP/FX. My FM script has multiple sub scripts that use common global fields. >> Running these from a FM Client and as a server script works but not when >> executed from PHP/FX. >> Thanks >> >> On 2/29/12 10:13 PM, "Chris Hansen" wrote: >> >>> John, >>> >>> Look at it this way: a connection via PHP is like connecting to FileMaker >>> Server, performing a query, and then logging out again. Based on that, keep >>> in mind that global variables only persist until you log off. So, you can >>> use >>> globals, as long as you set them as part of the query, and don't expect them >>> to persist to subsequent queries (use $_SESSION variables for that.) Oh, >>> and >>> to set globals via FX.php use FX's SetFMGlobal() method. HTH >>> >>> --Chris >>> >>> On Feb 28, 2012, at 4:09 PM, John Funk wrote: >>> >>>> Can someone tell me if FX/FMServer Advance deals with script globals >>>> differently than a FielMaker Client or as a Server script? >>>> I have a very complicated FM script that parses data to make ?Jobs?. It >>>> runs >>>> great as a Server script and as an FM Client script but will not run or is >>>> a >>>> runnaway when called through FX. I am guessing the globals variables are >>>> not >>>> being used. >>>> I may have to rewrite the script to use $$ variables, but not sure. >>>> As usual, any help is appreciated. >>>> Thanks, >>>> John Funk >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From malcolm at notyourhomework.net Thu Mar 1 16:03:41 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Thu Mar 1 15:31:06 2012 Subject: [FX.php List] [OFF] Spammers possibly using my online forms In-Reply-To: <5130594E-96BC-4CB1-B3FA-DBEB46ED2F3C@patin.com> References: <5130594E-96BC-4CB1-B3FA-DBEB46ED2F3C@patin.com> Message-ID: On 02/03/2012, at 12:20 AM, Bob Patin wrote: > I've had a situation in the last couple of weeks where one or more spammers have been able to use my mail server to send spam through it. > > I don't have relay turned on, use send-authentication, but yet somehow they were able to send a ton of spam. > > Question: I have some PHP scripts that send emails at the conclusion of the transaction; for example, a user uploads a file, and an email goes out to fellow co-workers to tell them they have another file to review. > > The mail-sending script that I use includes authentication for my mail server; is there still a way for spammers to "hijack" this script and use it to send spam? If so, is there a way to prevent it? Hard to say without seeing the script. Malcolm From steve at bluecrocodile.co.nz Fri Mar 2 11:05:04 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Fri Mar 2 10:32:32 2012 Subject: [FX.php List] PHP software installation manual vs. FMP Adv. Server In-Reply-To: <973A52A1-6EF0-4E52-B7B5-BAAB416FDFD1@finalresort.org> References: <973A52A1-6EF0-4E52-B7B5-BAAB416FDFD1@finalresort.org> Message-ID: <5BB0D38D-FB0A-4F50-8EBF-23598714B835@bluecrocodile.co.nz> Bit late in chiming in, but I wanted to double endorse what Leo said? We usually run FMS with our own version of PHP, and don't use the FMS version. It means that we have simpler control of the version of PHP which is used on our sites and means that it can be managed through 'normal' server upgrade processes, be they IIS or Apache. On occasion we also run FMS through Apache on Windows and have found it to be very stable, and often-times slightly quicker. It also gives us greater flexibility to develop standard code which can be deployed on either Windows, Linux or OS X server (and yes, I know FMS doesn't run on Linux (anymore, sadly) but that doesn't mean that the PHP application which is using FMS can't? we have one client where only the authentication and limited tracking is handled by FMS, everything else is delivered from static PHP and/or MySQL.. in that case, we have a single FMS which 'services' three Linux web servers which are behind a load balancer) The only current drawback (and this occurs with the FMS supplied version of PHP too) is that the API code hasn't been updated for a few years now, and throws dozens of deprecation errors with any half-modern version of PHP? let's hope a rumoured-to-be-coming-soon version of FM addresses that... Anyway, go for it? use whatever version of PHP you like? Cheers Steve > I would say no. And I would definately want to encourage you not to "be afraid" of rolling your own installation of PHP if you want to. There's nothing that should hinder you from doing that and still working just as well with FM. > > The only thing that comes to my mind is that maybe the FM PHP installation sets up the php privilege set on the FM server? But I don't know, it's been a while. > > I have built a few things in PHP which work directly with FM, and I have always used my own PHP installation. It works fine. It's just PHP regardless where you got it from. > > > 1 mar 2012 kl. 21.52 skrev Vargas, Steve E: > >> Hello, >> >> Is there a differences between a FileMaker Pro advanced server running PHP code where the PHP software was manually installed and sits right under the C: drive of a Windows server, and that of a FMP Advanced server running PHP code where the PHP software was installed during the configuration and installation of the FMP Advanced server, where the PHP software is now located several directories down from the root directory? >> >> One server is configured with FMP Advanced server 11.03, Windows 2008 server, and PHP version 5.0. The PHP software was installed via FMP Advanced Server installation. >> >> The other server is a legacy platform with the manual installation of PHP software. >> >> Are there difference development wise, app performance, and app maintenance? >> >> >> Thanks, >> Steve >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > > -| > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz From jsfmp at earthlink.net Fri Mar 2 12:46:23 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Fri Mar 2 12:13:45 2012 Subject: [FX.php List] PHP software installation manual vs. FMP Adv. Server In-Reply-To: <5BB0D38D-FB0A-4F50-8EBF-23598714B835@bluecrocodile.co.nz> References: <973A52A1-6EF0-4E52-B7B5-BAAB416FDFD1@finalresort.org> <5BB0D38D-FB0A-4F50-8EBF-23598714B835@bluecrocodile.co.nz> Message-ID: <5DD465F6-4807-4EDF-85B9-77CDC3FEC549@earthlink.net> Hi Steve(s) Just one other thing to add: if you'll ever be using the FileMaker API for PHP (instead of or in addition to FX.php), then you'll need to tell your PHP where to locate the API, since the FMS-installed version of PHP already has the API set in its include path. You could change the include_path in the php.ini, or you could place the API "standalone" into the root folder of your site. That way, you'd be able to call: require_once 'FileMaker.php'; on your pages without any changes to the path. (If you'll have multiple sites on the same server, changing the include_path in the php.ini probably makes more sense than having to have a copy of the standalone in each site's directory.) HTH, -Joel On Mar 2, 2012, at 10:05 AM, Steve Winter wrote: > Bit late in chiming in, but I wanted to double endorse what Leo said? > > We usually run FMS with our own version of PHP, and don't use the FMS version. It means that we have simpler control of the version of PHP which is used on our sites and means that it can be managed through 'normal' server upgrade processes, be they IIS or Apache. > > On occasion we also run FMS through Apache on Windows and have found it to be very stable, and often-times slightly quicker. > > It also gives us greater flexibility to develop standard code which can be deployed on either Windows, Linux or OS X server (and yes, I know FMS doesn't run on Linux (anymore, sadly) but that doesn't mean that the PHP application which is using FMS can't? we have one client where only the authentication and limited tracking is handled by FMS, everything else is delivered from static PHP and/or MySQL.. in that case, we have a single FMS which 'services' three Linux web servers which are behind a load balancer) > > The only current drawback (and this occurs with the FMS supplied version of PHP too) is that the API code hasn't been updated for a few years now, and throws dozens of deprecation errors with any half-modern version of PHP? let's hope a rumoured-to-be-coming-soon version of FM addresses that... > > Anyway, go for it? use whatever version of PHP you like? > > Cheers > Steve > >> I would say no. And I would definately want to encourage you not to "be afraid" of rolling your own installation of PHP if you want to. There's nothing that should hinder you from doing that and still working just as well with FM. >> >> The only thing that comes to my mind is that maybe the FM PHP installation sets up the php privilege set on the FM server? But I don't know, it's been a while. >> >> I have built a few things in PHP which work directly with FM, and I have always used my own PHP installation. It works fine. It's just PHP regardless where you got it from. >> >> >> 1 mar 2012 kl. 21.52 skrev Vargas, Steve E: >> >>> Hello, >>> >>> Is there a differences between a FileMaker Pro advanced server running PHP code where the PHP software was manually installed and sits right under the C: drive of a Windows server, and that of a FMP Advanced server running PHP code where the PHP software was installed during the configuration and installation of the FMP Advanced server, where the PHP software is now located several directories down from the root directory? >>> >>> One server is configured with FMP Advanced server 11.03, Windows 2008 server, and PHP version 5.0. The PHP software was installed via FMP Advanced Server installation. >>> >>> The other server is a legacy platform with the manual installation of PHP software. >>> >>> Are there difference development wise, app performance, and app maintenance? >>> >>> >>> Thanks, >>> Steve >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> >> -| >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > Steve Winter > +44 777 852 4776 > steve@bluecrocodile.co.nz > > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From vargas_s at aps.edu Fri Mar 2 13:38:48 2012 From: vargas_s at aps.edu (Vargas, Steve E) Date: Fri Mar 2 13:06:12 2012 Subject: [FX.php List] PHP software installation manual vs. FMP Adv. Server In-Reply-To: <5DD465F6-4807-4EDF-85B9-77CDC3FEC549@earthlink.net> References: <973A52A1-6EF0-4E52-B7B5-BAAB416FDFD1@finalresort.org> <5BB0D38D-FB0A-4F50-8EBF-23598714B835@bluecrocodile.co.nz> <5DD465F6-4807-4EDF-85B9-77CDC3FEC549@earthlink.net> Message-ID: Thanks for all the valuable info. We had a contractor (a request from the end user) to "upgrade" one of our FMP CWP apps. The contractor installed the FMP PHP software. Periodical the app generates PHP warning messages. There were no major code modifications. Upgrade involved moving to FMP Adv. Server 11 and Windows Server 2008 running IIS 7. The issue of PHP maintenance upgrades is my main concern at this point. Thanks again, Steve -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Joel Shapiro Sent: Friday, March 02, 2012 12:46 PM To: FX.php Discussion List Subject: Re: [FX.php List] PHP software installation manual vs. FMP Adv. Server Hi Steve(s) Just one other thing to add: if you'll ever be using the FileMaker API for PHP (instead of or in addition to FX.php), then you'll need to tell your PHP where to locate the API, since the FMS-installed version of PHP already has the API set in its include path. You could change the include_path in the php.ini, or you could place the API "standalone" into the root folder of your site. That way, you'd be able to call: require_once 'FileMaker.php'; on your pages without any changes to the path. (If you'll have multiple sites on the same server, changing the include_path in the php.ini probably makes more sense than having to have a copy of the standalone in each site's directory.) HTH, -Joel On Mar 2, 2012, at 10:05 AM, Steve Winter wrote: > Bit late in chiming in, but I wanted to double endorse what Leo said... > > We usually run FMS with our own version of PHP, and don't use the FMS version. It means that we have simpler control of the version of PHP which is used on our sites and means that it can be managed through 'normal' server upgrade processes, be they IIS or Apache. > > On occasion we also run FMS through Apache on Windows and have found it to be very stable, and often-times slightly quicker. > > It also gives us greater flexibility to develop standard code which can be deployed on either Windows, Linux or OS X server (and yes, I know FMS doesn't run on Linux (anymore, sadly) but that doesn't mean that the PHP application which is using FMS can't... we have one client where only the authentication and limited tracking is handled by FMS, everything else is delivered from static PHP and/or MySQL.. in that case, we have a single FMS which 'services' three Linux web servers which are behind a load balancer) > > The only current drawback (and this occurs with the FMS supplied version of PHP too) is that the API code hasn't been updated for a few years now, and throws dozens of deprecation errors with any half-modern version of PHP... let's hope a rumoured-to-be-coming-soon version of FM addresses that... > > Anyway, go for it... use whatever version of PHP you like... > > Cheers > Steve > >> I would say no. And I would definately want to encourage you not to "be afraid" of rolling your own installation of PHP if you want to. There's nothing that should hinder you from doing that and still working just as well with FM. >> >> The only thing that comes to my mind is that maybe the FM PHP installation sets up the php privilege set on the FM server? But I don't know, it's been a while. >> >> I have built a few things in PHP which work directly with FM, and I have always used my own PHP installation. It works fine. It's just PHP regardless where you got it from. >> >> >> 1 mar 2012 kl. 21.52 skrev Vargas, Steve E: >> >>> Hello, >>> >>> Is there a differences between a FileMaker Pro advanced server running PHP code where the PHP software was manually installed and sits right under the C: drive of a Windows server, and that of a FMP Advanced server running PHP code where the PHP software was installed during the configuration and installation of the FMP Advanced server, where the PHP software is now located several directories down from the root directory? >>> >>> One server is configured with FMP Advanced server 11.03, Windows 2008 server, and PHP version 5.0. The PHP software was installed via FMP Advanced Server installation. >>> >>> The other server is a legacy platform with the manual installation of PHP software. >>> >>> Are there difference development wise, app performance, and app maintenance? >>> >>> >>> Thanks, >>> Steve >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> >> -| >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > Steve Winter > +44 777 852 4776 > steve@bluecrocodile.co.nz > > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list From csinfo at criticalsolution.com Mon Mar 5 11:47:38 2012 From: csinfo at criticalsolution.com (John Funk) Date: Mon Mar 5 11:15:00 2012 Subject: [FX.php List] Using global variables when calling a FileMaker Script In-Reply-To: Message-ID: Regarding global Variables and FX/PHP. I have found the best results were when I used FileMaker Global Fields rather than $Var or $$Vars. I will report my final results on the other thread about Command Line PHP. John On 3/1/12 4:01 PM, "John Funk" wrote: > Chris, the global fields get set when the FM script runs, gathering data > from specific records, then setting global fields with that data then > creates records in other tables using a relationship that have those > globals. (I hope that makes sense) > So the FM script(s) are self contained and to not require any parameters > from PHP or the user. As always, thanks > John > > > On 3/1/12 12:06 AM, "Chris Hansen" wrote: > >> John, >> >> Sorry, I was talking about global fields. It's been a long day. Everything >> I >> said before, goes; but it applies to global fields. How do you go about >> initially setting the global fields when you run the script via FX? >> >> --Chris >> >> On Feb 29, 2012, at 9:38 PM, John Funk wrote: >> >>> Thanks Chris, >>> Good to know about the session variables but what I am trying to figure out >>> is the behavior of global FIELDS while running a FileMaker script from >>> PHP/FX. My FM script has multiple sub scripts that use common global fields. >>> Running these from a FM Client and as a server script works but not when >>> executed from PHP/FX. >>> Thanks >>> >>> On 2/29/12 10:13 PM, "Chris Hansen" wrote: >>> >>>> John, >>>> >>>> Look at it this way: a connection via PHP is like connecting to FileMaker >>>> Server, performing a query, and then logging out again. Based on that, >>>> keep >>>> in mind that global variables only persist until you log off. So, you can >>>> use >>>> globals, as long as you set them as part of the query, and don't expect >>>> them >>>> to persist to subsequent queries (use $_SESSION variables for that.) Oh, >>>> and >>>> to set globals via FX.php use FX's SetFMGlobal() method. HTH >>>> >>>> --Chris >>>> >>>> On Feb 28, 2012, at 4:09 PM, John Funk wrote: >>>> >>>>> Can someone tell me if FX/FMServer Advance deals with script globals >>>>> differently than a FielMaker Client or as a Server script? >>>>> I have a very complicated FM script that parses data to make ?Jobs?. It >>>>> runs >>>>> great as a Server script and as an FM Client script but will not run or is >>>>> a >>>>> runnaway when called through FX. I am guessing the globals variables are >>>>> not >>>>> being used. >>>>> I may have to rewrite the script to use $$ variables, but not sure. >>>>> As usual, any help is appreciated. >>>>> Thanks, >>>>> John Funk >>>>> _______________________________________________ >>>>> 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 csinfo at criticalsolution.com Mon Mar 5 12:11:14 2012 From: csinfo at criticalsolution.com (John Funk) Date: Mon Mar 5 11:38:37 2012 Subject: [FX.php List] Any body ever use pyfilemaker? In-Reply-To: <8E42A2D5-CC4E-467D-A32A-955D3F8C6195@bluecrocodile.co.nz> Message-ID: As a summary to this thread: I now have a PHP script that inserts records from a txt data file, line by line (replacing importing), run a nested FileMaker script on the records and report results to a txt file. An the best part is that this whole process take 19 seconds where doing the same on a FileMaker Client took about 2-3 mins. This is even with my clunky code. Thanks for all your help. John On 1/13/12 4:10 PM, "Steve Winter" wrote: > Hi John > > Passing variables to a command line application is done using -x xxxxxxx, look > at the PHP function getopt (http://php.net/manual/en/function.getopt.php) > > Cheers > Steve > >> Re: [FX.php List] Any body ever use pyfilemaker? >> Hi, >> I set up a script to edit records in my FM database, ran if from the terminal >> command line and it worked! >> Now on the real task of making a few modular scripts that I can pass >> variables to. No web server! This is cool stuff! >> Thanks for the help! >> John >> >> >> On 1/12/12 8:10 PM, "Dale Bengston" > > wrote: >> >>> John, it's been a long time, but you handle including FX.php in the same way >>> you would in php from the web. Here's a very-simple example: Create a php >>> script called my_test.php. In it, put this: >>> >>> >> echo 'Hello world!'; >>> ?> >>> >>> Then go to Terminal and type >>> >>> php path/to/my_test.php >>> >>> ? substituting the real path to your php script. You should see Hello World! >>> in your Terminal window. From there, you can branch out into adapting FX.php >>> calls to run the same way. All the rules apply - includes, function calls, >>> instantiating FX objects?. it's all the same. It's just being run separate >>> from Apache. >>> >>> Dale >>> >>> >>> On Jan 12, 2012, at 5:40 PM, John Funk wrote: >>> >>>> Re: [FX.php List] Any body ever use pyfilemaker? >>>> Dale, >>>> I forgot to ask, where to I start? Where do I put the FX folder? Anybody >>>> else run PHP/FX from the command line? >>>> Thanks >>>> John >>>> >>>> >>>> On 1/12/12 3:34 PM, "Dale Bengston" >>> >>>> >>>> > > wrote: >>>> >>>>> Nope. PHP is just another application on your computer, and you can access >>>>> it from the command line independent of Apache or the www user. That means >>>>> you can access files and folders outside of your web server root as well. >>>>> And no permissions headaches! >>>>> >>>>> Dale >>>>> >>>>> On Jan 12, 2012, at 1:32 PM, John Funk wrote: >>>>> >>>>>> Re: [FX.php List] Any body ever use pyfilemaker? >>>>>> Thanks, Dale but don?t I need a web server to host the scripts for FX?. >>>>>> John >>>>>> >>>>>> >>>>>> On 1/12/12 10:58 AM, "Dale Bengston" >>>>> >>>>>> >>>>> > >>>>>> >>>>> >>>>>> >>>>> > > > wrote: >>>>>> >>>>>>> Hi John, >>>>>>> >>>>>>> Do you know PHP? You can run PHP scripts (including FX.php calls) from >>>>>>> the command line to get data in and out of FileMaker. >>>>>>> >>>>>>> Hope this helps, >>>>>>> Dale >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Dale Bengston >>>>>>> Streamline Studio, LLC >>>>>>> www.streamline-studio.com >>>>>>> > >>>>>>> >>>>>>> > >>>>>> >>>>>>> > >>>>>>> >>>>>>> On Jan 12, 2012, at 9:06 AM, John Funk wrote: >>>>>>> Any body ever use pyfilemaker? My client is looking for command line access to FileMaker data in batch modes in and out. I found the page below... It seems this will work. It is similar to FX in as far as it uses the XML result method, but no web server needed. I am not a Python guy so how easy it it to learn? http://code.google.com/p/pyfilemaker/ Thanks, John _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org > > > http://www.iviking.org/mailman/listinfo/fx.php_list >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> FX.php_List mailing list >>>>>>> FX.php_List@mail.iviking.org >>>>>>> >>>>>> > >>>>>>> >>>>>> >>>>>>> >>>>>> > > >>>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>>> _______________________________________________ >>>>>> FX.php_List mailing list >>>>>> FX.php_List@mail.iviking.org >>>>>> >>>>> > >>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> >>>> > >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> >>>> Critical Solution >>>> Business and Workflow >>>> Database Consulting >>>> ph: 612-819-5168 >>>> P please don't print this e-mail unless you really need to. >>>> _______________________________________________ >>>> 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 >> >> Critical Solution >> Business and Workflow >> Database Consulting >> ph: 612-819-5168 >> P please don't print this e-mail unless you really need to. >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > Steve Winter > +44 777 852 4776 > steve@bluecrocodile.co.nz > > > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120305/6e653e4f/attachment-0001.html From malcolm at notyourhomework.net Mon Mar 5 16:05:07 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Mon Mar 5 15:32:14 2012 Subject: [FX.php List] Are there any FMCakeMix war stories? Message-ID: Since FX moved to github I did what everyone else does - refuse to bookmark it and rely on google - that threw up FMCakeMix from Beezwax. I'm installing it now for testing. We have a project that is starting and I'm wondering whether to use cake, cakemix, fx and filemaker. A part of the appeal of this combination is the abstraction of the data calls. Should the traffic become too much for FMS the effort to move to SQL is reduced. The clients existing applications are all Filemaker, so it is easier to keep all the slop in one bucket. We have several successful sites using the official php api and more recently, FX. These sites attract low traffic. The new project may generate significant traffic. Any stories, experience or suggestions for mid-sized web apps with fmp back ends? Malcolm From jon at lanclos.com Wed Mar 7 16:28:09 2012 From: jon at lanclos.com (Jon Lanclos) Date: Thu Mar 8 07:35:53 2012 Subject: [FX.php List] iPhone template Message-ID: Does anyone know a good iPhone app design template that I could build an fx.php backend for? Jon Lanclos, CRP, CCHP jon@lanclos.com 713-256-4413 From bob at patin.com Thu Mar 8 08:16:21 2012 From: bob at patin.com (Bob Patin) Date: Thu Mar 8 07:43:18 2012 Subject: [FX.php List] iPhone template In-Reply-To: References: Message-ID: <02D96658-7D53-42C5-9DA3-8CBD9B8B2D56@patin.com> If you have Dreamweaver, it has a nice template in there. Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker On Mar 7, 2012, at 5:28 PM, Jon Lanclos wrote: > Does anyone know a good iPhone app design template that I could build an fx.php backend for? > > Jon Lanclos, CRP, CCHP > jon@lanclos.com > 713-256-4413_______________________________________________ > 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/20120308/773d1082/attachment.html From steve at bluecrocodile.co.nz Thu Mar 8 08:37:57 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Thu Mar 8 08:04:57 2012 Subject: [FX.php List] iPhone template In-Reply-To: References: Message-ID: <6244CB0A-7891-48EE-82C6-84680ECB69C5@bluecrocodile.co.nz> Though not strictly speaking a template as such, take a look at jQuery Mobile, which provides a framework to build a mobile site using, including a raft of styles etc... > Does anyone know a good iPhone app design template that I could build an fx.php backend for? > > Jon Lanclos, CRP, CCHP > jon@lanclos.com > 713-256-4413_______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz From dale.bengston at gmail.com Thu Mar 8 09:44:43 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Thu Mar 8 09:11:41 2012 Subject: [FX.php List] iPhone template In-Reply-To: <6244CB0A-7891-48EE-82C6-84680ECB69C5@bluecrocodile.co.nz> References: <6244CB0A-7891-48EE-82C6-84680ECB69C5@bluecrocodile.co.nz> Message-ID: <9E9F5262-0F0F-4A0E-A5B1-26B12650C24B@gmail.com> There's also jQTouch, but I believe it's still in beta. Dale On Mar 8, 2012, at 9:37 AM, Steve Winter wrote: > Though not strictly speaking a template as such, take a look at jQuery Mobile, which provides a framework to build a mobile site using, including a raft of styles etc... > >> Does anyone know a good iPhone app design template that I could build an fx.php backend for? >> >> Jon Lanclos, CRP, CCHP >> jon@lanclos.com >> 713-256-4413_______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > Steve Winter > +44 777 852 4776 > steve@bluecrocodile.co.nz > > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dsomar at gmail.com Thu Mar 8 12:17:59 2012 From: dsomar at gmail.com (Denis Somar) Date: Thu Mar 8 11:45:01 2012 Subject: [FX.php List] iPhone template In-Reply-To: <9E9F5262-0F0F-4A0E-A5B1-26B12650C24B@gmail.com> References: <6244CB0A-7891-48EE-82C6-84680ECB69C5@bluecrocodile.co.nz> <9E9F5262-0F0F-4A0E-A5B1-26B12650C24B@gmail.com> Message-ID: <5BB8993C-63A2-44F1-978D-A663C7D845BD@gmail.com> Twitter bootstrap is good, free and blends from full site to mobile app well Cheers Denis On Mar 8, 2012, at 9:44 AM, Dale Bengston wrote: > There's also jQTouch, but I believe it's still in beta. > Dale > > On Mar 8, 2012, at 9:37 AM, Steve Winter wrote: > >> Though not strictly speaking a template as such, take a look at jQuery Mobile, which provides a framework to build a mobile site using, including a raft of styles etc... >> >>> Does anyone know a good iPhone app design template that I could build an fx.php backend for? >>> >>> Jon Lanclos, CRP, CCHP >>> jon@lanclos.com >>> 713-256-4413_______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> Steve Winter >> +44 777 852 4776 >> steve@bluecrocodile.co.nz >> >> >> >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From jschwartz at exit445.com Fri Mar 9 11:20:21 2012 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Fri Mar 9 10:47:35 2012 Subject: [FX.php List] Do RackSpace "Snapshots" conform to Best Practices? Message-ID: Hi Folks, I need a quick weigh-in from FileMaker experts on the list. One of my clients has moved FileMaker Web Publishing to third party RackSpace, which uses virtual servers under Windows. After a week of trying to run FMS on only 2gb ram, they have agreed to upgrade the instance to 4gb. The upgrade process consists of an automated system that takes a "snapshot" of the server and then rewrites the "snapshot" once the memory has been upgraded. I contend that taking the "snapshot" is the same as copying live FIleMaker Server files, and in violation of FileMaker Server Best Practices. I am urging them to shut down FileMaker Server and do the upgrade with it shut down. Others are saying the the "snapshot" approach is OK. Does anyone have experience with snapshots or RackSpace or both? Need a quick answer, as I am standing on the tracks refusing to budge....for the good of the data. ;-) Thanks Jonathan -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From jmaymailing at pointinspace.com Fri Mar 9 12:07:10 2012 From: jmaymailing at pointinspace.com (John May) Date: Fri Mar 9 11:34:00 2012 Subject: [FX.php List] Do RackSpace "Snapshots" conform to Best Practices? In-Reply-To: References: Message-ID: <4F5A54DE.4090300@pointinspace.com> Snapshots on VMs are going to be as you describe, the equivalent of backing up live databases and not advisable. This is why we do file-level backups with all of our FileMaker VMs here, backing up scheduled FileMaker Server backups - not the live files. - John On 3/9/12 1:20 PM, Jonathan Schwartz wrote: > Hi Folks, > > I need a quick weigh-in from FileMaker experts on the list. > > One of my clients has moved FileMaker Web Publishing to third party > RackSpace, which uses virtual servers under Windows. > > After a week of trying to run FMS on only 2gb ram, they have agreed to > upgrade the instance to 4gb. The upgrade process consists of an > automated system that takes a "snapshot" of the server and then rewrites > the "snapshot" once the memory has been upgraded. > > I contend that taking the "snapshot" is the same as copying live > FIleMaker Server files, and in violation of FileMaker Server Best > Practices. I am urging them to shut down FileMaker Server and do the > upgrade with it shut down. Others are saying the the "snapshot" approach > is OK. > > Does anyone have experience with snapshots or RackSpace or both? > > Need a quick answer, as I am standing on the tracks refusing to > budge....for the good of the data. ;-) > > Thanks > > Jonathan > > -- ------------------------------------------------------------------- John May : President http://www.pointinspace.com/ Point In Space Internet Solutions 800.664.8610 919.338.8198 Professional FileMaker Pro, MySQL, PHP & Lasso Hosting on shared, virtual and hardware dedicated servers From chris at iViking.org Fri Mar 9 12:07:25 2012 From: chris at iViking.org (Chris Hansen) Date: Fri Mar 9 11:34:15 2012 Subject: [FX.php List] Do RackSpace "Snapshots" conform to Best Practices? In-Reply-To: References: Message-ID: Jonathan, I'm with you here. While I've been working with AWS recently rather than RackSpace, I don't know that the environment is important. Rather, my question is: why would you want to risk your data at all, especially when the "cost" is so low? You turn off FM Server, upgrade the instance, then turn it back on; total time is only minutes if things go as planned. And if things DON'T go as planned, well, you'll be glad that FileMaker was shut down properly. I'd even be tempted to do an extra backup, just in case. Is there some reason for the angst about turning off the database server briefly? Best, --Chris On Mar 9, 2012, at 11:20 AM, Jonathan Schwartz wrote: > Hi Folks, > > I need a quick weigh-in from FileMaker experts on the list. > > One of my clients has moved FileMaker Web Publishing to third party > RackSpace, which uses virtual servers under Windows. > > After a week of trying to run FMS on only 2gb ram, they have agreed > to upgrade the instance to 4gb. The upgrade process consists of an > automated system that takes a "snapshot" of the server and then > rewrites the "snapshot" once the memory has been upgraded. > > I contend that taking the "snapshot" is the same as copying live > FIleMaker Server files, and in violation of FileMaker Server Best > Practices. I am urging them to shut down FileMaker Server and do the > upgrade with it shut down. Others are saying the the "snapshot" > approach is OK. > > Does anyone have experience with snapshots or RackSpace or both? > > Need a quick answer, as I am standing on the tracks refusing to > budge....for the good of the data. ;-) > > Thanks > > Jonathan > > > -- > Jonathan Schwartz > Exit 445 Group > jonathan@exit445.com > http://www.exit445.com > 415-370-5011 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From leo at finalresort.org Fri Mar 9 12:07:48 2012 From: leo at finalresort.org (Leo R. Lundgren) Date: Fri Mar 9 11:34:42 2012 Subject: [FX.php List] Do RackSpace "Snapshots" conform to Best Practices? In-Reply-To: References: Message-ID: <69D65510-9669-4D78-91DB-917D4D8C7D6F@finalresort.org> I don't know, I haven't dealt with hot-adding memory to a virtual machine so I can't say whether this snapshot stuff they talk about is something of concern or not. What I would say though is that regardless of how *they* do things you should have your own backup of the data on that machine, so it can easily be restored if they fail. One would think that they know what they're doing and that it's not the first time they've done this on a VM they maintain :o In any case I don't see why they or you cannot just shut the machine down, change memory, and then turn it on again. Have them do that and there shouldn't be much to worry about. If they refuse, switch to another hosting provider :) 9 mar 2012 kl. 19.20 skrev Jonathan Schwartz: > Hi Folks, > > I need a quick weigh-in from FileMaker experts on the list. > > One of my clients has moved FileMaker Web Publishing to third party RackSpace, which uses virtual servers under Windows. > > After a week of trying to run FMS on only 2gb ram, they have agreed to upgrade the instance to 4gb. The upgrade process consists of an automated system that takes a "snapshot" of the server and then rewrites the "snapshot" once the memory has been upgraded. > > I contend that taking the "snapshot" is the same as copying live FIleMaker Server files, and in violation of FileMaker Server Best Practices. I am urging them to shut down FileMaker Server and do the upgrade with it shut down. Others are saying the the "snapshot" approach is OK. > > Does anyone have experience with snapshots or RackSpace or both? > > Need a quick answer, as I am standing on the tracks refusing to budge....for the good of the data. ;-) > > Thanks > > Jonathan > > > -- > Jonathan Schwartz > Exit 445 Group > jonathan@exit445.com > http://www.exit445.com > 415-370-5011 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| From jschwartz at exit445.com Fri Mar 9 12:26:31 2012 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Fri Mar 9 11:55:09 2012 Subject: [FX.php List] Do RackSpace "Snapshots" conform to Best Practices? In-Reply-To: <69D65510-9669-4D78-91DB-917D4D8C7D6F@finalresort.org> References: <69D65510-9669-4D78-91DB-917D4D8C7D6F@finalresort.org> Message-ID: Perfect! Just the feedback I was looking for. In this case, it is a third party India-based developer company with no FileMaker experience that is challenging the need to shutdown FMS, even though I have explained that the risk is high and the cost of downtime low. I knew I could count on my fellow fx.php'rs. Jonathan >I don't know, I haven't dealt with hot-adding memory to a virtual >machine so I can't say whether this snapshot stuff they talk about >is something of concern or not. > >What I would say though is that regardless of how *they* do things >you should have your own backup of the data on that machine, so it >can easily be restored if they fail. > >One would think that they know what they're doing and that it's not >the first time they've done this on a VM they maintain :o > >In any case I don't see why they or you cannot just shut the machine >down, change memory, and then turn it on again. Have them do that >and there shouldn't be much to worry about. If they refuse, switch >to another hosting provider :) > > >9 mar 2012 kl. 19.20 skrev Jonathan Schwartz: > >> Hi Folks, >> >> I need a quick weigh-in from FileMaker experts on the list. >> >> One of my clients has moved FileMaker Web Publishing to third >>party RackSpace, which uses virtual servers under Windows. >> >> After a week of trying to run FMS on only 2gb ram, they have >>agreed to upgrade the instance to 4gb. The upgrade process >>consists of an automated system that takes a "snapshot" of the >>server and then rewrites the "snapshot" once the memory has been >>upgraded. >> >> I contend that taking the "snapshot" is the same as copying live >>FIleMaker Server files, and in violation of FileMaker Server Best >>Practices. I am urging them to shut down FileMaker Server and do >>the upgrade with it shut down. Others are saying the the >>"snapshot" approach is OK. >> >> Does anyone have experience with snapshots or RackSpace or both? >> >> Need a quick answer, as I am standing on the tracks refusing to >>budge....for the good of the data. ;-) >> >> Thanks >> >> Jonathan >> >> >> -- >> Jonathan Schwartz >> Exit 445 Group >> jonathan@exit445.com >> http://www.exit445.com >> 415-370-5011 >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > >-| > >_______________________________________________ >FX.php_List mailing list >FX.php_List@mail.iviking.org >http://www.iviking.org/mailman/listinfo/fx.php_list -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From andersm at mac.com Fri Mar 9 13:12:16 2012 From: andersm at mac.com (Anders Monsen) Date: Fri Mar 9 12:39:12 2012 Subject: [FX.php List] Do RackSpace "Snapshots" conform to Best Practices? In-Reply-To: References: <69D65510-9669-4D78-91DB-917D4D8C7D6F@finalresort.org> Message-ID: <4F5A6420.9060409@mac.com> If I had a nickle for every time I've spoke with IT departments who want to manage servers their way with no idea of the impact on FileMaker...and then go ahead and do what they want without listening anyway. Closing the dbs and shutting down the server prior to the snapshot should not take them more than 5-10 minutes. Is saving that time worth the cost of potential db corruption? Anders On 3/9/12 1:26 PM, Jonathan Schwartz wrote: > Perfect! Just the feedback I was looking for. > > In this case, it is a third party India-based developer company with > no FileMaker experience that is challenging the need to shutdown FMS, > even though I have explained that the risk is high and the cost of > downtime low. > > I knew I could count on my fellow fx.php'rs. > > Jonathan > > > >> I don't know, I haven't dealt with hot-adding memory to a virtual >> machine so I can't say whether this snapshot stuff they talk about is >> something of concern or not. >> >> What I would say though is that regardless of how *they* do things >> you should have your own backup of the data on that machine, so it >> can easily be restored if they fail. >> >> One would think that they know what they're doing and that it's not >> the first time they've done this on a VM they maintain :o >> >> In any case I don't see why they or you cannot just shut the machine >> down, change memory, and then turn it on again. Have them do that and >> there shouldn't be much to worry about. If they refuse, switch to >> another hosting provider :) >> >> >> 9 mar 2012 kl. 19.20 skrev Jonathan Schwartz: >> >>> Hi Folks, >>> >>> I need a quick weigh-in from FileMaker experts on the list. >>> >>> One of my clients has moved FileMaker Web Publishing to third party >>> RackSpace, which uses virtual servers under Windows. >>> >>> After a week of trying to run FMS on only 2gb ram, they have agreed >>> to upgrade the instance to 4gb. The upgrade process consists of an >>> automated system that takes a "snapshot" of the server and then >>> rewrites the "snapshot" once the memory has been upgraded. >>> >>> I contend that taking the "snapshot" is the same as copying live >>> FIleMaker Server files, and in violation of FileMaker Server Best >>> Practices. I am urging them to shut down FileMaker Server and do >>> the upgrade with it shut down. Others are saying the the "snapshot" >>> approach is OK. >>> >>> Does anyone have experience with snapshots or RackSpace or both? >>> >>> Need a quick answer, as I am standing on the tracks refusing to >>> budge....for the good of the data. ;-) >>> >>> Thanks >>> >>> Jonathan >>> >>> >>> -- >>> Jonathan Schwartz >>> Exit 445 Group >>> jonathan@exit445.com >>> http://www.exit445.com >>> 415-370-5011 >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> >> -| >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > From jschwartz at exit445.com Fri Mar 9 14:24:44 2012 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Fri Mar 9 13:55:09 2012 Subject: [FX.php List] Do RackSpace "Snapshots" conform to Best Practices? In-Reply-To: <4F5A6420.9060409@mac.com> References: <69D65510-9669-4D78-91DB-917D4D8C7D6F@finalresort.org> <4F5A6420.9060409@mac.com> Message-ID: Agreed. Jonathan At 2:12 PM -0600 3/9/12, Anders Monsen wrote: >If I had a nickle for every time I've spoke with IT departments who >want to manage servers their way with no idea of the impact on >FileMaker...and then go ahead and do what they want without >listening anyway. > >Closing the dbs and shutting down the server prior to the snapshot >should not take them more than 5-10 minutes. Is saving that time >worth the cost of potential db corruption? > >Anders > >On 3/9/12 1:26 PM, Jonathan Schwartz wrote: >>Perfect! Just the feedback I was looking for. >> >>In this case, it is a third party India-based developer company >>with no FileMaker experience that is challenging the need to >>shutdown FMS, even though I have explained that the risk is high >>and the cost of downtime low. >> >>I knew I could count on my fellow fx.php'rs. >> >>Jonathan >> >> >>>I don't know, I haven't dealt with hot-adding memory to a virtual >>>machine so I can't say whether this snapshot stuff they talk about >>>is something of concern or not. >>> >>>What I would say though is that regardless of how *they* do things >>>you should have your own backup of the data on that machine, so it >>>can easily be restored if they fail. >>> >>>One would think that they know what they're doing and that it's >>>not the first time they've done this on a VM they maintain :o >>> >>>In any case I don't see why they or you cannot just shut the >>>machine down, change memory, and then turn it on again. Have them >>>do that and there shouldn't be much to worry about. If they >>>refuse, switch to another hosting provider :) >>> >>> >>>9 mar 2012 kl. 19.20 skrev Jonathan Schwartz: >>> >>>> Hi Folks, >>>> >>>> I need a quick weigh-in from FileMaker experts on the list. >>>> >>>> One of my clients has moved FileMaker Web Publishing to third >>>>party RackSpace, which uses virtual servers under Windows. >>>> >>>> After a week of trying to run FMS on only 2gb ram, they have >>>>agreed to upgrade the instance to 4gb. The upgrade process >>>>consists of an automated system that takes a "snapshot" of the >>>>server and then rewrites the "snapshot" once the memory has been >>>>upgraded. >>>> >>>> I contend that taking the "snapshot" is the same as copying live >>>>FIleMaker Server files, and in violation of FileMaker Server Best >>>>Practices. I am urging them to shut down FileMaker Server and do >>>>the upgrade with it shut down. Others are saying the the >>>>"snapshot" approach is OK. >>>> >>>> Does anyone have experience with snapshots or RackSpace or both? >>>> >>>> Need a quick answer, as I am standing on the tracks refusing to >>>>budge....for the good of the data. ;-) >>>> >>>> Thanks >>>> >>>> Jonathan >>>> >>>> >>>> -- >>>> Jonathan Schwartz >>>> Exit 445 Group >>>> jonathan@exit445.com >>>> http://www.exit445.com >>>> 415-370-5011 >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >>> >>> >>>-| >>> >>>_______________________________________________ >>>FX.php_List mailing list >>>FX.php_List@mail.iviking.org >>>http://www.iviking.org/mailman/listinfo/fx.php_list -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From jschwartz at exit445.com Sat Mar 10 11:53:39 2012 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Sat Mar 10 11:22:53 2012 Subject: [FX.php List] Do RackSpace "Snapshots" conform to Best Practices? In-Reply-To: References: <69D65510-9669-4D78-91DB-917D4D8C7D6F@finalresort.org> <4F5A6420.9060409@mac.com> Message-ID: Here's a Post Mortem.... The memory upgrade process was successful using SnapShots, with a few bumps in the road. - The process took about 20 minutes for each machine, not 2.5 hours. We spent more time checking the system over after the fact than the process itself took. - FMS Console was hosed after the process. Web Publishing was working but FMS Console said it wasn't. A quick re-deployment of Web Publishing on the FMS Master machine solved that. - The FileMaker db files opened without incident, even though they were copied live during the snapshot process. A contributing factor: The web traffic was minimal at 3AM. Plus there were no writes to the files going on. Just reads. Nevertheless, the files were tossed and replaced with files taken as backup just before the process started. The IT staff challenged the need for this one more time, since things appeared to be working OK. - I have requested this new India IT team to test the assumption that snapshots of FileMaker virtual instances will actually be usable immediately in the case they are needed for recovery. Based on this experience, I would say not. At least, not without some expert FM Developer supervision to fix broken stuff. Hope that is helpful to you all. Thanks again for the help. Jonathan >Agreed. > >Jonathan > > >At 2:12 PM -0600 3/9/12, Anders Monsen wrote: >>If I had a nickle for every time I've spoke with IT departments who >>want to manage servers their way with no idea of the impact on >>FileMaker...and then go ahead and do what they want without >>listening anyway. >> >>Closing the dbs and shutting down the server prior to the snapshot >>should not take them more than 5-10 minutes. Is saving that time >>worth the cost of potential db corruption? >> >>Anders >> >>On 3/9/12 1:26 PM, Jonathan Schwartz wrote: >>>Perfect! Just the feedback I was looking for. >>> >>>In this case, it is a third party India-based developer company >>>with no FileMaker experience that is challenging the need to >>>shutdown FMS, even though I have explained that the risk is high >>>and the cost of downtime low. >>> >>>I knew I could count on my fellow fx.php'rs. >>> >>>Jonathan >>> >>>>I don't know, I haven't dealt with hot-adding memory to a virtual >>>>machine so I can't say whether this snapshot stuff they talk >>>>about is something of concern or not. >>>> >>>>What I would say though is that regardless of how *they* do >>>>things you should have your own backup of the data on that >>>>machine, so it can easily be restored if they fail. >>>> >>>>One would think that they know what they're doing and that it's >>>>not the first time they've done this on a VM they maintain :o >>>> >>>>In any case I don't see why they or you cannot just shut the >>>>machine down, change memory, and then turn it on again. Have them >>>>do that and there shouldn't be much to worry about. If they >>>>refuse, switch to another hosting provider :) >>>> >>>> >>>>9 mar 2012 kl. 19.20 skrev Jonathan Schwartz: >>>> >>>>> Hi Folks, >>>>> >>>>> I need a quick weigh-in from FileMaker experts on the list. >>>>> >>>>> One of my clients has moved FileMaker Web Publishing to third >>>>>party RackSpace, which uses virtual servers under Windows. >>>>> >>>>> After a week of trying to run FMS on only 2gb ram, they have >>>>>agreed to upgrade the instance to 4gb. The upgrade process >>>>>consists of an automated system that takes a "snapshot" of the >>>>>server and then rewrites the "snapshot" once the memory has been >>>>>upgraded. >>>>> >>>>> I contend that taking the "snapshot" is the same as copying >>>>>live FIleMaker Server files, and in violation of FileMaker >>>>>Server Best Practices. I am urging them to shut down FileMaker >>>>>Server and do the upgrade with it shut down. Others are saying >>>>>the the "snapshot" approach is OK. >>>>> >>>>> Does anyone have experience with snapshots or RackSpace or both? >>>>> >>>>> Need a quick answer, as I am standing on the tracks refusing to >>>>>budge....for the good of the data. ;-) >>>>> >>>>> Thanks >>>>> >>>>> Jonathan >>>>> >>>>> >>>>> -- >>>>> Jonathan Schwartz >>>>> Exit 445 Group >>>>> jonathan@exit445.com >>>>> http://www.exit445.com >>>>> 415-370-5011 >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> >>>> >>>> >>>>-| >>>> >>>>_______________________________________________ >>>>FX.php_List mailing list >>>>FX.php_List@mail.iviking.org >>>>http://www.iviking.org/mailman/listinfo/fx.php_list > > >-- >Jonathan Schwartz >Exit 445 Group >jonathan@exit445.com >http://www.exit445.com >415-370-5011 >_______________________________________________ >FX.php_List mailing list >FX.php_List@mail.iviking.org >http://www.iviking.org/mailman/listinfo/fx.php_list -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From jschwartz at exit445.com Sat Mar 10 12:17:04 2012 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Sat Mar 10 11:47:54 2012 Subject: [FX.php List] Multiple single machine deployments versus fewer 2 machine deployments Message-ID: Hi Folks, I'm starting a new thread to pose a question raised in my mind from the experience I just had with restoring virtual images of 2 machine deployments. Based on only a few experiences, i have concluded that FMS doesn't like changes in the setup of 2 machine deployments, including spinning up a saved snapshot of 2 machines. In my previous email, Web Publishing broke. So with that limited experience in mind, it seems that the process would run better in a single machine deployments. So with that in mind, would it be better to have two single machine deployments of FMS rather than one 2 machine deployments? Assume that traffic is divided with a load balancer. Did this make sense? Jonathan -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From chris at iViking.org Sat Mar 10 14:04:43 2012 From: chris at iViking.org (Chris Hansen) Date: Sat Mar 10 13:31:30 2012 Subject: [FX.php List] Update about FX.php github Activity (and a request...) Message-ID: <699F6501-1AE2-433C-848F-45DB33807028@iViking.org> Greetings all! I'm not sure how closely y'all have been following the activity related to FX.php over on github, but some cool stuff has been going on. Bugs are being squashed, and features added (like the ability to create multiple find requests via FX.php) at a pace not seen in years. There are a handful of your fellow list members that are making a BIG difference, and I'd like to publicly say "kudos and thank you!" to this group (you know who you are :-) Also, there was a recent change by one person that had to be partially rolled back due to some failing unit tests in FMCakeMix. Although I haven't had occasion to use FMCakeMix to this point, I know there are some out there who have; and if you have the time, I think it might be worthwhile to see if we could get the passing of username and password to work via cURL options, rather than in the URL. This is a great little community, and I'm constantly impressed by the quality of the help I see people receive here. Thank you all for what you do here, and keep up the good work! Best, --Chris Hansen FileMaker 7/8/9 Certified Developer Creator of FX.php "The best way from FileMaker to the Web." www.iViking.org From matsuo_atsushi at mac.com Sat Mar 10 21:39:43 2012 From: matsuo_atsushi at mac.com (Atsushi Matsuo) Date: Sat Mar 10 21:06:32 2012 Subject: [FX.php List] Update about FX.php github Activity (and a request...) In-Reply-To: <699F6501-1AE2-433C-848F-45DB33807028@iViking.org> References: <699F6501-1AE2-433C-848F-45DB33807028@iViking.org> Message-ID: <9014273D-23CB-4691-9469-C2E55A6F300D@mac.com> On 2012/03/11, at 6:04, Chris Hansen wrote: > Also, there was a recent change by one person that had to be partially rolled back due to some failing unit tests in FMCakeMix. Although I haven't had occasion to use FMCakeMix to this point, I know there are some out there who have; and if you have the time, I think it might be worthwhile to see if we could get the passing of username and password to work via cURL options, rather than in the URL. Got the passing of username and password to work via cURL options again and fixed guest access. Thank you for receiving pull request. I have a request, please make a new branch on GitHub for development. Thanks, -- Atsushi Matsuo http://www.famlog.jp/ From whatdoyouwant at gmail.com Sun Mar 11 22:52:21 2012 From: whatdoyouwant at gmail.com (Nick) Date: Sun Mar 11 22:19:04 2012 Subject: [FX.php List] Are there any FMCakeMix war stories? In-Reply-To: References: Message-ID: If you use findquery, it can hang up the user while it is finding, when too many requests happen. This can cause you to think the FM Web server is hanging, as the CPU can spike quite a bit if there are a lot of other requests going on at the same time. I usually make a separate user for findquery requests. On Mon, Mar 5, 2012 at 5:05 PM, Malcolm Fitzgerald < malcolm@notyourhomework.net> wrote: > Since FX moved to github I did what everyone else does - refuse to > bookmark it and rely on google - that threw up FMCakeMix from Beezwax. I'm > installing it now for testing. > > We have a project that is starting and I'm wondering whether to use cake, > cakemix, fx and filemaker. A part of the appeal of this combination is the > abstraction of the data calls. Should the traffic become too much for FMS > the effort to move to SQL is reduced. > > The clients existing applications are all Filemaker, so it is easier to > keep all the slop in one bucket. We have several successful sites using the > official php api and more recently, FX. These sites attract low traffic. > The new project may generate significant traffic. > > Any stories, experience or suggestions for mid-sized web apps with fmp > back ends? > > Malcolm_______________________________________________ > 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/20120311/2131ef43/attachment.html From malcolm at notyourhomework.net Sun Mar 11 23:35:13 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Sun Mar 11 23:01:56 2012 Subject: [FX.php List] Are there any FMCakeMix war stories? In-Reply-To: References: Message-ID: <5923ADA5-5CD2-417E-A27D-E2CD1B25D93D@notyourhomework.net> Hi Nick, Thanks for the warning. I'll watch out for that. Malcolm On 12/03/2012, at 3:52 PM, Nick wrote: > If you use findquery, it can hang up the user while it is finding, when too many requests happen. This can cause you to think the FM Web server is hanging, as the CPU can spike quite a bit if there are a lot of other requests going on at the same time. I usually make a separate user for findquery requests. > > On Mon, Mar 5, 2012 at 5:05 PM, Malcolm Fitzgerald wrote: > Since FX moved to github I did what everyone else does - refuse to bookmark it and rely on google - that threw up FMCakeMix from Beezwax. I'm installing it now for testing. > > We have a project that is starting and I'm wondering whether to use cake, cakemix, fx and filemaker. A part of the appeal of this combination is the abstraction of the data calls. Should the traffic become too much for FMS the effort to move to SQL is reduced. > > The clients existing applications are all Filemaker, so it is easier to keep all the slop in one bucket. We have several successful sites using the official php api and more recently, FX. These sites attract low traffic. The new project may generate significant traffic. > > Any stories, experience or suggestions for mid-sized web apps with fmp back ends? > > 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 -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120312/a54d0324/attachment.html From beverlyvoth at gmail.com Mon Mar 12 11:03:48 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Mon Mar 12 10:30:33 2012 Subject: [FX.php List] Are there any FMCakeMix war stories? In-Reply-To: References: Message-ID: Nick, can you expound on this statement "separate user" ? Thank you, Beverly On 12 Mar 2012, at 12:52 AM, Nick wrote: > I usually make a separate user for findquery requests. From vargas_s at aps.edu Mon Mar 12 14:24:57 2012 From: vargas_s at aps.edu (Vargas, Steve E) Date: Mon Mar 12 13:51:40 2012 Subject: [FX.php List] Update about FX.php github Activity (and a request...) In-Reply-To: <699F6501-1AE2-433C-848F-45DB33807028@iViking.org> References: <699F6501-1AE2-433C-848F-45DB33807028@iViking.org> Message-ID: Hello Chris, I am having trouble navigation your website www.iViking.org is there another site I can visit to learn more about github and FMCakeMix. Thanks, Steve -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Chris Hansen Sent: Saturday, March 10, 2012 2:05 PM To: FX.php Discussion List Subject: [FX.php List] Update about FX.php github Activity (and a request...) Greetings all! I'm not sure how closely y'all have been following the activity related to FX.php over on github, but some cool stuff has been going on. Bugs are being squashed, and features added (like the ability to create multiple find requests via FX.php) at a pace not seen in years. There are a handful of your fellow list members that are making a BIG difference, and I'd like to publicly say "kudos and thank you!" to this group (you know who you are :-) Also, there was a recent change by one person that had to be partially rolled back due to some failing unit tests in FMCakeMix. Although I haven't had occasion to use FMCakeMix to this point, I know there are some out there who have; and if you have the time, I think it might be worthwhile to see if we could get the passing of username and password to work via cURL options, rather than in the URL. This is a great little community, and I'm constantly impressed by the quality of the help I see people receive here. Thank you all for what you do here, and keep up the good work! Best, --Chris Hansen FileMaker 7/8/9 Certified Developer Creator of FX.php "The best way from FileMaker to the Web." www.iViking.org _______________________________________________ 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 Mar 12 15:18:34 2012 From: chris at iViking.org (Chris Hansen) Date: Mon Mar 12 14:45:12 2012 Subject: [FX.php List] Update about FX.php github Activity (and a request...) In-Reply-To: References: <699F6501-1AE2-433C-848F-45DB33807028@iViking.org> Message-ID: <53A84D25-EB88-4836-A2B9-EDA36A74DEFE@iViking.org> Steve, What exactly is giving you problems? Is some part of the site broken for you? (If something's broken I want to fix it.) If you're just looking for FX.php information (including a link to the related github project), that is on the FX.php page. But to answer your specific questions: * FX.php github project: https://github.com/yodarunamok/fxphp * FMCakeMix: http://www.beezwax.net/products/FMCakeMix Please note that although FMCakeMix uses FX.php, it's not my project, but you should be able to find out all you want to know on the page above. Best, --Chris On Mar 12, 2012, at 2:24 PM, Vargas, Steve E wrote: > Hello Chris, > > I am having trouble navigation your website > > www.iViking.org > > is there another site I can visit to learn more about github and FMCakeMix. > > Thanks, > Steve > > > -----Original Message----- > From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Chris Hansen > Sent: Saturday, March 10, 2012 2:05 PM > To: FX.php Discussion List > Subject: [FX.php List] Update about FX.php github Activity (and a request...) > > Greetings all! > > I'm not sure how closely y'all have been following the activity related to FX.php over on github, but some cool stuff has been going on. Bugs are being squashed, and features added (like the ability to create multiple find requests via FX.php) at a pace not seen in years. There are a handful of your fellow list members that are making a BIG difference, and I'd like to publicly say "kudos and thank you!" to this group (you know who you are :-) > > Also, there was a recent change by one person that had to be partially rolled back due to some failing unit tests in FMCakeMix. Although I haven't had occasion to use FMCakeMix to this point, I know there are some out there who have; and if you have the time, I think it might be worthwhile to see if we could get the passing of username and password to work via cURL options, rather than in the URL. > > This is a great little community, and I'm constantly impressed by the quality of the help I see people receive here. Thank you all for what you do here, and keep up the good work! > > Best, > > --Chris Hansen > FileMaker 7/8/9 Certified Developer > Creator of FX.php > "The best way from FileMaker to the Web." > www.iViking.org > > > > _______________________________________________ > 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 vargas_s at aps.edu Mon Mar 12 15:26:47 2012 From: vargas_s at aps.edu (Vargas, Steve E) Date: Mon Mar 12 14:53:30 2012 Subject: [FX.php List] Update about FX.php github Activity (and a request...) In-Reply-To: <53A84D25-EB88-4836-A2B9-EDA36A74DEFE@iViking.org> References: <699F6501-1AE2-433C-848F-45DB33807028@iViking.org> <53A84D25-EB88-4836-A2B9-EDA36A74DEFE@iViking.org> Message-ID: Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 24574 bytes Desc: image001.png Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20120312/26492152/image001-0001.png From bob at patin.com Mon Mar 12 16:10:38 2012 From: bob at patin.com (Bob Patin) Date: Mon Mar 12 15:37:17 2012 Subject: [FX.php List] Change log function? Message-ID: <7FD9556A-463B-4F84-A88E-A2D90C50EA62@patin.com> I have a client whose web app I just finished; I've put change logging into the database, but now he's asking if it's possible to put some sort of change log into the web app as well. Has anyone done this before? The records I'd be logging have about 200 fields, which makes it a lot more than just a half-dozen to track, and hence my question as to whether someone has this function already written. Any insight appreciated! Thanks, Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker From whatdoyouwant at gmail.com Mon Mar 12 20:20:09 2012 From: whatdoyouwant at gmail.com (Nick Salonen) Date: Mon Mar 12 19:47:01 2012 Subject: [FX.php List] Are there any FMCakeMix war stories? In-Reply-To: References: Message-ID: <4940948A-2D71-40B5-833D-58F9A0BEBFB2@gmail.com> In FileMaker, a user that has fmxml privilege to make queries. Sent from my iPhone On Mar 12, 2012, at 12:03 PM, BEVERLY VOTH wrote: > Nick, can you expound on this statement "separate user" ? > > Thank you, > Beverly > On 12 Mar 2012, at 12:52 AM, Nick wrote: > >> I usually make a separate user for findquery requests. > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From tim at nicheit.com.au Mon Mar 12 20:51:38 2012 From: tim at nicheit.com.au (Tim 'Webko' Booth) Date: Mon Mar 12 20:18:21 2012 Subject: [FX.php List] Are there any FMCakeMix war stories? In-Reply-To: References: Message-ID: <6A61C07A-017D-4648-B4FC-DBE6DCFBBF45@nicheit.com.au> Dear Malcolm, > > The clients existing applications are all Filemaker, so it is easier > to keep all the slop in one bucket. We have several successful sites > using the official php api and more recently, FX. These sites > attract low traffic. The new project may generate significant traffic. > > Any stories, experience or suggestions for mid-sized web apps with > fmp back ends? IMO, it doesn't really matter how the php code is generated / looked after - the bottleneck is the single-threaded (and 'wordy') nature of either the XML interface or the PHP API. Put simply, even small requests will bog down if there are a lot of them. Or if there aren't that many, but there are some large ones thrown in. They all try to fir through the same pipe into the database, one after the other. All well and good if the pipe doesn't get too full, but an issue thereafter. I wrote something about this a little while back: "Some real world examples: System A is an online registration system including payments for a University - it handles about 1,000 requests a day and performs flawlessly using FX. System B is an online academic paper search tool - it handles up to 1,000 simple requests an hour at peak and performs flawlessly using FX. It is a very simple though - flat file effectively. System C is an online survey tool that can make up to 100 requests in a single page load, either creating or editing records using FX. The admin section can make up to 400 requests in a single page load. This one works, but struggles every now and again under the load. I would probably do this one in mySQL if I'd known what was involved when we started. System D is an online registration tool for a University that has specific registration dates for some *very* popular programs. It has a reasonable amount of complexity, as it is for academic programs and there are a lot of business rules. For about 360 days of the year, FX and FileMaker could handle the load without any issue. Those other 5 days, however, see up to 10,000 requests an hour - needless to say, it is built on a mySQL backend and the users in the office use FileMaker to see that data via ESS. So, you need to examine how complex your queries are, how often they occur, and how much data will be passed in order to determine which tool is the best to use." -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120313/2b5c754c/attachment.html From dsomar at gmail.com Mon Mar 12 21:00:32 2012 From: dsomar at gmail.com (Denis Somar) Date: Mon Mar 12 20:27:31 2012 Subject: [FX.php List] Are there any FMCakeMix war stories? In-Reply-To: <6A61C07A-017D-4648-B4FC-DBE6DCFBBF45@nicheit.com.au> References: <6A61C07A-017D-4648-B4FC-DBE6DCFBBF45@nicheit.com.au> Message-ID: Tim, That's really helpful - thanks for sharing with "real-world" scenarios / usage. I know FM is no speed-demon but my site is at or less than what you mention and on the verge of deployment so I'm reassured by my decision to stick with FX and FM. Cheers, Denis PS: I didn't originate this thread, but it's still helpful as always. On Mon, Mar 12, 2012 at 10:51 PM, Tim 'Webko' Booth wrote: > Dear Malcolm, > > > The clients existing applications are all Filemaker, so it is easier to > keep all the slop in one bucket. We have several successful sites using the > official php api and more recently, FX. These sites attract low traffic. > The new project may generate significant traffic. > > Any stories, experience or suggestions for mid-sized web apps with fmp > back ends? > > > IMO, it doesn't really matter how the php code is generated / looked after > - the bottleneck is the single-threaded (and 'wordy') nature of either the > XML interface or the PHP API. > > Put simply, even small requests will bog down if there are a lot of them. > Or if there aren't that many, but there are some large ones thrown in. > > They all try to fir through the same pipe into the database, one after the > other. All well and good if the pipe doesn't get too full, but an issue > thereafter. > > I wrote something about this a little while back: > > "Some real world examples: > System A is an online registration system including payments for a > University - it handles about 1,000 requests a day and performs flawlessly > using FX. > > System B is an online academic paper search tool - it handles up to 1,000 > simple requests an hour at peak and performs flawlessly using FX. It is a > very simple though - flat file effectively. > > System C is an online survey tool that can make up to 100 requests in a > single page load, either creating or editing records using FX. The admin > section can make up to 400 requests in a single page load. This one works, > but struggles every now and again under the load. I would probably do this > one in mySQL if I'd known what was involved when we started. > > System D is an online registration tool for a University that has specific > registration dates for some *very* popular programs. It has a reasonable > amount of complexity, as it is for academic programs and there are a lot of > business rules. For about 360 days of the year, FX and FileMaker could > handle the load without any issue. Those other 5 days, however, see up to > 10,000 requests an hour - needless to say, it is built on a mySQL backend > and the users in the office use FileMaker to see that data via ESS. > > So, you need to examine how complex your queries are, how often they > occur, and how much data will be passed in order to determine which tool is > the best to use." > > _______________________________________________ > 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/20120312/c9dc49f7/attachment.html From malcolm at notyourhomework.net Tue Mar 13 00:45:46 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Tue Mar 13 00:12:25 2012 Subject: [FX.php List] Are there any FMCakeMix war stories? In-Reply-To: <6A61C07A-017D-4648-B4FC-DBE6DCFBBF45@nicheit.com.au> References: <6A61C07A-017D-4648-B4FC-DBE6DCFBBF45@nicheit.com.au> Message-ID: On 13/03/2012, at 1:51 PM, Tim 'Webko' Booth wrote: > IMO, it doesn't really matter how the php code is generated / looked after - the bottleneck is the single-threaded (and 'wordy') nature of either the XML interface or the PHP API. > > Put simply, even small requests will bog down if there are a lot of them. Or if there aren't that many, but there are some large ones thrown in. > > They all try to fir through the same pipe into the database, one after the other. All well and good if the pipe doesn't get too full, but an issue thereafter. > > > So, you need to examine how complex your queries are, how often they occur, and how much data will be passed in order to determine which tool is the best to use." That's food for thought. In the back of my head I know that FMS has it's limits though I haven't run into them yet. My concern is that this project may, initially, be handled by FMS but as it grows up it may become too big. My interest in FMCakeMix is that it would allow us to develop the web app using Filemaker. If the web load does increase past FMS's comfort level we can easily switch to SQL without having to re-code the web site. Malcolm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120313/2582284b/attachment.html From beverlyvoth at gmail.com Tue Mar 13 06:08:38 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Tue Mar 13 05:35:18 2012 Subject: [FX.php List] Are there any FMCakeMix war stories? In-Reply-To: <4940948A-2D71-40B5-833D-58F9A0BEBFB2@gmail.com> References: <4940948A-2D71-40B5-833D-58F9A0BEBFB2@gmail.com> Message-ID: <52A791D1-9B14-4876-AE93-304E193FA22D@gmail.com> Yes, Nick, what do you mean by "separate"? Do you create more than one user for the queries, or just a separate one for finds, ( and one for adds, edits, deletes )? If so, how does that help ( to have more than one account to access the database when web publishing )? Beverly On 12 Mar 2012, at 10:20 PM, Nick Salonen wrote: > In FileMaker, a user that has fmxml privilege to make queries. > > Sent from my iPhone > > On Mar 12, 2012, at 12:03 PM, BEVERLY VOTH wrote: > >> Nick, can you expound on this statement "separate user" ? >> >> Thank you, >> Beverly >> On 12 Mar 2012, at 12:52 AM, Nick wrote: >> >>> I usually make a separate user for findquery requests. From dsomar at gmail.com Tue Mar 13 15:23:09 2012 From: dsomar at gmail.com (Denis Somar) Date: Tue Mar 13 14:50:04 2012 Subject: [FX.php List] iPhone template In-Reply-To: <5BB8993C-63A2-44F1-978D-A663C7D845BD@gmail.com> References: <6244CB0A-7891-48EE-82C6-84680ECB69C5@bluecrocodile.co.nz> <9E9F5262-0F0F-4A0E-A5B1-26B12650C24B@gmail.com> <5BB8993C-63A2-44F1-978D-A663C7D845BD@gmail.com> Message-ID: Also, Sencha Touch 2 just came out, is free, and is worth a look. On Thu, Mar 8, 2012 at 2:17 PM, Denis Somar wrote: > Twitter bootstrap is good, free and blends from full site to mobile app > well > > Cheers > Denis > > > > On Mar 8, 2012, at 9:44 AM, Dale Bengston wrote: > > > There's also jQTouch, but I believe it's still in beta. > > Dale > > > > On Mar 8, 2012, at 9:37 AM, Steve Winter wrote: > > > >> Though not strictly speaking a template as such, take a look at jQuery > Mobile, which provides a framework to build a mobile site using, including > a raft of styles etc... > >> > >>> Does anyone know a good iPhone app design template that I could build > an fx.php backend for? > >>> > >>> Jon Lanclos, CRP, CCHP > >>> jon@lanclos.com > >>> 713-256-4413_______________________________________________ > >>> FX.php_List mailing list > >>> FX.php_List@mail.iviking.org > >>> http://www.iviking.org/mailman/listinfo/fx.php_list > >> > >> Steve Winter > >> +44 777 852 4776 > >> steve@bluecrocodile.co.nz > >> > >> > >> > >> > >> _______________________________________________ > >> FX.php_List mailing list > >> FX.php_List@mail.iviking.org > >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120313/5e175b43/attachment.html From jschwartz at exit445.com Tue Mar 13 19:03:29 2012 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Tue Mar 13 18:30:09 2012 Subject: [FX.php List] Change log function? In-Reply-To: <7FD9556A-463B-4F84-A88E-A2D90C50EA62@patin.com> References: <7FD9556A-463B-4F84-A88E-A2D90C50EA62@patin.com> Message-ID: Hi Bob, I would approach this in following way: - Write an array of all the starting form values when the page is displayed. Save to session. - write an array of newly posted form values. - compare the two array, detecting and saving the changes, which you could write to a single field in a log record. How's that sound? Jonathan Schwartz Exit 445 Group 415-370-5011 On Mar 12, 2012, at 3:10 PM, Bob Patin wrote: > I have a client whose web app I just finished; I've put change logging into the database, but now he's asking if it's possible to put some sort of change log into the web app as well. > > Has anyone done this before? The records I'd be logging have about 200 fields, which makes it a lot more than just a half-dozen to track, and hence my question as to whether someone has this function already written. > > Any insight appreciated! > > Thanks, > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From bob at patin.com Wed Mar 14 05:22:08 2012 From: bob at patin.com (Bob Patin) Date: Wed Mar 14 04:48:41 2012 Subject: [FX.php List] Change log function? In-Reply-To: References: <7FD9556A-463B-4F84-A88E-A2D90C50EA62@patin.com> Message-ID: <1A5ED520-6488-4ED2-BD2B-7FBE280A5977@patin.com> Well, if I decide to do it that's what I was going to do; I'd also have to save field names too. The problem is that each record has approx. 200 fields in it, all of which are potentially editable on the web. That's why I was hoping someone had figured out an easier way or already spun it? :) I have an idea: you write it and then just give it to me! BP Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker On Mar 13, 2012, at 8:03 PM, Jonathan Schwartz wrote: > I would approach this in following way: > > - Write an array of all the starting form values when the page is displayed. Save to session. > > - write an array of newly posted form values. > > - compare the two array, detecting and saving the changes, which you could write to a single field in a log record. > > How's that sound? From william.downs at gmail.com Wed Mar 14 10:11:50 2012 From: william.downs at gmail.com (William Downs) Date: Wed Mar 14 09:35:54 2012 Subject: [FX.php List] Change log function? In-Reply-To: <1A5ED520-6488-4ED2-BD2B-7FBE280A5977@patin.com> References: <7FD9556A-463B-4F84-A88E-A2D90C50EA62@patin.com> <1A5ED520-6488-4ED2-BD2B-7FBE280A5977@patin.com> Message-ID: <1B993E71-B463-4C38-AD3D-EEB1CF711ECC@gmail.com> Perhaps the following ... array_diff_assoc($array1, $array2) On 14 Mar 2012, at 11:22, Bob Patin wrote: > Well, if I decide to do it that's what I was going to do; I'd also have to save field names too. The problem is that each record has approx. 200 fields in it, all of which are potentially editable on the web. > > That's why I was hoping someone had figured out an easier way or already spun it? :) > > I have an idea: you write it and then just give it to me! > > BP > > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > On Mar 13, 2012, at 8:03 PM, Jonathan Schwartz wrote: > >> I would approach this in following way: >> >> - Write an array of all the starting form values when the page is displayed. Save to session. >> >> - write an array of newly posted form values. >> >> - compare the two array, detecting and saving the changes, which you could write to a single field in a log record. >> >> How's that sound? > > _______________________________________________ > 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/20120314/0f999d28/attachment.html From malcolm at notyourhomework.net Wed Mar 14 16:52:37 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Wed Mar 14 16:19:08 2012 Subject: [FX.php List] Change log function? In-Reply-To: <1A5ED520-6488-4ED2-BD2B-7FBE280A5977@patin.com> References: <7FD9556A-463B-4F84-A88E-A2D90C50EA62@patin.com> <1A5ED520-6488-4ED2-BD2B-7FBE280A5977@patin.com> Message-ID: <7CBD15E9-3FC8-481C-8C60-5DA40D8CF968@notyourhomework.net> On 14/03/2012, at 10:22 PM, Bob Patin wrote: > Well, if I decide to do it that's what I was going to do; I'd also have to save field names too. The problem is that each record has approx. 200 fields in it, all of which are potentially editable on the web. What are the crocodile tears for? You don't have to print them all and check them by hand. You're simply going to run a test in a loop. foreach ($_POST ) { if ($stored[$key] = $val ) { $changed[$key] = $val ; } } malcolm From bob at patin.com Wed Mar 14 19:10:18 2012 From: bob at patin.com (Bob Patin) Date: Wed Mar 14 18:36:40 2012 Subject: [FX.php List] Change log function? In-Reply-To: <7CBD15E9-3FC8-481C-8C60-5DA40D8CF968@notyourhomework.net> References: <7FD9556A-463B-4F84-A88E-A2D90C50EA62@patin.com> <1A5ED520-6488-4ED2-BD2B-7FBE280A5977@patin.com> <7CBD15E9-3FC8-481C-8C60-5DA40D8CF968@notyourhomework.net> Message-ID: HUH? Crocodile tears? On Mar 14, 2012, at 5:52 PM, Malcolm Fitzgerald wrote: > What are the crocodile tears for? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120314/676c74a6/attachment.html From leo at finalresort.org Wed Mar 14 19:11:08 2012 From: leo at finalresort.org (Leo R. Lundgren) Date: Wed Mar 14 18:37:42 2012 Subject: [FX.php List] Change log function? In-Reply-To: References: <7FD9556A-463B-4F84-A88E-A2D90C50EA62@patin.com> <1A5ED520-6488-4ED2-BD2B-7FBE280A5977@patin.com> <7CBD15E9-3FC8-481C-8C60-5DA40D8CF968@notyourhomework.net> Message-ID: <08FC3BEF-53CD-4C90-92D1-D1E9C788D6A7@finalresort.org> Never question the crocodile tears. 15 mar 2012 kl. 02.10 skrev Bob Patin: > HUH? > > Crocodile tears? > > On Mar 14, 2012, at 5:52 PM, Malcolm Fitzgerald wrote: > >> What are the crocodile tears for? > > _______________________________________________ > 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/20120315/88025026/attachment-0001.html From bob at patin.com Wed Mar 14 19:16:25 2012 From: bob at patin.com (Bob Patin) Date: Wed Mar 14 18:42:46 2012 Subject: [FX.php List] Change log function? In-Reply-To: <08FC3BEF-53CD-4C90-92D1-D1E9C788D6A7@finalresort.org> References: <7FD9556A-463B-4F84-A88E-A2D90C50EA62@patin.com> <1A5ED520-6488-4ED2-BD2B-7FBE280A5977@patin.com> <7CBD15E9-3FC8-481C-8C60-5DA40D8CF968@notyourhomework.net> <08FC3BEF-53CD-4C90-92D1-D1E9C788D6A7@finalresort.org> Message-ID: I wouldn't if I knew what they were... :) On Mar 14, 2012, at 8:11 PM, Leo R. Lundgren wrote: > Never question the crocodile tears. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120314/6b3c90f4/attachment.html From bob at patin.com Wed Mar 14 19:18:05 2012 From: bob at patin.com (Bob Patin) Date: Wed Mar 14 18:44:26 2012 Subject: [FX.php List] Change log function? In-Reply-To: <08FC3BEF-53CD-4C90-92D1-D1E9C788D6A7@finalresort.org> References: <7FD9556A-463B-4F84-A88E-A2D90C50EA62@patin.com> <1A5ED520-6488-4ED2-BD2B-7FBE280A5977@patin.com> <7CBD15E9-3FC8-481C-8C60-5DA40D8CF968@notyourhomework.net> <08FC3BEF-53CD-4C90-92D1-D1E9C788D6A7@finalresort.org> Message-ID: Definition: Crocodile tears (or superficial sympathy) are a false or insincere display of emotion such as a hypocrite crying fake tears of grief. So now that I recall the definition, it makes even less sense. Oh well, whatever... BP On Mar 14, 2012, at 8:11 PM, Leo R. Lundgren wrote: > Never question the crocodile tears. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120314/3ae535ad/attachment.html From dale.bengston at gmail.com Wed Mar 14 21:41:14 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Wed Mar 14 21:07:46 2012 Subject: [FX.php List] Change log function? In-Reply-To: References: <7FD9556A-463B-4F84-A88E-A2D90C50EA62@patin.com> <1A5ED520-6488-4ED2-BD2B-7FBE280A5977@patin.com> <7CBD15E9-3FC8-481C-8C60-5DA40D8CF968@notyourhomework.net> <08FC3BEF-53CD-4C90-92D1-D1E9C788D6A7@finalresort.org> Message-ID: I think the U.S. equivalent is more along the lines of no use crying over spilled milk. If you're storing any field names & data at all for an audit trail, no use getting bothered about storing lots of field names and data. The coding overhead is the same either way. Dale On Mar 14, 2012, at 8:18 PM, Bob Patin wrote: > Definition: Crocodile tears (or superficial sympathy) are a false or insincere display of emotion such as a hypocrite crying fake tears of grief. > > So now that I recall the definition, it makes even less sense. Oh well, whatever... > > BP > > > On Mar 14, 2012, at 8:11 PM, Leo R. Lundgren wrote: > >> Never question the crocodile tears. > > _______________________________________________ > 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/20120314/f1cf262f/attachment.html From malcolm at notyourhomework.net Wed Mar 14 23:53:55 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Wed Mar 14 23:20:25 2012 Subject: [FX.php List] Change log function? In-Reply-To: References: <7FD9556A-463B-4F84-A88E-A2D90C50EA62@patin.com> <1A5ED520-6488-4ED2-BD2B-7FBE280A5977@patin.com> <7CBD15E9-3FC8-481C-8C60-5DA40D8CF968@notyourhomework.net> <08FC3BEF-53CD-4C90-92D1-D1E9C788D6A7@finalresort.org> Message-ID: <907DFB48-0842-4B33-9442-8DF5DD429C3D@notyourhomework.net> On 15/03/2012, at 2:41 PM, Dale Bengston wrote: > I think the U.S. equivalent is more along the lines of no use crying over spilled milk. If you're storing any field names & data at all for an audit trail, no use getting bothered about storing lots of field names and data. The coding overhead is the same either way. Yes, thank you Dale, for clearing that up for me. malcolm From dale.bengston at gmail.com Thu Mar 15 00:22:23 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Wed Mar 14 23:49:02 2012 Subject: [FX.php List] Change log function? In-Reply-To: <907DFB48-0842-4B33-9442-8DF5DD429C3D@notyourhomework.net> References: <7FD9556A-463B-4F84-A88E-A2D90C50EA62@patin.com> <1A5ED520-6488-4ED2-BD2B-7FBE280A5977@patin.com> <7CBD15E9-3FC8-481C-8C60-5DA40D8CF968@notyourhomework.net> <08FC3BEF-53CD-4C90-92D1-D1E9C788D6A7@finalresort.org> <907DFB48-0842-4B33-9442-8DF5DD429C3D@notyourhomework.net> Message-ID: <4E811BB9-7E87-433A-80DE-06181B1A6563@gmail.com> Was it Churchill who described the US and UK as "two nations divided by a common language?" Dale On Mar 15, 2012, at 12:53 AM, Malcolm Fitzgerald wrote: > On 15/03/2012, at 2:41 PM, Dale Bengston wrote: > >> I think the U.S. equivalent is more along the lines of no use crying over spilled milk. If you're storing any field names & data at all for an audit trail, no use getting bothered about storing lots of field names and data. The coding overhead is the same either way. > > Yes, thank you Dale, for clearing that up for me. > > malcolm > > _______________________________________________ > 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 Mar 15 05:19:54 2012 From: bob at patin.com (Bob Patin) Date: Thu Mar 15 04:46:24 2012 Subject: [FX.php List] Change log function? In-Reply-To: <4E811BB9-7E87-433A-80DE-06181B1A6563@gmail.com> References: <7FD9556A-463B-4F84-A88E-A2D90C50EA62@patin.com> <1A5ED520-6488-4ED2-BD2B-7FBE280A5977@patin.com> <7CBD15E9-3FC8-481C-8C60-5DA40D8CF968@notyourhomework.net> <08FC3BEF-53CD-4C90-92D1-D1E9C788D6A7@finalresort.org> <907DFB48-0842-4B33-9442-8DF5DD429C3D@notyourhomework.net> <4E811BB9-7E87-433A-80DE-06181B1A6563@gmail.com> Message-ID: <6950B4B4-E3CD-4C92-8809-1521F775DCE6@patin.com> Then of course there's the pseudo-English of the South, which (if one is to concede that they're actually using a language) would make a 3rd variant? :) BP On Mar 15, 2012, at 1:22 AM, Dale Bengston wrote: > Was it Churchill who described the US and UK as "two nations divided by a common language?" > > Dale > > On Mar 15, 2012, at 12:53 AM, Malcolm Fitzgerald wrote: > >> On 15/03/2012, at 2:41 PM, Dale Bengston wrote: >> >>> I think the U.S. equivalent is more along the lines of no use crying over spilled milk. If you're storing any field names & data at all for an audit trail, no use getting bothered about storing lots of field names and data. The coding overhead is the same either way. >> >> Yes, thank you Dale, for clearing that up for me. >> >> 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 jschwartz at exit445.com Thu Mar 15 05:46:57 2012 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Thu Mar 15 05:17:39 2012 Subject: [FX.php List] Change log function? In-Reply-To: <6950B4B4-E3CD-4C92-8809-1521F775DCE6@patin.com> References: <7FD9556A-463B-4F84-A88E-A2D90C50EA62@patin.com> <1A5ED520-6488-4ED2-BD2B-7FBE280A5977@patin.com> <7CBD15E9-3FC8-481C-8C60-5DA40D8CF968@notyourhomework.net> <08FC3BEF-53CD-4C90-92D1-D1E9C788D6A7@finalresort.org> <907DFB48-0842-4B33-9442-8DF5DD429C3D@notyourhomework.net> <4E811BB9-7E87-433A-80DE-06181B1A6563@gmail.com> <6950B4B4-E3CD-4C92-8809-1521F775DCE6@patin.com> Message-ID: So...Bob. Do you have the basic idea? You don't need to write out the fields. You already the newly submitted filed in the POST array. And you have the original fields in the $result array. Your task: Compare and write out a log record that lists the changes. I would build a three field array in the compare step above fieldname original_value changed_value ... and then build a string in the logging step. This should keep you busy for a couple of hours. ;-) J At 6:19 AM -0500 3/15/12, Bob Patin wrote: >Then of course there's the pseudo-English of the >South, which (if one is to concede that they're >actually using a language) would make a 3rd >variant? :) > >BP > >On Mar 15, 2012, at 1:22 AM, Dale Bengston wrote: > >> Was it Churchill who described the US and UK >>as "two nations divided by a common language?" >> >> Dale >> >> On Mar 15, 2012, at 12:53 AM, Malcolm Fitzgerald wrote: >> >>> On 15/03/2012, at 2:41 PM, Dale Bengston wrote: >>> >>>> I think the U.S. equivalent is more along >>>>the lines of no use crying over spilled milk. >>>>If you're storing any field names & data at >>>>all for an audit trail, no use getting >>>>bothered about storing lots of field names >>>>and data. The coding overhead is the same >>>>either way. >>> >>> Yes, thank you Dale, for clearing that up for me. >>> >>> 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 -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From whatdoyouwant at gmail.com Sun Mar 18 10:03:44 2012 From: whatdoyouwant at gmail.com (Nick) Date: Sun Mar 18 09:30:00 2012 Subject: [FX.php List] Are there any FMCakeMix war stories? In-Reply-To: <52A791D1-9B14-4876-AE93-304E193FA22D@gmail.com> References: <4940948A-2D71-40B5-833D-58F9A0BEBFB2@gmail.com> <52A791D1-9B14-4876-AE93-304E193FA22D@gmail.com> Message-ID: No, only a separate one for using findquery. Findquery queues a number of actions in one large query, and the filemaker user you are querying with can make other findquery actions wait. It really depends on the volume. On Tue, Mar 13, 2012 at 7:08 AM, BEVERLY VOTH wrote: > Yes, Nick, what do you mean by "separate"? Do you create more than one > user for the queries, or just a separate one for finds, ( and one for adds, > edits, deletes )? If so, how does that help ( to have more than one account > to access the database when web publishing )? > > Beverly > > > On 12 Mar 2012, at 10:20 PM, Nick Salonen wrote: > > > In FileMaker, a user that has fmxml privilege to make queries. > > > > Sent from my iPhone > > > > On Mar 12, 2012, at 12:03 PM, BEVERLY VOTH > wrote: > > > >> Nick, can you expound on this statement "separate user" ? > >> > >> Thank you, > >> Beverly > >> On 12 Mar 2012, at 12:52 AM, Nick wrote: > >> > >>> I usually make a separate user for findquery requests. > _______________________________________________ > 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/20120318/86e31339/attachment-0001.html From jschwartz at exit445.com Sun Mar 18 10:21:39 2012 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Sun Mar 18 09:49:51 2012 Subject: [FX.php List] Cyclical WebPublishingEngine CPU spikes Message-ID: Hi Folks, I'm struggling with a new Windows Server 2008 installation of (two) two machine deployment of FMS 11. The WPE is quitting under load. I am concerned about what I see in Task Manager: a regular pattern of 30 second long CPU "spikes" occurring every 60 seconds, taking 50% of the CPU. This is with no real traffic on the server. Here is screen shot: http://www.exit445.com/images/CPUGraph1.png You can see the cycles. You can also see just a few spikes which represent a test query being run on the server. It seems to START at the 50% CPU level when it coincides with one of the 30 second spikes. My experience is in OS X Server. I have never seen this before. Although, we have another new identical FMS 11 server which demonstrates the same pattern. I understand from a little research that it is FMadminserver.exe that might be responsible, and logging might be the reason. I can't believe that an admin function takes half the CPU. Any comments? Jonathan -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From steve at bluecrocodile.co.nz Sun Mar 18 10:35:59 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Sun Mar 18 10:02:19 2012 Subject: [FX.php List] Cyclical WebPublishingEngine CPU spikes In-Reply-To: References: Message-ID: <68A17966-6449-4DF7-B81D-D43C52FAC390@bluecrocodile.co.nz> Which process, or processes are causing those spikes... Sent from the iPhone of Steve Winter Matatiro Solutions steve@matatirosolutions.co.uk +44 777 852 4776 On 18 Mar 2012, at 16:21, Jonathan Schwartz wrote: > Hi Folks, > > I'm struggling with a new Windows Server 2008 installation of (two) two machine deployment of FMS 11. > > The WPE is quitting under load. > > I am concerned about what I see in Task Manager: a regular pattern of 30 second long CPU "spikes" occurring every 60 seconds, taking 50% of the CPU. This is with no real traffic on the server. > > Here is screen shot: > > http://www.exit445.com/images/CPUGraph1.png > > You can see the cycles. You can also see just a few spikes which represent a test query being run on the server. It seems to START at the 50% CPU level when it coincides with one of the 30 second spikes. > > My experience is in OS X Server. I have never seen this before. Although, we have another new identical FMS 11 server which demonstrates the same pattern. > > I understand from a little research that it is FMadminserver.exe that might be responsible, and logging might be the reason. > > I can't believe that an admin function takes half the CPU. > > Any comments? > > Jonathan > -- > Jonathan Schwartz > Exit 445 Group > jonathan@exit445.com > http://www.exit445.com > 415-370-5011 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From jschwartz at exit445.com Sun Mar 18 10:45:46 2012 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Sun Mar 18 10:12:25 2012 Subject: [FX.php List] Cyclical WebPublishingEngine CPU spikes In-Reply-To: <68A17966-6449-4DF7-B81D-D43C52FAC390@bluecrocodile.co.nz> References: <68A17966-6449-4DF7-B81D-D43C52FAC390@bluecrocodile.co.nz> Message-ID: Steve, It is fmsadminserver.exe http://www.exit445.com/images/ProcessList.png The fact that you needed to ask is encouraging....that this is not a ""they all do that" problem. ;-) Again, two different brand new machines show the same behavior. Jonathan At 4:35 PM +0000 3/18/12, Steve Winter wrote: >Which process, or processes are causing those spikes... > -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From dsomar at gmail.com Sun Mar 18 12:29:36 2012 From: dsomar at gmail.com (Denis Somar) Date: Sun Mar 18 11:56:11 2012 Subject: [FX.php List] Are there any FMCakeMix war stories? In-Reply-To: References: <4940948A-2D71-40B5-833D-58F9A0BEBFB2@gmail.com> <52A791D1-9B14-4876-AE93-304E193FA22D@gmail.com> Message-ID: Nick, This is really interesting and I'm really curious as to how you arrived at this best practice ? Cheers, Denis On Sun, Mar 18, 2012 at 12:03 PM, Nick wrote: > No, only a separate one for using findquery. ?Findquery queues a number of > actions in one large query, and the filemaker user you are querying with can > make other findquery actions wait. ?It really depends on the volume. > > > On Tue, Mar 13, 2012 at 7:08 AM, BEVERLY VOTH wrote: >> >> Yes, Nick, what do you mean by "separate"? Do you create more than one >> user for the queries, or just a separate one for finds, ( and one for adds, >> edits, deletes )? If so, how does that help ( to have more than one account >> to access the database when web publishing )? >> >> Beverly >> >> >> On 12 Mar 2012, at 10:20 PM, Nick Salonen wrote: >> >> > In FileMaker, a user that has fmxml privilege to make queries. >> > >> > Sent from my iPhone >> > >> > On Mar 12, 2012, at 12:03 PM, BEVERLY VOTH >> > wrote: >> > >> >> Nick, can you expound on this statement "separate user" ? >> >> >> >> Thank you, >> >> Beverly >> >> On 12 Mar 2012, at 12:52 AM, Nick wrote: >> >> >> >>> I usually make a separate user for findquery requests. >> _______________________________________________ >> 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 Sun Mar 18 13:18:24 2012 From: dsomar at gmail.com (Denis Somar) Date: Sun Mar 18 12:44:59 2012 Subject: [FX.php List] Using OpenID? Message-ID: Everytime I think I get a leg up on PHP, it smacks me back down ;-) I've implemented a basic user login scheme for my site with FMSAv11 and PHP, but the more I dig into security, the more I see the advantage of using OpenID. Has anyone got this setup on a Mac using FMSAv11?? I'm a little lost as to the install instructions on some packages so I'm curious if anyone else has gone this route? Cheers, Denis From erik at avalonia.net Sat Mar 17 12:00:31 2012 From: erik at avalonia.net (=?iso-8859-1?Q?Erik_Andreas_Cayr=E9?=) Date: Mon Mar 19 07:21:26 2012 Subject: [FX.php List] FX 6.0 PHP Notice on PHP 4.3.6? Message-ID: <32DF03B8-CD97-4A25-983C-2B4D44CD09E1@avalonia.net> Hi all, I'm building a PHP script to automate things on a Mac server running iTools from Tenon Intersystems. For now, I run the script as root from a Terminal session. Among other things, it stuffs information into a FileMaker DB hosted on FMS11 using FX.php 6.0. I built and tested the first generation on Mac OS X 10.5.8 with PHP 5.2.15. This works as expected. When I run the same script on Mac OS X 10.3.9 with PHP 4.3.6, it still does what I expect, but I get Notice: Use of undefined constant CURLAUTH_BASIC - assumed 'CURLAUTH_BASIC' in /Users/webowner/lib/FX/datasource_classes/RetrieveFM7Data.class.php on line 161 Does anyone have a clue why? Best regards Erik Andreas Cayr? Sysadmin Avalonia.net Jernbanegade 27 DK-6000 Kolding T +45 70 27 29 30 www.avalonia.net From dale.bengston at gmail.com Mon Mar 19 08:32:08 2012 From: dale.bengston at gmail.com (Dale Bengston) Date: Mon Mar 19 07:58:22 2012 Subject: [FX.php List] FX 6.0 PHP Notice on PHP 4.3.6? In-Reply-To: <32DF03B8-CD97-4A25-983C-2B4D44CD09E1@avalonia.net> References: <32DF03B8-CD97-4A25-983C-2B4D44CD09E1@avalonia.net> Message-ID: <83D9BFAA-A322-443B-AA10-658C5AC1022D@gmail.com> Hi Erik, This is speculation, but it looks like cURL under PHP 4 is expecting different parameters/constants than cURL under PHP 5. Without looking at your PHP script, it's difficult to tell what's going on. If the script works but just throws the notice, you can probably choose to ignore it if you don't feel like digging into cURL settings. Dale On Mar 17, 2012, at 1:00 PM, Erik Andreas Cayr? wrote: > Hi all, > > I'm building a PHP script to automate things on a Mac server running iTools from Tenon Intersystems. > For now, I run the script as root from a Terminal session. > Among other things, it stuffs information into a FileMaker DB hosted on FMS11 using FX.php 6.0. > > I built and tested the first generation on Mac OS X 10.5.8 with PHP 5.2.15. This works as expected. > > When I run the same script on Mac OS X 10.3.9 with PHP 4.3.6, it still does what I expect, but I get > > Notice: Use of undefined constant CURLAUTH_BASIC - assumed 'CURLAUTH_BASIC' in /Users/webowner/lib/FX/datasource_classes/RetrieveFM7Data.class.php on line 161 > > Does anyone have a clue why? > > Best regards > > Erik Andreas Cayr? > Sysadmin > > Avalonia.net > Jernbanegade 27 > DK-6000 Kolding > T +45 70 27 29 30 > www.avalonia.net > > _______________________________________________ > 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 Mar 19 10:24:40 2012 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Mon Mar 19 09:50:54 2012 Subject: [FX.php List] Cyclical WebPublishingEngine CPU spikes In-Reply-To: References: <68A17966-6449-4DF7-B81D-D43C52FAC390@bluecrocodile.co.nz> Message-ID: <80D11B3A-75B9-476F-B127-FCCA3494D7F2@exit445.com> Any comments from anyone? Beuhler? Beuhler? Beuhler? Jonathan Schwartz Exit 445 Group 415-370-5011 On Mar 18, 2012, at 9:45 AM, Jonathan Schwartz wrote: > Steve, > > It is fmsadminserver.exe > > http://www.exit445.com/images/ProcessList.png > > The fact that you needed to ask is encouraging....that this is not a ""they all do that" problem. ;-) > > Again, two different brand new machines show the same behavior. > > Jonathan > > At 4:35 PM +0000 3/18/12, Steve Winter wrote: >> Which process, or processes are causing those spikes... >> > > -- > Jonathan Schwartz > Exit 445 Group > jonathan@exit445.com > http://www.exit445.com > 415-370-5011 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From steve at bluecrocodile.co.nz Mon Mar 19 10:28:29 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Mon Mar 19 09:54:44 2012 Subject: [FX.php List] Cyclical WebPublishingEngine CPU spikes In-Reply-To: <80D11B3A-75B9-476F-B127-FCCA3494D7F2@exit445.com> References: <68A17966-6449-4DF7-B81D-D43C52FAC390@bluecrocodile.co.nz> <80D11B3A-75B9-476F-B127-FCCA3494D7F2@exit445.com> Message-ID: Not really? I've got a much lower specced server on which fmadminserver never uses anything much at all in terms of CPU? Is the admin console open when you're seeing those spikes?? what happens if you close it??? Beuhler ??? S > Any comments from anyone? > > Beuhler? > > Beuhler? > > Beuhler? > > Jonathan Schwartz > Exit 445 Group > 415-370-5011 > > On Mar 18, 2012, at 9:45 AM, Jonathan Schwartz wrote: > >> Steve, >> >> It is fmsadminserver.exe >> >> http://www.exit445.com/images/ProcessList.png >> >> The fact that you needed to ask is encouraging....that this is not a ""they all do that" problem. ;-) >> >> Again, two different brand new machines show the same behavior. >> >> Jonathan >> >> At 4:35 PM +0000 3/18/12, Steve Winter wrote: >>> Which process, or processes are causing those spikes... >>> >> >> -- >> Jonathan Schwartz >> Exit 445 Group >> jonathan@exit445.com >> http://www.exit445.com >> 415-370-5011 >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz From jschwartz at exit445.com Mon Mar 19 11:35:28 2012 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Mon Mar 19 11:02:07 2012 Subject: [FX.php List] Cyclical WebPublishingEngine CPU spikes In-Reply-To: References: <68A17966-6449-4DF7-B81D-D43C52FAC390@bluecrocodile.co.nz> <80D11B3A-75B9-476F-B127-FCCA3494D7F2@exit445.com> Message-ID: Console(s) are not open. This pattern is pretty dramatic. It consumes half the CPU, half of the time. I'm just asking...is this normal in the Window FMS 11 world? I'm hoping it is not, in which case we will conclude bad installations and go from there. Jonathan At 4:28 PM +0000 3/19/12, Steve Winter wrote: >Not really? I've got a much lower specced server >on which fmadminserver never uses anything much >at all in terms of CPU? > >Is the admin console open when you're seeing >those spikes?? what happens if you close it??? > >Beuhler ??? > >S > >> Any comments from anyone? >> >> Beuhler? >> >> Beuhler? >> >> Beuhler? >> >> Jonathan Schwartz >> Exit 445 Group >> 415-370-5011 >> >> On Mar 18, 2012, at 9:45 AM, Jonathan Schwartz >> wrote: >> >>> Steve, >>> >>> It is fmsadminserver.exe >>> >>> http://www.exit445.com/images/ProcessList.png >>> >>> The fact that you needed to ask is >>>encouraging....that this is not a ""they all >>>do that" problem. ;-) >>> >>> Again, two different brand new machines show the same behavior. >>> >>> Jonathan >>> >>> At 4:35 PM +0000 3/18/12, Steve Winter wrote: >>>> Which process, or processes are causing those spikes... >>>> >>> >>> -- >>> Jonathan Schwartz >>> Exit 445 Group >>> jonathan@exit445.com >>> http://www.exit445.com >>> 415-370-5011 >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > >Steve Winter >+44 777 852 4776 >steve@bluecrocodile.co.nz > > > > >_______________________________________________ >FX.php_List mailing list >FX.php_List@mail.iviking.org >http://www.iviking.org/mailman/listinfo/fx.php_list -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From steve at bluecrocodile.co.nz Mon Mar 19 11:47:46 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Mon Mar 19 11:13:59 2012 Subject: [FX.php List] Cyclical WebPublishingEngine CPU spikes In-Reply-To: References: <68A17966-6449-4DF7-B81D-D43C52FAC390@bluecrocodile.co.nz> <80D11B3A-75B9-476F-B127-FCCA3494D7F2@exit445.com> Message-ID: <974B989B-02E1-440E-906E-F43E3BAC8813@bluecrocodile.co.nz> Hi Jonathan > Console(s) are not open. Ok, that's 'best practice anyway, to not have them left open unless actually in use... > This pattern is pretty dramatic. It consumes half the CPU, half of the time. > > I'm just asking...is this normal in the Window FMS 11 world? Not in my experience? I've just looked at four different windows servers, and there's nothing like that showing? that said, all of the boxes I have quick easy access to are single-machine deployments, yet I think you said this was a two-machine setup??? > I'm hoping it is not, in which case we will > conclude bad installations and go from there. I'd be inclined to go with that approach and give reinstalling a go on one of them? Cheers Steve > > Jonathan > > At 4:28 PM +0000 3/19/12, Steve Winter wrote: >> Not really? I've got a much lower specced server >> on which fmadminserver never uses anything much >> at all in terms of CPU? >> >> Is the admin console open when you're seeing >> those spikes?? what happens if you close it??? >> >> Beuhler ??? >> >> S >> >>> Any comments from anyone? >>> >>> Beuhler? >>> >>> Beuhler? >>> >>> Beuhler? >>> >>> Jonathan Schwartz >>> Exit 445 Group >>> 415-370-5011 >>> >>> On Mar 18, 2012, at 9:45 AM, Jonathan Schwartz >>> wrote: >>> >>>> Steve, >>>> >>>> It is fmsadminserver.exe >>>> >>>> http://www.exit445.com/images/ProcessList.png >>>> >>>> The fact that you needed to ask is >>>> encouraging....that this is not a ""they all >>>> do that" problem. ;-) >>>> >>>> Again, two different brand new machines show the same behavior. >>>> >>>> Jonathan >>>> >>>> At 4:35 PM +0000 3/18/12, Steve Winter wrote: >>>>> Which process, or processes are causing those spikes... >>>>> >>>> >>>> -- >>>> Jonathan Schwartz >>>> Exit 445 Group >>>> jonathan@exit445.com >>>> http://www.exit445.com >>>> 415-370-5011 >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> Steve Winter >> +44 777 852 4776 >> steve@bluecrocodile.co.nz >> >> >> >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > -- > Jonathan Schwartz > Exit 445 Group > jonathan@exit445.com > http://www.exit445.com > 415-370-5011 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz From jschwartz at exit445.com Mon Mar 19 14:25:22 2012 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Mon Mar 19 13:51:58 2012 Subject: [FX.php List] Cyclical WebPublishingEngine CPU spikes In-Reply-To: <974B989B-02E1-440E-906E-F43E3BAC8813@bluecrocodile.co.nz> References: <68A17966-6449-4DF7-B81D-D43C52FAC390@bluecrocodile.co.nz> <80D11B3A-75B9-476F-B127-FCCA3494D7F2@exit445.com> <974B989B-02E1-440E-906E-F43E3BAC8813@bluecrocodile.co.nz> Message-ID: For those of you not acquainted with "Ferris Buedhler's Day Off", the American classic baby-boomer movie from the 80's.... http://www.youtube.com/watch?v=G7zYyTotwfE Jonathan At 5:47 PM +0000 3/19/12, Steve Winter wrote: > > > >> >>> Beuhler S?? > >> -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From steve at bluecrocodile.co.nz Mon Mar 19 14:36:47 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Mon Mar 19 14:03:03 2012 Subject: [FX.php List] Cyclical WebPublishingEngine CPU spikes In-Reply-To: References: <68A17966-6449-4DF7-B81D-D43C52FAC390@bluecrocodile.co.nz> <80D11B3A-75B9-476F-B127-FCCA3494D7F2@exit445.com> <974B989B-02E1-440E-906E-F43E3BAC8813@bluecrocodile.co.nz> Message-ID: I feel enlightened ;-) > For those of you not acquainted with "Ferris Buedhler's Day Off", the > American classic baby-boomer movie from the 80's.... > > http://www.youtube.com/watch?v=G7zYyTotwfE > > > Jonathan > > > At 5:47 PM +0000 3/19/12, Steve Winter wrote: >> >> >>>> >>>> Beuhler S?? >>>> > > -- > Jonathan Schwartz > Exit 445 Group > jonathan@exit445.com > http://www.exit445.com > 415-370-5011 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz From bob at patin.com Mon Mar 19 14:48:03 2012 From: bob at patin.com (Bob Patin) Date: Mon Mar 19 14:14:14 2012 Subject: [FX.php List] Cyclical WebPublishingEngine CPU spikes In-Reply-To: References: <68A17966-6449-4DF7-B81D-D43C52FAC390@bluecrocodile.co.nz> <80D11B3A-75B9-476F-B127-FCCA3494D7F2@exit445.com> <974B989B-02E1-440E-906E-F43E3BAC8813@bluecrocodile.co.nz> Message-ID: On Mar 19, 2012, at 3:25 PM, Jonathan Schwartz wrote: > For those of you not acquainted with "Ferris Buedhler's Day Off", t How can anyone NOT know about Ferris Bueller's Day Off? For those who don't know vintage synths, that synth in the beginning of the movie is an Emu Emulator II, circa about 1984; I used to have one. System and samples (8-bit mono!) all fit on a 512K 5-?" floppy, two drives; newer ones had whopping 20MB drives in them, cost thousands. At the time they were about $6000; I gave mine away to the first person willing to haul it away? In fact, it used a fat connector to get to a Mac back in 1985, and I could edit samples in the computer, which was an amazing thing back in those early days; MIDI had just been introduced in 1984. OK, enough reminiscing? :) "? the Sausage King of Chicago?" Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120319/1af0df2c/attachment.html From steve at bluecrocodile.co.nz Mon Mar 19 16:46:17 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Mon Mar 19 16:12:33 2012 Subject: [FX.php List] [Off re:API]106 Table is missing Message-ID: Hi Anyone seen this before?? it's a new one on me, and I can't figure out what it actually means?? I'm attempting to update a record and create an entry in a portal in the same request. If I remove the record creation, the update works, but I can't get the record to create. Here's what I'm submitting; $inv = $_SESSION['orderDetails']['invoices_COMP.contIDUnpaid'][$id]; $amtPaid = ($inv['invoices_COMP.contIDUnpaid::FinalAmount']-$inv['invoices_COMP.contIDUnpaid::AmountPaid']); $data = array('PaymentStatus' => 'Paid', 'AmountPaid' => $amtPaid, 'DateRcdPayment' => date('m/d/Y'), 'ActivityLog_INVOICE.invID::_kfCompanyID.0' => $_SESSION['orderDetails']['_kContactID'], 'ActivityLog_INVOICE.invID::Type.0' => 'Invoice', 'ActivityLog_INVOICE.invID::_kfPaymentID.0' => $paymentID, 'ActivityLog_INVOICE.invID::Amount.0' => $amtPaid, 'ActivityLog_INVOICE.invID::Description.0' => $inv['invoices_COMP.contIDUnpaid::SageDescription'], 'ActivityLog_INVOICE.invID::Date.0' => date('m/d/Y'), 'ActivityLog_INVOICE.invID::Credit.0' => $amtPaid, ); $cmd = $fm->newEditCommand('webInvoices', $inv['recID'], $data); $res = $cmd->execute(); All the various variables 'check out' in terms of what they 'turn into': FileMaker_Command_Edit Object ( [_impl] => FileMaker_Command_Edit_Implementation Object ( [_fields] => Array ( [PaymentStatus] => Array ( [0] => Paid ) [AmountPaid] => Array ( [0] => 153.9 ) [DateRcdPayment] => Array ( [0] => 03/19/2012 ) [ActivityLog_INVOICE.invID::_kfCompanyID.0] => Array ( [0] => 006 ) [ActivityLog_INVOICE.invID::Type.0] => Array ( [0] => Invoice ) [ActivityLog_INVOICE.invID::_kfPaymentID.0] => Array ( [0] => 4-2-114097002821-6846199-11174-274793425141759 ) [ActivityLog_INVOICE.invID::Amount.0] => Array ( [0] => 153.9 ) [ActivityLog_INVOICE.invID::Description.0] => Array ( [0] => 500 55mm x 85mm Business Cards Luxury Matt Lamination Material: 400gsm Matt Lam printed to both sides onto 400gsm Satin, with Matt Lamination to both sides Artwork Name: arag ? ----- david haynes, andy talbot, matt warren Delivery Date: 08/02/2012 JOB No.: 227657 ) [ActivityLog_INVOICE.invID::Date.0] => Array ( [0] => 03/19/2012 ) [ActivityLog_INVOICE.invID::Credit.0] => Array ( [0] => 153.9 ) ) Here's my layout; I kinda figured it was a typo in my portal naming or something stoopid like that, but I can't spot it??? [FYI it's not my DB so don't give me a hard time about the field/portal naming 'conventions', 'cause they're not of my making, nor under my control] Any insight greatly appreciated... Cheers Steve Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz -------------- next part -------------- Skipped content of type multipart/related From tim at nicheit.com.au Mon Mar 19 16:58:22 2012 From: tim at nicheit.com.au (Tim 'Webko' Booth) Date: Mon Mar 19 16:24:36 2012 Subject: [FX.php List] [Off re:API]106 Table is missing In-Reply-To: References: Message-ID: Dear Steve, Never tried that approach... Two things: Are new records allowed to be created through the relationship? I assume yes, but worth checking And instinctively, I question whether a new (child) record can be created with an Edit command - I always use two queries to do something like this. And for invoicing, I tend to use FM calculations to determine if it the invoice is *really* paid (as most of my systems allow part payment), so I'd actually only add the child payment record and then check the parent record for the status. Cheers Webko > Hi > > Anyone seen this before?? it's a new one on me, and I can't figure > out what it actually means?? > > I'm attempting to update a record and create an entry in a portal in > the same request. If I remove the record creation, the update works, > but I can't get the record to create. Here's what I'm submitting; > > $inv = $_SESSION['orderDetails']['invoices_COMP.contIDUnpaid'][$id]; > $amtPaid = ($inv['invoices_COMP.contIDUnpaid::FinalAmount']- > $inv['invoices_COMP.contIDUnpaid::AmountPaid']); > $data = array('PaymentStatus' => 'Paid', 'AmountPaid' => $amtPaid, > 'DateRcdPayment' => date('m/d/Y'), > 'ActivityLog_INVOICE.invID::_kfCompanyID.0' => > $_SESSION['orderDetails']['_kContactID'], > 'ActivityLog_INVOICE.invID::Type.0' => 'Invoice', > 'ActivityLog_INVOICE.invID::_kfPaymentID.0' => $paymentID, > 'ActivityLog_INVOICE.invID::Amount.0' => $amtPaid, > 'ActivityLog_INVOICE.invID::Description.0' => > $inv['invoices_COMP.contIDUnpaid::SageDescription'], > 'ActivityLog_INVOICE.invID::Date.0' => date('m/d/Y'), > 'ActivityLog_INVOICE.invID::Credit.0' => $amtPaid, > ); > $cmd = $fm->newEditCommand('webInvoices', $inv['recID'], $data); > $res = $cmd->execute(); > > All the various variables 'check out' in terms of what they 'turn > into': > > FileMaker_Command_Edit Object > ( > [_impl] => FileMaker_Command_Edit_Implementation Object > ( > [_fields] => Array > ( > [PaymentStatus] => Array > ( > [0] => Paid > ) > > [AmountPaid] => Array > ( > [0] => 153.9 > ) > > [DateRcdPayment] => Array > ( > [0] => 03/19/2012 > ) > > [ActivityLog_INVOICE.invID::_kfCompanyID.0] => > Array > ( > [0] => 006 > ) > > [ActivityLog_INVOICE.invID::Type.0] => Array > ( > [0] => Invoice > ) > > [ActivityLog_INVOICE.invID::_kfPaymentID.0] => > Array > ( > [0] => > 4-2-114097002821-6846199-11174-274793425141759 > ) > > [ActivityLog_INVOICE.invID::Amount.0] => Array > ( > [0] => 153.9 > ) > > [ActivityLog_INVOICE.invID::Description.0] => > Array > ( > [0] => 500 55mm x 85mm Business Cards > Luxury Matt Lamination Material: 400gsm Matt Lam > > printed to both sides onto 400gsm Satin, with Matt Lamination to > both sides > Artwork Name: arag ? > ----- > david haynes, andy talbot, matt warren > > Delivery Date: 08/02/2012 > JOB No.: 227657 > ) > > [ActivityLog_INVOICE.invID::Date.0] => Array > ( > [0] => 03/19/2012 > ) > > [ActivityLog_INVOICE.invID::Credit.0] => Array > ( > [0] => 153.9 > ) > > ) > > Here's my layout; > > > I kinda figured it was a typo in my portal naming or something > stoopid like that, but I can't spot it??? [FYI it's not my DB so > don't give me a hard time about the field/portal naming > 'conventions', 'cause they're not of my making, nor under my control] > > Any insight greatly appreciated... > > Cheers > Steve > > > Steve Winter > +44 777 852 4776 > steve@bluecrocodile.co.nz > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Tim 'Webko' Booth Niche IT Pty Ltd PO Box 255 . Oatley . NSW . 2223 [m] 0418 993 306 http://www.nicheit.com.au FileMaker Training Partner for Australia and New Zealand FileMaker Business Alliance Member -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120320/a15571cd/attachment.html From malcolm at notyourhomework.net Mon Mar 19 17:22:36 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Mon Mar 19 16:48:48 2012 Subject: [FX.php List] [Off re:API]106 Table is missing In-Reply-To: References: Message-ID: <2796EC31-36D0-49F5-89F8-E8DC2F1B329E@notyourhomework.net> I can only suggest that you run the two steps separately. Malcolm On 20/03/2012, at 9:46 AM, Steve Winter wrote: > Hi > > Anyone seen this before?? it's a new one on me, and I can't figure out what it actually means?? > > I'm attempting to update a record and create an entry in a portal in the same request. If I remove the record creation, the update works, but I can't get the record to create. Here's what I'm submitting; > > $inv = $_SESSION['orderDetails']['invoices_COMP.contIDUnpaid'][$id]; > $amtPaid = ($inv['invoices_COMP.contIDUnpaid::FinalAmount']-$inv['invoices_COMP.contIDUnpaid::AmountPaid']); > $data = array('PaymentStatus' => 'Paid', 'AmountPaid' => $amtPaid, 'DateRcdPayment' => date('m/d/Y'), > 'ActivityLog_INVOICE.invID::_kfCompanyID.0' => $_SESSION['orderDetails']['_kContactID'], > 'ActivityLog_INVOICE.invID::Type.0' => 'Invoice', > 'ActivityLog_INVOICE.invID::_kfPaymentID.0' => $paymentID, > 'ActivityLog_INVOICE.invID::Amount.0' => $amtPaid, > 'ActivityLog_INVOICE.invID::Description.0' => $inv['invoices_COMP.contIDUnpaid::SageDescription'], > 'ActivityLog_INVOICE.invID::Date.0' => date('m/d/Y'), > 'ActivityLog_INVOICE.invID::Credit.0' => $amtPaid, > ); > $cmd = $fm->newEditCommand('webInvoices', $inv['recID'], $data); > $res = $cmd->execute(); > > All the various variables 'check out' in terms of what they 'turn into': > > FileMaker_Command_Edit Object > ( > [_impl] => FileMaker_Command_Edit_Implementation Object > ( > [_fields] => Array > ( > [PaymentStatus] => Array > ( > [0] => Paid > ) > > [AmountPaid] => Array > ( > [0] => 153.9 > ) > > [DateRcdPayment] => Array > ( > [0] => 03/19/2012 > ) > > [ActivityLog_INVOICE.invID::_kfCompanyID.0] => Array > ( > [0] => 006 > ) > > [ActivityLog_INVOICE.invID::Type.0] => Array > ( > [0] => Invoice > ) > > [ActivityLog_INVOICE.invID::_kfPaymentID.0] => Array > ( > [0] => 4-2-114097002821-6846199-11174-274793425141759 > ) > > [ActivityLog_INVOICE.invID::Amount.0] => Array > ( > [0] => 153.9 > ) > > [ActivityLog_INVOICE.invID::Description.0] => Array > ( > [0] => 500 55mm x 85mm Business Cards Luxury Matt Lamination Material: 400gsm Matt Lam > > printed to both sides onto 400gsm Satin, with Matt Lamination to both sides > Artwork Name: arag ? > ----- > david haynes, andy talbot, matt warren > > Delivery Date: 08/02/2012 > JOB No.: 227657 > ) > > [ActivityLog_INVOICE.invID::Date.0] => Array > ( > [0] => 03/19/2012 > ) > > [ActivityLog_INVOICE.invID::Credit.0] => Array > ( > [0] => 153.9 > ) > > ) > > Here's my layout; > > > I kinda figured it was a typo in my portal naming or something stoopid like that, but I can't spot it??? [FYI it's not my DB so don't give me a hard time about the field/portal naming 'conventions', 'cause they're not of my making, nor under my control] > > Any insight greatly appreciated... > > Cheers > Steve > > > Steve Winter > +44 777 852 4776 > steve@bluecrocodile.co.nz > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120320/dde4dfe1/attachment-0001.html From jsfmp at earthlink.net Mon Mar 19 17:54:12 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Mon Mar 19 17:20:22 2012 Subject: [FX.php List] [Off re:API]106 Table is missing In-Reply-To: References: Message-ID: <16130E9B-A2C2-4789-8119-34AF4D99186B@earthlink.net> Nope, never seen a 106 error Hey Steve Few random thoughts: Ditto Webko re allow-creation Are you sure the missing table isn't invoices_COMP.contIDUnpaid? Can you create a new child record if you do individual setFields instead of using the array? (at least on the related fields?) Can you create a new child record if you just set one of the fields? I assume _kfCompanyID isn't a key field for ActivityLog_INVOICE.invID, right? Have you tried testing another DB with a dot/period in a TO name and adding a child via the .0 syntax? Does the portal have/need a vertical scroll bar? umm? Any chance your moon is in Taurus this week? -Joel On Mar 19, 2012, at 3:46 PM, Steve Winter wrote: > Hi > > Anyone seen this before?? it's a new one on me, and I can't figure out what it actually means?? > > I'm attempting to update a record and create an entry in a portal in the same request. If I remove the record creation, the update works, but I can't get the record to create. Here's what I'm submitting; > > $inv = $_SESSION['orderDetails']['invoices_COMP.contIDUnpaid'][$id]; > $amtPaid = ($inv['invoices_COMP.contIDUnpaid::FinalAmount']-$inv['invoices_COMP.contIDUnpaid::AmountPaid']); > $data = array('PaymentStatus' => 'Paid', 'AmountPaid' => $amtPaid, 'DateRcdPayment' => date('m/d/Y'), > 'ActivityLog_INVOICE.invID::_kfCompanyID.0' => $_SESSION['orderDetails']['_kContactID'], > 'ActivityLog_INVOICE.invID::Type.0' => 'Invoice', > 'ActivityLog_INVOICE.invID::_kfPaymentID.0' => $paymentID, > 'ActivityLog_INVOICE.invID::Amount.0' => $amtPaid, > 'ActivityLog_INVOICE.invID::Description.0' => $inv['invoices_COMP.contIDUnpaid::SageDescription'], > 'ActivityLog_INVOICE.invID::Date.0' => date('m/d/Y'), > 'ActivityLog_INVOICE.invID::Credit.0' => $amtPaid, > ); > $cmd = $fm->newEditCommand('webInvoices', $inv['recID'], $data); > $res = $cmd->execute(); > > All the various variables 'check out' in terms of what they 'turn into': > > FileMaker_Command_Edit Object > ( > [_impl] => FileMaker_Command_Edit_Implementation Object > ( > [_fields] => Array > ( > [PaymentStatus] => Array > ( > [0] => Paid > ) > > [AmountPaid] => Array > ( > [0] => 153.9 > ) > > [DateRcdPayment] => Array > ( > [0] => 03/19/2012 > ) > > [ActivityLog_INVOICE.invID::_kfCompanyID.0] => Array > ( > [0] => 006 > ) > > [ActivityLog_INVOICE.invID::Type.0] => Array > ( > [0] => Invoice > ) > > [ActivityLog_INVOICE.invID::_kfPaymentID.0] => Array > ( > [0] => 4-2-114097002821-6846199-11174-274793425141759 > ) > > [ActivityLog_INVOICE.invID::Amount.0] => Array > ( > [0] => 153.9 > ) > > [ActivityLog_INVOICE.invID::Description.0] => Array > ( > [0] => 500 55mm x 85mm Business Cards Luxury Matt Lamination Material: 400gsm Matt Lam > > printed to both sides onto 400gsm Satin, with Matt Lamination to both sides > Artwork Name: arag ? > ----- > david haynes, andy talbot, matt warren > > Delivery Date: 08/02/2012 > JOB No.: 227657 > ) > > [ActivityLog_INVOICE.invID::Date.0] => Array > ( > [0] => 03/19/2012 > ) > > [ActivityLog_INVOICE.invID::Credit.0] => Array > ( > [0] => 153.9 > ) > > ) > > Here's my layout; > > > I kinda figured it was a typo in my portal naming or something stoopid like that, but I can't spot it??? [FYI it's not my DB so don't give me a hard time about the field/portal naming 'conventions', 'cause they're not of my making, nor under my control] > > Any insight greatly appreciated... > > Cheers > Steve > > > Steve Winter > +44 777 852 4776 > steve@bluecrocodile.co.nz > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120319/b028d8ed/attachment.html From steve at bluecrocodile.co.nz Mon Mar 19 17:10:08 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Tue Mar 20 08:18:55 2012 Subject: [FX.php List] [Off re:API]106 Table is missing In-Reply-To: References: Message-ID: <82C01E00-23C1-46F9-9DC7-5919459AE8F4@bluecrocodile.co.nz> Hi Tim Thanks for the reply? > Never tried that approach? I've never had difficulties in the past, and have used this technique quite a bit because it saves on double-queries... > Two things: > Are new records allowed to be created through the relationship? I assume yes, but worth checking Good shout, but sadly, yes (sadly because that might have been the answer, and then it would work ;-) > And instinctively, I question whether a new (child) record can be created with an Edit command - I always use two queries to do something like this. Thinking about it, I wonder if it only works when also creating the parent record at the same time? I know I can edit child records with this approach, and am sure I've created them this way too? > And for invoicing, I tend to use FM calculations to determine if it the invoice is *really* paid (as most of my systems allow part payment), so I'd actually only add the child payment record and then check the parent record for the status. Oh I assure you this is just one of the many wonders of the business 'logic' which exists within this solution - me I'm just the guy building the web interface to conform to the rather unique way things have been built in FMP ;-) Thanks for the thoughts? Cheers Steve Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz -------------- next part -------------- Skipped content of type multipart/related From chris at iViking.org Tue Mar 20 09:06:57 2012 From: chris at iViking.org (Chris Hansen) Date: Tue Mar 20 08:33:01 2012 Subject: [FX.php List] [Off re:API]106 Table is missing In-Reply-To: <82C01E00-23C1-46F9-9DC7-5919459AE8F4@bluecrocodile.co.nz> References: <82C01E00-23C1-46F9-9DC7-5919459AE8F4@bluecrocodile.co.nz> Message-ID: <9B7704BE-B37D-4238-985A-CB5F81F24994@iViking.org> Steve, I've seen 106 before, and like some of the other errors, it doesn't necessarily mean what it means :-p So, some things to check: 1) Are permissions for that table you're editing set up for web access? 2) Is there a vertical scroll bar on the portal you're using on the layout that you're using? (not sure if FMS still cares about scroll bars, but worth a check...) 3) Is the name of the table occurrence spelled correctly? 4) Are you able to add a portal row to that table manually in FileMaker on that layout? 5) Have you tried doing just the record creation via FX? (just to be sure that everything is configured correctly...) Those are the items that jump immediately to mind. HTH --Chris On Mar 19, 2012, at 5:10 PM, Steve Winter wrote: > Hi Tim > > Thanks for the reply? > >> Never tried that approach? > > I've never had difficulties in the past, and have used this technique quite a bit because it saves on double-queries... > >> Two things: >> Are new records allowed to be created through the relationship? I assume yes, but worth checking > > Good shout, but sadly, yes (sadly because that might have been the answer, and then it would work ;-) > > > >> And instinctively, I question whether a new (child) record can be created with an Edit command - I always use two queries to do something like this. > > Thinking about it, I wonder if it only works when also creating the parent record at the same time? I know I can edit child records with this approach, and am sure I've created them this way too? > >> And for invoicing, I tend to use FM calculations to determine if it the invoice is *really* paid (as most of my systems allow part payment), so I'd actually only add the child payment record and then check the parent record for the status. > > Oh I assure you this is just one of the many wonders of the business 'logic' which exists within this solution - me I'm just the guy building the web interface to conform to the rather unique way things have been built in FMP ;-) > > Thanks for the thoughts? > > Cheers > Steve > > > Steve Winter > +44 777 852 4776 > steve@bluecrocodile.co.nz > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From tcmeyers at troymeyers.com Tue Mar 20 10:34:13 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Tue Mar 20 10:00:27 2012 Subject: [FX.php List] [Off re:API]106 Table is missing Message-ID: <0E2065F1.51DF.4F7B.A005.EC02359F2FDB@144.1157411> Steve, Just a thought... is the field that relates the parent record to the portal record an auto-enter serial number? If so, is it set up to generate "On creation" or "On commit" under the Auto-Enter setup? If the latter, maybe that's a problem? -Troy From jsfmp at earthlink.net Tue Mar 20 11:59:42 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Tue Mar 20 11:25:46 2012 Subject: [FX.php List] [Off re:API]106 Table is missing In-Reply-To: <82C01E00-23C1-46F9-9DC7-5919459AE8F4@bluecrocodile.co.nz> References: <82C01E00-23C1-46F9-9DC7-5919459AE8F4@bluecrocodile.co.nz> Message-ID: FWIW: In the FM API, it *is* possible to create one new child record in an Edit of an existing parent record. On Mar 19, 2012, at 4:10 PM, Steve Winter wrote: > Thinking about it, I wonder if it only works when also creating the parent record at the same time? I know I can edit child records with this approach, and am sure I've created them this way too? From steve at bluecrocodile.co.nz Tue Mar 20 12:12:48 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Tue Mar 20 11:38:59 2012 Subject: [FX.php List] [Off re:API]106 Table is missing In-Reply-To: References: <82C01E00-23C1-46F9-9DC7-5919459AE8F4@bluecrocodile.co.nz> Message-ID: <173151E3-1D0A-461D-9DEE-EE5CE08EF923@bluecrocodile.co.nz> > FWIW: In the FM API, it *is* possible to create one new child record in an Edit of an existing parent record. Yeah, I found other places where I was doing that, and then I got to the point where it needed to work, and it needed to work NOW, so it's currently doing two calls? I'd prefer not to have it that way, so when I get 5 min spare will go back and have another poke? Cheers S Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz From tcmeyers at troymeyers.com Tue Mar 20 12:39:14 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Tue Mar 20 12:05:22 2012 Subject: [FX.php List] [Off re:API]106 Table is missing Message-ID: Steve, Another thing occurred to me... I think I remember a case where (I think because I renamed a table or relationship) a calculation or layout ended up being in a context that I hadn't intended, and maybe that threw a 106 error. Maybe recheck both the layout and fields for the same context? -Troy From dsomar at gmail.com Tue Mar 27 15:30:31 2012 From: dsomar at gmail.com (Denis Somar) Date: Tue Mar 27 14:56:29 2012 Subject: [FX.php List] Simple submit and edit not working?? Message-ID: My head hurts... I have a simple submit for a record with -recid = 206 submits but doesn't save even though the error returned is 0. I'm saving in a portal so my code is for ($i = 1; $i <= $_POST['FoundCount'];) { $portal_row = $_POST['recid'][$i]; echo '
recid is ' . $_POST['recid']; echo '
portalrow is ' . $portal_row; echo '
value is ' . $_POST["qty1 amended"][$i]; var_dump($_POST); ... then later $q->AddDBParam('Quotes to QUOTES_LINES::qty1 amended.' . $portal_row, $_POST["qty1 amended"][$portal_row]); } SOOOOoooooo, here's the screwy thing, I'm seeing everything I should EXCEPT the $portal_row echo. The loop works, FoundCount is 1 (which it should be), and I'm passing recid through a hidden text field and able to retrieve The output is Foundcount is 1 recid is 206 portalrow is value is array(8) { ["amendquote"]=> string(12) "Save Changes" ["recid"]=> string(3) "206" ["qty1_amended"]=> array(1) { [206]=> string(1) "6" } ["qty2_amended"]=> array(1) { [206]=> string(1) "5" } ["qty3_amended"]=> array(1) { [206]=> string(1) "4" } ["qty4_amended"]=> array(1) { [206]=> string(1) "3" } ["FoundCount"]=> string(1) "1" ["quote"]=> string(2) "78" } Am I missing something here? Any help is appreciated! Best, Denis -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120327/b209c051/attachment.html From malcolm at notyourhomework.net Tue Mar 27 16:15:44 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Tue Mar 27 15:41:23 2012 Subject: [FX.php List] Simple submit and edit not working?? In-Reply-To: References: Message-ID: Well I would say it is because $i = 1 and the first and only item in the array is zero [0] malcolm On 28/03/2012, at 8:30 AM, Denis Somar wrote: > My head hurts... I have a simple submit for a record with -recid = 206 submits but doesn't save even though the error returned is 0. > > I'm saving in a portal so my code is > > for ($i = 1; $i <= $_POST['FoundCount'];) { > > $portal_row = $_POST['recid'][$i]; > > echo '
recid is ' . $_POST['recid']; > echo '
portalrow is ' . $portal_row; > echo '
value is ' . $_POST["qty1 amended"][$i]; > var_dump($_POST); > > ... then later > $q->AddDBParam('Quotes to QUOTES_LINES::qty1 amended.' . $portal_row, $_POST["qty1 amended"][$portal_row]); > } > > SOOOOoooooo, here's the screwy thing, I'm seeing everything I should EXCEPT the $portal_row echo. The loop works, FoundCount is 1 (which it should be), and I'm passing recid through a hidden text field and able to retrieve > > The output is > Foundcount is 1 > recid is 206 > portalrow is > value is array(8) { ["amendquote"]=> string(12) "Save Changes" ["recid"]=> string(3) "206" ["qty1_amended"]=> array(1) { [206]=> string(1) "6" } ["qty2_amended"]=> array(1) { [206]=> string(1) "5" } ["qty3_amended"]=> array(1) { [206]=> string(1) "4" } ["qty4_amended"]=> array(1) { [206]=> string(1) "3" } ["FoundCount"]=> string(1) "1" ["quote"]=> string(2) "78" } > > > Am I missing something here? Any help is appreciated! > > Best, > 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/20120328/fe47cccd/attachment.html From jsfmp at earthlink.net Tue Mar 27 17:29:44 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Tue Mar 27 16:55:21 2012 Subject: [FX.php List] Google-type search across tables? Message-ID: Hi all Has anybody here implemented a "google-type" search across various fields in multiple tables? Any thoughts/recommendations? TIA, -Joel (SteveW: I know you talked about using Solr one year at DevCon. I have a vague recollection that it was a lot of work to set up. Would you say it was worth it?) From tim at nicheit.com.au Tue Mar 27 17:34:16 2012 From: tim at nicheit.com.au (Tim 'Webko' Booth) Date: Tue Mar 27 16:59:58 2012 Subject: [FX.php List] Google-type search across tables? In-Reply-To: References: Message-ID: <6B18FDA3-BE60-4F70-B143-F0C0C5A6D9EB@nicheit.com.au> Dear Joel, > > Has anybody here implemented a "google-type" search across various > fields in multiple tables? Any thoughts/recommendations? I've certainly done it for multiple fields in one table, using a concatenated field. I guess you could extend that for related tables, although working out which table actually has the end data might be interesting. Or do multiple searches and aggregate the results, which may also allow for a score for relevance - but it would be inefficient due to the overhead involved in each search... Just some thoughts Webko From jsfmp at earthlink.net Tue Mar 27 17:43:04 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Tue Mar 27 17:08:41 2012 Subject: [FX.php List] Google-type search across tables? In-Reply-To: <6B18FDA3-BE60-4F70-B143-F0C0C5A6D9EB@nicheit.com.au> References: <6B18FDA3-BE60-4F70-B143-F0C0C5A6D9EB@nicheit.com.au> Message-ID: Thanks Webko I've thought of concatenated fields, but the client wants to search on some "description" fields containing lots of text, and I'm concerned that that might really slow things down. I was thinking of multiple searches because they'd like the results to be filterable by category. By "extend that for related tables", do you mean have one concatenated field in the parent table including child fields/records? Or something else? Thanks, -Joel On Mar 27, 2012, at 4:34 PM, Tim 'Webko' Booth wrote: > Dear Joel, >> >> Has anybody here implemented a "google-type" search across various fields in multiple tables? Any thoughts/recommendations? > > I've certainly done it for multiple fields in one table, using a concatenated field. > > I guess you could extend that for related tables, although working out which table actually has the end data might be interesting. > > Or do multiple searches and aggregate the results, which may also allow for a score for relevance - but it would be inefficient due to the overhead involved in each search... > > Just some thoughts > > Webko > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From tim at nicheit.com.au Tue Mar 27 17:47:30 2012 From: tim at nicheit.com.au (Tim 'Webko' Booth) Date: Tue Mar 27 17:13:08 2012 Subject: [FX.php List] Google-type search across tables? In-Reply-To: References: <6B18FDA3-BE60-4F70-B143-F0C0C5A6D9EB@nicheit.com.au> Message-ID: <45A96C6C-FA76-437D-BD56-393ED5E0C96E@nicheit.com.au> Dear Joel, > > I've thought of concatenated fields, but the client wants to search > on some "description" fields containing lots of text, and I'm > concerned that that might really slow things down. It would have to be fairly massive slabs of text to slow it down appreciably in my experience. Especially if you tune the layout to only have the search field on it. > > I was thinking of multiple searches because they'd like the results > to be filterable by category. That's where overhead issues start coming into play - as everything is returned in the rather wordy FileMaker XML format and each search is run one after the other, lots of little searches become inefficient. I notice this particularly on one system where I can have over 50 new record or edit record requests. > > By "extend that for related tables", do you mean have one > concatenated field in the parent table including child fields/ > records? Or something else? The first. As I said, then the issue becomes identifying where the actual match came from... Cheers Webko From jsfmp at earthlink.net Tue Mar 27 18:04:12 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Tue Mar 27 17:29:48 2012 Subject: [FX.php List] Google-type search across tables? In-Reply-To: <45A96C6C-FA76-437D-BD56-393ED5E0C96E@nicheit.com.au> References: <6B18FDA3-BE60-4F70-B143-F0C0C5A6D9EB@nicheit.com.au> <45A96C6C-FA76-437D-BD56-393ED5E0C96E@nicheit.com.au> Message-ID: <3F6875CD-ED2D-40A9-8FDF-8C812804086D@earthlink.net> Thanks again, Webko. Good to hear from someone who's tried it! Anybody else? Cheers, -Joel FWIW: Re: editing or creating multiple records at once, I've found it can be a *lot* faster to edit multiple records if they can be turned into related records in a portal of one "parent" record, and then just edit the one parent record. For creating multiple records, the fastest way by far was via an FM script: http://blog.jsfmp.com/post/19243201571/ (the last 2 examples) On Mar 27, 2012, at 4:47 PM, Tim 'Webko' Booth wrote: > Dear Joel, >> >> I've thought of concatenated fields, but the client wants to search on some "description" fields containing lots of text, and I'm concerned that that might really slow things down. > > It would have to be fairly massive slabs of text to slow it down appreciably in my experience. Especially if you tune the layout to only have the search field on it. >> >> I was thinking of multiple searches because they'd like the results to be filterable by category. > > That's where overhead issues start coming into play - as everything is returned in the rather wordy FileMaker XML format and each search is run one after the other, lots of little searches become inefficient. I notice this particularly on one system where I can have over 50 new record or edit record requests. >> >> By "extend that for related tables", do you mean have one concatenated field in the parent table including child fields/records? Or something else? > > The first. As I said, then the issue becomes identifying where the actual match came from... > > Cheers > > Webko From chris at iViking.org Tue Mar 27 18:23:11 2012 From: chris at iViking.org (Chris Hansen) Date: Tue Mar 27 17:48:47 2012 Subject: [FX.php List] Google-type search across tables? In-Reply-To: <45A96C6C-FA76-437D-BD56-393ED5E0C96E@nicheit.com.au> References: <6B18FDA3-BE60-4F70-B143-F0C0C5A6D9EB@nicheit.com.au> <45A96C6C-FA76-437D-BD56-393ED5E0C96E@nicheit.com.au> Message-ID: <55B98FF7-9A79-4AC1-87F7-B59465D363B0@iViking.org> Adding to Webko's excellent thoughts, about optimization, you might also consider using SetDBData's fourth parameter to specify a return layout: SetDBData ($database, $layout, $groupSize, $responseLayout) That way, you could optimize both search, and display. You could even use some of PHP's nice text parsing to replace the search term in those returned results with a highlighted version thereof... Just some more thoughts... --Chris On Mar 27, 2012, at 5:47 PM, Tim 'Webko' Booth wrote: > Dear Joel, >> >> I've thought of concatenated fields, but the client wants to search on some "description" fields containing lots of text, and I'm concerned that that might really slow things down. > > It would have to be fairly massive slabs of text to slow it down appreciably in my experience. Especially if you tune the layout to only have the search field on it. >> >> I was thinking of multiple searches because they'd like the results to be filterable by category. > > That's where overhead issues start coming into play - as everything is returned in the rather wordy FileMaker XML format and each search is run one after the other, lots of little searches become inefficient. I notice this particularly on one system where I can have over 50 new record or edit record requests. >> >> By "extend that for related tables", do you mean have one concatenated field in the parent table including child fields/records? Or something else? > > The first. As I said, then the issue becomes identifying where the actual match came from... > > Cheers > > Webko > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From jsfmp at earthlink.net Tue Mar 27 18:30:13 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Tue Mar 27 17:55:53 2012 Subject: [FX.php List] Google-type search across tables? In-Reply-To: <55B98FF7-9A79-4AC1-87F7-B59465D363B0@iViking.org> References: <6B18FDA3-BE60-4F70-B143-F0C0C5A6D9EB@nicheit.com.au> <45A96C6C-FA76-437D-BD56-393ED5E0C96E@nicheit.com.au> <55B98FF7-9A79-4AC1-87F7-B59465D363B0@iViking.org> Message-ID: <1F323256-42AD-4B54-91B6-73B81C81B47B@earthlink.net> Thanks Chris! Was thinking of separate results layouts. Hadn't even thought of text highlighting. A great idea for this client, whose users apparently don't know where to search for what. Anybody else? Keep 'em coming ;-) -Joel On Mar 27, 2012, at 5:23 PM, Chris Hansen wrote: > Adding to Webko's excellent thoughts, about optimization, you might also consider using SetDBData's fourth parameter to specify a return layout: > > SetDBData ($database, $layout, $groupSize, $responseLayout) > > That way, you could optimize both search, and display. You could even use some of PHP's nice text parsing to replace the search term in those returned results with a highlighted version thereof... > > Just some more thoughts... > > --Chris > > On Mar 27, 2012, at 5:47 PM, Tim 'Webko' Booth wrote: > >> Dear Joel, >>> >>> I've thought of concatenated fields, but the client wants to search on some "description" fields containing lots of text, and I'm concerned that that might really slow things down. >> >> It would have to be fairly massive slabs of text to slow it down appreciably in my experience. Especially if you tune the layout to only have the search field on it. >>> >>> I was thinking of multiple searches because they'd like the results to be filterable by category. >> >> That's where overhead issues start coming into play - as everything is returned in the rather wordy FileMaker XML format and each search is run one after the other, lots of little searches become inefficient. I notice this particularly on one system where I can have over 50 new record or edit record requests. >>> >>> By "extend that for related tables", do you mean have one concatenated field in the parent table including child fields/records? Or something else? >> >> The first. As I said, then the issue becomes identifying where the actual match came from... >> >> Cheers >> >> Webko >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From malcolm at notyourhomework.net Tue Mar 27 19:29:19 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Tue Mar 27 18:54:56 2012 Subject: [FX.php List] Google-type search across tables? In-Reply-To: <55B98FF7-9A79-4AC1-87F7-B59465D363B0@iViking.org> References: <6B18FDA3-BE60-4F70-B143-F0C0C5A6D9EB@nicheit.com.au> <45A96C6C-FA76-437D-BD56-393ED5E0C96E@nicheit.com.au> <55B98FF7-9A79-4AC1-87F7-B59465D363B0@iViking.org> Message-ID: <99750BDA-CC8A-43F9-BC83-76EFCC5CF26A@notyourhomework.net> On 28/03/2012, at 11:23 AM, Chris Hansen wrote: > Adding to Webko's excellent thoughts, about optimization, you might also consider using SetDBData's fourth parameter to specify a return layout: > > SetDBData ($database, $layout, $groupSize, $responseLayout) > > That way, you could optimize both search, and display. You could even use some of PHP's nice text parsing to replace the search term in those returned results with a highlighted version thereof... The FMP API pushes all search results through a "prettifier" by default. Not good and the very reason that I moved to FX. I had built my first web app with FMP API and soon after delivery it broke. I didn't know about the prettifier then. We discovered that our client was using searches that coincided with the key data we were returning. Instead of having a nice list of keys of fixed length and defined structure we had a jumble of HTML. I expected: CAT001 DOG002 CAT002 ... and I was getting CAT001 DOG002 CAT002 malcolm From tim at nicheit.com.au Tue Mar 27 19:40:50 2012 From: tim at nicheit.com.au (Tim 'Webko' Booth) Date: Tue Mar 27 19:06:30 2012 Subject: [FX.php List] Google-type search across tables? In-Reply-To: <99750BDA-CC8A-43F9-BC83-76EFCC5CF26A@notyourhomework.net> References: <6B18FDA3-BE60-4F70-B143-F0C0C5A6D9EB@nicheit.com.au> <45A96C6C-FA76-437D-BD56-393ED5E0C96E@nicheit.com.au> <55B98FF7-9A79-4AC1-87F7-B59465D363B0@iViking.org> <99750BDA-CC8A-43F9-BC83-76EFCC5CF26A@notyourhomework.net> Message-ID: <7D308767-43B8-4432-9BB8-267CFC7E0C64@nicheit.com.au> > > > CAT001 > DOG002 > CAT002 Oh lovely... and they're even using deprecated html tags that wouldn;t be valid for XHTML. From dsomar at gmail.com Tue Mar 27 20:14:47 2012 From: dsomar at gmail.com (Denis Somar) Date: Tue Mar 27 19:40:44 2012 Subject: [FX.php List] Simple submit and edit not working?? In-Reply-To: References: Message-ID: Thanks malcolm, because I'm looping through found records and updating a portal, it should be i=1 The primary error was not realizing that passing an input name with a space such as "qty amended" becomes "qty_amended" in the _POST array. Thanks, Denis On Tue, Mar 27, 2012 at 6:15 PM, Malcolm Fitzgerald < malcolm@notyourhomework.net> wrote: > Well I would say it is because $i = 1 and the first and only item in the > array is zero [0] > > > malcolm > > > On 28/03/2012, at 8:30 AM, Denis Somar wrote: > > My head hurts... I have a simple submit for a record with -recid = 206 > submits but doesn't save even though the error returned is 0. > > I'm saving in a portal so my code is > > for ($i = 1; $i <= $_POST['FoundCount'];) { > > $portal_row = $_POST['recid'][$i]; > > echo '
recid is ' . $_POST['recid']; > echo '
portalrow is ' . $portal_row; > echo '
value is ' . $_POST["qty1 amended"][$i]; > var_dump($_POST); > > ... then later > $q->AddDBParam('Quotes to QUOTES_LINES::qty1 amended.' . $portal_row, > $_POST["qty1 amended"][$portal_row]); > } > > SOOOOoooooo, here's the screwy thing, I'm seeing everything I should > EXCEPT the $portal_row echo. The loop works, FoundCount is 1 (which it > should be), and I'm passing recid through a hidden text field and able to > retrieve > > The output is > Foundcount is 1 > recid is 206 > portalrow is > value is array(8) { ["amendquote"]=> string(12) "Save Changes" ["recid"]=> > string(3) "206" ["qty1_amended"]=> array(1) { [206]=> string(1) "6" } > ["qty2_amended"]=> array(1) { [206]=> string(1) "5" } ["qty3_amended"]=> > array(1) { [206]=> string(1) "4" } ["qty4_amended"]=> array(1) { [206]=> > string(1) "3" } ["FoundCount"]=> string(1) "1" ["quote"]=> string(2) "78" } > > > Am I missing something here? Any help is appreciated! > > Best, > Denis > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120327/dd142cc5/attachment-0001.html From steve at bluecrocodile.co.nz Wed Mar 28 00:47:21 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Wed Mar 28 00:13:02 2012 Subject: [FX.php List] Google-type search across tables? In-Reply-To: <3F6875CD-ED2D-40A9-8FDF-8C812804086D@earthlink.net> References: <6B18FDA3-BE60-4F70-B143-F0C0C5A6D9EB@nicheit.com.au> <45A96C6C-FA76-437D-BD56-393ED5E0C96E@nicheit.com.au> <3F6875CD-ED2D-40A9-8FDF-8C812804086D@earthlink.net> Message-ID: <9C2297CC-BB6D-4C73-AD74-743F6D0B0AE7@bluecrocodile.co.nz> Hey Joel How often does much of the data change?? if it's pretty often, (x times an hour) then you're probably going to need to stick with using FM as your data source? if it's x times a day you could consider pushing each of the fields you wish to search against, from their respective tables, into a single MySQL table, which has a single record for each block of data, which includes a 'source' field, so that you know which table it came from, and therefore which category it's in? If it's only x times a week (or month or never) then you could also look at using a 'search' tool like solr which will definitely give you the ability to do google style searches, up-to and including the ability to do type-ahead type searches across the whole lot? somewhere I've got a python indexer, which pushes specified fields from FMP into a defined solr schema (along with all the instructions to get solr running as a 'plugin' to FMS (on Apache)) if you're interested? HTH Steve > Thanks again, Webko. Good to hear from someone who's tried it! > > Anybody else? > > Cheers, > -Joel > > FWIW: Re: editing or creating multiple records at once, I've found it can be a *lot* faster to edit multiple records if they can be turned into related records in a portal of one "parent" record, and then just edit the one parent record. > For creating multiple records, the fastest way by far was via an FM script: > http://blog.jsfmp.com/post/19243201571/ (the last 2 examples) > > > On Mar 27, 2012, at 4:47 PM, Tim 'Webko' Booth wrote: > >> Dear Joel, >>> >>> I've thought of concatenated fields, but the client wants to search on some "description" fields containing lots of text, and I'm concerned that that might really slow things down. >> >> It would have to be fairly massive slabs of text to slow it down appreciably in my experience. Especially if you tune the layout to only have the search field on it. >>> >>> I was thinking of multiple searches because they'd like the results to be filterable by category. >> >> That's where overhead issues start coming into play - as everything is returned in the rather wordy FileMaker XML format and each search is run one after the other, lots of little searches become inefficient. I notice this particularly on one system where I can have over 50 new record or edit record requests. >>> >>> By "extend that for related tables", do you mean have one concatenated field in the parent table including child fields/records? Or something else? >> >> The first. As I said, then the issue becomes identifying where the actual match came from... >> >> Cheers >> >> Webko > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz From steve at bluecrocodile.co.nz Wed Mar 28 00:52:54 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Wed Mar 28 00:18:36 2012 Subject: [FX.php List] Google-type search across tables? In-Reply-To: <99750BDA-CC8A-43F9-BC83-76EFCC5CF26A@notyourhomework.net> References: <6B18FDA3-BE60-4F70-B143-F0C0C5A6D9EB@nicheit.com.au> <45A96C6C-FA76-437D-BD56-393ED5E0C96E@nicheit.com.au> <55B98FF7-9A79-4AC1-87F7-B59465D363B0@iViking.org> <99750BDA-CC8A-43F9-BC83-76EFCC5CF26A@notyourhomework.net> Message-ID: <1391DA86-4562-46DF-98A6-2B4C6C8A7C1A@bluecrocodile.co.nz> Malcolm The 'prettifier' that you speak of doesn't, in my experience, happen by default, you need to do two quite specific things to get data out like that, and hence it's really easy to avoid? Formatted text generally requires the getAsCSS script step to convert a field from 'plain text' into HTML (not CSS as the name suggests), and then you need to use the getFieldUnencoded API call to prevent the HTML tags from being turned into their entity encoding? Is it possible that you used 'a tool' like the Site Assistant or something like that to help you build the site, because this is most assuredly not the default behaviour of the API... And as Tim pointed out, the HTML which is returned by the getAsCSS calc step is horrible. It's a miss-mash of HTML tags, old and new, all in upper case, with weird spans, multiple
tags, and no paragraphs? if you do want formatted data then you need to run it through a post-API PHP function to clean it up and get it much more compliant? (can send you an example if you care) Cheers Steve > > The FMP API pushes all search results through a "prettifier" by default. Not good and the very reason that I moved to FX. > > I had built my first web app with FMP API and soon after delivery it broke. I didn't know about the prettifier then. We discovered that our client was using searches that coincided with the key data we were returning. Instead of having a nice list of keys of fixed length and defined structure we had a jumble of HTML. > > I expected: > > CAT001 > DOG002 > CAT002 > ... > > and I was getting > > CAT001 > DOG002 > CAT002 > > > > malcolm_______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120328/00298457/attachment.html From malcolm at notyourhomework.net Wed Mar 28 01:58:49 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Wed Mar 28 01:24:30 2012 Subject: [FX.php List] Google-type search across tables? In-Reply-To: <1391DA86-4562-46DF-98A6-2B4C6C8A7C1A@bluecrocodile.co.nz> References: <6B18FDA3-BE60-4F70-B143-F0C0C5A6D9EB@nicheit.com.au> <45A96C6C-FA76-437D-BD56-393ED5E0C96E@nicheit.com.au> <55B98FF7-9A79-4AC1-87F7-B59465D363B0@iViking.org> <99750BDA-CC8A-43F9-BC83-76EFCC5CF26A@notyourhomework.net> <1391DA86-4562-46DF-98A6-2B4C6C8A7C1A@bluecrocodile.co.nz> Message-ID: <004F9BC9-0DAF-4936-976B-98045719804C@notyourhomework.net> You may be right. It was my first site with the API and I used Site Assistant. The code produced is a nightmare to look after and I found FX so much easier to use that I didn't look back. Malcolm On 28/03/2012, at 5:52 PM, Steve Winter wrote: > Malcolm > > The 'prettifier' that you speak of doesn't, in my experience, happen by default, you need to do two quite specific things to get data out like that, and hence it's really easy to avoid? > > Formatted text generally requires the getAsCSS script step to convert a field from 'plain text' into HTML (not CSS as the name suggests), and then you need to use the getFieldUnencoded API call to prevent the HTML tags from being turned into their entity encoding? > > Is it possible that you used 'a tool' like the Site Assistant or something like that to help you build the site, because this is most assuredly not the default behaviour of the API... > > And as Tim pointed out, the HTML which is returned by the getAsCSS calc step is horrible. It's a miss-mash of HTML tags, old and new, all in upper case, with weird spans, multiple
tags, and no paragraphs? if you do want formatted data then you need to run it through a post-API PHP function to clean it up and get it much more compliant? (can send you an example if you care) > > Cheers > Steve > >> >> The FMP API pushes all search results through a "prettifier" by default. Not good and the very reason that I moved to FX. >> >> I had built my first web app with FMP API and soon after delivery it broke. I didn't know about the prettifier then. We discovered that our client was using searches that coincided with the key data we were returning. Instead of having a nice list of keys of fixed length and defined structure we had a jumble of HTML. >> >> I expected: >> >> CAT001 >> DOG002 >> CAT002 >> ... >> >> and I was getting >> >> CAT001 >> DOG002 >> CAT002 >> >> >> >> malcolm_______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > Steve Winter > +44 777 852 4776 > steve@bluecrocodile.co.nz > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20120328/70eae2ab/attachment.html From steve at bluecrocodile.co.nz Wed Mar 28 02:04:08 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Wed Mar 28 01:29:46 2012 Subject: [FX.php List] Google-type search across tables? In-Reply-To: <004F9BC9-0DAF-4936-976B-98045719804C@notyourhomework.net> References: <6B18FDA3-BE60-4F70-B143-F0C0C5A6D9EB@nicheit.com.au> <45A96C6C-FA76-437D-BD56-393ED5E0C96E@nicheit.com.au> <55B98FF7-9A79-4AC1-87F7-B59465D363B0@iViking.org> <99750BDA-CC8A-43F9-BC83-76EFCC5CF26A@notyourhomework.net> <1391DA86-4562-46DF-98A6-2B4C6C8A7C1A@bluecrocodile.co.nz> <004F9BC9-0DAF-4936-976B-98045719804C@notyourhomework.net> Message-ID: <07B7295B-21A4-4FA4-BA4F-EB9C10F9A920@bluecrocodile.co.nz> Hi Malcolm Don't hold the API responsible for the behaviour of the Site Assistant ;-) In the end, with code you wrote yourself, when it comes down to it the difference between the API and FX is negligible (in different circumstances each is marginally faster than the other). They both use the FMS XML interface, and provide a PHP 'wrapper' on top of that - one providing objects of data, the other 'straight' arrays? So, as long as it's working for you, all good? Cheers Stecve > You may be right. It was my first site with the API and I used Site Assistant. The code produced is a nightmare to look after and I found FX so much easier to use that I didn't look back. > > Malcolm > > > > On 28/03/2012, at 5:52 PM, Steve Winter wrote: > >> Malcolm >> >> The 'prettifier' that you speak of doesn't, in my experience, happen by default, you need to do two quite specific things to get data out like that, and hence it's really easy to avoid? >> >> Formatted text generally requires the getAsCSS script step to convert a field from 'plain text' into HTML (not CSS as the name suggests), and then you need to use the getFieldUnencoded API call to prevent the HTML tags from being turned into their entity encoding? >> >> Is it possible that you used 'a tool' like the Site Assistant or something like that to help you build the site, because this is most assuredly not the default behaviour of the API... >> >> And as Tim pointed out, the HTML which is returned by the getAsCSS calc step is horrible. It's a miss-mash of HTML tags, old and new, all in upper case, with weird spans, multiple
tags, and no paragraphs? if you do want formatted data then you need to run it through a post-API PHP function to clean it up and get it much more compliant? (can send you an example if you care) >> >> Cheers >> Steve >> >>> >>> The FMP API pushes all search results through a "prettifier" by default. Not good and the very reason that I moved to FX. >>> >>> I had built my first web app with FMP API and soon after delivery it broke. I didn't know about the prettifier then. We discovered that our client was using searches that coincided with the key data we were returning. Instead of having a nice list of keys of fixed length and defined structure we had a jumble of HTML. >>> >>> I expected: >>> >>> CAT001 >>> DOG002 >>> CAT002 >>> ... >>> >>> and I was getting >>> >>> CAT001 >>> DOG002 >>> CAT002 >>> >>> >>> >>> malcolm_______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> Steve Winter >> +44 777 852 4776 >> steve@bluecrocodile.co.nz >> >> >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > 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/20120328/3a00aedb/attachment-0001.html From jsfmp at earthlink.net Wed Mar 28 20:18:19 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Wed Mar 28 19:43:51 2012 Subject: [FX.php List] Google-type search across tables? In-Reply-To: <9C2297CC-BB6D-4C73-AD74-743F6D0B0AE7@bluecrocodile.co.nz> References: <6B18FDA3-BE60-4F70-B143-F0C0C5A6D9EB@nicheit.com.au> <45A96C6C-FA76-437D-BD56-393ED5E0C96E@nicheit.com.au> <3F6875CD-ED2D-40A9-8FDF-8C812804086D@earthlink.net> <9C2297CC-BB6D-4C73-AD74-743F6D0B0AE7@bluecrocodile.co.nz> Message-ID: <31696FA5-610E-4296-93B7-85788D0F6754@earthlink.net> Hey Steve Thanks for the reply. I had asked the client and was told that people are editing in the DB all day long? however I'm wondering now if maybe they won't need their web search results to be up-to-the-minute. The MySQL table is an interesting idea. As to Solr, I remember your DevCon talk about it. It's not so quick to get up and running if I remember correctly. Is that right? (This search functionality probably isn't super-high priority for this client, so I likely won't be able to spend a ton of time on it.) Cheers, -Joel On Mar 27, 2012, at 11:47 PM, Steve Winter wrote: > Hey Joel > > How often does much of the data change?? if it's pretty often, (x times an hour) then you're probably going to need to stick with using FM as your data source? if it's x times a day you could consider pushing each of the fields you wish to search against, from their respective tables, into a single MySQL table, which has a single record for each block of data, which includes a 'source' field, so that you know which table it came from, and therefore which category it's in? > > If it's only x times a week (or month or never) then you could also look at using a 'search' tool like solr which will definitely give you the ability to do google style searches, up-to and including the ability to do type-ahead type searches across the whole lot? somewhere I've got a python indexer, which pushes specified fields from FMP into a defined solr schema (along with all the instructions to get solr running as a 'plugin' to FMS (on Apache)) if you're interested? > > HTH > Steve > >> Thanks again, Webko. Good to hear from someone who's tried it! >> >> Anybody else? >> >> Cheers, >> -Joel >> >> FWIW: Re: editing or creating multiple records at once, I've found it can be a *lot* faster to edit multiple records if they can be turned into related records in a portal of one "parent" record, and then just edit the one parent record. >> For creating multiple records, the fastest way by far was via an FM script: >> http://blog.jsfmp.com/post/19243201571/ (the last 2 examples) >> >> >> On Mar 27, 2012, at 4:47 PM, Tim 'Webko' Booth wrote: >> >>> Dear Joel, >>>> >>>> I've thought of concatenated fields, but the client wants to search on some "description" fields containing lots of text, and I'm concerned that that might really slow things down. >>> >>> It would have to be fairly massive slabs of text to slow it down appreciably in my experience. Especially if you tune the layout to only have the search field on it. >>>> >>>> I was thinking of multiple searches because they'd like the results to be filterable by category. >>> >>> That's where overhead issues start coming into play - as everything is returned in the rather wordy FileMaker XML format and each search is run one after the other, lots of little searches become inefficient. I notice this particularly on one system where I can have over 50 new record or edit record requests. >>>> >>>> By "extend that for related tables", do you mean have one concatenated field in the parent table including child fields/records? Or something else? >>> >>> The first. As I said, then the issue becomes identifying where the actual match came from... >>> >>> Cheers >>> >>> Webko >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > Steve Winter > +44 777 852 4776 > steve@bluecrocodile.co.nz > > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From steve at bluecrocodile.co.nz Thu Mar 29 01:41:35 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Thu Mar 29 01:07:12 2012 Subject: [FX.php List] Google-type search across tables? In-Reply-To: <31696FA5-610E-4296-93B7-85788D0F6754@earthlink.net> References: <6B18FDA3-BE60-4F70-B143-F0C0C5A6D9EB@nicheit.com.au> <45A96C6C-FA76-437D-BD56-393ED5E0C96E@nicheit.com.au> <3F6875CD-ED2D-40A9-8FDF-8C812804086D@earthlink.net> <9C2297CC-BB6D-4C73-AD74-743F6D0B0AE7@bluecrocodile.co.nz> <31696FA5-610E-4296-93B7-85788D0F6754@earthlink.net> Message-ID: Morning Joel In many respects I think either MySQL or solr are going to take a bit of work to get get up because you're going to have to come up with strategies for updating the 'remote' index, and then mechanisms to make that work in a meaningful way? one possible advantage of solr is that 'by default' it creates a concatenated 'text' field in which all of the other fields are 'indexed' for searching against and/or you can specify which fields to search? That said, they are both going to give you similar speed enhancements over FMP, so my suggestion would be to go with what you're most familiar with and give MySQL a go? my approach would be one MySQL row for each table/field combination you wish to search across? push all the data in there, including a 'source' so that it's possible to group together all of the rows which represent the same record in the found set? then you can do some form of search term highlighting.. bear in mind that you're going to end up needing to do lots of 'like' queries so you'll need to ensure that even your MySQL db is well indexed? Have an update script which runs every hour/night/week as required, which locates records in FM which have been modified since last index, and update those in MySQL? Good luck?! Cheers Steve > Hey Steve > > Thanks for the reply. I had asked the client and was told that people are editing in the DB all day long? however I'm wondering now if maybe they won't need their web search results to be up-to-the-minute. The MySQL table is an interesting idea. > > As to Solr, I remember your DevCon talk about it. It's not so quick to get up and running if I remember correctly. Is that right? (This search functionality probably isn't super-high priority for this client, so I likely won't be able to spend a ton of time on it.) > > Cheers, > -Joel > > > On Mar 27, 2012, at 11:47 PM, Steve Winter wrote: > >> Hey Joel >> >> How often does much of the data change?? if it's pretty often, (x times an hour) then you're probably going to need to stick with using FM as your data source? if it's x times a day you could consider pushing each of the fields you wish to search against, from their respective tables, into a single MySQL table, which has a single record for each block of data, which includes a 'source' field, so that you know which table it came from, and therefore which category it's in? >> >> If it's only x times a week (or month or never) then you could also look at using a 'search' tool like solr which will definitely give you the ability to do google style searches, up-to and including the ability to do type-ahead type searches across the whole lot? somewhere I've got a python indexer, which pushes specified fields from FMP into a defined solr schema (along with all the instructions to get solr running as a 'plugin' to FMS (on Apache)) if you're interested? >> >> HTH >> Steve >> >>> Thanks again, Webko. Good to hear from someone who's tried it! >>> >>> Anybody else? >>> >>> Cheers, >>> -Joel >>> >>> FWIW: Re: editing or creating multiple records at once, I've found it can be a *lot* faster to edit multiple records if they can be turned into related records in a portal of one "parent" record, and then just edit the one parent record. >>> For creating multiple records, the fastest way by far was via an FM script: >>> http://blog.jsfmp.com/post/19243201571/ (the last 2 examples) >>> >>> >>> On Mar 27, 2012, at 4:47 PM, Tim 'Webko' Booth wrote: >>> >>>> Dear Joel, >>>>> >>>>> I've thought of concatenated fields, but the client wants to search on some "description" fields containing lots of text, and I'm concerned that that might really slow things down. >>>> >>>> It would have to be fairly massive slabs of text to slow it down appreciably in my experience. Especially if you tune the layout to only have the search field on it. >>>>> >>>>> I was thinking of multiple searches because they'd like the results to be filterable by category. >>>> >>>> That's where overhead issues start coming into play - as everything is returned in the rather wordy FileMaker XML format and each search is run one after the other, lots of little searches become inefficient. I notice this particularly on one system where I can have over 50 new record or edit record requests. >>>>> >>>>> By "extend that for related tables", do you mean have one concatenated field in the parent table including child fields/records? Or something else? >>>> >>>> The first. As I said, then the issue becomes identifying where the actual match came from... >>>> >>>> Cheers >>>> >>>> Webko >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> Steve Winter >> +44 777 852 4776 >> steve@bluecrocodile.co.nz >> >> >> >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz From jsfmp at earthlink.net Thu Mar 29 11:44:20 2012 From: jsfmp at earthlink.net (Joel Shapiro) Date: Thu Mar 29 11:09:50 2012 Subject: [FX.php List] Google-type search across tables? In-Reply-To: References: <6B18FDA3-BE60-4F70-B143-F0C0C5A6D9EB@nicheit.com.au> <45A96C6C-FA76-437D-BD56-393ED5E0C96E@nicheit.com.au> <3F6875CD-ED2D-40A9-8FDF-8C812804086D@earthlink.net> <9C2297CC-BB6D-4C73-AD74-743F6D0B0AE7@bluecrocodile.co.nz> <31696FA5-610E-4296-93B7-85788D0F6754@earthlink.net> Message-ID: Thanks Steve! I'll have to find out what kind of budget they'll give to this and then go from there. Cheers, -Joel On Mar 29, 2012, at 12:41 AM, Steve Winter wrote: > Morning Joel > > In many respects I think either MySQL or solr are going to take a bit of work to get get up because you're going to have to come up with strategies for updating the 'remote' index, and then mechanisms to make that work in a meaningful way? one possible advantage of solr is that 'by default' it creates a concatenated 'text' field in which all of the other fields are 'indexed' for searching against and/or you can specify which fields to search? > > That said, they are both going to give you similar speed enhancements over FMP, so my suggestion would be to go with what you're most familiar with and give MySQL a go? my approach would be one MySQL row for each table/field combination you wish to search across? push all the data in there, including a 'source' so that it's possible to group together all of the rows which represent the same record in the found set? then you can do some form of search term highlighting.. bear in mind that you're going to end up needing to do lots of 'like' queries so you'll need to ensure that even your MySQL db is well indexed? > > Have an update script which runs every hour/night/week as required, which locates records in FM which have been modified since last index, and update those in MySQL? > > Good luck?! > > Cheers > Steve > >> Hey Steve >> >> Thanks for the reply. I had asked the client and was told that people are editing in the DB all day long? however I'm wondering now if maybe they won't need their web search results to be up-to-the-minute. The MySQL table is an interesting idea. >> >> As to Solr, I remember your DevCon talk about it. It's not so quick to get up and running if I remember correctly. Is that right? (This search functionality probably isn't super-high priority for this client, so I likely won't be able to spend a ton of time on it.) >> >> Cheers, >> -Joel >> >> >> On Mar 27, 2012, at 11:47 PM, Steve Winter wrote: >> >>> Hey Joel >>> >>> How often does much of the data change?? if it's pretty often, (x times an hour) then you're probably going to need to stick with using FM as your data source? if it's x times a day you could consider pushing each of the fields you wish to search against, from their respective tables, into a single MySQL table, which has a single record for each block of data, which includes a 'source' field, so that you know which table it came from, and therefore which category it's in? >>> >>> If it's only x times a week (or month or never) then you could also look at using a 'search' tool like solr which will definitely give you the ability to do google style searches, up-to and including the ability to do type-ahead type searches across the whole lot? somewhere I've got a python indexer, which pushes specified fields from FMP into a defined solr schema (along with all the instructions to get solr running as a 'plugin' to FMS (on Apache)) if you're interested? >>> >>> HTH >>> Steve >>> >>>> Thanks again, Webko. Good to hear from someone who's tried it! >>>> >>>> Anybody else? >>>> >>>> Cheers, >>>> -Joel >>>> >>>> FWIW: Re: editing or creating multiple records at once, I've found it can be a *lot* faster to edit multiple records if they can be turned into related records in a portal of one "parent" record, and then just edit the one parent record. >>>> For creating multiple records, the fastest way by far was via an FM script: >>>> http://blog.jsfmp.com/post/19243201571/ (the last 2 examples) >>>> >>>> >>>> On Mar 27, 2012, at 4:47 PM, Tim 'Webko' Booth wrote: >>>> >>>>> Dear Joel, >>>>>> >>>>>> I've thought of concatenated fields, but the client wants to search on some "description" fields containing lots of text, and I'm concerned that that might really slow things down. >>>>> >>>>> It would have to be fairly massive slabs of text to slow it down appreciably in my experience. Especially if you tune the layout to only have the search field on it. >>>>>> >>>>>> I was thinking of multiple searches because they'd like the results to be filterable by category. >>>>> >>>>> That's where overhead issues start coming into play - as everything is returned in the rather wordy FileMaker XML format and each search is run one after the other, lots of little searches become inefficient. I notice this particularly on one system where I can have over 50 new record or edit record requests. >>>>>> >>>>>> By "extend that for related tables", do you mean have one concatenated field in the parent table including child fields/records? Or something else? >>>>> >>>>> The first. As I said, then the issue becomes identifying where the actual match came from... >>>>> >>>>> Cheers >>>>> >>>>> Webko >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >>> Steve Winter >>> +44 777 852 4776 >>> steve@bluecrocodile.co.nz >>> >>> >>> >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > Steve Winter > +44 777 852 4776 > steve@bluecrocodile.co.nz > > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list