From tim.webko at gmail.com Mon Oct 1 16:44:20 2012 From: tim.webko at gmail.com (Tim 'Webko' Booth) Date: Mon Oct 1 15:57:55 2012 Subject: [FX.php List] Choking on data returned In-Reply-To: <5478660138513587775@unknownmsgid> References: <383C39D1-9407-471E-9A93-83A7F88A8C07@patin.com> <16D14B51-0B7A-41FF-B5AF-8B09713677C2@patin.com> <53670C46-78C8-429C-BF39-52AA85E7A9BC@patin.com> <0C933B02-F38A-431C-8629-723D7F406452@patin.com> <5478660138513587775@unknownmsgid> Message-ID: I've also seen this when there are 'odd' characters in a text field (high ASCII, or gremlins in BBEdit speak) - you could try exporting the lot into a text file, run Zap Gremlins in BBEdit, and reimport and see how you go. Cheers Webko On 29 September 2012 11:30, Denis Somar wrote: > Debugging should be about breaking the tests into smaller chunks. Have you > tried doing a loop and iterating an echo statement and seeing where it > breaks there? > > Can you display 10 records, 20, 50, etc.? See if you can return one > record, the. Expand the search and see where it breaks > > > On Sep 28, 2012, at 5:23 PM, Bob Patin wrote: > > I was already using it for paginating, but it doesn't really matter what I > set it to, it still fails... > > Here's something else I'm seeing now, as I work on this: > > I have a SEARCH function, and when I put in a date range (like > 5/1/2012...6/1/2012), I return 129 records, and these too fail to display. > > So this makes me wonder if there are just too many fields in his database > and it's choking FX. > > I have about 150 fields or so on his web layout (I didn't design this > database...); my question is this: > > I assume that when I return data, the only fields that are returned are > those on the web layout, is that right? Most of these fields are empty on > almost every record, and the few that have data contain only a half-dozen > characters at most. > > SO... having said that, what is choking this? > > Would an ampersand in a field cause it? > > 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 Sep 28, 2012, at 12:13 PM, Jonathan Schwartz > wrote: > > Sorry. > > In fx.php, it's called FMSkipRecords($skipsize). > > *FMSkipRecords ($skipSize) > *This function is used to specify which record in the found set should be > the first returned to FX. FMSkipRecords() is optional. > *>>** $skipSize* is the only parameter taken by FMSkipRecords(). By > incrementing or decrementing this value, records in the found set could be > paged through in groups whose size was specified with the*$groupSize* parameter > in SetDBData(). For example: > $skipSize = $skipSize + $groupSize; > $InstanceName->FMSkipRecords($skipSize); > This would increment the number of records skipped by the value stored in* > $groupSize*, and then pass that parameter to FX so that* $skipSize* records > will be skipped and the next* $groupSize* number of records will be > returned by the current query. > > Just add $request->FMSkipRecords(60); > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/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/20121002/35deb7fc/attachment.html From bob at patin.com Fri Oct 5 14:07:20 2012 From: bob at patin.com (Bob Patin) Date: Fri Oct 5 13:21:39 2012 Subject: [FX.php List] Storing logins for clients Message-ID: <875ED79C-6384-435B-9190-6EC135548EA8@patin.com> One of my clients is asking if I can 'store' their logins (or at least their usernames) like many sites do. Upon searching, I saw that using setcookie() was frowned upon, for obvious reasons; have any of you done this, and if so, do you have any code you could share? Thanks, Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker From bob at patin.com Fri Oct 5 14:12:27 2012 From: bob at patin.com (Bob Patin) Date: Fri Oct 5 13:26:45 2012 Subject: [FX.php List] Storing logins for clients In-Reply-To: <875ED79C-6384-435B-9190-6EC135548EA8@patin.com> References: <875ED79C-6384-435B-9190-6EC135548EA8@patin.com> Message-ID: Just for grins, I tried using this to set 2 cookies: $username = "Bob Patin"; $password = "test"; // Set a cookie that expires in 30 days setcookie("username",$username, time()+3600*720); setcookie("password",$password, time()+3600*720); ... but when I tried to retrieve them: echo $_COOKIE['username'].' -- '.$_COOKIE['password']; I got nothing... I don't think I'll store passwords this way, but if this is easy enough to do for usernames, I may add this for this client, unless there's a better way that's not too time-consuming. 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 On Oct 5, 2012, at 3:07 PM, Bob Patin wrote: > One of my clients is asking if I can 'store' their logins (or at least their usernames) like many sites do. > > Upon searching, I saw that using setcookie() was frowned upon, for obvious reasons; have any of you done this, and if so, do you have any code you could share? > > Thanks, > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dsomar at gmail.com Fri Oct 5 15:13:39 2012 From: dsomar at gmail.com (Denis Somar) Date: Fri Oct 5 14:27:17 2012 Subject: [FX.php List] Storing logins for clients In-Reply-To: <875ED79C-6384-435B-9190-6EC135548EA8@patin.com> References: <875ED79C-6384-435B-9190-6EC135548EA8@patin.com> Message-ID: For the record, our sites should never actually store the password on the DB side. You should store an encryption of the password for moderate security sake. MD5 is a simple hash but crackable and PHP has all sorts of "salted" encryption methods for obscuring the user passwords stored in a DB. As for your question about storing some form of Remember Me? checkbox, you'll need a persistent cookie to store some flag that the user is logged in. HTH, Denis On Fri, Oct 5, 2012 at 4:07 PM, Bob Patin wrote: > One of my clients is asking if I can 'store' their logins (or at least > their usernames) like many sites do. > > Upon searching, I saw that using setcookie() was frowned upon, for obvious > reasons; have any of you done this, and if so, do you have any code you > could share? > > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20121005/5684ea26/attachment.html From bob at patin.com Fri Oct 5 15:37:16 2012 From: bob at patin.com (Bob Patin) Date: Fri Oct 5 14:51:37 2012 Subject: [FX.php List] Storing logins for clients In-Reply-To: References: <875ED79C-6384-435B-9190-6EC135548EA8@patin.com> Message-ID: <684776B7-1F70-4CA2-93E3-D3B726B25699@patin.com> > For the record, our sites should never actually store the password on the DB side. You should store an encryption of the password for moderate security sake. MD5 is a simple hash but crackable and PHP has all sorts of "salted" encryption methods for obscuring the user passwords stored in a DB. Yes, I know that, and use that whenever I develop a database (this one was done by the client). I just added a line in my login procedure that stores the username; easy and quick setcookie("username",$username, time()+3600*2160); ...stores it for 90 days. Then when the login page loads, it pulls it back in with $_COOKIE['username']. > As for your question about storing some form of Remember Me? checkbox, you'll need a persistent cookie to store some flag that the user is logged in. That's not really what they're asking for; I think they're just lazy and don't want to have to type the username in everytime--I think some of his employees would rather it store passwords too (as Safari does on the Mac), but I'm not going to add that. I'm not going to encourage the client to let their users store the password, but it's always up to them at the end of the day... 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 Oct 5, 2012, at 4:13 PM, Denis Somar wrote: > > HTH, > Denis > > > > On Fri, Oct 5, 2012 at 4:07 PM, Bob Patin wrote: > One of my clients is asking if I can 'store' their logins (or at least their usernames) like many sites do. > > Upon searching, I saw that using setcookie() was frowned upon, for obvious reasons; have any of you done this, and if so, do you have any code you could share? > > Thanks, > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20121005/6c5a7d41/attachment-0001.html From glenn at possiblesolutions.com.au Fri Oct 5 16:23:04 2012 From: glenn at possiblesolutions.com.au (Glenn Singleton) Date: Fri Oct 5 15:36:30 2012 Subject: [FX.php List] Storing logins for clients In-Reply-To: <875ED79C-6384-435B-9190-6EC135548EA8@patin.com> References: <875ED79C-6384-435B-9190-6EC135548EA8@patin.com> Message-ID: <001101cda347$fd817e20$f8847a60$@com.au> Bob I use FileMaker based logins, where I have guest available to login but with no privileges. This takes them to a layout, where based on their client IP it remembers who they are and prompts for the username (pre-filled) and password and then does a FileMaker re-login via script. It works for me. Regards Singo www.possiblesolutions.com www.possiblesolutions.com.au -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin Sent: Saturday, 6 October 2012 6:07 AM To: FX.php Discussion List Subject: [FX.php List] Storing logins for clients One of my clients is asking if I can 'store' their logins (or at least their usernames) like many sites do. Upon searching, I saw that using setcookie() was frowned upon, for obvious reasons; have any of you done this, and if so, do you have any code you could share? 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 malcolm at notyourhomework.net Sat Oct 13 19:43:34 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Sat Oct 13 18:56:20 2012 Subject: [FX.php List] How to handle security on web forms that are used more than once? Message-ID: I have a client who has a rather long application form they want to put onto the web. The applicants are not expected to have all the information required to complete the form. They may need a long time (days) to gather the information. When they return to the web site they should be able to return to their form. All that seems straightforward but the security issues are not. What is the best way to handle this? Malcolm From jschwartz at exit445.com Sat Oct 13 20:06:17 2012 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Sat Oct 13 19:19:06 2012 Subject: [FX.php List] How to handle security on web forms that are used more than once? In-Reply-To: References: Message-ID: Hi Malcolm, I have done a number of these "extended-application" systems for clients. It's not really a security challenge, as much as it's the need for entire subsystem designed to deal with allowing users to create an account, start an application, save the current status, leave and be able to come back and log in to complete the process. You also need to work out the business rules with the client, now that the system will allow a user to leave and come back...when? An hour, a day, a week...etc. I also found that on these extended applications, there is often a need to refuse the submission and ask the applicant to provide more/better information. Once the submission is accepted, there is a need to lock the application so that no further edits can be made. Also, with every user log in system, there is a need to provide a "lost password" subsystem. There is nothing terribly hard about this. It just has a tendency to grow to provide the logical elements that you don't think about until you actually get there. I can point you to one or two production web site if you want to take a look. Good luck! Jonathan At 12:43 PM +1100 10/14/12, Malcolm Fitzgerald wrote: >I have a client who has a rather long application form they want to >put onto the web. The applicants are not expected to have all the >information required to complete the form. They may need a long time >(days) to gather the information. When they return to the web site >they should be able to return to their form. All that seems >straightforward but the security issues are not. What is the best >way to handle this? > >Malcolm_______________________________________________ >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 malcolm at notyourhomework.net Sun Oct 14 17:51:15 2012 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Sun Oct 14 17:03:58 2012 Subject: [FX.php List] How to handle security on web forms that are used more than once? In-Reply-To: References: Message-ID: Hi Jonathon, Your response confirms the general thoughts I had about this. I'll push all of this back to the client. They may feel that it is better (cheaper/easier) to provide an information sheet which describes all the requirements for the form. The applicants could then be prepared to complete the form in a single session. Malcolm On 14/10/2012, at 1:06 PM, Jonathan Schwartz wrote: > Hi Malcolm, > > I have done a number of these "extended-application" systems for clients. > > It's not really a security challenge, as much as it's the need for entire subsystem designed to deal with allowing users to create an account, start an application, save the current status, leave and be able to come back and log in to complete the process. > > You also need to work out the business rules with the client, now that the system will allow a user to leave and come back...when? An hour, a day, a week...etc. I also found that on these extended applications, there is often a need to refuse the submission and ask the applicant to provide more/better information. Once the submission is accepted, there is a need to lock the application so that no further edits can be made. Also, with every user log in system, there is a need to provide a "lost password" subsystem. > > There is nothing terribly hard about this. It just has a tendency to grow to provide the logical elements that you don't think about until you actually get there. > > I can point you to one or two production web site if you want to take a look. > > Good luck! > > Jonathan > > > > > At 12:43 PM +1100 10/14/12, Malcolm Fitzgerald wrote: >> I have a client who has a rather long application form they want to put onto the web. The applicants are not expected to have all the information required to complete the form. They may need a long time (days) to gather the information. When they return to the web site they should be able to return to their form. All that seems straightforward but the security issues are not. What is the best way to handle this? >> >> Malcolm_______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > -- > Jonathan Schwartz > Exit 445 Group > jonathan@exit445.com > http://www.exit445.com > 415-370-5011 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From jschwartz at exit445.com Sun Oct 14 18:49:45 2012 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Sun Oct 14 18:02:26 2012 Subject: [FX.php List] How to handle security on web forms that are used more than once? In-Reply-To: References: Message-ID: <1ACFE088-0335-4266-BF75-3F1E2956FEAF@exit445.com> That works too. ;-) Jonathan On Oct 14, 2012, at 4:51 PM, Malcolm Fitzgerald wrote: > Hi Jonathon, > > Your response confirms the general thoughts I had about this. I'll push all of this back to the client. They may feel that it is better (cheaper/easier) to provide an information sheet which describes all the requirements for the form. The applicants could then be prepared to complete the form in a single session. > > Malcolm > > On 14/10/2012, at 1:06 PM, Jonathan Schwartz wrote: > >> Hi Malcolm, >> >> I have done a number of these "extended-application" systems for clients. >> >> It's not really a security challenge, as much as it's the need for entire subsystem designed to deal with allowing users to create an account, start an application, save the current status, leave and be able to come back and log in to complete the process. >> >> You also need to work out the business rules with the client, now that the system will allow a user to leave and come back...when? An hour, a day, a week...etc. I also found that on these extended applications, there is often a need to refuse the submission and ask the applicant to provide more/better information. Once the submission is accepted, there is a need to lock the application so that no further edits can be made. Also, with every user log in system, there is a need to provide a "lost password" subsystem. >> >> There is nothing terribly hard about this. It just has a tendency to grow to provide the logical elements that you don't think about until you actually get there. >> >> I can point you to one or two production web site if you want to take a look. >> >> Good luck! >> >> Jonathan >> >> >> >> >> At 12:43 PM +1100 10/14/12, Malcolm Fitzgerald wrote: >>> I have a client who has a rather long application form they want to put onto the web. The applicants are not expected to have all the information required to complete the form. They may need a long time (days) to gather the information. When they return to the web site they should be able to return to their form. All that seems straightforward but the security issues are not. What is the best way to handle this? >>> >>> Malcolm_______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> -- >> Jonathan Schwartz >> Exit 445 Group >> jonathan@exit445.com >> http://www.exit445.com >> 415-370-5011 >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From bob at patin.com Sun Oct 21 17:32:30 2012 From: bob at patin.com (Bob Patin) Date: Sun Oct 21 16:45:44 2012 Subject: [FX.php List] [OFF] JQuery slide left... Message-ID: I've been trying to figure out how to slide a DIV left, for an iOS app that I'm working on. I found this: $('#div').hide("slide", { direction: "left" }, 1000); but it doesn't seem to do it when I run it. Here's what I have: var page = 'ticket.php'; $('.main') .hide("slide", { direction: "left" }, 1000) .load(page) .show('slide', { direction:"left" }, 1000); I'm sure it's something stupid, but I've yet to figure out what I'm doing wrong. Any help would be much appreciated. What I'm trying to do is to load a 2nd page into my DIV, sliding the old one out and the new one in; I figured I should probably slide twice... Bob Patin Longterm Solutions LLC P.O. Box 3408 Brentwood, TN 37024 bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus -- FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From headhoncho at customikesolutions.com Sun Oct 21 18:18:43 2012 From: headhoncho at customikesolutions.com (Head Honcho) Date: Sun Oct 21 17:30:53 2012 Subject: [FX.php List] [OFF] JQuery slide left... In-Reply-To: References: Message-ID: <13A7B757-CBF5-4E1D-8D53-ED33A41D8A60@customikesolutions.com> Here's a couple of ways I've done it: $("#backButton").click(function(){ $("#data").show("slide", { direction: "left" }, 500); // slide back the data div $("#detail").hide(); // hide the detail }); or $("#saveData").click(function(){ $("#visit").hide(); // hide this div $("#detail").show("slide", { direction: "right" }, 500); // slide in the detail div }); Hope this helps. Regards Michael Ward -- Head Honcho, CustoMike Solutions Member, FileMaker Business Alliance & FileMaker Technical Network FileMaker 7, 8, 9, 10 & 11 Certified Developer ph 0414 562 501 headhoncho@customikesolutions.com On 22/10/2012, at 10:32 AM, Bob Patin wrote: > I've been trying to figure out how to slide a DIV left, for an iOS app that I'm working on. > > I found this: > > $('#div').hide("slide", { direction: "left" }, 1000); > > but it doesn't seem to do it when I run it. > > Here's what I have: > > var page = 'ticket.php'; > $('.main') > .hide("slide", { direction: "left" }, 1000) > .load(page) > .show('slide', { direction:"left" }, 1000); > > I'm sure it's something stupid, but I've yet to figure out what I'm doing wrong. Any help would be much appreciated. > > What I'm trying to do is to load a 2nd page into my DIV, sliding the old one out and the new one in; I figured I should probably slide twice... > > > > Bob Patin > Longterm Solutions LLC > P.O. Box 3408 > Brentwood, TN 37024 > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > -- > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > FileMaker hosting and consulting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting_______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From bob at patin.com Sun Oct 21 19:18:56 2012 From: bob at patin.com (Bob Patin) Date: Sun Oct 21 18:32:08 2012 Subject: [FX.php List] [OFF] JQuery slide left... In-Reply-To: <13A7B757-CBF5-4E1D-8D53-ED33A41D8A60@customikesolutions.com> References: <13A7B757-CBF5-4E1D-8D53-ED33A41D8A60@customikesolutions.com> Message-ID: <412B2BCA-83FE-4023-971F-38C93B3E65E7@patin.com> Hey Michael, I tried this, but it never shows me the DIV again: var page = 'ticket.php'; $('.main') .hide() // hide this div .load(page) .show("slide", { direction: "right" }, 500); // slide in the detail div Is the problem that I'm trying to load a DIV, and at the same time slide it out and then back in? I was thinking that I could do 2 slides, and it would mimic the look of the DIV moving off to the left. I've been playing with this all day but just can't seem to find the right combo... Thanks for your replay! BP Bob Patin Longterm Solutions LLC P.O. Box 3408 Brentwood, TN 37024 bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus -- FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Oct 21, 2012, at 7:18 PM, Head Honcho wrote: > Here's a couple of ways I've done it: > > $("#backButton").click(function(){ > $("#data").show("slide", { direction: "left" }, 500); // slide back the data div > $("#detail").hide(); // hide the detail > }); > > or > > $("#saveData").click(function(){ > $("#visit").hide(); // hide this div > $("#detail").show("slide", { direction: "right" }, 500); // slide in the detail div > }); > > > Hope this helps. > > Regards > > Michael Ward > -- > Head Honcho, CustoMike Solutions > Member, FileMaker Business Alliance & FileMaker Technical Network > FileMaker 7, 8, 9, 10 & 11 Certified Developer > ph 0414 562 501 > headhoncho@customikesolutions.com > > On 22/10/2012, at 10:32 AM, Bob Patin wrote: > >> I've been trying to figure out how to slide a DIV left, for an iOS app that I'm working on. >> >> I found this: >> >> $('#div').hide("slide", { direction: "left" }, 1000); >> >> but it doesn't seem to do it when I run it. >> >> Here's what I have: >> >> var page = 'ticket.php'; >> $('.main') >> .hide("slide", { direction: "left" }, 1000) >> .load(page) >> .show('slide', { direction:"left" }, 1000); >> >> I'm sure it's something stupid, but I've yet to figure out what I'm doing wrong. Any help would be much appreciated. >> >> What I'm trying to do is to load a 2nd page into my DIV, sliding the old one out and the new one in; I figured I should probably slide twice... >> >> >> >> Bob Patin >> Longterm Solutions LLC >> P.O. Box 3408 >> Brentwood, TN 37024 >> bob@longtermsolutions.com >> 615-333-6858 >> http://www.longtermsolutions.com >> iChat: bobpatin >> AIM: longterm1954 >> Twitter: bobpatin >> Google+: http://www.longtermsolutions.com/plus >> -- >> FileMaker 9, 10 & 11 Certified Developer >> Member of FileMaker Business Alliance and FileMaker TechNet >> -- >> FileMaker hosting and consulting for all versions of FileMaker >> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting_______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From bob at patin.com Mon Oct 22 06:32:47 2012 From: bob at patin.com (Bob Patin) Date: Mon Oct 22 05:45:58 2012 Subject: [FX.php List] Anyone generating barcodes in a web app? Message-ID: <8E80B2E7-1350-4F6D-AE54-BD7EAEF91801@patin.com> I'm working on a project where the client wants the order to display a barcode; I found one site that had code for generating them, but it requires additional software on the web server. My client's web server runs IIS, so whatever I use will need to work on their machine; I don't maintain their machine, only their web apps, so I'm hoping I can find a solution that won't require additional software. If anyone has experience with this, please let me know; I may decide to hire you to consult with me for this part of the project if you're available. Best, Bob Patin Longterm Solutions LLC bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com FileMaker 9, 10 & 11 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -- Twitter: bobpatin Google+: http://www.longtermsolutions.com/plus AIM: longterm1954 iChat: bobpatin -- Expert FileMaker Consulting FileMaker Hosting for all versions of FileMaker From steve at bluecrocodile.co.nz Mon Oct 22 06:37:54 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Mon Oct 22 05:50:07 2012 Subject: [FX.php List] Anyone generating barcodes in a web app? In-Reply-To: <8E80B2E7-1350-4F6D-AE54-BD7EAEF91801@patin.com> References: <8E80B2E7-1350-4F6D-AE54-BD7EAEF91801@patin.com> Message-ID: Hey Bob Sure? take a look at http://barcode-coder.com/en I've used their PHP class to good effect in the past? In terms of on the server, you'll either need GD (which is pretty commonly enabled these days) or fpdf and accept that your barcodes will end up in a pads (in the later case) HTH Cheers Steve > I'm working on a project where the client wants the order to display a barcode; I found one site that had code for generating them, but it requires additional software on the web server. > > My client's web server runs IIS, so whatever I use will need to work on their machine; I don't maintain their machine, only their web apps, so I'm hoping I can find a solution that won't require additional software. > > If anyone has experience with this, please let me know; I may decide to hire you to consult with me for this part of the project if you're available. > > Best, > > > Bob Patin > Longterm Solutions LLC > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > AIM: longterm1954 > iChat: bobpatin > -- > Expert FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > > _______________________________________________ > 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/20121022/9c8052cf/attachment.html From beverlyvoth at gmail.com Mon Oct 22 06:51:19 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Mon Oct 22 06:03:37 2012 Subject: [FX.php List] Anyone generating barcodes in a web app? In-Reply-To: <8E80B2E7-1350-4F6D-AE54-BD7EAEF91801@patin.com> References: <8E80B2E7-1350-4F6D-AE54-BD7EAEF91801@patin.com> Message-ID: <86A6456B-F166-4E5F-AD3F-BBBC7FAE75DE@gmail.com> http://www.brandonchecketts.com/archives/quick-php-script-to-generate-a-barcode http://forums.yessoftware.com/posts.php?post_id=107357 http://www.stampede-design.com/blog/2011/05/generating-simple-1d-barcodes-with-php/ http://barcodephp.com/en http://barcode-coder.com/en/barcode-online-generator-2.html http://www.codediesel.com/php/using-barcodes-in-your-web-application/ Beverly On 22 Oct 2012, at 8:32 AM, Bob Patin wrote: > I'm working on a project where the client wants the order to display a barcode; I found one site that had code for generating them, but it requires additional software on the web server. > > My client's web server runs IIS, so whatever I use will need to work on their machine; I don't maintain their machine, only their web apps, so I'm hoping I can find a solution that won't require additional software. > > If anyone has experience with this, please let me know; I may decide to hire you to consult with me for this part of the project if you're available. > > Best, > > > Bob Patin From dsomar at gmail.com Mon Oct 22 08:56:09 2012 From: dsomar at gmail.com (Denis Somar) Date: Mon Oct 22 08:08:21 2012 Subject: [FX.php List] Anyone generating barcodes in a web app? In-Reply-To: <86A6456B-F166-4E5F-AD3F-BBBC7FAE75DE@gmail.com> References: <8E80B2E7-1350-4F6D-AE54-BD7EAEF91801@patin.com> <86A6456B-F166-4E5F-AD3F-BBBC7FAE75DE@gmail.com> Message-ID: <-7304324141983945270@unknownmsgid> There's also a decent and free jquery library that can generate barcodes. D On Oct 22, 2012, at 8:51 AM, BEVERLY VOTH wrote: > http://www.brandonchecketts.com/archives/quick-php-script-to-generate-a-barcode > http://forums.yessoftware.com/posts.php?post_id=107357 > http://www.stampede-design.com/blog/2011/05/generating-simple-1d-barcodes-with-php/ > http://barcodephp.com/en > http://barcode-coder.com/en/barcode-online-generator-2.html > http://www.codediesel.com/php/using-barcodes-in-your-web-application/ > Beverly > > On 22 Oct 2012, at 8:32 AM, Bob Patin wrote: > >> I'm working on a project where the client wants the order to display a barcode; I found one site that had code for generating them, but it requires additional software on the web server. >> >> My client's web server runs IIS, so whatever I use will need to work on their machine; I don't maintain their machine, only their web apps, so I'm hoping I can find a solution that won't require additional software. >> >> If anyone has experience with this, please let me know; I may decide to hire you to consult with me for this part of the project if you're available. >> >> Best, >> >> >> Bob Patin > _______________________________________________ > 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 Oct 22 01:38:05 2012 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Tue Oct 23 08:17:23 2012 Subject: [FX.php List] [OFF] JQuery slide left... In-Reply-To: <412B2BCA-83FE-4023-971F-38C93B3E65E7@patin.com> References: <13A7B757-CBF5-4E1D-8D53-ED33A41D8A60@customikesolutions.com> <412B2BCA-83FE-4023-971F-38C93B3E65E7@patin.com> Message-ID: <9EAB05A0-38D6-4FB6-9310-28DABA23378D@bluecrocodile.co.nz> Bob the jQuery load() function will take a callback function, so try this $('.main').hide().load('ticket.php', function() { $('.main').show('slide', { direction : 'right'}, 500); }); That said, when I read http://api.jquery.com/show/ I find two things which may be relevant > The only easing implementations in the jQuery library are the default, called swing, and one that progresses at a constant pace, called linear. More easing functions are available with the use of plug-ins, most notably the jQuery UI suite. Have you got the jQueryUI code loaded?? if not, then as this extract explains your code won't know what 'slide' means. Also, the default jQuery function show() (link above) takes different parameters, in a different order to the JqueryUI show() function http://api.jqueryui.com/show/ You're using the UI approach, but may not have the UI js loaded in your page (assuming this is the same app as I was looking at you with the other day you don't) Finally, because you're using a class of .main to act upon, are you certain that in the content coming in the load(), you're not loading a second element with the main class, which may be confusing things?? HTH Cheers Steve > Hey Michael, > > I tried this, but it never shows me the DIV again: > > var page = 'ticket.php'; > $('.main') > .hide() // hide this div > .load(page) > .show("slide", { direction: "right" }, 500); // slide in the detail div > > Is the problem that I'm trying to load a DIV, and at the same time slide it out and then back in? > > I was thinking that I could do 2 slides, and it would mimic the look of the DIV moving off to the left. I've been playing with this all day but just can't seem to find the right combo... > > Thanks for your replay! > > BP > > Bob Patin > Longterm Solutions LLC > P.O. Box 3408 > Brentwood, TN 37024 > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > Twitter: bobpatin > Google+: http://www.longtermsolutions.com/plus > -- > FileMaker 9, 10 & 11 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -- > FileMaker hosting and consulting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > On Oct 21, 2012, at 7:18 PM, Head Honcho wrote: > >> Here's a couple of ways I've done it: >> >> $("#backButton").click(function(){ >> $("#data").show("slide", { direction: "left" }, 500); // slide back the data div >> $("#detail").hide(); // hide the detail >> }); >> >> or >> >> $("#saveData").click(function(){ >> $("#visit").hide(); // hide this div >> $("#detail").show("slide", { direction: "right" }, 500); // slide in the detail div >> }); >> >> >> Hope this helps. >> >> Regards >> >> Michael Ward >> -- >> Head Honcho, CustoMike Solutions >> Member, FileMaker Business Alliance & FileMaker Technical Network >> FileMaker 7, 8, 9, 10 & 11 Certified Developer >> ph 0414 562 501 >> headhoncho@customikesolutions.com >> >> On 22/10/2012, at 10:32 AM, Bob Patin wrote: >> >>> I've been trying to figure out how to slide a DIV left, for an iOS app that I'm working on. >>> >>> I found this: >>> >>> $('#div').hide("slide", { direction: "left" }, 1000); >>> >>> but it doesn't seem to do it when I run it. >>> >>> Here's what I have: >>> >>> var page = 'ticket.php'; >>> $('.main') >>> .hide("slide", { direction: "left" }, 1000) >>> .load(page) >>> .show('slide', { direction:"left" }, 1000); >>> >>> I'm sure it's something stupid, but I've yet to figure out what I'm doing wrong. Any help would be much appreciated. >>> >>> What I'm trying to do is to load a 2nd page into my DIV, sliding the old one out and the new one in; I figured I should probably slide twice... >>> >>> >>> >>> Bob Patin >>> Longterm Solutions LLC >>> P.O. Box 3408 >>> Brentwood, TN 37024 >>> bob@longtermsolutions.com >>> 615-333-6858 >>> http://www.longtermsolutions.com >>> iChat: bobpatin >>> AIM: longterm1954 >>> Twitter: bobpatin >>> Google+: http://www.longtermsolutions.com/plus >>> -- >>> FileMaker 9, 10 & 11 Certified Developer >>> Member of FileMaker Business Alliance and FileMaker TechNet >>> -- >>> FileMaker hosting and consulting for all versions of FileMaker >>> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting_______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz -------------- next part -------------- Skipped content of type multipart/related From bob at patin.com Tue Oct 23 09:17:14 2012 From: bob at patin.com (Bob Patin) Date: Tue Oct 23 08:30:21 2012 Subject: [FX.php List] [OFF] JQuery slide left... In-Reply-To: <9EAB05A0-38D6-4FB6-9310-28DABA23378D@bluecrocodile.co.nz> References: <13A7B757-CBF5-4E1D-8D53-ED33A41D8A60@customikesolutions.com> <412B2BCA-83FE-4023-971F-38C93B3E65E7@patin.com> <9EAB05A0-38D6-4FB6-9310-28DABA23378D@bluecrocodile.co.nz> Message-ID: <38879957-950B-401D-AAE3-835494FFE3AF@patin.com> Aha! I didn't have jQuery UI loaded... I'll do that... :) Fingers crossed, 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 Oct 22, 2012, at 2:38 AM, Steve Winter wrote: > Bob > > the jQuery load() function will take a callback function, so try this > > $('.main').hide().load('ticket.php', function() { > $('.main').show('slide', { direction : 'right'}, 500); > }); > > That said, when I read http://api.jquery.com/show/ I find two things which may be relevant > >> The only easing implementations in the jQuery library are the default, called swing, and one that progresses at a constant pace, called linear. More easing functions are available with the use of plug-ins, most notably the jQuery UI suite. > > > Have you got the jQueryUI code loaded?? if not, then as this extract explains your code won't know what 'slide' means. > > Also, the default jQuery function show() (link above) takes different parameters, in a different order to the JqueryUI show() function http://api.jqueryui.com/show/ You're using the UI approach, but may not have the UI js loaded in your page (assuming this is the same app as I was looking at you with the other day you don't) > > > > Finally, because you're using a class of .main to act upon, are you certain that in the content coming in the load(), you're not loading a second element with the main class, which may be confusing things?? > > HTH > > Cheers > Steve > > >> Hey Michael, >> >> I tried this, but it never shows me the DIV again: >> >> var page = 'ticket.php'; >> $('.main') >> .hide() // hide this div >> .load(page) >> .show("slide", { direction: "right" }, 500); // slide in the detail div >> >> Is the problem that I'm trying to load a DIV, and at the same time slide it out and then back in? >> >> I was thinking that I could do 2 slides, and it would mimic the look of the DIV moving off to the left. I've been playing with this all day but just can't seem to find the right combo... >> >> Thanks for your replay! >> >> BP >> >> Bob Patin >> Longterm Solutions LLC >> P.O. Box 3408 >> Brentwood, TN 37024 >> bob@longtermsolutions.com >> 615-333-6858 >> http://www.longtermsolutions.com >> iChat: bobpatin >> AIM: longterm1954 >> Twitter: bobpatin >> Google+: http://www.longtermsolutions.com/plus >> -- >> FileMaker 9, 10 & 11 Certified Developer >> Member of FileMaker Business Alliance and FileMaker TechNet >> -- >> FileMaker hosting and consulting for all versions of FileMaker >> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >> >> On Oct 21, 2012, at 7:18 PM, Head Honcho wrote: >> >>> Here's a couple of ways I've done it: >>> >>> $("#backButton").click(function(){ >>> $("#data").show("slide", { direction: "left" }, 500); // slide back the data div >>> $("#detail").hide(); // hide the detail >>> }); >>> >>> or >>> >>> $("#saveData").click(function(){ >>> $("#visit").hide(); // hide this div >>> $("#detail").show("slide", { direction: "right" }, 500); // slide in the detail div >>> }); >>> >>> >>> Hope this helps. >>> >>> Regards >>> >>> Michael Ward >>> -- >>> Head Honcho, CustoMike Solutions >>> Member, FileMaker Business Alliance & FileMaker Technical Network >>> FileMaker 7, 8, 9, 10 & 11 Certified Developer >>> ph 0414 562 501 >>> headhoncho@customikesolutions.com >>> >>> On 22/10/2012, at 10:32 AM, Bob Patin wrote: >>> >>>> I've been trying to figure out how to slide a DIV left, for an iOS app that I'm working on. >>>> >>>> I found this: >>>> >>>> $('#div').hide("slide", { direction: "left" }, 1000); >>>> >>>> but it doesn't seem to do it when I run it. >>>> >>>> Here's what I have: >>>> >>>> var page = 'ticket.php'; >>>> $('.main') >>>> .hide("slide", { direction: "left" }, 1000) >>>> .load(page) >>>> .show('slide', { direction:"left" }, 1000); >>>> >>>> I'm sure it's something stupid, but I've yet to figure out what I'm doing wrong. Any help would be much appreciated. >>>> >>>> What I'm trying to do is to load a 2nd page into my DIV, sliding the old one out and the new one in; I figured I should probably slide twice... >>>> >>>> >>>> >>>> Bob Patin >>>> Longterm Solutions LLC >>>> P.O. Box 3408 >>>> Brentwood, TN 37024 >>>> bob@longtermsolutions.com >>>> 615-333-6858 >>>> http://www.longtermsolutions.com >>>> iChat: bobpatin >>>> AIM: longterm1954 >>>> Twitter: bobpatin >>>> Google+: http://www.longtermsolutions.com/plus >>>> -- >>>> FileMaker 9, 10 & 11 Certified Developer >>>> Member of FileMaker Business Alliance and FileMaker TechNet >>>> -- >>>> FileMaker hosting and consulting for all versions of FileMaker >>>> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting_______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > Steve Winter > +44 777 852 4776 > steve@bluecrocodile.co.nz > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20121023/5354e6ef/attachment.html From jdcunha at supportgroup.com Tue Oct 30 09:07:07 2012 From: jdcunha at supportgroup.com (James Dcunha) Date: Tue Oct 30 08:19:06 2012 Subject: [FX.php List] FX and FileMaker Server 12 Message-ID: Hello all, In development we upgraded FileMaker server 12. I created a simple FX.PHP find request and get the following error FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 100 [message] => FX: ExecuteQuery XML error: Mismatched tag at line 1 [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => /Library/Server/Web/Data/Sites/Default/supportgroupDemo/FX/datasource_classes/RetrieveFM7Data.class.php [line] => 265 [function] => FX_Error [class] => FX_Error [object] => FX_Error Object *RECURSION* [type] => -> [args] => Array ( [0] => ExecuteQuery XML error: Mismatched tag at line 1 ) I created another php script using FileMaker-PHP api and the script does work. Is there something that needs to be done on my end for it to work with FX.PHP? -- Regards James Dcunha - Systems Engineer jdcunha@supportgroup.com (617) 252-8079 (Phone) (508) 653-2830 (fax) www.supportgroup.com Visit FileMaker: Explore, a free FileMaker resource for tips, tricks and up-to-date information: www.supportgroup.com/explore -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20121030/65c22d70/attachment-0001.html From whatdoyouwant at gmail.com Wed Oct 31 13:29:34 2012 From: whatdoyouwant at gmail.com (Nick) Date: Wed Oct 31 12:41:06 2012 Subject: [FX.php List] FX and FileMaker Server 12 In-Reply-To: References: Message-ID: Filemaker doesn't support the xml used by FX anymore, or something... or they're seriously dragging their feet fixing it. There is an alternate grammar style to use that works, preliminarily called fmalt. Chris hasn't released it publicly yet though... Nick On Tue, Oct 30, 2012 at 10:07 AM, James Dcunha wrote: > Hello all, > > In development we upgraded FileMaker server 12. > > I created a simple FX.PHP find request and get the following error > FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 > [code] => 100 [message] => FX: ExecuteQuery XML error: Mismatched tag at > line 1 [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => > /Library/Server/Web/Data/Sites/Default/supportgroupDemo/FX/datasource_classes/RetrieveFM7Data.class.php > [line] => 265 [function] => FX_Error [class] => FX_Error [object] => > FX_Error Object *RECURSION* [type] => -> [args] => Array ( [0] => > ExecuteQuery XML error: Mismatched tag at line 1 ) > > I created another php script using FileMaker-PHP api and the script does > work. > > Is there something that needs to be done on my end for it to work with > FX.PHP? > > -- > Regards > James Dcunha - Systems Engineer > jdcunha@supportgroup.com > (617) 252-8079 (Phone) (508) 653-2830 (fax) > www.supportgroup.com > Visit FileMaker: Explore, a free FileMaker resource for tips, tricks and > up-to-date information: > www.supportgroup.com/explore > > _______________________________________________ > 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/20121031/d923167c/attachment.html From tim.webko at gmail.com Wed Oct 31 16:14:34 2012 From: tim.webko at gmail.com (Tim 'Webko' Booth) Date: Wed Oct 31 15:26:04 2012 Subject: [FX.php List] FX and FileMaker Server 12 In-Reply-To: References: Message-ID: That's not quite true - it has an issue with empty Portals on a layout, but the actual XML is still the same - just incorrect if there is an empty portal. Hasn't affected me, as I don't use them for web layouts... Cheers Webko On 1 November 2012 06:29, Nick wrote: > Filemaker doesn't support the xml used by FX anymore, or something... or > they're seriously dragging their feet fixing it. > > There is an alternate grammar style to use that works, preliminarily > called fmalt. Chris hasn't released it publicly yet though... > > Nick > > On Tue, Oct 30, 2012 at 10:07 AM, James Dcunha wrote: > >> Hello all, >> >> In development we upgraded FileMaker server 12. >> >> I created a simple FX.PHP find request and get the following error >> FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 >> [code] => 100 [message] => FX: ExecuteQuery XML error: Mismatched tag at >> line 1 [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => >> /Library/Server/Web/Data/Sites/Default/supportgroupDemo/FX/datasource_classes/RetrieveFM7Data.class.php >> [line] => 265 [function] => FX_Error [class] => FX_Error [object] => >> FX_Error Object *RECURSION* [type] => -> [args] => Array ( [0] => >> ExecuteQuery XML error: Mismatched tag at line 1 ) >> >> I created another php script using FileMaker-PHP api and the script does >> work. >> >> Is there something that needs to be done on my end for it to work with >> FX.PHP? >> >> -- >> Regards >> James Dcunha - Systems Engineer >> jdcunha@supportgroup.com >> (617) 252-8079 (Phone) (508) 653-2830 (fax) >> www.supportgroup.com >> Visit FileMaker: Explore, a free FileMaker resource for tips, tricks and >> up-to-date information: >> www.supportgroup.com/explore >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/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/20121101/6c7d854a/attachment.html From beverlyvoth at gmail.com Wed Oct 31 16:34:42 2012 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Wed Oct 31 15:46:25 2012 Subject: [FX.php List] FX and FileMaker Server 12 In-Reply-To: References: Message-ID: <0DF50D39-D000-4E8C-A8E0-E4D4D5A7BCB8@gmail.com> Did the recent FMServer Update fix this yet? Beverly On 31 Oct 2012, at 6:14 PM, Tim 'Webko' Booth wrote: > That's not quite true - it has an issue with empty Portals on a layout, but the actual XML is still the same - just incorrect if there is an empty portal. Hasn't affected me, as I don't use them for web layouts... > > Cheers > > Webko > > On 1 November 2012 06:29, Nick wrote: > Filemaker doesn't support the xml used by FX anymore, or something... or they're seriously dragging their feet fixing it. > > There is an alternate grammar style to use that works, preliminarily called fmalt. Chris hasn't released it publicly yet though... > > Nick > > On Tue, Oct 30, 2012 at 10:07 AM, James Dcunha wrote: > Hello all, > > In development we upgraded FileMaker server 12. > > I created a simple FX.PHP find request and get the following error > FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 100 [message] => FX: ExecuteQuery XML error: Mismatched tag at line 1 [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => /Library/Server/Web/Data/Sites/Default/supportgroupDemo/FX/datasource_classes/RetrieveFM7Data.class.php [line] => 265 [function] => FX_Error [class] => FX_Error [object] => FX_Error Object *RECURSION* [type] => -> [args] => Array ( [0] => ExecuteQuery XML error: Mismatched tag at line 1 ) > > I created another php script using FileMaker-PHP api and the script does work. > > Is there something that needs to be done on my end for it to work with FX.PHP? > > -- > Regards > James Dcunha - Systems Engineer > jdcunha@supportgroup.com > (617) 252-8079 (Phone) (508) 653-2830 (fax) > www.supportgroup.com > Visit FileMaker: Explore, a free FileMaker resource for tips, tricks and up-to-date information: > www.supportgroup.com/explore > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From tcmeyers at troymeyers.com Wed Oct 31 16:51:46 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Wed Oct 31 16:03:17 2012 Subject: [FX.php List] FX and FileMaker Server 12 Message-ID: <82861F6C.B4BB.439F.9751.ADAD9ABCFC56@111.1165446> Bev, It didn't. Sheesh. I'm sure glad Chris did the verbose version. That is, unless there's a more recent FMS than 12.0.2.232. -Troy > Did the recent FMServer Update fix this yet? Beverly From glenn at possiblesolutions.com.au Wed Oct 31 17:03:14 2012 From: glenn at possiblesolutions.com.au (Glenn Singleton) Date: Wed Oct 31 16:14:46 2012 Subject: [FX.php List] FX and FileMaker Server 12 In-Reply-To: <82861F6C.B4BB.439F.9751.ADAD9ABCFC56@111.1165446> References: <82861F6C.B4BB.439F.9751.ADAD9ABCFC56@111.1165446> Message-ID: <009a01cdb7bb$e8ba6730$ba2f3590$@com.au> Troy I am working on web interface for 3 FM12 installations about to go live. How do I get "verbose" version? Even though not using portals ;-> A direct request to Chris??? Thanks Glenn Singleton -----Original Message----- It didn't. Sheesh. I'm sure glad Chris did the verbose version. That is, unless there's a more recent FMS than 12.0.2.232. -Troy > Did the recent FMServer Update fix this yet? Beverly _______________________________________________ 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 Wed Oct 31 17:10:27 2012 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Wed Oct 31 16:21:58 2012 Subject: [FX.php List] FX and FileMaker Server 12 Message-ID: <38C4861F.B55F.4515.80A1.BEA51C88F25A@111.1165451> Glenn, Yes, from Chris. I do not believe he's posted a finalized version anywhere. I expect he'll be happy to send it to you, last I heard he was still inviting testing. I have seen no problems with it, it's very good. -Troy > Troy > > I am working on web interface for 3 FM12 installations about to go live. > > How do I get "verbose" version? Even though not using portals ;-> > > A direct request to Chris??? > > Thanks Glenn Singleton From tim.webko at gmail.com Wed Oct 31 19:33:52 2012 From: tim.webko at gmail.com (Tim 'Webko' Booth) Date: Wed Oct 31 18:45:22 2012 Subject: [FX.php List] [Off] Import RAW XML to a field - FM9 Message-ID: OK... I can quite happily get FM 11 to export a transformed XML and then re-import it to a field. It creates XML that looks like: PersonBoothTimeNone of your beezwax This is good. FM9 seems to insist on: PersonStevensLinda1970-3-15 Worse, that return appears to be something like a CRLF, as I get three records if I import to a test database. Is there a way to persuade 9 to not do this? If it was just one return, the workaround is fairly easy - just tell it that the first record is headers, and then paste the XML declaration back in later. But two is annoying - I'd have to create a new sub-table, import, paste the master ID and create a link to then concatenate the related records... This project all looked so good until these old version compatibility issues started... Cheers Webko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20121101/e5fa3e28/attachment-0001.html From jdcunha at supportgroup.com Wed Oct 31 20:44:45 2012 From: jdcunha at supportgroup.com (James Dcunha) Date: Wed Oct 31 19:56:46 2012 Subject: [FX.php List] FX and FileMaker Server 12 In-Reply-To: <38C4861F.B55F.4515.80A1.BEA51C88F25A@111.1165451> References: <38C4861F.B55F.4515.80A1.BEA51C88F25A@111.1165451> Message-ID: I did not check for empty portals on the web layout. Let me see by removing it fixes it and get back to you'll. On Wed, Oct 31, 2012 at 7:10 PM, Troy Meyers wrote: > Glenn, > > Yes, from Chris. I do not believe he's posted a finalized version > anywhere. I expect he'll be happy to send it to you, last I heard he was > still inviting testing. I have seen no problems with it, it's very good. > > -Troy > > > > Troy > > > > I am working on web interface for 3 FM12 installations about to go live. > > > > How do I get "verbose" version? Even though not using portals ;-> > > > > A direct request to Chris??? > > > > Thanks Glenn Singleton > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > -- Regards James Dcunha - Systems Engineer jdcunha@supportgroup.com (617) 252-8079 (Phone) (508) 653-2830 (fax) www.supportgroup.com Visit FileMaker: Explore, a free FileMaker resource for tips, tricks and up-to-date information: www.supportgroup.com/explore -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20121031/16d50f46/attachment.html From jon at lanclos.com Tue Oct 30 18:02:40 2012 From: jon at lanclos.com (Jon Lanclos) Date: Wed Oct 31 21:03:39 2012 Subject: [FX.php List] Fx.php and PDF signatures Message-ID: <7B19B8AA-61D5-40BF-9803-9570BFE0DE67@lanclos.com> I'm looking for a solution that I can have a document saved to a server from FileMaker in PDF format and the give a client a URL to open view and sign the document in a PHP interface - anyone have any ideas? I probably need other PHP classes installed to do this It would also be nice to have the client input details into fields on a PHP form and check some boxes then sign their signature with their mouse or trackpad then submit Thanks group Jon Lanclos, CRP, CCHP jon@lanclos.com 713-256-4413