From bob at patin.com Fri Mar 14 19:54:49 2014 From: bob at patin.com (Bob Patin) Date: Fri Mar 14 19:49:35 2014 Subject: [FX.php List] Longterm Solutions Announces Move to New Data Center Message-ID: <403F2301-8BCE-4A39-A5F8-4288691B8574@patin.com> Since Longterm Solutions was formed in 1998, we have constantly strived to provide the fastest connectivity possible for our clients. As time has gone by, those needs have increased, and we?ve added bandwidth many times to improve our clients? connectivity and website response time. Tomorrow morning (March 15, 2014), we take a giant leap forward. Starting in the morning, Longterm Solutions will be in our new Tier 1 data center, which will provide 5 redundant connections to the Internet backbone, full generator backup, state-of-the-art security, and much more. Best of all, our connectivity will go from 6Mbps to 100 Mbps; speed tests for the past month have consistently been in the 95-96 Mbps range (both download and upload). Even though bandwidth will increase 15-fold, our hosting fees will remain the same for our clients. We offer FileMaker hosting for databases starting with version 7; we have servers running FileMaker Server 11 Advanced, 12 Advanced, and Server 13. We also offer server leasing for clients as well. Our hosting packages also include email service, free DNS hosting, as well as lots of backups: hourly, nightly, nightly to an encrypted cloud storage facility, nightly to DVD-Rs which are stored in a fireproof vault. All of these backups are done at no extra cost to our clients. In addition to having hosted FileMaker databases for almost 14 years, I am a FileMaker Certified Developer in versions 9, 10, 11 and 12, and am fluent in PHP web technologies (both the FileMaker API and FX.php). I love working with FileMaker, have made great friends in this community, and invite you to give our new data center a try. Our clients are going to be thrilled with the huge leap in speed. Sincerely, Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting _______________________________________________ FMPexperts mailing list FMPexperts@lists.ironclad.net.au http://lists.ironclad.net.au/listinfo.cgi/fmpexperts-ironclad.net.au -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140314/f1c0cc0d/attachment.html From bob at patin.com Mon Mar 17 21:14:31 2014 From: bob at patin.com (Bob Patin) Date: Mon Mar 17 21:09:02 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... Message-ID: I had no trouble when I moved web apps to FMSA 12, but with FMS 13 I've hit a brick wall. Here's my test query: SetDBData('wpe_test.fmp12','data' ); $q->SetDBPassword('password','bob patin'); $qResult = $q->FMFindAll(); echo 'Error: '.$qResult['errorCode']; ?> Anyone see a reason why this shouldn't work, assuming that a) database exists, is online, and has XML enabled in priv. set; b) web pub. engine is working and tests fine on FMS 13 c) username/password are valid ? Thanks, Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From dale.bengston at gmail.com Mon Mar 17 21:18:56 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Mon Mar 17 21:13:41 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: References: Message-ID: Hi Bob, You could try removing the extension from the database name. It?s not needed. Also, try print_r($qResult); ? and see what the full error object tells you. Dale On Mar 17, 2014, at 10:14 PM, Bob Patin wrote: > I had no trouble when I moved web apps to FMSA 12, but with FMS 13 I've hit a brick wall. > > Here's my test query: > > > include_once('FX/FX.php'); > > // perform query > $q =new FX('xxx.xxx.xxx.xxx','80', 'FMPro7', 'http'); > $q->SetDBData('wpe_test.fmp12','data' ); > $q->SetDBPassword('password','bob patin'); > $qResult = $q->FMFindAll(); > > echo 'Error: '.$qResult['errorCode']; > > ?> > > Anyone see a reason why this shouldn't work, assuming that > > a) database exists, is online, and has XML enabled in priv. set; > b) web pub. engine is working and tests fine on FMS 13 > c) username/password are valid > > ? > > Thanks, > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11 & 12 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From bob at patin.com Mon Mar 17 21:35:15 2014 From: bob at patin.com (Bob Patin) Date: Mon Mar 17 21:29:47 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: References: Message-ID: Hey Dale, I've always left the extension on database filenames, and I know they're not necessary, but it's an old habit... it didn't fix the issue, unfortunately. print_r returns a lot though; when I try the URL http://bob patin:password@208.52.164.176:80/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test&-lay=data&-max=50&-findall I do get results though... Here's what print_r returns (there's more, but...) I'd love to get this working... :) Thanks, Bob FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 100 [message] => FX: cURL could not retrieve Post data in RetrieveFM7Data(). A bad URL is the most likely reason. [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => /Library/WebServer/Documents/longterm/FX/FX.php [line] => 649 [function] => FX_Error [class] => FX_Error [object] => FX_Error Object *RECURSION* [type] => -> [args] => Array ( [0] => cURL could not retrieve Post data in RetrieveFM7Data(). A bad URL is the most likely reason. ) ) [1] => Array ( [file] => /Library/WebServer/Documents/longterm/FX/FX.php [line] => 1455 [function] => RetrieveFM7Data [class] => FX [object] => FX Object ( [dataServer] => 208.52.164.176 [dataServerType] => FMPro7 [dataPort] => 80 [dataPortSuffix] => :80 [urlScheme] => http [useSSLProtocol] => [database] => wpe_test [layout] => data [responseLayout] => [groupSize] => 3 [currentSkip] => 0 [defaultOperator] => bw [dataParams] => Array ( ) [sortParams] => Array ( ) [actionArray] => Array ( [-delete] => -delete [-dup] => -dup [-edit] => -edit [-find] => -find [-findall] => -findall [-findany] => -findany [-new] => -new [-view] => -view [-dbnames] => -dbnames [-layoutnames] => -layoutnames [-scriptnames] => -scriptnames [-sqlquery] => -sqlquery [delete] => -delete [duplicate] => -dup [update] => -edit [perform_find] => -find [show_all] => -findall [show_any] => -findany [new] => -new [view_layout_objects] => -view [view_database_names] => -dbnames [view_layout_names] => -layoutnames [view_script_names] => -scriptnames ) [primaryKeyField] => [modifyDateField] => [dataKeySeparator] => [fuzzyKeyLogic] => [genericKeys] => [selectColsSet] => [selectColumns] => [fieldInfo] => Array ( ) [currentData] => Array ( ) [valueLists] => Array ( ) [totalRecordCount] => -1 [foundCount] => -1 [dateFormat] => [timeFormat] => [dataURL] => http://bob patin:password@208.52.164.176:80/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test&-lay=data&-max=3&-findall [dataURLParams] => -db=wpe_test&-lay=data&-max=3&-findall [dataQuery] => [charSet] => [dataParamsEncoding] => [currentFlag] => [currentRecord] => [currentField] => [currentValueList] => [fieldCount] => 0 [columnCount] => -1 [fxError] => No Action Taken [errorTracking] => 0 [useInnerArray] => 1 [DBUser] => bob patin [DBPassword] => password [userPass] => bob patin:password@ [defaultPostPolicy] => 1 [isPostQuery] => 1 [useCURL] => 1 [lastLinkPrevious] => [lastLinkNext] => [lastFoundCount] => -2 [lastFields] => Array ( ) [lastURL] => [lastQuery] => [lastQueryParams] => Array ( ) [lastErrorCode] => -2 [lastValueLists] => Array ( ) [lastDebugMessage] => Instantiating FX.php. Configuring database connection... Setting user name and password... Unable to connect to FileMaker. Use the DEBUG constant and try connecting with the resulting URL manually. You should also double check the user name and password used, the server address, and WPE configuration. On Mar 17, 2014, at 10:18 PM, Dale Bengston wrote: > Hi Bob, > > You could try removing the extension from the database name. It?s not needed. Also, try > > print_r($qResult); > > ? and see what the full error object tells you. > > Dale > > On Mar 17, 2014, at 10:14 PM, Bob Patin wrote: > >> I had no trouble when I moved web apps to FMSA 12, but with FMS 13 I've hit a brick wall. >> >> Here's my test query: >> >> > >> include_once('FX/FX.php'); >> >> // perform query >> $q =new FX('xxx.xxx.xxx.xxx','80', 'FMPro7', 'http'); >> $q->SetDBData('wpe_test.fmp12','data' ); >> $q->SetDBPassword('password','bob patin'); >> $qResult = $q->FMFindAll(); >> >> echo 'Error: '.$qResult['errorCode']; >> >> ?> >> >> Anyone see a reason why this shouldn't work, assuming that >> >> a) database exists, is online, and has XML enabled in priv. set; >> b) web pub. engine is working and tests fine on FMS 13 >> c) username/password are valid >> >> ? >> >> Thanks, >> >> Bob Patin >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> FileMaker 9, 10, 11 & 12 Certified Developer >> http://www.longtermsolutions.com >> - >> iChat: bobpatin@me.com >> Twitter: bobpatin >> ? >> FileMaker Consulting >> FileMaker Hosting for all versions of FileMaker >> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >> >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140317/ae1d1f03/attachment.html From whatdoyouwant at gmail.com Mon Mar 17 22:47:31 2014 From: whatdoyouwant at gmail.com (Nick) Date: Mon Mar 17 22:42:00 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: References: Message-ID: I imagine you just need to use fmalt instead of FMPro7 and also make sure you have the latest FX from github. On Mon, Mar 17, 2014 at 10:35 PM, Bob Patin wrote: > Hey Dale, > > I've always left the extension on database filenames, and I know they're > not necessary, but it's an old habit... it didn't fix the issue, > unfortunately. > > print_r returns a lot though; when I try the URL > > http://bob > patin:password@208.52.164.176:80/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test&-lay=data&-max=50&-findall > > I do get results though... > > Here's what print_r returns (there's more, but...) > > I'd love to get this working... :) > > Thanks, > > Bob > > > FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 > [code] => 100 [message] => FX: cURL could not retrieve Post data in > RetrieveFM7Data(). A bad URL is the most likely reason. [userinfo] => > [backtrace] => Array ( [0] => Array ( [file] => > /Library/WebServer/Documents/longterm/FX/FX.php [line] => 649 [function] => > FX_Error [class] => FX_Error [object] => FX_Error Object *RECURSION* [type] > => -> [args] => Array ( [0] => cURL could not retrieve Post data in > RetrieveFM7Data(). A bad URL is the most likely reason. ) ) [1] => Array ( > [file] => /Library/WebServer/Documents/longterm/FX/FX.php [line] => 1455 > [function] => RetrieveFM7Data [class] => FX [object] => FX Object ( > [dataServer] => 208.52.164.176 [dataServerType] => FMPro7 [dataPort] => 80 > [dataPortSuffix] => :80 [urlScheme] => http [useSSLProtocol] => [database] > => wpe_test [layout] => data [responseLayout] => [groupSize] => 3 > [currentSkip] => 0 [defaultOperator] => bw [dataParams] => Array ( ) > [sortParams] => Array ( ) [actionArray] => Array ( [-delete] => -delete > [-dup] => -dup [-edit] => -edit [-find] => -find [-findall] => -findall > [-findany] => -findany [-new] => -new [-view] => -view [-dbnames] => > -dbnames [-layoutnames] => -layoutnames [-scriptnames] => -scriptnames > [-sqlquery] => -sqlquery [delete] => -delete [duplicate] => -dup [update] > => -edit [perform_find] => -find [show_all] => -findall [show_any] => > -findany [new] => -new [view_layout_objects] => -view [view_database_names] > => -dbnames [view_layout_names] => -layoutnames [view_script_names] => > -scriptnames ) [primaryKeyField] => [modifyDateField] => [dataKeySeparator] > => [fuzzyKeyLogic] => [genericKeys] => [selectColsSet] => [selectColumns] > => [fieldInfo] => Array ( ) [currentData] => Array ( ) [valueLists] => > Array ( ) [totalRecordCount] => -1 [foundCount] => -1 [dateFormat] => > [timeFormat] => [dataURL] => http://bob > patin:password@208.52.164.176:80/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test&-lay=data&-max=3&-findall[dataURLParams] => -db=wpe_test&-lay=data&-max=3&-findall [dataQuery] => > [charSet] => [dataParamsEncoding] => [currentFlag] => [currentRecord] => > [currentField] => [currentValueList] => [fieldCount] => 0 [columnCount] => > -1 [fxError] => No Action Taken [errorTracking] => 0 [useInnerArray] => 1 > [DBUser] => bob patin [DBPassword] => password [userPass] => bob > patin:password@ [defaultPostPolicy] => 1 [isPostQuery] => 1 [useCURL] => > 1 [lastLinkPrevious] => [lastLinkNext] => [lastFoundCount] => -2 > [lastFields] => Array ( ) [lastURL] => [lastQuery] => [lastQueryParams] => > Array ( ) [lastErrorCode] => -2 [lastValueLists] => Array ( ) > [lastDebugMessage] => > > Instantiating FX.php. > > Configuring database connection... > > Setting user name and password... > > Unable to connect to FileMaker. Use the DEBUG constant and try connecting > with the resulting URL manually. > You should also double check the user name and password used, the server > address, and WPE configuration. > > > > On Mar 17, 2014, at 10:18 PM, Dale Bengston > wrote: > > Hi Bob, > > You could try removing the extension from the database name. It's not > needed. Also, try > > print_r($qResult); > > ... and see what the full error object tells you. > > Dale > > On Mar 17, 2014, at 10:14 PM, Bob Patin wrote: > > I had no trouble when I moved web apps to FMSA 12, but with FMS 13 I've > hit a brick wall. > > Here's my test query: > > > include_once('FX/FX.php'); > > // perform query > $q =new FX('xxx.xxx.xxx.xxx','80', 'FMPro7', 'http'); > $q->SetDBData('wpe_test.fmp12','data' ); > $q->SetDBPassword('password','bob patin'); > $qResult = $q->FMFindAll(); > > echo 'Error: '.$qResult['errorCode']; > > ?> > > Anyone see a reason why this shouldn't work, assuming that > > a) database exists, is online, and has XML enabled in priv. set; > b) web pub. engine is working and tests fine on FMS 13 > c) username/password are valid > > ? > > Thanks, > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11 & 12 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > -- > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP * Full email services * Free DNS hosting * Colocation * Consulting > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > > > _______________________________________________ > 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/20140317/87c06db7/attachment-0001.html From bob at patin.com Mon Mar 17 23:32:42 2014 From: bob at patin.com (Bob Patin) Date: Mon Mar 17 23:27:15 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: References: Message-ID: <952165CF-55A8-4640-A343-D360BA2A4092@patin.com> I tried that, downloaded the latest version of FX too... I'm going to try one more time though, just for grins... BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 17, 2014, at 11:47 PM, Nick wrote: > I imagine you just need to use fmalt instead of FMPro7 and also make sure you have the latest FX from github. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140318/749bc52a/attachment.html From bob at patin.com Mon Mar 17 23:34:22 2014 From: bob at patin.com (Bob Patin) Date: Mon Mar 17 23:28:52 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: References: Message-ID: I just looked at Chris' FX server_data file; he doesn't use "fmalt," he uses "FMPro7." BP On Mar 17, 2014, at 11:47 PM, Nick wrote: > I imagine you just need to use fmalt instead of FMPro7 and also make sure you have the latest FX from github. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140318/5a46d108/attachment.html From chris at iViking.org Tue Mar 18 08:00:07 2014 From: chris at iViking.org (Chris Hansen) Date: Tue Mar 18 07:54:32 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: References: Message-ID: <83A40783-E849-4F9F-B46E-A4304BE97416@iViking.org> Bob, The determination on whether to use fmpro7 or fmalt is based on whether or not there are portals on your layouts. That's where the bug in the FileMaker XML is. If you have no portals, it should work just fine. Some other items to check: ? Have you tried using that xml link to check things directly? ? Are there multiple copies of FX on the machine? (If so, it may be using the wrong one.) ? If possible, check the connection to FileMaker from the same machine that's attempting to connect to it. HTH --Chris On Mar 17, 2014, at 11:34 PM, Bob Patin wrote: > I just looked at Chris' FX server_data file; he doesn't use "fmalt," he uses "FMPro7." > > BP > > On Mar 17, 2014, at 11:47 PM, Nick wrote: > >> I imagine you just need to use fmalt instead of FMPro7 and also make sure you have the latest FX from github. >> > > _______________________________________________ > 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/20140318/bde20d33/attachment.html From bob at patin.com Tue Mar 18 08:07:11 2014 From: bob at patin.com (Bob Patin) Date: Tue Mar 18 08:01:40 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: <83A40783-E849-4F9F-B46E-A4304BE97416@iViking.org> References: <83A40783-E849-4F9F-B46E-A4304BE97416@iViking.org> Message-ID: <8FEEF4A4-68ED-4791-B657-1E5D4BC57DDE@patin.com> Hey Chris, I don?t put portals on my web layouts, so I should think that ?FMPro7? should work? but alas, it doesn?t? No, single copy of FX on the machine; I did download a 2nd copy last night (the latest) and point to it to see if it would work. I?m going to upload the test page and FX folder to the same machine; the test I did last night was from a different machine, so maybe it?ll make a difference if I run the test directly on the machine that hosts the database and WPE. Thanks, BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 18, 2014, at 9:00 AM, Chris Hansen wrote: > > The determination on whether to use fmpro7 or fmalt is based on whether or not there are portals on your layouts. That's where the bug in the FileMaker XML is. If you have no portals, it should work just fine. > > Some other items to check: > > ? Have you tried using that xml link to check things directly? > > ? Are there multiple copies of FX on the machine? (If so, it may be using the wrong one.) > > ? If possible, check the connection to FileMaker from the same machine that's attempting to connect to it. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140318/5c99b40c/attachment.html From bob at patin.com Tue Mar 18 10:33:27 2014 From: bob at patin.com (Bob Patin) Date: Tue Mar 18 10:27:56 2014 Subject: [FX.php List] [OFF] Need help creating a reverse DNS zone Message-ID: <826483E4-FE5C-4D81-AFD2-72FE06885E27@patin.com> If anyone on this list can help me set up a reverse DNS zone for my mail server, I?d greatly appreciate it; when I moved the server I apparently lost my reverse DNS lookup, and need to restore it. Thanks for any help, Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From chris at iViking.org Tue Mar 18 10:40:43 2014 From: chris at iViking.org (Chris Hansen) Date: Tue Mar 18 10:35:10 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: <8FEEF4A4-68ED-4791-B657-1E5D4BC57DDE@patin.com> References: <83A40783-E849-4F9F-B46E-A4304BE97416@iViking.org> <8FEEF4A4-68ED-4791-B657-1E5D4BC57DDE@patin.com> Message-ID: <32BD9359-D53F-4ADA-8669-BA68B6C8D139@iViking.org> Bob, Good and good. But, you WILL need the latest version of FX.php. Unfortunately another oddity was created with the release of FileMaker 13, so you need to be using the very latest version of FX. Best, --Chris On Mar 18, 2014, at 8:07 AM, Bob Patin wrote: > Hey Chris, > > I don?t put portals on my web layouts, so I should think that ?FMPro7? should work? but alas, it doesn?t? > > No, single copy of FX on the machine; I did download a 2nd copy last night (the latest) and point to it to see if it would work. > > I?m going to upload the test page and FX folder to the same machine; the test I did last night was from a different machine, so maybe it?ll make a difference if I run the test directly on the machine that hosts the database and WPE. > > Thanks, > > BP > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11 & 12 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > On Mar 18, 2014, at 9:00 AM, Chris Hansen wrote: > >> >> The determination on whether to use fmpro7 or fmalt is based on whether or not there are portals on your layouts. That's where the bug in the FileMaker XML is. If you have no portals, it should work just fine. >> >> Some other items to check: >> >> ? Have you tried using that xml link to check things directly? >> >> ? Are there multiple copies of FX on the machine? (If so, it may be using the wrong one.) >> >> ? If possible, check the connection to FileMaker from the same machine that's attempting to connect to it. >> > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140318/1cef604a/attachment-0001.html From jschwartz at exit445.com Tue Mar 18 10:41:26 2014 From: jschwartz at exit445.com (jschwartz) Date: Tue Mar 18 10:36:03 2014 Subject: [FX.php List] [OFF] Need help creating a reverse DNS zone In-Reply-To: <826483E4-FE5C-4D81-AFD2-72FE06885E27@patin.com> References: <826483E4-FE5C-4D81-AFD2-72FE06885E27@patin.com> Message-ID: <2CE96FAB-7ED3-466F-8BF0-FC5B134EEC73@exit445.com> Hi Bob, As far as I know, this is done by the provider of your internet service.....sometimes begrudgingly. Have you gone that route? Jonathan On Mar 18, 2014, at 9:33 AM, Bob Patin wrote: > If anyone on this list can help me set up a reverse DNS zone for my mail server, I?d greatly appreciate it; when I moved the server I apparently lost my reverse DNS lookup, and need to restore it. > > Thanks for any help, > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11 & 12 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From bob at patin.com Tue Mar 18 10:46:32 2014 From: bob at patin.com (Bob Patin) Date: Tue Mar 18 10:41:00 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: <32BD9359-D53F-4ADA-8669-BA68B6C8D139@iViking.org> References: <83A40783-E849-4F9F-B46E-A4304BE97416@iViking.org> <8FEEF4A4-68ED-4791-B657-1E5D4BC57DDE@patin.com> <32BD9359-D53F-4ADA-8669-BA68B6C8D139@iViking.org> Message-ID: <5A8895CB-D8DD-497F-817A-2D4938158557@patin.com> Hey Chris, I downloaded 6.0 from github; is that the latest? Still no joy; I copied the test page and FX folder to the FMS server, but it won?t successfully query the DB; if you want to take a look, here?s the test page: http://fms6test.longtermsolutions.com and here?s the query: SetDBData('wpe_test.fmp12?,?data?); $q->SetDBPassword($webPW,$webUN); $qResult = $q->FMFindAll(); // echo ?Found: '.$qResult['foundCount']; print_r($qResult); ?> As always, your help is greatly appreciated; hope you?re well, Bob Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 18, 2014, at 11:40 AM, Chris Hansen wrote: > Bob, > > Good and good. But, you WILL need the latest version of FX.php. Unfortunately another oddity was created with the release of FileMaker 13, so you need to be using the very latest version of FX. > > Best, > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140318/9a04aeca/attachment.html From bob at patin.com Tue Mar 18 10:48:07 2014 From: bob at patin.com (Bob Patin) Date: Tue Mar 18 10:42:33 2014 Subject: [FX.php List] [OFF] Need help creating a reverse DNS zone In-Reply-To: <2CE96FAB-7ED3-466F-8BF0-FC5B134EEC73@exit445.com> References: <826483E4-FE5C-4D81-AFD2-72FE06885E27@patin.com> <2CE96FAB-7ED3-466F-8BF0-FC5B134EEC73@exit445.com> Message-ID: Well, I run my own mail server, so I have to take care of those things; you?re right that last time my ISP did it for me (had forgotten that), so I may see if I can get some help in that corner again. I tried adding it myself, but apparently I have something wrong because it?s not showing as authoritative? BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 18, 2014, at 11:41 AM, jschwartz wrote: > > As far as I know, this is done by the provider of your internet service.....sometimes begrudgingly. Have you gone that route? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140318/4743ed2c/attachment.html From jmaymailing at pointinspace.com Tue Mar 18 10:53:45 2014 From: jmaymailing at pointinspace.com (John May) Date: Tue Mar 18 10:48:14 2014 Subject: [FX.php List] [OFF] Need help creating a reverse DNS zone In-Reply-To: References: <826483E4-FE5C-4D81-AFD2-72FE06885E27@patin.com> <2CE96FAB-7ED3-466F-8BF0-FC5B134EEC73@exit445.com> Message-ID: <53287A19.2010101@pointinspace.com> You need to be sure your provider has assigned the authority for the reverse records to you, or that they create the reverse records on their end of things if they can't/won't. - John On 3/18/14, 12:48 PM, Bob Patin wrote: > Well, I run my own mail server, so I have to take care of those > things; you?re right that last time my ISP did it for me (had > forgotten that), so I may see if I can get some help in that corner > again. > > I tried adding it myself, but apparently I have something wrong > because it?s not showing as authoritative? > > BP > > Bob Patin Longterm Solutions bob@longtermsolutions.com > 615-333-6858 FileMaker 9, 10, 11 & > 12 Certified Developer http://www.longtermsolutions.com - iChat: > bobpatin@me.com Twitter: bobpatin ? > FileMaker Consulting FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? > Consulting > > On Mar 18, 2014, at 11:41 AM, jschwartz > wrote: > >> >> As far as I know, this is done by the provider of your internet >> service.....sometimes begrudgingly. Have you gone that route? > -- ------------------------------------------------------------------- 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 bob at patin.com Tue Mar 18 10:57:30 2014 From: bob at patin.com (Bob Patin) Date: Tue Mar 18 10:51:58 2014 Subject: [FX.php List] [OFF] Need help creating a reverse DNS zone In-Reply-To: <53287A19.2010101@pointinspace.com> References: <826483E4-FE5C-4D81-AFD2-72FE06885E27@patin.com> <2CE96FAB-7ED3-466F-8BF0-FC5B134EEC73@exit445.com> <53287A19.2010101@pointinspace.com> Message-ID: I just sent them an email? thanks, John, as always! Hope you?re well; best, Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 18, 2014, at 11:53 AM, John May wrote: > You need to be sure your provider has assigned the authority for the reverse records to you, or that they create the reverse records on their end of things if they can't/won't. > > - John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140318/3709f564/attachment.html From bob at patin.com Tue Mar 18 11:01:23 2014 From: bob at patin.com (Bob Patin) Date: Tue Mar 18 10:55:50 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: <5A8895CB-D8DD-497F-817A-2D4938158557@patin.com> References: <83A40783-E849-4F9F-B46E-A4304BE97416@iViking.org> <8FEEF4A4-68ED-4791-B657-1E5D4BC57DDE@patin.com> <32BD9359-D53F-4ADA-8669-BA68B6C8D139@iViking.org> <5A8895CB-D8DD-497F-817A-2D4938158557@patin.com> Message-ID: <2F304127-1B3F-427C-AE11-16AB52D81BE0@patin.com> Oops, that?s not the code on the page? SetDBData('wpe_test.fmp12', 'data' ); $q->SetDBPassword($webPW,$webUN); $qResult = $q->FMFind(); echo $qResult['errorCode']; ?> On Mar 18, 2014, at 11:46 AM, Bob Patin wrote: > Hey Chris, > > I downloaded 6.0 from github; is that the latest? > > Still no joy; I copied the test page and FX folder to the FMS server, but it won?t successfully query the DB; if you want to take a look, here?s the test page: > > http://fms6test.longtermsolutions.com > > and here?s the query: > > > include_once('FX/FX.php'); > include_once('FX/server_data.php'); > > echo 'FMS 13 web app test...'; > exit; > > // perform query > $q =new FX($serverIP,$webCompanionPort, $dataType); > $q->SetDBData('wpe_test.fmp12?,?data?); > $q->SetDBPassword($webPW,$webUN); > $qResult = $q->FMFindAll(); > > // echo ?Found: '.$qResult['foundCount']; > > print_r($qResult); > > ?> > > As always, your help is greatly appreciated; hope you?re well, > > Bob > > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11 & 12 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > > On Mar 18, 2014, at 11:40 AM, Chris Hansen wrote: > >> Bob, >> >> Good and good. But, you WILL need the latest version of FX.php. Unfortunately another oddity was created with the release of FileMaker 13, so you need to be using the very latest version of FX. >> >> Best, >> > > _______________________________________________ > 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/20140318/f2d7860b/attachment-0001.html From bob at patin.com Tue Mar 18 11:03:24 2014 From: bob at patin.com (Bob Patin) Date: Tue Mar 18 10:57:52 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: <2F304127-1B3F-427C-AE11-16AB52D81BE0@patin.com> References: <83A40783-E849-4F9F-B46E-A4304BE97416@iViking.org> <8FEEF4A4-68ED-4791-B657-1E5D4BC57DDE@patin.com> <32BD9359-D53F-4ADA-8669-BA68B6C8D139@iViking.org> <5A8895CB-D8DD-497F-817A-2D4938158557@patin.com> <2F304127-1B3F-427C-AE11-16AB52D81BE0@patin.com> Message-ID: <5DA75E4A-08E3-4887-B694-EBF11099079C@patin.com> Well, a server restart made it run faster, but still no joy; here?s the first line that I get back from a print_r(): FMS 13 web app test...FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 100 [message] => FX: cURL could not retrieve Post data in RetrieveFMData(). A bad URL is the most likely reason. On Mar 18, 2014, at 12:01 PM, Bob Patin wrote: > Oops, that?s not the code on the page? > > > include_once('FX/FX.php'); > include_once('FX/server_data.php'); > > echo 'FMS 13 web app test...'; > > // perform query > $q =new FX($serverIP,$webCompanionPort, $dataType); > $q->SetDBData('wpe_test.fmp12', 'data' ); > $q->SetDBPassword($webPW,$webUN); > $qResult = $q->FMFind(); > > echo $qResult['errorCode']; > > ?> > > On Mar 18, 2014, at 11:46 AM, Bob Patin wrote: > >> Hey Chris, >> >> I downloaded 6.0 from github; is that the latest? >> >> Still no joy; I copied the test page and FX folder to the FMS server, but it won?t successfully query the DB; if you want to take a look, here?s the test page: >> >> http://fms6test.longtermsolutions.com >> >> and here?s the query: >> >> > >> include_once('FX/FX.php'); >> include_once('FX/server_data.php'); >> >> echo 'FMS 13 web app test...'; >> exit; >> >> // perform query >> $q =new FX($serverIP,$webCompanionPort, $dataType); >> $q->SetDBData('wpe_test.fmp12?,?data?); >> $q->SetDBPassword($webPW,$webUN); >> $qResult = $q->FMFindAll(); >> >> // echo ?Found: '.$qResult['foundCount']; >> >> print_r($qResult); >> >> ?> >> >> As always, your help is greatly appreciated; hope you?re well, >> >> Bob >> >> >> Bob Patin >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> FileMaker 9, 10, 11 & 12 Certified Developer >> http://www.longtermsolutions.com >> - >> iChat: bobpatin@me.com >> Twitter: bobpatin >> ? >> FileMaker Consulting >> FileMaker Hosting for all versions of FileMaker >> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >> >> >> On Mar 18, 2014, at 11:40 AM, Chris Hansen wrote: >> >>> Bob, >>> >>> Good and good. But, you WILL need the latest version of FX.php. Unfortunately another oddity was created with the release of FileMaker 13, so you need to be using the very latest version of FX. >>> >>> Best, >>> >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/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/20140318/ae644f17/attachment.html From vargas_s at aps.edu Tue Mar 18 11:08:18 2014 From: vargas_s at aps.edu (Vargas, Steve E) Date: Tue Mar 18 11:02:49 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: <5DA75E4A-08E3-4887-B694-EBF11099079C@patin.com> References: <83A40783-E849-4F9F-B46E-A4304BE97416@iViking.org> <8FEEF4A4-68ED-4791-B657-1E5D4BC57DDE@patin.com> <32BD9359-D53F-4ADA-8669-BA68B6C8D139@iViking.org> <5A8895CB-D8DD-497F-817A-2D4938158557@patin.com> <2F304127-1B3F-427C-AE11-16AB52D81BE0@patin.com> <5DA75E4A-08E3-4887-B694-EBF11099079C@patin.com> Message-ID: Have you recently pinged the IP and checked the status of the port? Steve From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin Sent: Tuesday, March 18, 2014 11:03 AM To: FX.php Discussion List Subject: Re: [FX.php List] First try with WPE and FM Server 13... fail... Well, a server restart made it run faster, but still no joy; here's the first line that I get back from a print_r(): FMS 13 web app test...FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 100 [message] => FX: cURL could not retrieve Post data in RetrieveFMData(). A bad URL is the most likely reason. On Mar 18, 2014, at 12:01 PM, Bob Patin > wrote: Oops, that's not the code on the page... SetDBData('wpe_test.fmp12', 'data' ); $q->SetDBPassword($webPW,$webUN); $qResult = $q->FMFind(); echo $qResult['errorCode']; ?> On Mar 18, 2014, at 11:46 AM, Bob Patin > wrote: Hey Chris, I downloaded 6.0 from github; is that the latest? Still no joy; I copied the test page and FX folder to the FMS server, but it won't successfully query the DB; if you want to take a look, here's the test page: http://fms6test.longtermsolutions.com and here's the query: SetDBData('wpe_test.fmp12','data'); $q->SetDBPassword($webPW,$webUN); $qResult = $q->FMFindAll(); // echo 'Found: '.$qResult['foundCount']; print_r($qResult); ?> As always, your help is greatly appreciated; hope you're well, Bob Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin - FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP * Full email services * Free DNS hosting * Colocation * Consulting On Mar 18, 2014, at 11:40 AM, Chris Hansen > wrote: Bob, Good and good. But, you WILL need the latest version of FX.php. Unfortunately another oddity was created with the release of FileMaker 13, so you need to be using the very latest version of FX. Best, _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/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/20140318/da333625/attachment-0001.html From bob at patin.com Tue Mar 18 11:14:54 2014 From: bob at patin.com (Bob Patin) Date: Tue Mar 18 11:09:21 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: References: <83A40783-E849-4F9F-B46E-A4304BE97416@iViking.org> <8FEEF4A4-68ED-4791-B657-1E5D4BC57DDE@patin.com> <32BD9359-D53F-4ADA-8669-BA68B6C8D139@iViking.org> <5A8895CB-D8DD-497F-817A-2D4938158557@patin.com> <2F304127-1B3F-427C-AE11-16AB52D81BE0@patin.com> <5DA75E4A-08E3-4887-B694-EBF11099079C@patin.com> Message-ID: It?s not a port issue; there?s no firewall yet on this machine. BP On Mar 18, 2014, at 12:08 PM, Vargas, Steve E wrote: > Have you recently pinged the IP and checked the status of the port? > > Steve > > > From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin > Sent: Tuesday, March 18, 2014 11:03 AM > To: FX.php Discussion List > Subject: Re: [FX.php List] First try with WPE and FM Server 13... fail... > > Well, a server restart made it run faster, but still no joy; here?s the first line that I get back from a print_r(): > > FMS 13 web app test...FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 100 [message] => FX: cURL could not retrieve Post data in RetrieveFMData(). A bad URL is the most likely reason. > > > On Mar 18, 2014, at 12:01 PM, Bob Patin wrote: > > > Oops, that?s not the code on the page? > > > include_once('FX/FX.php'); > include_once('FX/server_data.php'); > > echo 'FMS 13 web app test...'; > > // perform query > $q =new FX($serverIP,$webCompanionPort, $dataType); > $q->SetDBData('wpe_test.fmp12', 'data' ); > $q->SetDBPassword($webPW,$webUN); > $qResult = $q->FMFind(); > > echo $qResult['errorCode']; > > ?> > > On Mar 18, 2014, at 11:46 AM, Bob Patin wrote: > > > Hey Chris, > > I downloaded 6.0 from github; is that the latest? > > Still no joy; I copied the test page and FX folder to the FMS server, but it won?t successfully query the DB; if you want to take a look, here?s the test page: > > http://fms6test.longtermsolutions.com > > and here?s the query: > > > include_once('FX/FX.php'); > include_once('FX/server_data.php'); > > echo 'FMS 13 web app test...'; > exit; > > // perform query > $q =new FX($serverIP,$webCompanionPort, $dataType); > $q->SetDBData('wpe_test.fmp12?,?data?); > $q->SetDBPassword($webPW,$webUN); > $qResult = $q->FMFindAll(); > > // echo ?Found: '.$qResult['foundCount']; > > print_r($qResult); > > ?> > > As always, your help is greatly appreciated; hope you?re well, > > Bob > > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11 & 12 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > > On Mar 18, 2014, at 11:40 AM, Chris Hansen wrote: > > > Bob, > > Good and good. But, you WILL need the latest version of FX.php. Unfortunately another oddity was created with the release of FileMaker 13, so you need to be using the very latest version of FX. > > Best, > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140318/d2ab1ce8/attachment.html From adenman at tmea.org Tue Mar 18 11:23:07 2014 From: adenman at tmea.org (Andrew Denman) Date: Tue Mar 18 11:17:34 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: References: <83A40783-E849-4F9F-B46E-A4304BE97416@iViking.org> <8FEEF4A4-68ED-4791-B657-1E5D4BC57DDE@patin.com> <32BD9359-D53F-4ADA-8669-BA68B6C8D139@iViking.org> <5A8895CB-D8DD-497F-817A-2D4938158557@patin.com> <2F304127-1B3F-427C-AE11-16AB52D81BE0@patin.com> <5DA75E4A-08E3-4887-B694-EBF11099079C@patin.com> Message-ID: It?s been a while since I?ve had to dig in an error object, but the ?dataServer? variable doesn?t look right it when I run your test page. Missing periods and includes what looks suspiciously like curly quotes. ???fms6longtermsolutionscom??? Andrew Denman From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin Sent: Tuesday, March 18, 2014 12:15 PM To: FX.php Discussion List Subject: Re: [FX.php List] First try with WPE and FM Server 13... fail... It?s not a port issue; there?s no firewall yet on this machine. BP On Mar 18, 2014, at 12:08 PM, Vargas, Steve E > wrote: Have you recently pinged the IP and checked the status of the port? Steve From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin Sent: Tuesday, March 18, 2014 11:03 AM To: FX.php Discussion List Subject: Re: [FX.php List] First try with WPE and FM Server 13... fail... Well, a server restart made it run faster, but still no joy; here?s the first line that I get back from a print_r(): FMS 13 web app test...FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 100 [message] => FX: cURL could not retrieve Post data in RetrieveFMData(). A bad URL is the most likely reason. On Mar 18, 2014, at 12:01 PM, Bob Patin > wrote: Oops, that?s not the code on the page? SetDBData('wpe_test.fmp12', 'data' ); $q->SetDBPassword($webPW,$webUN); $qResult = $q->FMFind(); echo $qResult['errorCode']; ?> On Mar 18, 2014, at 11:46 AM, Bob Patin > wrote: Hey Chris, I downloaded 6.0 from github; is that the latest? Still no joy; I copied the test page and FX folder to the FMS server, but it won?t successfully query the DB; if you want to take a look, here?s the test page: http://fms6test.longtermsolutions.com and here?s the query: SetDBData('wpe_test.fmp12?,?data?); $q->SetDBPassword($webPW,$webUN); $qResult = $q->FMFindAll(); // echo ?Found: '.$qResult['foundCount']; print_r($qResult); ?> As always, your help is greatly appreciated; hope you?re well, Bob Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 18, 2014, at 11:40 AM, Chris Hansen > wrote: Bob, Good and good. But, you WILL need the latest version of FX.php. Unfortunately another oddity was created with the release of FileMaker 13, so you need to be using the very latest version of FX. Best, _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140318/362781ff/attachment-0001.html From adenman at tmea.org Tue Mar 18 11:27:52 2014 From: adenman at tmea.org (Andrew Denman) Date: Tue Mar 18 11:22:20 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: References: <83A40783-E849-4F9F-B46E-A4304BE97416@iViking.org> <8FEEF4A4-68ED-4791-B657-1E5D4BC57DDE@patin.com> <32BD9359-D53F-4ADA-8669-BA68B6C8D139@iViking.org> <5A8895CB-D8DD-497F-817A-2D4938158557@patin.com> <2F304127-1B3F-427C-AE11-16AB52D81BE0@patin.com> <5DA75E4A-08E3-4887-B694-EBF11099079C@patin.com> Message-ID: I guess I should also mention: upgrading to the latest FX.php version from github was all we had to do to make FileMaker 13 work with FX.php. Andrew Denman From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Andrew Denman Sent: Tuesday, March 18, 2014 12:23 PM To: FX.php Discussion List Subject: RE: [FX.php List] First try with WPE and FM Server 13... fail... It?s been a while since I?ve had to dig in an error object, but the ?dataServer? variable doesn?t look right it when I run your test page. Missing periods and includes what looks suspiciously like curly quotes. ???fms6longtermsolutionscom??? Andrew Denman From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin Sent: Tuesday, March 18, 2014 12:15 PM To: FX.php Discussion List Subject: Re: [FX.php List] First try with WPE and FM Server 13... fail... It?s not a port issue; there?s no firewall yet on this machine. BP On Mar 18, 2014, at 12:08 PM, Vargas, Steve E > wrote: Have you recently pinged the IP and checked the status of the port? Steve From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin Sent: Tuesday, March 18, 2014 11:03 AM To: FX.php Discussion List Subject: Re: [FX.php List] First try with WPE and FM Server 13... fail... Well, a server restart made it run faster, but still no joy; here?s the first line that I get back from a print_r(): FMS 13 web app test...FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 100 [message] => FX: cURL could not retrieve Post data in RetrieveFMData(). A bad URL is the most likely reason. On Mar 18, 2014, at 12:01 PM, Bob Patin > wrote: Oops, that?s not the code on the page? SetDBData('wpe_test.fmp12', 'data' ); $q->SetDBPassword($webPW,$webUN); $qResult = $q->FMFind(); echo $qResult['errorCode']; ?> On Mar 18, 2014, at 11:46 AM, Bob Patin > wrote: Hey Chris, I downloaded 6.0 from github; is that the latest? Still no joy; I copied the test page and FX folder to the FMS server, but it won?t successfully query the DB; if you want to take a look, here?s the test page: http://fms6test.longtermsolutions.com and here?s the query: SetDBData('wpe_test.fmp12?,?data?); $q->SetDBPassword($webPW,$webUN); $qResult = $q->FMFindAll(); // echo ?Found: '.$qResult['foundCount']; print_r($qResult); ?> As always, your help is greatly appreciated; hope you?re well, Bob Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 18, 2014, at 11:40 AM, Chris Hansen > wrote: Bob, Good and good. But, you WILL need the latest version of FX.php. Unfortunately another oddity was created with the release of FileMaker 13, so you need to be using the very latest version of FX. Best, _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140318/3cb41ff5/attachment-0001.html From leo at regex.se Tue Mar 18 10:49:58 2014 From: leo at regex.se (Leo R. Lundgren) Date: Tue Mar 18 11:27:20 2014 Subject: [FX.php List] [OFF] Need help creating a reverse DNS zone In-Reply-To: References: <826483E4-FE5C-4D81-AFD2-72FE06885E27@patin.com> <2CE96FAB-7ED3-466F-8BF0-FC5B134EEC73@exit445.com> Message-ID: <7B61189F-5544-41A3-9F2C-A65F67FF214F@regex.se> Feel free to ping me if it doesn't work out or you need a second pair of eyes. 18 mar 2014 kl. 17.48 skrev Bob Patin: > Well, I run my own mail server, so I have to take care of those things; you?re right that last time my ISP did it for me (had forgotten that), so I may see if I can get some help in that corner again. > > I tried adding it myself, but apparently I have something wrong because it?s not showing as authoritative? > > BP From dale.bengston at gmail.com Tue Mar 18 12:18:48 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Tue Mar 18 12:13:19 2014 Subject: [FX.php List] FileMaker Server Error 959 Message-ID: <8537EC1E-C316-4669-962F-5066A60DBFF2@gmail.com> Hello everyone, It must be a bad day for FileMaker/web coders, given the list traffic today. I just got a FileMaker Server error 959, which is not one I?d seen before or could find in the docs, but I found it here: http://help.filemaker.com/app/answers/detail/a_id/7245/~/filemaker-server-error-code-959 "Error code 959 was introduced in FileMaker Server 9 to let users know that a technology has been disabled. For example, if you turn off the XML technology using the deployment wizard, and then try to make an XML query. The xml will return an error code 959." So, FMS thinks the XML technology has been disabled. Not so, says the FMS Admin Console. I?ve tried starting and stopping the WPE, and restarting FMS, restarting Apache, and restarting my Mac. I pulled a fresh backup from the live site to make sure my copies of the database files are all good. Everything checks out okay, but I still can?t connect. This was all working a couple weeks ago, which is the last time I launched this particular site. I?m thinking Apple?s last security update may have broken FMS? again. I?m running FMS 12.0.6.600 on OS X Mavericks 10.9.2, which my admin/start page says is up to date. Anybody seen this before? I?ll try reinstalling FMS tonight when I?m in the same building with my FMS installer. Thanks, Dale From mail at jsfmp.com Tue Mar 18 12:41:14 2014 From: mail at jsfmp.com (Joel Shapiro) Date: Tue Mar 18 12:35:43 2014 Subject: [FX.php List] FileMaker Server Error 959 In-Reply-To: <8537EC1E-C316-4669-962F-5066A60DBFF2@gmail.com> References: <8537EC1E-C316-4669-962F-5066A60DBFF2@gmail.com> Message-ID: <9E8961A5-824B-4365-8CEF-F5EFADDF2EBD@jsfmp.com> Hi Dale You may have tried this, but you didn't state so specifically in your email so I'll put it out there: Does anything happen when you toggle the "Enable XML Publishing" checkbox? (Console>Configuration>Web Publishing>XML) Best, -Joel On Mar 18, 2014, at 11:18 AM, Dale Bengston wrote: > So, FMS thinks the XML technology has been disabled. Not so, says the FMS Admin Console. I?ve tried starting and stopping the WPE, and restarting FMS, restarting Apache, and restarting my Mac. I pulled a fresh backup from the live site to make sure my copies of the database files are all good. Everything checks out okay, but I still can?t connect. From bob at patin.com Tue Mar 18 13:28:01 2014 From: bob at patin.com (Bob Patin) Date: Tue Mar 18 13:22:28 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: References: <83A40783-E849-4F9F-B46E-A4304BE97416@iViking.org> <8FEEF4A4-68ED-4791-B657-1E5D4BC57DDE@patin.com> <32BD9359-D53F-4ADA-8669-BA68B6C8D139@iViking.org> <5A8895CB-D8DD-497F-817A-2D4938158557@patin.com> <2F304127-1B3F-427C-AE11-16AB52D81BE0@patin.com> <5DA75E4A-08E3-4887-B694-EBF11099079C@patin.com> Message-ID: <099F5D68-7C87-45E4-997B-B8237935062A@patin.com> You?re absolutely right, I was writing it on the web server using TextEdit, forgot to set it to ?plain text?? Unfortunately, it?s still not running the query though? aaaarrrrrrggggghhh? On Mar 18, 2014, at 12:23 PM, Andrew Denman wrote: > It?s been a while since I?ve had to dig in an error object, but the ?dataServer? variable doesn?t look right it when I run your test page. Missing periods and includes what looks suspiciously like curly quotes. > > ???fms6longtermsolutionscom??? > > > Andrew Denman > > From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin > Sent: Tuesday, March 18, 2014 12:15 PM > To: FX.php Discussion List > Subject: Re: [FX.php List] First try with WPE and FM Server 13... fail... > > It?s not a port issue; there?s no firewall yet on this machine. > > BP > > On Mar 18, 2014, at 12:08 PM, Vargas, Steve E wrote: > > > Have you recently pinged the IP and checked the status of the port? > > Steve > > > From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin > Sent: Tuesday, March 18, 2014 11:03 AM > To: FX.php Discussion List > Subject: Re: [FX.php List] First try with WPE and FM Server 13... fail... > > Well, a server restart made it run faster, but still no joy; here?s the first line that I get back from a print_r(): > > FMS 13 web app test...FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 100 [message] => FX: cURL could not retrieve Post data in RetrieveFMData(). A bad URL is the most likely reason. > > > On Mar 18, 2014, at 12:01 PM, Bob Patin wrote: > > > > Oops, that?s not the code on the page? > > > include_once('FX/FX.php'); > include_once('FX/server_data.php'); > > echo 'FMS 13 web app test...'; > > // perform query > $q =new FX($serverIP,$webCompanionPort, $dataType); > $q->SetDBData('wpe_test.fmp12', 'data' ); > $q->SetDBPassword($webPW,$webUN); > $qResult = $q->FMFind(); > > echo $qResult['errorCode']; > > ?> > > On Mar 18, 2014, at 11:46 AM, Bob Patin wrote: > > > > Hey Chris, > > I downloaded 6.0 from github; is that the latest? > > Still no joy; I copied the test page and FX folder to the FMS server, but it won?t successfully query the DB; if you want to take a look, here?s the test page: > > http://fms6test.longtermsolutions.com > > and here?s the query: > > > include_once('FX/FX.php'); > include_once('FX/server_data.php'); > > echo 'FMS 13 web app test...'; > exit; > > // perform query > $q =new FX($serverIP,$webCompanionPort, $dataType); > $q->SetDBData('wpe_test.fmp12?,?data?); > $q->SetDBPassword($webPW,$webUN); > $qResult = $q->FMFindAll(); > > // echo ?Found: '.$qResult['foundCount']; > > print_r($qResult); > > ?> > > As always, your help is greatly appreciated; hope you?re well, > > Bob > > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11 & 12 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > > On Mar 18, 2014, at 11:40 AM, Chris Hansen wrote: > > > > Bob, > > Good and good. But, you WILL need the latest version of FX.php. Unfortunately another oddity was created with the release of FileMaker 13, so you need to be using the very latest version of FX. > > Best, > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140318/0dd8d2e9/attachment-0001.html From tony_white at twdesigns.com Tue Mar 18 15:56:28 2014 From: tony_white at twdesigns.com (Tony White) Date: Tue Mar 18 15:51:36 2014 Subject: [FX.php List] PHP Frameworks - follow-up on 2013-06-20 previous thread Message-ID: Hi All, There was a discussion about PHP Frameworks in the 2013-06-20 thread "Someting to show at DevCon CWP User Group? -> web frameworks" (spelling to match original) Here are some interesting links for those interested in some thoughts from Rasmus_Lerdorf, the creator of PHP... http://en.wikipedia.org/wiki/Rasmus_Lerdorf ...and commentary there upon. Starting at 31:40 PHP Frameworks Day 2013 - Rasmus Lerdorf http://youtu.be/anr7DQnMMs0?t=31m44s Here is where I first heard about this recent conversation: http://www.phpclasses.org/blog/post/227-The-Debate-About-All-PHP-Frameworks- that-Suck--Lately-in-PHP-podcast-episode-44.html [begin excerpt] The video and the article about when Rasmus Lerdorf stated that in his opinion all PHP frameworks suck had great reprecussion. In this podcast the debate about reasons for this opinion continued with Manuel Lemos, Cesar Rodas and Yasir Siddiqui, the winner of PHP Innovation Award edition of 2013. [end excerpt] The phpclasses.org link and blurb is a bit provocative, perhaps on purpose. That said, the video and the podcast are both worth the time, IMO. All the best, Tony White Tony White Designs, Inc. Tel: 646-714-2797 (Google Voice) Tel: 718-797-4175 tony_white@twdesigns.com http://www.twdesigns.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140318/a9bafa57/attachment.html From dale.bengston at gmail.com Tue Mar 18 16:03:48 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Tue Mar 18 15:58:24 2014 Subject: [FX.php List] FileMaker Server Error 959 In-Reply-To: <9E8961A5-824B-4365-8CEF-F5EFADDF2EBD@jsfmp.com> References: <8537EC1E-C316-4669-962F-5066A60DBFF2@gmail.com> <9E8961A5-824B-4365-8CEF-F5EFADDF2EBD@jsfmp.com> Message-ID: Hi Joel, It continues to not function if I uncheck the XML publishing box. ;-) The Admin Console reports the correct protocol is enabled if the box is checked, and that it?s disabled if unchecked. But I?m not able to connect and get the 959 error either way. I?m going to try uninstall/reinstall in a view minutes. Dale On Mar 18, 2014, at 1:41 PM, Joel Shapiro wrote: > Hi Dale > > You may have tried this, but you didn't state so specifically in your email so I'll put it out there: > > Does anything happen when you toggle the "Enable XML Publishing" checkbox? > (Console>Configuration>Web Publishing>XML) > > Best, > -Joel > > > On Mar 18, 2014, at 11:18 AM, Dale Bengston wrote: > >> So, FMS thinks the XML technology has been disabled. Not so, says the FMS Admin Console. I?ve tried starting and stopping the WPE, and restarting FMS, restarting Apache, and restarting my Mac. I pulled a fresh backup from the live site to make sure my copies of the database files are all good. Everything checks out okay, but I still can?t connect. > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From gary at gnurps.com Wed Mar 19 09:04:25 2014 From: gary at gnurps.com (Gary Sprung) Date: Wed Mar 19 08:59:08 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: <099F5D68-7C87-45E4-997B-B8237935062A@patin.com> References: <83A40783-E849-4F9F-B46E-A4304BE97416@iViking.org> <8FEEF4A4-68ED-4791-B657-1E5D4BC57DDE@patin.com> <32BD9359-D53F-4ADA-8669-BA68B6C8D139@iViking.org> <5A8895CB-D8DD-497F-817A-2D4938158557@patin.com> <2F304127-1B3F-427C-AE11-16AB52D81BE0@patin.com> <5DA75E4A-08E3-4887-B694-EBF11099079C@patin.com> <099F5D68-7C87-45E4-997B-B8237935062A@patin.com> Message-ID: <3A92209D-F476-4FF0-AA7D-AFA3014504C4@gnurps.com> On Mar 18, 2014, at 1:28 PM, Bob Patin wrote: > You?re absolutely right, I was writing it on the web server using TextEdit, forgot to set it to ?plain text?? Great reason to have a better text editor on the server. TextWrangler by BareBones is free. Gary Sprung From bob at patin.com Wed Mar 19 09:12:03 2014 From: bob at patin.com (Bob Patin) Date: Wed Mar 19 09:06:30 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: <3A92209D-F476-4FF0-AA7D-AFA3014504C4@gnurps.com> References: <83A40783-E849-4F9F-B46E-A4304BE97416@iViking.org> <8FEEF4A4-68ED-4791-B657-1E5D4BC57DDE@patin.com> <32BD9359-D53F-4ADA-8669-BA68B6C8D139@iViking.org> <5A8895CB-D8DD-497F-817A-2D4938158557@patin.com> <2F304127-1B3F-427C-AE11-16AB52D81BE0@patin.com> <5DA75E4A-08E3-4887-B694-EBF11099079C@patin.com> <099F5D68-7C87-45E4-997B-B8237935062A@patin.com> <3A92209D-F476-4FF0-AA7D-AFA3014504C4@gnurps.com> Message-ID: I have it, but I almost never edit right on the server. This was a quick thing? Unfortunately, I still haven?t gotten it to work on that machine. On Mar 19, 2014, at 10:04 AM, Gary Sprung wrote: >> >> You?re absolutely right, I was writing it on the web server using TextEdit, forgot to set it to ?plain text?? > Great reason to have a better text editor on the server. TextWrangler by BareBones is free. > > Gary Sprung > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140319/8428be74/attachment.html From beverlyvoth at gmail.com Wed Mar 19 09:31:13 2014 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Wed Mar 19 09:25:40 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: <3A92209D-F476-4FF0-AA7D-AFA3014504C4@gnurps.com> References: <83A40783-E849-4F9F-B46E-A4304BE97416@iViking.org> <8FEEF4A4-68ED-4791-B657-1E5D4BC57DDE@patin.com> <32BD9359-D53F-4ADA-8669-BA68B6C8D139@iViking.org> <5A8895CB-D8DD-497F-817A-2D4938158557@patin.com> <2F304127-1B3F-427C-AE11-16AB52D81BE0@patin.com> <5DA75E4A-08E3-4887-B694-EBF11099079C@patin.com> <099F5D68-7C87-45E4-997B-B8237935062A@patin.com> <3A92209D-F476-4FF0-AA7D-AFA3014504C4@gnurps.com> Message-ID: <41F8DA79-50BA-4AF9-8C48-9DDF88220C39@gmail.com> Yep, and BBEdit is not free, but since I nearly "live" there (even for some FMP 'text wrangling' on occasion), it's well worth every penny. I don't use any IDEs or WYSIWYG editors or FrameWorks (with or without 'interface'). BBEdit's my coding Go-To. :) Beverly On 19 Mar 2014, at 11:04 AM, Gary Sprung wrote: > On Mar 18, 2014, at 1:28 PM, Bob Patin wrote: > >> You?re absolutely right, I was writing it on the web server using TextEdit, forgot to set it to ?plain text?? > Great reason to have a better text editor on the server. TextWrangler by BareBones is free. From bob at patin.com Wed Mar 19 09:43:03 2014 From: bob at patin.com (Bob Patin) Date: Wed Mar 19 09:37:29 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: <41F8DA79-50BA-4AF9-8C48-9DDF88220C39@gmail.com> References: <83A40783-E849-4F9F-B46E-A4304BE97416@iViking.org> <8FEEF4A4-68ED-4791-B657-1E5D4BC57DDE@patin.com> <32BD9359-D53F-4ADA-8669-BA68B6C8D139@iViking.org> <5A8895CB-D8DD-497F-817A-2D4938158557@patin.com> <2F304127-1B3F-427C-AE11-16AB52D81BE0@patin.com> <5DA75E4A-08E3-4887-B694-EBF11099079C@patin.com> <099F5D68-7C87-45E4-997B-B8237935062A@patin.com> <3A92209D-F476-4FF0-AA7D-AFA3014504C4@gnurps.com> <41F8DA79-50BA-4AF9-8C48-9DDF88220C39@gmail.com> Message-ID: <72AA0E5E-BA88-45E9-B351-37DF3254021B@patin.com> I know that some people turn their noses up on Dreamweaver, but I?ve been using it since v1 and really like that I can use that one environment to write whatever I need. I?ve never gotten in the habit of writing directly on a development machine; I use one of my servers, so that means FTPing files, which can be a pain, but a lot of the time I?m updating existing sites and it?s just faster. I?ve downloaded easily a half-dozen different apps?TextMate, BBEdit, TextWrangler, Coda, Espresso?but I keep coming back to Dreamweaver. Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 19, 2014, at 10:31 AM, BEVERLY VOTH wrote: > Yep, and BBEdit is not free, but since I nearly "live" there (even for some FMP 'text wrangling' on occasion), it's well worth every penny. I don't use any IDEs or WYSIWYG editors or FrameWorks (with or without 'interface'). BBEdit's my coding Go-To. :) > > Beverly > > On 19 Mar 2014, at 11:04 AM, Gary Sprung wrote: > >> On Mar 18, 2014, at 1:28 PM, Bob Patin wrote: >> >>> You?re absolutely right, I was writing it on the web server using TextEdit, forgot to set it to ?plain text?? >> Great reason to have a better text editor on the server. TextWrangler by BareBones is free. > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dale.bengston at gmail.com Wed Mar 19 10:31:47 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Wed Mar 19 10:26:16 2014 Subject: [FX.php List] FileMaker Server Error 959 In-Reply-To: References: <8537EC1E-C316-4669-962F-5066A60DBFF2@gmail.com> <9E8961A5-824B-4365-8CEF-F5EFADDF2EBD@jsfmp.com> Message-ID: <708C0673-51EE-40E8-8E4E-1AC276121A4B@gmail.com> Uninstall/reinstall cured my problem. It looks like the latest OS X Mavericks update breaks the WPE. At least there?s a reasonably simple workaround. Dale On Mar 18, 2014, at 5:03 PM, Dale Bengston wrote: > Hi Joel, > > It continues to not function if I uncheck the XML publishing box. ;-) > > The Admin Console reports the correct protocol is enabled if the box is checked, and that it?s disabled if unchecked. But I?m not able to connect and get the 959 error either way. > > I?m going to try uninstall/reinstall in a view minutes. > > Dale > > On Mar 18, 2014, at 1:41 PM, Joel Shapiro wrote: > >> Hi Dale >> >> You may have tried this, but you didn't state so specifically in your email so I'll put it out there: >> >> Does anything happen when you toggle the "Enable XML Publishing" checkbox? >> (Console>Configuration>Web Publishing>XML) >> >> Best, >> -Joel >> >> >> On Mar 18, 2014, at 11:18 AM, Dale Bengston wrote: >> >>> So, FMS thinks the XML technology has been disabled. Not so, says the FMS Admin Console. I?ve tried starting and stopping the WPE, and restarting FMS, restarting Apache, and restarting my Mac. I pulled a fresh backup from the live site to make sure my copies of the database files are all good. Everything checks out okay, but I still can?t connect. >> >> _______________________________________________ >> 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 19 10:38:25 2014 From: bob at patin.com (Bob Patin) Date: Wed Mar 19 10:32:54 2014 Subject: [FX.php List] FileMaker Server Error 959 In-Reply-To: <708C0673-51EE-40E8-8E4E-1AC276121A4B@gmail.com> References: <8537EC1E-C316-4669-962F-5066A60DBFF2@gmail.com> <9E8961A5-824B-4365-8CEF-F5EFADDF2EBD@jsfmp.com> <708C0673-51EE-40E8-8E4E-1AC276121A4B@gmail.com> Message-ID: <16C46410-ACC0-4518-9962-CC220F85AF24@patin.com> Dale, Maybe that?s my problem too then; what did you reinstall, the OS or just FM Server? BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 19, 2014, at 11:31 AM, Dale Bengston wrote: > Uninstall/reinstall cured my problem. It looks like the latest OS X Mavericks update breaks the WPE. At least there?s a reasonably simple workaround. > > Dale -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140319/9efd2bd5/attachment.html From dale.bengston at gmail.com Wed Mar 19 10:51:16 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Wed Mar 19 10:45:45 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: <41F8DA79-50BA-4AF9-8C48-9DDF88220C39@gmail.com> References: <83A40783-E849-4F9F-B46E-A4304BE97416@iViking.org> <8FEEF4A4-68ED-4791-B657-1E5D4BC57DDE@patin.com> <32BD9359-D53F-4ADA-8669-BA68B6C8D139@iViking.org> <5A8895CB-D8DD-497F-817A-2D4938158557@patin.com> <2F304127-1B3F-427C-AE11-16AB52D81BE0@patin.com> <5DA75E4A-08E3-4887-B694-EBF11099079C@patin.com> <099F5D68-7C87-45E4-997B-B8237935062A@patin.com> <3A92209D-F476-4FF0-AA7D-AFA3014504C4@gnurps.com> <41F8DA79-50BA-4AF9-8C48-9DDF88220C39@gmail.com> Message-ID: BBEdit here too. I started out using a visual editor, and one day I realized I was not using the visual part; I was just editing the raw text. So I dropped it and bought BBEdit. I put TextWrangler on servers for quick editing in-place cuz it?s free and so much like BBEdit that I don?t have to think. Dale On Mar 19, 2014, at 10:31 AM, BEVERLY VOTH wrote: > Yep, and BBEdit is not free, but since I nearly "live" there (even for some FMP 'text wrangling' on occasion), it's well worth every penny. I don't use any IDEs or WYSIWYG editors or FrameWorks (with or without 'interface'). BBEdit's my coding Go-To. :) > > Beverly > > On 19 Mar 2014, at 11:04 AM, Gary Sprung wrote: > >> On Mar 18, 2014, at 1:28 PM, Bob Patin wrote: >> >>> You?re absolutely right, I was writing it on the web server using TextEdit, forgot to set it to ?plain text?? >> Great reason to have a better text editor on the server. TextWrangler by BareBones is free. > > _______________________________________________ > 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 19 10:57:49 2014 From: bob at patin.com (Bob Patin) Date: Wed Mar 19 10:52:15 2014 Subject: [FX.php List] First try with WPE and FM Server 13... fail... In-Reply-To: References: <83A40783-E849-4F9F-B46E-A4304BE97416@iViking.org> <8FEEF4A4-68ED-4791-B657-1E5D4BC57DDE@patin.com> <32BD9359-D53F-4ADA-8669-BA68B6C8D139@iViking.org> <5A8895CB-D8DD-497F-817A-2D4938158557@patin.com> <2F304127-1B3F-427C-AE11-16AB52D81BE0@patin.com> <5DA75E4A-08E3-4887-B694-EBF11099079C@patin.com> <099F5D68-7C87-45E4-997B-B8237935062A@patin.com> <3A92209D-F476-4FF0-AA7D-AFA3014504C4@gnurps.com> <41F8DA79-50BA-4AF9-8C48-9DDF88220C39@gmail.com> Message-ID: So Dale, when you said you reinstalled and it fixed the WPE problem with your Mavericks machine, did you reinstall FMS 13, or did you completely reinstall Mavericks (gulp)? BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 19, 2014, at 11:51 AM, Dale Bengston wrote: > BBEdit here too. I started out using a visual editor, and one day I realized I was not using the visual part; I was just editing the raw text. So I dropped it and bought BBEdit. I put TextWrangler on servers for quick editing in-place cuz it?s free and so much like BBEdit that I don?t have to think. > > Dale > > On Mar 19, 2014, at 10:31 AM, BEVERLY VOTH wrote: > >> Yep, and BBEdit is not free, but since I nearly "live" there (even for some FMP 'text wrangling' on occasion), it's well worth every penny. I don't use any IDEs or WYSIWYG editors or FrameWorks (with or without 'interface'). BBEdit's my coding Go-To. :) >> >> Beverly >> >> On 19 Mar 2014, at 11:04 AM, Gary Sprung wrote: >> >>> On Mar 18, 2014, at 1:28 PM, Bob Patin wrote: >>> >>>> You?re absolutely right, I was writing it on the web server using TextEdit, forgot to set it to ?plain text?? >>> Great reason to have a better text editor on the server. TextWrangler by BareBones is free. >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dale.bengston at gmail.com Wed Mar 19 11:01:18 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Wed Mar 19 10:55:44 2014 Subject: [FX.php List] FileMaker Server Error 959 In-Reply-To: <16C46410-ACC0-4518-9962-CC220F85AF24@patin.com> References: <8537EC1E-C316-4669-962F-5066A60DBFF2@gmail.com> <9E8961A5-824B-4365-8CEF-F5EFADDF2EBD@jsfmp.com> <708C0673-51EE-40E8-8E4E-1AC276121A4B@gmail.com> <16C46410-ACC0-4518-9962-CC220F85AF24@patin.com> Message-ID: <28ACEF19-4837-4BFC-BFD3-1A882A2FA08C@gmail.com> Just FMS12. There is a Mavericks-specific update (12.0.6.600) on FileMaker?s web site. I was already running that, and I redid it using the same version. If you?re not using Mavericks, check to see if there are any updates for your OS version. On Mar 19, 2014, at 11:38 AM, Bob Patin wrote: > Dale, > > Maybe that?s my problem too then; what did you reinstall, the OS or just FM Server? > > BP > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11 & 12 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > On Mar 19, 2014, at 11:31 AM, Dale Bengston wrote: > >> Uninstall/reinstall cured my problem. It looks like the latest OS X Mavericks update breaks the WPE. At least there?s a reasonably simple workaround. >> >> Dale > > _______________________________________________ > 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/20140319/e649d61b/attachment.html From bob at patin.com Wed Mar 19 11:03:27 2014 From: bob at patin.com (Bob Patin) Date: Wed Mar 19 10:58:00 2014 Subject: [FX.php List] FileMaker Server Error 959 In-Reply-To: <28ACEF19-4837-4BFC-BFD3-1A882A2FA08C@gmail.com> References: <8537EC1E-C316-4669-962F-5066A60DBFF2@gmail.com> <9E8961A5-824B-4365-8CEF-F5EFADDF2EBD@jsfmp.com> <708C0673-51EE-40E8-8E4E-1AC276121A4B@gmail.com> <16C46410-ACC0-4518-9962-CC220F85AF24@patin.com> <28ACEF19-4837-4BFC-BFD3-1A882A2FA08C@gmail.com> Message-ID: <8F254D77-9B4E-4FDC-A506-4A441F567B7C@patin.com> Oh? my FMS12 servers are working great w/ WPE; I?m having trouble with an FMS13 server? argh? BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 19, 2014, at 12:01 PM, Dale Bengston wrote: > Just FMS12. There is a Mavericks-specific update (12.0.6.600) on FileMaker?s web site. I was already running that, and I redid it using the same version. If you?re not using Mavericks, check to see if there are any updates for your OS version. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140319/464245fb/attachment.html From dness at bondedbuilders.com Wed Mar 19 12:59:38 2014 From: dness at bondedbuilders.com (Ness, David) Date: Wed Mar 19 12:54:04 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 Message-ID: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> I, also, need some help. I have a working FMSA v11/fx.php v4.5.1 solution that's been running great for years. It's time I tackle the update to FMS v13. Updating FileMaker server to 13 resulted in fx.php failure. I downloaded and swapped fx.php v4.5.1 for FX.php v6.0 This is a new server. Port 80 is open between web server and FMSv13 machine. No joy. The php error log has this entry: [19-Mar-2014 18:51:11 UTC] PHP Fatal error: Cannot use object of type FX_Error as array in D:\websites\dev.MyBBWG\index.php on line 331 Line 331 of my code is: foreach ($queryResult['data'] as $key => $message_data) { ... The FMS13 Log (Web Publishing Core) has this entry: Type = Error, Event = 0, Description = 10.30.8.173 168.50.115:55019 php_system XML 4 497 "fmi/xml/FMPXMLRESULT.xml" I have no clue how to proceed. Any help is great appreciated. Probably nothing; what's the port 55019 indicate in the log error? David Ness FileMaker & Web Applications Developer Bonded Builders Warranty Group 800-749-0381 x3123 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140319/943f1729/attachment-0001.html From dale.bengston at gmail.com Wed Mar 19 13:19:44 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Wed Mar 19 13:14:21 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> Message-ID: Hi David, Your foreach loop is addressing $queryResult as an array, but in the case of an error from FX.php, $queryResult is an object. Try doing print_r($queryResult) at that point to see what the error object contains. Dale On Mar 19, 2014, at 1:59 PM, Ness, David wrote: > I, also, need some help. > > I have a working FMSA v11/fx.php v4.5.1 solution that?s been running great for years. > > It?s time I tackle the update to FMS v13. > > Updating FileMaker server to 13 resulted in fx.php failure. I downloaded and swapped fx.php v4.5.1 for FX.php v6.0 > This is a new server. Port 80 is open between web server and FMSv13 machine. > > No joy. > > The php error log has this entry: > [19-Mar-2014 18:51:11 UTC] PHP Fatal error: Cannot use object of type FX_Error as array in D:\websites\dev.MyBBWG\index.php on line 331 > > Line 331 of my code is: > foreach ($queryResult['data'] as $key => $message_data) { > ? > > The FMS13 Log (Web Publishing Core) has this entry: > Type = Error, Event = 0, Description = 10.30.8.173 168.50.115:55019 php_system XML 4 497 ?fmi/xml/FMPXMLRESULT.xml? > > > > I have no clue how to proceed. > Any help is great appreciated. > > Probably nothing; what?s the port 55019 indicate in the log error? > > > > David Ness > FileMaker & Web Applications Developer > > Bonded Builders Warranty Group > 800-749-0381 x3123 > > _______________________________________________ > 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/20140319/1461f89d/attachment.html From bob at patin.com Wed Mar 19 13:30:10 2014 From: bob at patin.com (Bob Patin) Date: Wed Mar 19 13:24:33 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> Message-ID: <9344CBB2-D4EA-43A4-BDCF-03AA19291537@patin.com> Hey Dave, What OS are you running? I?m taking my Mavericks machine and going back to 10.8.5, and I bet it works right off? Will report on it when I do? BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 19, 2014, at 1:59 PM, Ness, David wrote: > I, also, need some help. > > I have a working FMSA v11/fx.php v4.5.1 solution that?s been running great for years. > > It?s time I tackle the update to FMS v13. > > Updating FileMaker server to 13 resulted in fx.php failure. I downloaded and swapped fx.php v4.5.1 for FX.php v6.0 > This is a new server. Port 80 is open between web server and FMSv13 machine. > > No joy. > > The php error log has this entry: > [19-Mar-2014 18:51:11 UTC] PHP Fatal error: Cannot use object of type FX_Error as array in D:\websites\dev.MyBBWG\index.php on line 331 > > Line 331 of my code is: > foreach ($queryResult['data'] as $key => $message_data) { > ? > > The FMS13 Log (Web Publishing Core) has this entry: > Type = Error, Event = 0, Description = 10.30.8.173 168.50.115:55019 php_system XML 4 497 ?fmi/xml/FMPXMLRESULT.xml? > > > > I have no clue how to proceed. > Any help is great appreciated. > > Probably nothing; what?s the port 55019 indicate in the log error? > > > > David Ness > FileMaker & Web Applications Developer > > Bonded Builders Warranty Group > 800-749-0381 x3123 > > _______________________________________________ > 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/20140319/76d505ce/attachment-0001.html From dness at bondedbuilders.com Wed Mar 19 13:33:27 2014 From: dness at bondedbuilders.com (Ness, David) Date: Wed Mar 19 13:27:52 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: <9344CBB2-D4EA-43A4-BDCF-03AA19291537@patin.com> References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> <9344CBB2-D4EA-43A4-BDCF-03AA19291537@patin.com> Message-ID: <2f2c29c62fd247a699af6bfcc781aeab@BLUPR02MB019.namprd02.prod.outlook.com> The FMSv13 is on Windows Server 2008 R2 Standard David Ness FileMaker & Web Applications Developer Bonded Builders Warranty Group 800-749-0381 x3123 From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin Sent: Wednesday, March 19, 2014 3:30 PM To: FX.php Discussion List Subject: Re: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 Hey Dave, What OS are you running? I'm taking my Mavericks machine and going back to 10.8.5, and I bet it works right off... Will report on it when I do... BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin - FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP * Full email services * Free DNS hosting * Colocation * Consulting On Mar 19, 2014, at 1:59 PM, Ness, David > wrote: I, also, need some help. I have a working FMSA v11/fx.php v4.5.1 solution that's been running great for years. It's time I tackle the update to FMS v13. Updating FileMaker server to 13 resulted in fx.php failure. I downloaded and swapped fx.php v4.5.1 for FX.php v6.0 This is a new server. Port 80 is open between web server and FMSv13 machine. No joy. The php error log has this entry: [19-Mar-2014 18:51:11 UTC] PHP Fatal error: Cannot use object of type FX_Error as array in D:\websites\dev.MyBBWG\index.php on line 331 Line 331 of my code is: foreach ($queryResult['data'] as $key => $message_data) { ... The FMS13 Log (Web Publishing Core) has this entry: Type = Error, Event = 0, Description = 10.30.8.173 168.50.115:55019 php_system XML 4 497 "fmi/xml/FMPXMLRESULT.xml" I have no clue how to proceed. Any help is great appreciated. Probably nothing; what's the port 55019 indicate in the log error? David Ness FileMaker & Web Applications Developer Bonded Builders Warranty Group 800-749-0381 x3123 _______________________________________________ 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/20140319/67446dfa/attachment.html From dness at bondedbuilders.com Wed Mar 19 13:37:39 2014 From: dness at bondedbuilders.com (Ness, David) Date: Wed Mar 19 13:32:04 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> Message-ID: This is the result of the print_r($queryResult); FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 100 [message] => FX: ExecuteQuery XML error: Not well-formed (invalid token) at line 1 [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => D:\websites\dev.MyBBWG\FX\datasource_classes\RetrieveFM5Data.class.php [line] => 165 [function] => FX_Error [class] => FX_Error [object] => FX_Error Object *RECURSION* [type] => -> [args] => Array ( [0] => ExecuteQuery XML error: Not well-formed (invalid token) at line 1 ) ) [1] => Array ( [file] => D:\websites\dev.MyBBWG\FX\FX.php [line] => 309 [function] => doQuery [class] => RetrieveFM5Data [object] => RetrieveFM5Data Object ( [currentFlag] => [currentValueList] => [currentValueListElement] => [currentRecord] => [currentSubrecordIndex] => [currentField] => [currentFieldIndex] => [columnCounter] => -1 [dataURL] => http://php_system:m0t10n@10.30.8.173:80/FMPro?-db=Online+Enrollments&-lay=oe_systemwide_preferences&-format=-fmp_xml&-max=1&-op=eq&constant=1&-find [dataURLParams] => -db=Online+Enrollments&-lay=oe_systemwide_preferences&-format=-fmp_xml&-max=1&-op=eq&constant=1&-find [invalidXMLChars] => Array ( [0] => [1] => [2] =>  ) [UTF8SpecialChars] => Array ( [0] => |([?-?])([?-?])|e [1] => |(?)([ -?])([?-?])|e [2] => |([?-?])([?-?])([?-?])|e [3] => |(?)([?-?])([?-?])([?-?])|e [4] => |([?-?])([?-?])([?-?])([?-?])|e [5] => |(?)([?-?])([?-?])([?-?])|e ) [UTF8HTMLEntities] => Array ( [0] => $this->FX->BuildExtendedChar('\1','\2') [1] => $this->FX->BuildExtendedChar('\1','\2','\3') [2] => $this->FX->BuildExtendedChar('\1','\2','\3') [3] => $this->FX->BuildExtendedChar('\1','\2','\3','\4') [4] => $this->FX->BuildExtendedChar('\1','\2','\3','\4') [5] => $this->FX->BuildExtendedChar('\1','\2','\3','\4') ) [FX] => FX Object ( [dataServer] => 10.30.8.173 [dataServerType] => fmpro [dataServerVersion] => 0 [dataPort] => 80 [dataPortSuffix] => :80 [urlScheme] => http [useSSLProtocol] => [verifyPeer] => 1 [database] => Online Enrollments [layout] => oe_systemwide_preferences [responseLayout] => [groupSize] => 1 [currentSkip] => 0 [defaultOperator] => bw [findquerynumber] => 1 [findquerystring] => [dataParams] => Array ( [0] => Array ( [name] => constant [value] => 1 [op] => eq ) ) [sortParams] => Array ( ) [actionArray] => Array ( [-delete] => -delete [-dup] => -dup [-edit] => -edit [-find] => -find [-findall] => -findall [-findany] => -findany [-findquery] => -findquery [-new] => -new [-view] => -view [-dbnames] => -dbnames [-layoutnames] => -layoutnames [-scriptnames] => -scriptnames [-sqlquery] => -sqlquery [delete] => -delete [duplicate] => -dup [update] => -edit [perform_find] => -find [show_all] => -findall [show_any] => -findany [new] => -new [view_layout_objects] => -view [view_database_names] => -dbnames [view_layout_names] => -layoutnames [view_script_names] => -scriptnames ) [primaryKeyField] => [modifyDateField] => [dataKeySeparator] => [fuzzyKeyLogic] => [genericKeys] => [selectColsSet] => [selectColumns] => [fieldInfo] => Array ( ) [currentData] => Array ( ) [valueLists] => Array ( ) [totalRecordCount] => -1 [foundCount] => -1 [dateFormat] => [timeFormat] => [dataQuery] => [charSet] => [dataParamsEncoding] => [remainNames] => Array ( ) [remainNamesReverse] => Array ( ) [portalAsRecord] => [usePortalIDs] => [fieldCount] => 0 [fxError] => No Action Taken [errorTracking] => 0 [useInnerArray] => 1 [useComma2Period] => [DBUser] => php_system [DBPassword] => m0t10n [userPass] => php_system:m0t10n@ [defaultPostPolicy] => 1 [isPostQuery] => 1 [defaultFOpenPolicy] => [isFOpenQuery] => [useCURL] => 1 [customPrimaryKey] => [lastLinkPrevious] => [lastLinkNext] => [lastFoundCount] => -2 [lastFields] => Array ( ) [lastURL] => [lastQuery] => [lastQueryParams] => Array ( ) [lastErrorCode] => -2 [lastValueLists] => Array ( ) [lastDebugMessage] => Instantiating FX.php. Configuring database connection... Setting user name and password... Unable to parse FileMaker XML. Use the DEBUG constant and try connecting with the resulting URL manually. You should also double check the user name and password used, the server address and port, and Web Companion configuration. Finally, be sure that you have specified the correct data type (e.g. FileMaker 5 or 6 versus 7 or 8.) [fuzzyFXPass] => [columnCount] => -1 ) ) [type] => -> [args] => Array ( [0] => -find ) ) [2] => Array ( [file] => D:\websites\dev.MyBBWG\FX\FX.php [line] => 464 [function] => ExecuteQuery [class] => FX [object] => FX Object ( [dataServer] => 10.30.8.173 [dataServerType] => fmpro [dataServerVersion] => 0 [dataPort] => 80 [dataPortSuffix] => :80 [urlScheme] => http [useSSLProtocol] => [verifyPeer] => 1 [database] => Online Enrollments [layout] => oe_systemwide_preferences [responseLayout] => [groupSize] => 1 [currentSkip] => 0 [defaultOperator] => bw [findquerynumber] => 1 [findquerystring] => [dataParams] => Array ( [0] => Array ( [name] => constant [value] => 1 [op] => eq ) ) [sortParams] => Array ( ) [actionArray] => Array ( [-delete] => -delete [-dup] => -dup [-edit] => -edit [-find] => -find [-findall] => -findall [-findany] => -findany [-findquery] => -findquery [-new] => -new [-view] => -view [-dbnames] => -dbnames [-layoutnames] => -layoutnames [-scriptnames] => -scriptnames [-sqlquery] => -sqlquery [delete] => -delete [duplicate] => -dup [update] => -edit [perform_find] => -find [show_all] => -findall [show_any] => -findany [new] => -new [view_layout_objects] => -view [view_database_names] => -dbnames [view_layout_names] => -layoutnames [view_script_names] => -scriptnames ) [primaryKeyField] => [modifyDateField] => [dataKeySeparator] => [fuzzyKeyLogic] => [genericKeys] => [selectColsSet] => [selectColumns] => [fieldInfo] => Array ( ) [currentData] => Array ( ) [valueLists] => Array ( ) [totalRecordCount] => -1 [foundCount] => -1 [dateFormat] => [timeFormat] => [dataQuery] => [charSet] => [dataParamsEncoding] => [remainNames] => Array ( ) [remainNamesReverse] => Array ( ) [portalAsRecord] => [usePortalIDs] => [fieldCount] => 0 [fxError] => No Action Taken [errorTracking] => 0 [useInnerArray] => 1 [useComma2Period] => [DBUser] => php_system [DBPassword] => m0t10n [userPass] => php_system:m0t10n@ [defaultPostPolicy] => 1 [isPostQuery] => 1 [defaultFOpenPolicy] => [isFOpenQuery] => [useCURL] => 1 [customPrimaryKey] => [lastLinkPrevious] => [lastLinkNext] => [lastFoundCount] => -2 [lastFields] => Array ( ) [lastURL] => [lastQuery] => [lastQueryParams] => Array ( ) [lastErrorCode] => -2 [lastValueLists] => Array ( ) [lastDebugMessage] => Instantiating FX.php. Configuring database connection... Setting user name and password... Unable to parse FileMaker XML. Use the DEBUG constant and try connecting with the resulting URL manually. You should also double check the user name and password used, the server address and port, and Web Companion configuration. Finally, be sure that you have specified the correct data type (e.g. FileMaker 5 or 6 versus 7 or 8.) [fuzzyFXPass] => [columnCount] => -1 ) [type] => -> [args] => Array ( [0] => -find ) ) [3] => Array ( [file] => D:\websites\dev.MyBBWG\FX\FX.php [line] => 879 [function] => FMAction [class] => FX [object] => FX Object ( [dataServer] => 10.30.8.173 [dataServerType] => fmpro [dataServerVersion] => 0 [dataPort] => 80 [dataPortSuffix] => :80 [urlScheme] => http [useSSLProtocol] => [verifyPeer] => 1 [database] => Online Enrollments [layout] => oe_systemwide_preferences [responseLayout] => [groupSize] => 1 [currentSkip] => 0 [defaultOperator] => bw [findquerynumber] => 1 [findquerystring] => [dataParams] => Array ( [0] => Array ( [name] => constant [value] => 1 [op] => eq ) ) [sortParams] => Array ( ) [actionArray] => Array ( [-delete] => -delete [-dup] => -dup [-edit] => -edit [-find] => -find [-findall] => -findall [-findany] => -findany [-findquery] => -findquery [-new] => -new [-view] => -view [-dbnames] => -dbnames [-layoutnames] => -layoutnames [-scriptnames] => -scriptnames [-sqlquery] => -sqlquery [delete] => -delete [duplicate] => -dup [update] => -edit [perform_find] => -find [show_all] => -findall [show_any] => -findany [new] => -new [view_layout_objects] => -view [view_database_names] => -dbnames [view_layout_names] => -layoutnames [view_script_names] => -scriptnames ) [primaryKeyField] => [modifyDateField] => [dataKeySeparator] => [fuzzyKeyLogic] => [genericKeys] => [selectColsSet] => [selectColumns] => [fieldInfo] => Array ( ) [currentData] => Array ( ) [valueLists] => Array ( ) [totalRecordCount] => -1 [foundCount] => -1 [dateFormat] => [timeFormat] => [dataQuery] => [charSet] => [dataParamsEncoding] => [remainNames] => Array ( ) [remainNamesReverse] => Array ( ) [portalAsRecord] => [usePortalIDs] => [fieldCount] => 0 [fxError] => No Action Taken [errorTracking] => 0 [useInnerArray] => 1 [useComma2Period] => [DBUser] => php_system [DBPassword] => m0t10n [userPass] => php_system:m0t10n@ [defaultPostPolicy] => 1 [isPostQuery] => 1 [defaultFOpenPolicy] => [isFOpenQuery] => [useCURL] => 1 [customPrimaryKey] => [lastLinkPrevious] => [lastLinkNext] => [lastFoundCount] => -2 [lastFields] => Array ( ) [lastURL] => [lastQuery] => [lastQueryParams] => Array ( ) [lastErrorCode] => -2 [lastValueLists] => Array ( ) [lastDebugMessage] => Instantiating FX.php. Configuring database connection... Setting user name and password... Unable to parse FileMaker XML. Use the DEBUG constant and try connecting with the resulting URL manually. You should also double check the user name and password used, the server address and port, and Web Companion configuration. Finally, be sure that you have specified the correct data type (e.g. FileMaker 5 or 6 versus 7 or 8.) [fuzzyFXPass] => [columnCount] => -1 ) [type] => -> [args] => Array ( [0] => -find [1] => 1 [2] => full [3] => 1 ) ) [4] => Array ( [file] => D:\websites\dev.MyBBWG\index.php [line] => 330 [function] => FMFind [class] => FX [object] => FX Object ( [dataServer] => 10.30.8.173 [dataServerType] => fmpro [dataServerVersion] => 0 [dataPort] => 80 [dataPortSuffix] => :80 [urlScheme] => http [useSSLProtocol] => [verifyPeer] => 1 [database] => Online Enrollments [layout] => oe_systemwide_preferences [responseLayout] => [groupSize] => 1 [currentSkip] => 0 [defaultOperator] => bw [findquerynumber] => 1 [findquerystring] => [dataParams] => Array ( [0] => Array ( [name] => constant [value] => 1 [op] => eq ) ) [sortParams] => Array ( ) [actionArray] => Array ( [-delete] => -delete [-dup] => -dup [-edit] => -edit [-find] => -find [-findall] => -findall [-findany] => -findany [-findquery] => -findquery [-new] => -new [-view] => -view [-dbnames] => -dbnames [-layoutnames] => -layoutnames [-scriptnames] => -scriptnames [-sqlquery] => -sqlquery [delete] => -delete [duplicate] => -dup [update] => -edit [perform_find] => -find [show_all] => -findall [show_any] => -findany [new] => -new [view_layout_objects] => -view [view_database_names] => -dbnames [view_layout_names] => -layoutnames [view_script_names] => -scriptnames ) [primaryKeyField] => [modifyDateField] => [dataKeySeparator] => [fuzzyKeyLogic] => [genericKeys] => [selectColsSet] => [selectColumns] => [fieldInfo] => Array ( ) [currentData] => Array ( ) [valueLists] => Array ( ) [totalRecordCount] => -1 [foundCount] => -1 [dateFormat] => [timeFormat] => [dataQuery] => [charSet] => [dataParamsEncoding] => [remainNames] => Array ( ) [remainNamesReverse] => Array ( ) [portalAsRecord] => [usePortalIDs] => [fieldCount] => 0 [fxError] => No Action Taken [errorTracking] => 0 [useInnerArray] => 1 [useComma2Period] => [DBUser] => php_system [DBPassword] => m0t10n [userPass] => php_system:m0t10n@ [defaultPostPolicy] => 1 [isPostQuery] => 1 [defaultFOpenPolicy] => [isFOpenQuery] => [useCURL] => 1 [customPrimaryKey] => [lastLinkPrevious] => [lastLinkNext] => [lastFoundCount] => -2 [lastFields] => Array ( ) [lastURL] => [lastQuery] => [lastQueryParams] => Array ( ) [lastErrorCode] => -2 [lastValueLists] => Array ( ) [lastDebugMessage] => Instantiating FX.php. Configuring database connection... Setting user name and password... Unable to parse FileMaker XML. Use the DEBUG constant and try connecting with the resulting URL manually. You should also double check the user name and password used, the server address and port, and Web Companion configuration. Finally, be sure that you have specified the correct data type (e.g. FileMaker 5 or 6 versus 7 or 8.) [fuzzyFXPass] => [columnCount] => -1 ) [type] => -> [args] => Array ( ) ) ) [callback] => ) David Ness FileMaker & Web Applications Developer Bonded Builders Warranty Group 800-749-0381 x3123 From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Dale Bengston Sent: Wednesday, March 19, 2014 3:20 PM To: FX.php Discussion List Subject: Re: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 Hi David, Your foreach loop is addressing $queryResult as an array, but in the case of an error from FX.php, $queryResult is an object. Try doing print_r($queryResult) at that point to see what the error object contains. Dale On Mar 19, 2014, at 1:59 PM, Ness, David > wrote: I, also, need some help. I have a working FMSA v11/fx.php v4.5.1 solution that?s been running great for years. It?s time I tackle the update to FMS v13. Updating FileMaker server to 13 resulted in fx.php failure. I downloaded and swapped fx.php v4.5.1 for FX.php v6.0 This is a new server. Port 80 is open between web server and FMSv13 machine. No joy. The php error log has this entry: [19-Mar-2014 18:51:11 UTC] PHP Fatal error: Cannot use object of type FX_Error as array in D:\websites\dev.MyBBWG\index.php on line 331 Line 331 of my code is: foreach ($queryResult['data'] as $key => $message_data) { ? The FMS13 Log (Web Publishing Core) has this entry: Type = Error, Event = 0, Description = 10.30.8.173 168.50.115:55019 php_system XML 4 497 ?fmi/xml/FMPXMLRESULT.xml? I have no clue how to proceed. Any help is great appreciated. Probably nothing; what?s the port 55019 indicate in the log error? David Ness FileMaker & Web Applications Developer Bonded Builders Warranty Group 800-749-0381 x3123 _______________________________________________ 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/20140319/a5b6ad5f/attachment-0001.html From bob at patin.com Wed Mar 19 13:39:20 2014 From: bob at patin.com (Bob Patin) Date: Wed Mar 19 13:33:46 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: <2f2c29c62fd247a699af6bfcc781aeab@BLUPR02MB019.namprd02.prod.outlook.com> References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> <9344CBB2-D4EA-43A4-BDCF-03AA19291537@patin.com> <2f2c29c62fd247a699af6bfcc781aeab@BLUPR02MB019.namprd02.prod.outlook.com> Message-ID: Oh? gulp? :) The odd thing on the machine that I was struggling with was that the server?s internal test page worked fine. I finally decided to roll it back, because I have other machines running both FMS 13 and FMS 12 on 10.8.5, without any trouble. Makes me think there may be a disconnect between FX.php and FMS13?s Web Publishing Engine. Is there anyone on this list using FMS 13 for web publishing with FX.php, and if so, what OS are you running? Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 19, 2014, at 2:33 PM, Ness, David wrote: > The FMSv13 is on Windows Server 2008 R2 Standard > > > David Ness > FileMaker & Web Applications Developer > > Bonded Builders Warranty Group > 800-749-0381 x3123 > > From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin > Sent: Wednesday, March 19, 2014 3:30 PM > To: FX.php Discussion List > Subject: Re: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 > > Hey Dave, > > What OS are you running? I?m taking my Mavericks machine and going back to 10.8.5, and I bet it works right off? > > Will report on it when I do? > > BP > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11 & 12 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > On Mar 19, 2014, at 1:59 PM, Ness, David wrote: > > > I, also, need some help. > > I have a working FMSA v11/fx.php v4.5.1 solution that?s been running great for years. > > It?s time I tackle the update to FMS v13. > > Updating FileMaker server to 13 resulted in fx.php failure. I downloaded and swapped fx.php v4.5.1 for FX.php v6.0 > This is a new server. Port 80 is open between web server and FMSv13 machine. > > No joy. > > The php error log has this entry: > [19-Mar-2014 18:51:11 UTC] PHP Fatal error: Cannot use object of type FX_Error as array in D:\websites\dev.MyBBWG\index.php on line 331 > > Line 331 of my code is: > foreach ($queryResult['data'] as $key => $message_data) { > ? > > The FMS13 Log (Web Publishing Core) has this entry: > Type = Error, Event = 0, Description = 10.30.8.173 168.50.115:55019 php_system XML 4 497 ?fmi/xml/FMPXMLRESULT.xml? > > > > I have no clue how to proceed. > Any help is great appreciated. > > Probably nothing; what?s the port 55019 indicate in the log error? > > > > David Ness > FileMaker & Web Applications Developer > > Bonded Builders Warranty Group > 800-749-0381 x3123 > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/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/20140319/f6fa9343/attachment.html From dness at bondedbuilders.com Wed Mar 19 13:47:23 2014 From: dness at bondedbuilders.com (Ness, David) Date: Wed Mar 19 13:42:00 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> <9344CBB2-D4EA-43A4-BDCF-03AA19291537@patin.com> Message-ID: Oh, and it's virtualized. (But that's just my TEST server. Once it's in production, it will have its own box.) David Ness FileMaker & Web Applications Developer Bonded Builders Warranty Group 800-749-0381 x3123 From: Ness, David Sent: Wednesday, March 19, 2014 3:34 PM To: 'FX.php Discussion List' Subject: RE: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 The FMSv13 is on Windows Server 2008 R2 Standard David Ness FileMaker & Web Applications Developer Bonded Builders Warranty Group 800-749-0381 x3123 From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin Sent: Wednesday, March 19, 2014 3:30 PM To: FX.php Discussion List Subject: Re: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 Hey Dave, What OS are you running? I'm taking my Mavericks machine and going back to 10.8.5, and I bet it works right off... Will report on it when I do... BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin - FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP * Full email services * Free DNS hosting * Colocation * Consulting On Mar 19, 2014, at 1:59 PM, Ness, David > wrote: I, also, need some help. I have a working FMSA v11/fx.php v4.5.1 solution that's been running great for years. It's time I tackle the update to FMS v13. Updating FileMaker server to 13 resulted in fx.php failure. I downloaded and swapped fx.php v4.5.1 for FX.php v6.0 This is a new server. Port 80 is open between web server and FMSv13 machine. No joy. The php error log has this entry: [19-Mar-2014 18:51:11 UTC] PHP Fatal error: Cannot use object of type FX_Error as array in D:\websites\dev.MyBBWG\index.php on line 331 Line 331 of my code is: foreach ($queryResult['data'] as $key => $message_data) { ... The FMS13 Log (Web Publishing Core) has this entry: Type = Error, Event = 0, Description = 10.30.8.173 168.50.115:55019 php_system XML 4 497 "fmi/xml/FMPXMLRESULT.xml" I have no clue how to proceed. Any help is great appreciated. Probably nothing; what's the port 55019 indicate in the log error? David Ness FileMaker & Web Applications Developer Bonded Builders Warranty Group 800-749-0381 x3123 _______________________________________________ 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/20140319/0b4378d0/attachment-0001.html From dale.bengston at gmail.com Wed Mar 19 13:53:59 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Wed Mar 19 13:48:39 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> Message-ID: <4C6C1AFE-F461-4AA4-B193-F3F8A3AEF416@gmail.com> RetrieveFM5Data? On Mar 19, 2014, at 2:37 PM, Ness, David wrote: > This is the result of the print_r($queryResult); > > FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 100 [message] => FX: ExecuteQuery XML error: Not well-formed (invalid token) at line 1 [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => D:\websites\dev.MyBBWG\FX\datasource_classes\RetrieveFM5Data.class.php [line] => 165 [function] => FX_Error [class] => FX_Error [object] => FX_Error Object *RECURSION* [type] => -> [args] => Array ( [0] => ExecuteQuery XML error: Not well-formed (invalid token) at line 1 ) ) [1] => Array ( [file] => D:\websites\dev.MyBBWG\FX\FX.php [line] => 309 [function] => doQuery [class] => RetrieveFM5Data [object] => RetrieveFM5Data Object ( [currentFlag] => [currentValueList] => [currentValueListElement] => [currentRecord] => [currentSubrecordIndex] => [currentField] => [currentFieldIndex] => [columnCounter] => -1 [dataURL] =>http://php_system:m0t10n@10.30.8.173:80/FMPro?-db=Online+Enrollments&-lay=oe_systemwide_preferences&-format=-fmp_xml&-max=1&-op=eq&constant=1&-find [dataURLParams] => -db=Online+Enrollments&-lay=oe_systemwide_preferences&-format=-fmp_xml&-max=1&-op=eq&constant=1&-find [invalidXMLChars] => Array ( [0] => [1] => [2] =>  ) [UTF8SpecialChars] => Array ( [0] => |([?-?])([?-?])|e [1] => |(?)([ -?])([?-?])|e [2] => |([?-?])([?-?])([?-?])|e [3] => |(?)([?-?])([?-?])([?-?])|e [4] => |([?-?])([?-?])([?-?])([?-?])|e [5] => |(?)([?-?])([?-?])([?-?])|e ) [UTF8HTMLEntities] => Array ( [0] => $this->FX->BuildExtendedChar('\1','\2') [1] => $this->FX->BuildExtendedChar('\1','\2','\3') [2] => $this->FX->BuildExtendedChar('\1','\2','\3') [3] => $this->FX->BuildExtendedChar('\1','\2','\3','\4') [4] => $this->FX->BuildExtendedChar('\1','\2','\3','\4') [5] => $this->FX->BuildExtendedChar('\1','\2','\3','\4') ) [FX] => FX Object ( [dataServer] => 10.30.8.173 [dataServerType] => fmpro [dataServerVersion] => 0 [dataPort] => 80 [dataPortSuffix] => :80 [urlScheme] => http [useSSLProtocol] => [verifyPeer] => 1 [database] => Online Enrollments [layout] => oe_systemwide_preferences [responseLayout] => [groupSize] => 1 [currentSkip] => 0 [defaultOperator] => bw [findquerynumber] => 1 [findquerystring] => [dataParams] => Array ( [0] => Array ( [name] => constant [value] => 1 [op] => eq ) ) [sortParams] => Array ( ) [actionArray] => Array ( [-delete] => -delete [-dup] => -dup [-edit] => -edit [-find] => -find [-findall] => -findall [-findany] => -findany [-findquery] => -findquery [-new] => -new [-view] => -view [-dbnames] => -dbnames [-layoutnames] => -layoutnames [-scriptnames] => -scriptnames [-sqlquery] => -sqlquery [delete] => -delete [duplicate] => -dup [update] => -edit [perform_find] => -find [show_all] => -findall [show_any] => -findany [new] => -new [view_layout_objects] => -view [view_database_names] => -dbnames [view_layout_names] => -layoutnames [view_script_names] => -scriptnames ) [primaryKeyField] => [modifyDateField] => [dataKeySeparator] => [fuzzyKeyLogic] => [genericKeys] => [selectColsSet] => [selectColumns] => [fieldInfo] => Array ( ) [currentData] => Array ( ) [valueLists] => Array ( ) [totalRecordCount] => -1 [foundCount] => -1 [dateFormat] => [timeFormat] => [dataQuery] => [charSet] => [dataParamsEncoding] => [remainNames] => Array ( ) [remainNamesReverse] => Array ( ) [portalAsRecord] => [usePortalIDs] => [fieldCount] => 0 [fxError] => No Action Taken [errorTracking] => 0 [useInnerArray] => 1 [useComma2Period] => [DBUser] => php_system [DBPassword] => m0t10n [userPass] => php_system:m0t10n@ [defaultPostPolicy] => 1 [isPostQuery] => 1 [defaultFOpenPolicy] => [isFOpenQuery] => [useCURL] => 1 [customPrimaryKey] => [lastLinkPrevious] => [lastLinkNext] => [lastFoundCount] => -2 [lastFields] => Array ( ) [lastURL] => [lastQuery] => [lastQueryParams] => Array ( ) [lastErrorCode] => -2 [lastValueLists] => Array ( ) [lastDebugMessage] => > Instantiating FX.php. > Configuring database connection... > Setting user name and password... > Unable to parse FileMaker XML. Use the DEBUG constant and try connecting with the resulting URL manually. > You should also double check the user name and password used, the server address and port, and Web Companion configuration. > Finally, be sure that you have specified the correct data type (e.g. FileMaker 5 or 6 versus 7 or 8.) > [fuzzyFXPass] => [columnCount] => -1 ) ) [type] => -> [args] => Array ( [0] => -find ) ) [2] => Array ( [file] => D:\websites\dev.MyBBWG\FX\FX.php [line] => 464 [function] => ExecuteQuery [class] => FX [object] => FX Object ( [dataServer] => 10.30.8.173 [dataServerType] => fmpro [dataServerVersion] => 0 [dataPort] => 80 [dataPortSuffix] => :80 [urlScheme] => http [useSSLProtocol] => [verifyPeer] => 1 [database] => Online Enrollments [layout] => oe_systemwide_preferences [responseLayout] => [groupSize] => 1 [currentSkip] => 0 [defaultOperator] => bw [findquerynumber] => 1 [findquerystring] => [dataParams] => Array ( [0] => Array ( [name] => constant [value] => 1 [op] => eq ) ) [sortParams] => Array ( ) [actionArray] => Array ( [-delete] => -delete [-dup] => -dup [-edit] => -edit [-find] => -find [-findall] => -findall [-findany] => -findany [-findquery] => -findquery [-new] => -new [-view] => -view [-dbnames] => -dbnames [-layoutnames] => -layoutnames [-scriptnames] => -scriptnames [-sqlquery] => -sqlquery [delete] => -delete [duplicate] => -dup [update] => -edit [perform_find] => -find [show_all] => -findall [show_any] => -findany [new] => -new [view_layout_objects] => -view [view_database_names] => -dbnames [view_layout_names] => -layoutnames [view_script_names] => -scriptnames ) [primaryKeyField] => [modifyDateField] => [dataKeySeparator] => [fuzzyKeyLogic] => [genericKeys] => [selectColsSet] => [selectColumns] => [fieldInfo] => Array ( ) [currentData] => Array ( ) [valueLists] => Array ( ) [totalRecordCount] => -1 [foundCount] => -1 [dateFormat] => [timeFormat] => [dataQuery] => [charSet] => [dataParamsEncoding] => [remainNames] => Array ( ) [remainNamesReverse] => Array ( ) [portalAsRecord] => [usePortalIDs] => [fieldCount] => 0 [fxError] => No Action Taken [errorTracking] => 0 [useInnerArray] => 1 [useComma2Period] => [DBUser] => php_system [DBPassword] => m0t10n [userPass] => php_system:m0t10n@ [defaultPostPolicy] => 1 [isPostQuery] => 1 [defaultFOpenPolicy] => [isFOpenQuery] => [useCURL] => 1 [customPrimaryKey] => [lastLinkPrevious] => [lastLinkNext] => [lastFoundCount] => -2 [lastFields] => Array ( ) [lastURL] => [lastQuery] => [lastQueryParams] => Array ( ) [lastErrorCode] => -2 [lastValueLists] => Array ( ) [lastDebugMessage] => > Instantiating FX.php. > Configuring database connection... > Setting user name and password... > Unable to parse FileMaker XML. Use the DEBUG constant and try connecting with the resulting URL manually. > You should also double check the user name and password used, the server address and port, and Web Companion configuration. > Finally, be sure that you have specified the correct data type (e.g. FileMaker 5 or 6 versus 7 or 8.) > [fuzzyFXPass] => [columnCount] => -1 ) [type] => -> [args] => Array ( [0] => -find ) ) [3] => Array ( [file] => D:\websites\dev.MyBBWG\FX\FX.php [line] => 879 [function] => FMAction [class] => FX [object] => FX Object ( [dataServer] => 10.30.8.173 [dataServerType] => fmpro [dataServerVersion] => 0 [dataPort] => 80 [dataPortSuffix] => :80 [urlScheme] => http [useSSLProtocol] => [verifyPeer] => 1 [database] => Online Enrollments [layout] => oe_systemwide_preferences [responseLayout] => [groupSize] => 1 [currentSkip] => 0 [defaultOperator] => bw [findquerynumber] => 1 [findquerystring] => [dataParams] => Array ( [0] => Array ( [name] => constant [value] => 1 [op] => eq ) ) [sortParams] => Array ( ) [actionArray] => Array ( [-delete] => -delete [-dup] => -dup [-edit] => -edit [-find] => -find [-findall] => -findall [-findany] => -findany [-findquery] => -findquery [-new] => -new [-view] => -view [-dbnames] => -dbnames [-layoutnames] => -layoutnames [-scriptnames] => -scriptnames [-sqlquery] => -sqlquery [delete] => -delete [duplicate] => -dup [update] => -edit [perform_find] => -find [show_all] => -findall [show_any] => -findany [new] => -new [view_layout_objects] => -view [view_database_names] => -dbnames [view_layout_names] => -layoutnames [view_script_names] => -scriptnames ) [primaryKeyField] => [modifyDateField] => [dataKeySeparator] => [fuzzyKeyLogic] => [genericKeys] => [selectColsSet] => [selectColumns] => [fieldInfo] => Array ( ) [currentData] => Array ( ) [valueLists] => Array ( ) [totalRecordCount] => -1 [foundCount] => -1 [dateFormat] => [timeFormat] => [dataQuery] => [charSet] => [dataParamsEncoding] => [remainNames] => Array ( ) [remainNamesReverse] => Array ( ) [portalAsRecord] => [usePortalIDs] => [fieldCount] => 0 [fxError] => No Action Taken [errorTracking] => 0 [useInnerArray] => 1 [useComma2Period] => [DBUser] => php_system [DBPassword] => m0t10n [userPass] => php_system:m0t10n@ [defaultPostPolicy] => 1 [isPostQuery] => 1 [defaultFOpenPolicy] => [isFOpenQuery] => [useCURL] => 1 [customPrimaryKey] => [lastLinkPrevious] => [lastLinkNext] => [lastFoundCount] => -2 [lastFields] => Array ( ) [lastURL] => [lastQuery] => [lastQueryParams] => Array ( ) [lastErrorCode] => -2 [lastValueLists] => Array ( ) [lastDebugMessage] => > Instantiating FX.php. > Configuring database connection... > Setting user name and password... > Unable to parse FileMaker XML. Use the DEBUG constant and try connecting with the resulting URL manually. > You should also double check the user name and password used, the server address and port, and Web Companion configuration. > Finally, be sure that you have specified the correct data type (e.g. FileMaker 5 or 6 versus 7 or 8.) > [fuzzyFXPass] => [columnCount] => -1 ) [type] => -> [args] => Array ( [0] => -find [1] => 1 [2] => full [3] => 1 ) ) [4] => Array ( [file] => D:\websites\dev.MyBBWG\index.php [line] => 330 [function] => FMFind [class] => FX [object] => FX Object ( [dataServer] => 10.30.8.173 [dataServerType] => fmpro [dataServerVersion] => 0 [dataPort] => 80 [dataPortSuffix] => :80 [urlScheme] => http [useSSLProtocol] => [verifyPeer] => 1 [database] => Online Enrollments [layout] => oe_systemwide_preferences [responseLayout] => [groupSize] => 1 [currentSkip] => 0 [defaultOperator] => bw [findquerynumber] => 1 [findquerystring] => [dataParams] => Array ( [0] => Array ( [name] => constant [value] => 1 [op] => eq ) ) [sortParams] => Array ( ) [actionArray] => Array ( [-delete] => -delete [-dup] => -dup [-edit] => -edit [-find] => -find [-findall] => -findall [-findany] => -findany [-findquery] => -findquery [-new] => -new [-view] => -view [-dbnames] => -dbnames [-layoutnames] => -layoutnames [-scriptnames] => -scriptnames [-sqlquery] => -sqlquery [delete] => -delete [duplicate] => -dup [update] => -edit [perform_find] => -find [show_all] => -findall [show_any] => -findany [new] => -new [view_layout_objects] => -view [view_database_names] => -dbnames [view_layout_names] => -layoutnames [view_script_names] => -scriptnames ) [primaryKeyField] => [modifyDateField] => [dataKeySeparator] => [fuzzyKeyLogic] => [genericKeys] => [selectColsSet] => [selectColumns] => [fieldInfo] => Array ( ) [currentData] => Array ( ) [valueLists] => Array ( ) [totalRecordCount] => -1 [foundCount] => -1 [dateFormat] => [timeFormat] => [dataQuery] => [charSet] => [dataParamsEncoding] => [remainNames] => Array ( ) [remainNamesReverse] => Array ( ) [portalAsRecord] => [usePortalIDs] => [fieldCount] => 0 [fxError] => No Action Taken [errorTracking] => 0 [useInnerArray] => 1 [useComma2Period] => [DBUser] => php_system [DBPassword] => m0t10n [userPass] => php_system:m0t10n@ [defaultPostPolicy] => 1 [isPostQuery] => 1 [defaultFOpenPolicy] => [isFOpenQuery] => [useCURL] => 1 [customPrimaryKey] => [lastLinkPrevious] => [lastLinkNext] => [lastFoundCount] => -2 [lastFields] => Array ( ) [lastURL] => [lastQuery] => [lastQueryParams] => Array ( ) [lastErrorCode] => -2 [lastValueLists] => Array ( ) [lastDebugMessage] => > Instantiating FX.php. > Configuring database connection... > Setting user name and password... > Unable to parse FileMaker XML. Use the DEBUG constant and try connecting with the resulting URL manually. > You should also double check the user name and password used, the server address and port, and Web Companion configuration. > Finally, be sure that you have specified the correct data type (e.g. FileMaker 5 or 6 versus 7 or 8.) > [fuzzyFXPass] => [columnCount] => -1 ) [type] => -> [args] => Array ( ) ) ) [callback] => ) > > > David Ness > FileMaker & Web Applications Developer > > Bonded Builders Warranty Group > 800-749-0381 x3123 > > From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Dale Bengston > Sent: Wednesday, March 19, 2014 3:20 PM > To: FX.php Discussion List > Subject: Re: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 > > Hi David, > > Your foreach loop is addressing $queryResult as an array, but in the case of an error from FX.php, $queryResult is an object. Try doing print_r($queryResult) at that point to see what the error object contains. > > Dale > > > On Mar 19, 2014, at 1:59 PM, Ness, David wrote: > > > I, also, need some help. > > I have a working FMSA v11/fx.php v4.5.1 solution that?s been running great for years. > > It?s time I tackle the update to FMS v13. > > Updating FileMaker server to 13 resulted in fx.php failure. I downloaded and swapped fx.php v4.5.1 for FX.php v6.0 > This is a new server. Port 80 is open between web server and FMSv13 machine. > > No joy. > > The php error log has this entry: > [19-Mar-2014 18:51:11 UTC] PHP Fatal error: Cannot use object of type FX_Error as array in D:\websites\dev.MyBBWG\index.php on line 331 > > Line 331 of my code is: > foreach ($queryResult['data'] as $key => $message_data) { > ? > > The FMS13 Log (Web Publishing Core) has this entry: > Type = Error, Event = 0, Description = 10.30.8.173 168.50.115:55019 php_system XML 4 497 ?fmi/xml/FMPXMLRESULT.xml? > > > > I have no clue how to proceed. > Any help is great appreciated. > > Probably nothing; what?s the port 55019 indicate in the log error? > > > > David Ness > FileMaker & Web Applications Developer > > Bonded Builders Warranty Group > 800-749-0381 x3123 > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/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/20140319/527153af/attachment-0001.html From dness at bondedbuilders.com Wed Mar 19 14:13:23 2014 From: dness at bondedbuilders.com (Ness, David) Date: Wed Mar 19 14:07:48 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: <4C6C1AFE-F461-4AA4-B193-F3F8A3AEF416@gmail.com> References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> <4C6C1AFE-F461-4AA4-B193-F3F8A3AEF416@gmail.com> Message-ID: <1c27e5b4edeb4eda83625b1c93782614@BLUPR02MB019.namprd02.prod.outlook.com> I saw that too. I have my $dataSourceType = ?FMPro7? and I tried ?fmalt?. Both returned the reference to 'RetrieveFM5Data? you see below. I don?t know why, or if this is abnormal, or not. It might be a clue to someone more knowledgeable than I. PS: I also saw I accidentally exposed by site?s un/password. I?ve now (quickly) changed them, not that I don?t trust my friends here ? David Ness FileMaker & Web Applications Developer Bonded Builders Warranty Group 800-749-0381 x3123 From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Dale Bengston Sent: Wednesday, March 19, 2014 3:54 PM To: FX.php Discussion List Subject: Re: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 RetrieveFM5Data? On Mar 19, 2014, at 2:37 PM, Ness, David > wrote: This is the result of the print_r($queryResult); FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 100 [message] => FX: ExecuteQuery XML error: Not well-formed (invalid token) at line 1 [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => D:\websites\dev.MyBBWG\FX\datasource_classes\RetrieveFM5Data.class.php ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140319/98476779/attachment.html From dale.bengston at gmail.com Wed Mar 19 14:26:05 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Wed Mar 19 14:20:36 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: <1c27e5b4edeb4eda83625b1c93782614@BLUPR02MB019.namprd02.prod.outlook.com> References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> <4C6C1AFE-F461-4AA4-B193-F3F8A3AEF416@gmail.com> <1c27e5b4edeb4eda83625b1c93782614@BLUPR02MB019.namprd02.prod.outlook.com> Message-ID: Oops! Easy to miss in that blizzard of data. FX Error 100 is ?File is missing.? Have you verified that the database file has XML publishing activated in its extended privileges? And XML is checked in the FMS config for the WPE? (I apologize for the remedial questions, but sometimes we overlook the basics.) If you chop out the URL and past it in a web browser (using your new u/p), does it return the results? Dale PS Is that a space in the name of your database file? Hmm. On Mar 19, 2014, at 3:13 PM, Ness, David wrote: > I saw that too. I have my $dataSourceType = ?FMPro7? and I tried ?fmalt?. Both returned the reference to 'RetrieveFM5Data? you see below. I don?t know why, or if this is abnormal, or not. It might be a clue to someone more knowledgeable than I. > > PS: I also saw I accidentally exposed by site?s un/password. I?ve now (quickly) changed them, not that I don?t trust my friends here J > > > David Ness > FileMaker & Web Applications Developer > > Bonded Builders Warranty Group > 800-749-0381 x3123 > > From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Dale Bengston > Sent: Wednesday, March 19, 2014 3:54 PM > To: FX.php Discussion List > Subject: Re: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 > > RetrieveFM5Data? > > > On Mar 19, 2014, at 2:37 PM, Ness, David wrote: > > > This is the result of the print_r($queryResult); > > FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 100 [message] => FX: ExecuteQuery XML error: Not well-formed (invalid token) at line 1 [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => D:\websites\dev.MyBBWG\FX\datasource_classes\RetrieveFM5Data.class.php ? > > _______________________________________________ > 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/20140319/ab3dde49/attachment.html From lelandlong at me.com Wed Mar 19 14:46:06 2014 From: lelandlong at me.com (LELAND LONG) Date: Wed Mar 19 14:40:30 2014 Subject: [FX.php List] Re: FX.php_List Digest, Vol 114, Issue 14 In-Reply-To: <20140319194841.0602017AED64@mail.iviking.org> References: <20140319194841.0602017AED64@mail.iviking.org> Message-ID: <277814AD-3DF5-4BC3-9FFB-CB86FBCD3918@me.com> I think you may be experiencing the same pain I did when moving from FX v4.x to v6.x. What I found in this forum is that the amount of pain you feel when doing this conversion is based solely upon you're programming style (how you implemented the FX functions on your page). Some people have expressed no pain in converting but I think their coding and the way they use the FX functions are different than mine and therefore our experiences differ. Looking at the code example you provided I am going to offer code snippets that I changed in my code that eliminated this error for me, in the hopes that it can aid you in determining the source of your error. I will bold the code that changed. Original code: include_once('FX/FX.php'); include_once('FX/FMErrors.php'); include_once('FX/server_data.php'); $search1=new FX($server,$webCompanionPort); $search1->SetDBData('MyDatabase.fmp12', 'FX_Portal_Report', 'all'); $search1->AddDBParam('SalesPOno', $criteria); $search1Result=$search1->FMFind(); if (($search1Result->code <> 0) && ($search1Result->code <> 401)) { echo ('FX_FMS_Error\n'); Exit; } foreach($search1Result['data'] as $key=>$search1Data) { $theData=$search1Data['myField'][0]; echo ''.$theData.''; } Modified code: include_once('FX/FX.php'); include_once('FX/FX_Error.php'); include_once('FX/server_data.php'); $search1=new FX($server,$webCompanionPort); $search1->SetDBData('MyDatabase.fmp12', 'FX_Portal_Report', 'all'); $search1->SetDBPassword('myPW', 'myUN'); $search1->AddDBParam('SalesPOno', $criteria); $search1Result=$search1->FMFind(); if (is_object($search1Result)) if (($search1Result->code <> 0) && ($search1Result->code <> 401)) { echo ('FX_FMS_Error\n'); Exit; } foreach($search1Result['data'] as $key=>$search1Data) { $theData=$search1Data['myField'][0]; echo ''.$theData.''; } Things to note on the modifications: 1) not sure of the internal changes but the filename had to be changed from FMErrors.php to FX_Error.php 2) I had to add the SetDBPassword function in order to not fail. I thought this was strange because my settings in the server_data.php file always worked before the upgrade. This is also a good example of what I meant in programming styles. Other developers may have already used this function in their code and therefore didn't require changes after upgrading. 3) the additional if() statement to test for an object was a solution offered to me by someone else on this list which helped me eliminate the "Cannot use object of type FX_Error as array" error that you are also experiencing. I suppose that this error could also be triggered in the foreach() block if you omit the Exit() function in the preceding if() statement. Hope this helps. Leland On Mar 19, 2014, at 3:48 PM, fx.php_list-request@mail.iviking.org wrote: > On Mar 19, 2014, at 2:37 PM, Ness, David wrote: > >> This is the result of the print_r($queryResult); >> >> FX_Error Object ( [error_message_prefix] => [mode] => -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140319/460fbf84/attachment-0001.html From dness at bondedbuilders.com Wed Mar 19 15:08:08 2014 From: dness at bondedbuilders.com (Ness, David) Date: Wed Mar 19 15:02:34 2014 Subject: [FX.php List] Re: FX.php_List Digest, Vol 114, Issue 14 In-Reply-To: <277814AD-3DF5-4BC3-9FFB-CB86FBCD3918@me.com> References: <20140319194841.0602017AED64@mail.iviking.org> <277814AD-3DF5-4BC3-9FFB-CB86FBCD3918@me.com> Message-ID: Thanks for taking the time to share. I'll look at all of this and implement the changes you've highlighted. I'll let you know the results. David Ness FileMaker & Web Applications Developer Bonded Builders Warranty Group 800-749-0381 x3123 From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of LELAND LONG Sent: Wednesday, March 19, 2014 4:46 PM To: fx.php_list@mail.iviking.org Subject: [FX.php List] Re: FX.php_List Digest, Vol 114, Issue 14 I think you may be experiencing the same pain I did when moving from FX v4.x to v6.x. What I found in this forum is that the amount of pain you feel when doing this conversion is based solely upon you're programming style (how you implemented the FX functions on your page). Some people have expressed no pain in converting but I think their coding and the way they use the FX functions are different than mine and therefore our experiences differ. Looking at the code example you provided I am going to offer code snippets that I changed in my code that eliminated this error for me, in the hopes that it can aid you in determining the source of your error. I will bold the code that changed. Original code: include_once('FX/FX.php'); include_once('FX/FMErrors.php'); include_once('FX/server_data.php'); $search1=new FX($server,$webCompanionPort); $search1->SetDBData('MyDatabase.fmp12', 'FX_Portal_Report', 'all'); $search1->AddDBParam('SalesPOno', $criteria); $search1Result=$search1->FMFind(); if (($search1Result->code <> 0) && ($search1Result->code <> 401)) { echo ('FX_FMS_Error\n'); Exit; } foreach($search1Result['data'] as $key=>$search1Data) { $theData=$search1Data['myField'][0]; echo ''.$theData.''; } Modified code: include_once('FX/FX.php'); include_once('FX/FX_Error.php'); include_once('FX/server_data.php'); $search1=new FX($server,$webCompanionPort); $search1->SetDBData('MyDatabase.fmp12', 'FX_Portal_Report', 'all'); $search1->SetDBPassword('myPW', 'myUN'); $search1->AddDBParam('SalesPOno', $criteria); $search1Result=$search1->FMFind(); if (is_object($search1Result)) if (($search1Result->code <> 0) && ($search1Result->code <> 401)) { echo ('FX_FMS_Error\n'); Exit; } foreach($search1Result['data'] as $key=>$search1Data) { $theData=$search1Data['myField'][0]; echo ''.$theData.''; } Things to note on the modifications: 1) not sure of the internal changes but the filename had to be changed from FMErrors.php to FX_Error.php 2) I had to add the SetDBPassword function in order to not fail. I thought this was strange because my settings in the server_data.php file always worked before the upgrade. This is also a good example of what I meant in programming styles. Other developers may have already used this function in their code and therefore didn't require changes after upgrading. 3) the additional if() statement to test for an object was a solution offered to me by someone else on this list which helped me eliminate the "Cannot use object of type FX_Error as array" error that you are also experiencing. I suppose that this error could also be triggered in the foreach() block if you omit the Exit() function in the preceding if() statement. Hope this helps. Leland On Mar 19, 2014, at 3:48 PM, fx.php_list-request@mail.iviking.org wrote: On Mar 19, 2014, at 2:37 PM, Ness, David > wrote: This is the result of the print_r($queryResult); FX_Error Object ( [error_message_prefix] => [mode] => -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140319/1ca3dd96/attachment.html From adenman at tmea.org Wed Mar 19 15:12:46 2014 From: adenman at tmea.org (Andrew Denman) Date: Wed Mar 19 15:07:09 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: <1c27e5b4edeb4eda83625b1c93782614@BLUPR02MB019.namprd02.prod.outlook.com> References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> <4C6C1AFE-F461-4AA4-B193-F3F8A3AEF416@gmail.com> <1c27e5b4edeb4eda83625b1c93782614@BLUPR02MB019.namprd02.prod.outlook.com> Message-ID: David, Just forced an error on one of my pages to check some things. With datasource type ?fmalt? and ?fmpro7?, it is using RetrieveFM7Data(). From the error object you posted it looks like it?s picking up a dataServer[Type/Version] of fmpro/0. I get fmpro/7 with ?fmpro7? and fmalt/0 with ?fmalt?. Is the data source type getting changed again somewhere along the way in your code? As to Bob?s question about installation environment: FMS 13 on Windows 2008 R2 SP1 VM, website same but different VM. I installed server 13, downloaded the latest FX.php (6.0 ? replaced ALL files in the FX folder) and everything worked using the same test databases and web files. Andrew Denman From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Ness, David Sent: Wednesday, March 19, 2014 3:13 PM To: FX.php Discussion List Subject: RE: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 I saw that too. I have my $dataSourceType = ?FMPro7? and I tried ?fmalt?. Both returned the reference to 'RetrieveFM5Data? you see below. I don?t know why, or if this is abnormal, or not. It might be a clue to someone more knowledgeable than I. PS: I also saw I accidentally exposed by site?s un/password. I?ve now (quickly) changed them, not that I don?t trust my friends here ? David Ness FileMaker & Web Applications Developer Bonded Builders Warranty Group 800-749-0381 x3123 From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Dale Bengston Sent: Wednesday, March 19, 2014 3:54 PM To: FX.php Discussion List Subject: Re: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 RetrieveFM5Data? On Mar 19, 2014, at 2:37 PM, Ness, David > wrote: This is the result of the print_r($queryResult); FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 100 [message] => FX: ExecuteQuery XML error: Not well-formed (invalid token) at line 1 [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => D:\websites\dev.MyBBWG\FX\datasource_classes\RetrieveFM5Data.class.php ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140319/3e5eef31/attachment-0001.html From bob at patin.com Wed Mar 19 15:35:28 2014 From: bob at patin.com (Bob Patin) Date: Wed Mar 19 15:29:51 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: <1c27e5b4edeb4eda83625b1c93782614@BLUPR02MB019.namprd02.prod.outlook.com> References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> <4C6C1AFE-F461-4AA4-B193-F3F8A3AEF416@gmail.com> <1c27e5b4edeb4eda83625b1c93782614@BLUPR02MB019.namprd02.prod.outlook.com> Message-ID: <8FDA8DB7-76C5-49BE-B908-21F38B6F4131@patin.com> Chris says that?s only important if you?re accessing portals, which I never do? I exposed my password too; it?s ?password? BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 19, 2014, at 3:13 PM, Ness, David wrote: > I saw that too. I have my $dataSourceType = ?FMPro7? and I tried ?fmalt?. Both returned the reference to 'RetrieveFM5Data? you see below. I don?t know why, or if this is abnormal, or not. It might be a clue to someone more knowledgeable than I. > > PS: I also saw I accidentally exposed by site?s un/password. I?ve now (quickly) changed them, not that I don?t trust my friends here J > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140319/983b0e58/attachment.html From jschwartz at exit445.com Thu Mar 20 13:15:27 2014 From: jschwartz at exit445.com (jschwartz) Date: Thu Mar 20 13:24:49 2014 Subject: [FX.php List] How do you handle failed transactional emails? Message-ID: <8E93D32E-ACD6-4252-AFF7-91C397712CEB@exit445.com> Hi Folks, On an infrequent basis, a transactional email such as an order confirmation will fail to go through using PHPMailer when the smtp server doesn?t respond. Although it is infrequent, it does happened and the client freaks when it happens. Does anyone employ any means to retry failed sends either in a few milliseconds while the script is still running, or at some later time by tracking failed sends and running a re-send script using a cron script or the like? Thanks Jonathan From michael at pre1.com Thu Mar 20 15:29:25 2014 From: michael at pre1.com (Michael Sloper) Date: Thu Mar 20 15:23:44 2014 Subject: [FX.php List] How do you handle failed transactional emails? In-Reply-To: <8E93D32E-ACD6-4252-AFF7-91C397712CEB@exit445.com> References: <8E93D32E-ACD6-4252-AFF7-91C397712CEB@exit445.com> Message-ID: We were frustrated with our own mail mail host and switched to using Mandrill for this which specializes in transactional email. They have some nice tools and it is free until you send over 12K emails a month. I know this isn't exactly what you were asking about but this was a noticeable improvement for us. Michael Sloper Pre1 Software On Mar 20, 2014, at 12:15 PM, jschwartz wrote: > Hi Folks, > > On an infrequent basis, a transactional email such as an order confirmation will fail to go through using PHPMailer when the smtp server doesn?t respond. Although it is infrequent, it does happened and the client freaks when it happens. > > Does anyone employ any means to retry failed sends either in a few milliseconds while the script is still running, or at some later time by tracking failed sends and running a re-send script using a cron script or the like? > > Thanks > > Jonathan > > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 496 bytes Desc: Message signed with OpenPGP using GPGMail Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20140320/3a02fe2f/signature.bin From leo at finalresort.org Thu Mar 20 15:33:07 2014 From: leo at finalresort.org (Leo R. Lundgren) Date: Thu Mar 20 15:27:28 2014 Subject: [FX.php List] How do you handle failed transactional emails? In-Reply-To: References: <8E93D32E-ACD6-4252-AFF7-91C397712CEB@exit445.com> Message-ID: Just put the messages in a queue in a database and instead of having them be sent off by the current script, let that script complete (telling the user that the mail is queued for sending), and then have another process (running in the background or scheduled) doing the sending of mails that are queued. Or use a local MTA, since queueing mails and sending them off is what it's made for. In the end it boils down to how you want to present the status of messages to your users though. 20 mar 2014 kl. 22.29 skrev Michael Sloper: > We were frustrated with our own mail mail host and switched to using Mandrill for this which specializes in transactional email. They have some nice tools and it is free until you send over 12K emails a month. I know this isn't exactly what you were asking about but this was a noticeable improvement for us. > > Michael Sloper > Pre1 Software > > On Mar 20, 2014, at 12:15 PM, jschwartz wrote: > >> Hi Folks, >> >> On an infrequent basis, a transactional email such as an order confirmation will fail to go through using PHPMailer when the smtp server doesn?t respond. Although it is infrequent, it does happened and the client freaks when it happens. >> >> Does anyone employ any means to retry failed sends either in a few milliseconds while the script is still running, or at some later time by tracking failed sends and running a re-send script using a cron script or the like? >> >> Thanks >> >> Jonathan >> >> >> >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| From whatdoyouwant at gmail.com Thu Mar 20 16:08:09 2014 From: whatdoyouwant at gmail.com (Nick) Date: Thu Mar 20 16:02:38 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: <8FDA8DB7-76C5-49BE-B908-21F38B6F4131@patin.com> References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> <4C6C1AFE-F461-4AA4-B193-F3F8A3AEF416@gmail.com> <1c27e5b4edeb4eda83625b1c93782614@BLUPR02MB019.namprd02.prod.outlook.com> <8FDA8DB7-76C5-49BE-B908-21F38B6F4131@patin.com> Message-ID: You aren't setting the Data Source Type even though you think you are. $dataSourceType is the third argument in new FX($host, '80', $dataSourceType, 'HTTP'); for example. or 443 and HTTPS if you do that. look in what you pasted, and it still says your dataServerType, and dataServerVersion is 0 which means it doesn't know, and chooses by default fmpro, not fmalt or fmpro7. On Wed, Mar 19, 2014 at 4:35 PM, Bob Patin wrote: > Chris says that's only important if you're accessing portals, which I > never do... > > I exposed my password too; it's "password" > > BP > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11 & 12 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > -- > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP * Full email services * Free DNS hosting * Colocation * Consulting > > On Mar 19, 2014, at 3:13 PM, Ness, David wrote: > > I saw that too. I have my $dataSourceType = 'FMPro7' and I tried 'fmalt'. > Both returned the reference to 'RetrieveFM5Data' you see below. I don't > know why, or if this is abnormal, or not. It might be a clue to someone > more knowledgeable than I. > > PS: I also saw I accidentally exposed by site's un/password. I've now > (quickly) changed them, not that I don't trust my friends here J > > > > > _______________________________________________ > 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/20140320/3dfae21b/attachment.html From bob at patin.com Thu Mar 20 17:06:58 2014 From: bob at patin.com (Bob Patin) Date: Thu Mar 20 17:09:16 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> <4C6C1AFE-F461-4AA4-B193-F3F8A3AEF416@gmail.com> <1c27e5b4edeb4eda83625b1c93782614@BLUPR02MB019.namprd02.prod.outlook.com> <8FDA8DB7-76C5-49BE-B908-21F38B6F4131@patin.com> Message-ID: <526808DD-A1CA-43FC-B34A-EBF726C472D5@patin.com> I saw that, changed it, but it didn't fix it. That was a result of trying FX.php v6, which also didn't work... So I installed 10.8 on there and am going to try again... Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 20, 2014, at 5:08 PM, Nick wrote: > You aren't setting the Data Source Type even though you think you are. $dataSourceType is the third argument in new FX($host, '80', $dataSourceType, 'HTTP'); for example. or 443 and HTTPS if you do that. > look in what you pasted, and it still says your dataServerType, and dataServerVersion is 0 which means it doesn't know, and chooses by default fmpro, not fmalt or fmpro7. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140320/e807b952/attachment-0001.html From whatdoyouwant at gmail.com Thu Mar 20 20:20:55 2014 From: whatdoyouwant at gmail.com (Nick) Date: Thu Mar 20 20:15:11 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: <526808DD-A1CA-43FC-B34A-EBF726C472D5@patin.com> References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> <4C6C1AFE-F461-4AA4-B193-F3F8A3AEF416@gmail.com> <1c27e5b4edeb4eda83625b1c93782614@BLUPR02MB019.namprd02.prod.outlook.com> <8FDA8DB7-76C5-49BE-B908-21F38B6F4131@patin.com> <526808DD-A1CA-43FC-B34A-EBF726C472D5@patin.com> Message-ID: I don't see where you are downloading v6. Where are you getting it? If you just download the zip from the github page, that is enough - is that what you did? I just installed FM server 13 today and tried it one of my sites, so I can say that it works, and doesn't without the latest from the github page. On Thu, Mar 20, 2014 at 6:06 PM, Bob Patin wrote: > I saw that, changed it, but it didn't fix it. That was a result of trying > FX.php v6, which also didn't work... > > So I installed 10.8 on there and am going to try again... > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11 & 12 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > -- > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP * Full email services * Free DNS hosting * Colocation * Consulting > > > > On Mar 20, 2014, at 5:08 PM, Nick wrote: > > You aren't setting the Data Source Type even though you think you are. > $dataSourceType is the third argument in new FX($host, '80', > $dataSourceType, 'HTTP'); for example. or 443 and HTTPS if you do that. > look in what you pasted, and it still says your dataServerType, and > dataServerVersion is 0 which means it doesn't know, and chooses by default fmpro, > not fmalt or fmpro7. > > > > _______________________________________________ > 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/20140320/d21c62e7/attachment.html From bob at patin.com Thu Mar 20 20:25:50 2014 From: bob at patin.com (Bob Patin) Date: Thu Mar 20 20:20:08 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> <4C6C1AFE-F461-4AA4-B193-F3F8A3AEF416@gmail.com> <1c27e5b4edeb4eda83625b1c93782614@BLUPR02MB019.namprd02.prod.outlook.com> <8FDA8DB7-76C5-49BE-B908-21F38B6F4131@patin.com> <526808DD-A1CA-43FC-B34A-EBF726C472D5@patin.com> Message-ID: <904CBEB0-F72C-4756-B83E-4ABEA7DA1DF0@patin.com> On Mar 20, 2014, at 9:20 PM, Nick wrote: > I don't see where you are downloading v6. Where are you getting it? If you just download the zip from the github page, that is enough - is that what you did?] Yep. > > I just installed FM server 13 today and tried it one of my sites, so I can say that it works, and doesn't without the latest from the github page. What version of the OS are you using? This was with Mavericks; I just went back to Mountain Lion, will try it with that, and I bet it works... Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140320/db211117/attachment.html From whatdoyouwant at gmail.com Thu Mar 20 20:32:55 2014 From: whatdoyouwant at gmail.com (Nick) Date: Thu Mar 20 20:27:12 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: <904CBEB0-F72C-4756-B83E-4ABEA7DA1DF0@patin.com> References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> <4C6C1AFE-F461-4AA4-B193-F3F8A3AEF416@gmail.com> <1c27e5b4edeb4eda83625b1c93782614@BLUPR02MB019.namprd02.prod.outlook.com> <8FDA8DB7-76C5-49BE-B908-21F38B6F4131@patin.com> <526808DD-A1CA-43FC-B34A-EBF726C472D5@patin.com> <904CBEB0-F72C-4756-B83E-4ABEA7DA1DF0@patin.com> Message-ID: I've always used windows server. The permissions on Mac have always been an issue. It might be either permissions on your files (or attributes, see the command line command xattr -l , sometimes they are quarantined from copying from somewhere) or that they aren't the same user/readable by the user that runs php. But based on what you said, that you have other servers running just fine, I guess it could be anything. On Thu, Mar 20, 2014 at 9:25 PM, Bob Patin wrote: > > On Mar 20, 2014, at 9:20 PM, Nick wrote: > > I don't see where you are downloading v6. Where are you getting it? If > you just download the zip from the github page, that is enough - is that > what you did?] > > > Yep. > > > I just installed FM server 13 today and tried it one of my sites, so I > can say that it works, and doesn't without the latest from the github page. > > > What version of the OS are you using? This was with Mavericks; I just went > back to Mountain Lion, will try it with that, and I bet it works... > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11 & 12 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > -- > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP * Full email services * Free DNS hosting * Colocation * Consulting > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140320/98cde1b8/attachment.html From bob at patin.com Thu Mar 20 21:22:10 2014 From: bob at patin.com (Bob Patin) Date: Thu Mar 20 21:16:29 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> <4C6C1AFE-F461-4AA4-B193-F3F8A3AEF416@gmail.com> <1c27e5b4edeb4eda83625b1c93782614@BLUPR02MB019.namprd02.prod.outlook.com> <8FDA8DB7-76C5-49BE-B908-21F38B6F4131@patin.com> <526808DD-A1CA-43FC-B34A-EBF726C472D5@patin.com> <904CBEB0-F72C-4756-B83E-4ABEA7DA1DF0@patin.com> Message-ID: On Mar 20, 2014, at 9:32 PM, Nick wrote: > The permissions on Mac have always been an issue. Not really; all you have to do is make sure that if you're not using Server to install databases, that they get set to the proper permissions, which is simple. > It might be either permissions on your files (or attributes, see the command line command xattr -l , sometimes they are quarantined from copying from somewhere) or that they aren't the same user/readable by the user that runs php. Nope... I have 10 servers running 11, 12 and 13, and this one was the only one giving me trouble. I suspect it's OS X 10.9 not playing well with FX.php; the FileMaker API tests out fie. I'll know shortly though and will report when this install finishes. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140320/e8c409c3/attachment.html From bob at patin.com Fri Mar 21 10:52:18 2014 From: bob at patin.com (Bob Patin) Date: Fri Mar 21 10:46:37 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck Message-ID: OK, so... I've got a machine running OS X 10.8.5 (Mountain Lion); 16 GB of RAM, FM Server 13. I've tried doing a query with both FX 4.5.1 and FX 6; neither work. Here's the code I'm using for FX.php 6: include_once('FX6/FX.php'); $q = new FX('localhost', 80, 'FMPro7'); $q->SetDBData('wpe_test', 'data',3); $q->SetDBPassword('pass','web'); $qResult = $q->FMFindAll(); //echo $qResult['errorCode']; print_r($qResult); I did away w/ the need for the server_data file to eliminate any stupid errors, but it STILL doesn't work; here's what I get; any ideas? FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 100 [message] => FX: ExecuteQuery XML error: SYSTEM or PUBLIC, the URI is missing at line 1 [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => /Library/WebServer/Documents/fms4test/FX6/datasource_classes/RetrieveFM7Data.class.php [line] => 273 [function] => FX_Error [class] => FX_Error [object] => FX_Error Object *RECURSION* [type] => -> [args] => Array ( [0] => ExecuteQuery XML error: SYSTEM or PUBLIC, the URI is missing at line 1 ) ) [1] => Array ( [file] => /Library/WebServer/Documents/fms4test/FX6/FX.php [line] => 309 [function] => doQuery [class] => RetrieveFM7Data [object] => RetrieveFM7Data Object ( [fmDataFile] => FMPXMLRESULT.xml [xmlStartHandler] => StartElement [xmlContentHandler] => ElementContents [xmlEndHandler] => EndElement [currentFlag] => [currentValueList] => [currentValueListElement] => [currentRecord] => [currentSubrecordIndex] => [currentField] => [currentFieldIndex] => [columnCounter] => -1 [dataURL] => http://web:pass@localhost:80/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-max=3&-findall [dataURLParams] => -db=wpe_test.fmp12&-lay=data&-max=3&-findall [invalidXMLChars] => Array ( [0] => [1] => [2] =>  ) [UTF8SpecialChars] => Array ( [0] => |([?-?])([?-?])|e [1] => |(?)([ -?])([?-?])|e [2] => |([?-?])([?-?])([?-?])|e [3] => |(?)([?-?])([?-?])([?-?])|e [4] => |([?-?])([?-?])([?-?])([?-?])|e [5] => |(?)([?-?])([?-?])([?-?])|e ) [UTF8HTMLEntities] => Array ( [0] => $this->FX->BuildExtendedChar('\1','\2') [1] => $this->FX->BuildExtendedChar('\1','\2','\3') [2] => $this->FX->BuildExtendedChar('\1','\2','\3') [3] => $this->FX->BuildExtendedChar('\1','\2','\3','\4') [4] => $this->FX->BuildExtendedChar('\1','\2','\3','\4') [5] => $this->FX->BuildExtendedChar('\1','\2','\3','\4') ) [FX] => FX Object ( [dataServer] => localhost [dataServerType] => fmpro [dataServerVersion] => 7 [dataPort] => 80 [dataPortSuffix] => :80 [urlScheme] => http [useSSLProtocol] => [verifyPeer] => 1 [database] => wpe_test.fmp12 [layout] => data [responseLayout] => [groupSize] => 3 [currentSkip] => 0 [defaultOperator] => bw [findquerynumber] => 1 [findquerystring] => [dataParams] => Array ( ) [sortParams] => Array ( ) [actionArray] => Array ( [-delete] => -delete [-dup] => -dup [-edit] => -edit [-find] => -find [-findall] => -findall [-findany] => -findany [-findquery] => -findquery [-new] => -new [-view] => -view [-dbnames] => -dbnames [-layoutnames] => -layoutnames [-scriptnames] => -scriptnames [-sqlquery] => -sqlquery [delete] => -delete [duplicate] => -dup [update] => -edit [perform_find] => -find [show_all] => -findall [show_any] => -findany [new] => -new [view_layout_objects] => -view [view_database_names] => -dbnames [view_layout_names] => -layoutnames [view_script_names] => -scriptnames ) [primaryKeyField] => [modifyDateField] => [dataKeySeparator] => [fuzzyKeyLogic] => [genericKeys] => [selectColsSet] => [selectColumns] => [fieldInfo] => Array ( ) [currentData] => Array ( ) [valueLists] => Array ( ) [totalRecordCount] => -1 [foundCount] => -1 [dateFormat] => [timeFormat] => [dataQuery] => [charSet] => [dataParamsEncoding] => [remainNames] => Array ( ) [remainNamesReverse] => Array ( ) [portalAsRecord] => [usePortalIDs] => [fieldCount] => 0 [fxError] => No Action Taken [errorTracking] => 0 [useInnerArray] => 1 [useComma2Period] => [DBUser] => web [DBPassword] => pass [userPass] => web:pass@ [defaultPostPolicy] => 1 [isPostQuery] => 1 [defaultFOpenPolicy] => [isFOpenQuery] => [useCURL] => 1 [customPrimaryKey] => [lastLinkPrevious] => [lastLinkNext] => [lastFoundCount] => -2 [lastFields] => Array ( ) [lastURL] => [lastQuery] => [lastQueryParams] => Array ( ) [lastErrorCode] => -2 [lastValueLists] => Array ( ) [lastDebugMessage] => -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140321/5d5007bd/attachment-0001.html From jschwartz at exit445.com Fri Mar 21 10:53:50 2014 From: jschwartz at exit445.com (jschwartz) Date: Fri Mar 21 10:48:06 2014 Subject: [FX.php List] How do you handle failed transactional emails? In-Reply-To: References: <8E93D32E-ACD6-4252-AFF7-91C397712CEB@exit445.com> Message-ID: Thanks for the suggestions. Leo: We actually ARE using a local mail server. But from time to time, you do get an error. I suspect it is due to a dictionary attache that might be going on at the time of the transactional email. The attack might be taking all the available ports. That being said, your suggestion for creating a separate service for delivering the transactional email is a good one. I?m just wondering if it is worth it for a 1:1000 occurrence. Do you actually use this method? Jonathan On Mar 20, 2014, at 2:33 PM, Leo R. Lundgren wrote: > Just put the messages in a queue in a database and instead of having them be sent off by the current script, let that script complete (telling the user that the mail is queued for sending), and then have another process (running in the background or scheduled) doing the sending of mails that are queued. Or use a local MTA, since queueing mails and sending them off is what it's made for. > > In the end it boils down to how you want to present the status of messages to your users though. > > > 20 mar 2014 kl. 22.29 skrev Michael Sloper: > >> We were frustrated with our own mail mail host and switched to using Mandrill for this which specializes in transactional email. They have some nice tools and it is free until you send over 12K emails a month. I know this isn't exactly what you were asking about but this was a noticeable improvement for us. >> >> Michael Sloper >> Pre1 Software >> >> On Mar 20, 2014, at 12:15 PM, jschwartz wrote: >> >>> Hi Folks, >>> >>> On an infrequent basis, a transactional email such as an order confirmation will fail to go through using PHPMailer when the smtp server doesn?t respond. Although it is infrequent, it does happened and the client freaks when it happens. >>> >>> Does anyone employ any means to retry failed sends either in a few milliseconds while the script is still running, or at some later time by tracking failed sends and running a re-send script using a cron script or the like? >>> >>> Thanks >>> >>> Jonathan >>> >>> >>> >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > > -| > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dale.bengston at gmail.com Fri Mar 21 10:55:47 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Fri Mar 21 10:50:12 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: References: Message-ID: Hi Bob, Does it work if you paste the query string (below as dataURL) in a web browser? Dale On Mar 21, 2014, at 11:52 AM, Bob Patin wrote: > OK, so... > > I've got a machine running OS X 10.8.5 (Mountain Lion); 16 GB of RAM, FM Server 13. > > I've tried doing a query with both FX 4.5.1 and FX 6; neither work. > > Here's the code I'm using for FX.php 6: > > include_once('FX6/FX.php'); > > $q = new FX('localhost', 80, 'FMPro7'); > $q->SetDBData('wpe_test', 'data',3); > $q->SetDBPassword('pass','web'); > $qResult = $q->FMFindAll(); > > //echo $qResult['errorCode']; > > print_r($qResult); > > I did away w/ the need for the server_data file to eliminate any stupid errors, but it STILL doesn't work; here's what I get; any ideas? > > FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 100 [message] => FX: ExecuteQuery XML error: SYSTEM or PUBLIC, the URI is missing at line 1 [userinfo] => [backtrace] => Array ( [0] => Array ( [file] => /Library/WebServer/Documents/fms4test/FX6/datasource_classes/RetrieveFM7Data.class.php [line] => 273 [function] => FX_Error [class] => FX_Error [object] => FX_Error Object *RECURSION* [type] => -> [args] => Array ( [0] => ExecuteQuery XML error: SYSTEM or PUBLIC, the URI is missing at line 1 ) ) [1] => Array ( [file] => /Library/WebServer/Documents/fms4test/FX6/FX.php [line] => 309 [function] => doQuery [class] => RetrieveFM7Data [object] => RetrieveFM7Data Object ( [fmDataFile] => FMPXMLRESULT.xml [xmlStartHandler] => StartElement [xmlContentHandler] => ElementContents [xmlEndHandler] => EndElement [currentFlag] => [currentValueList] => [currentValueListElement] => [currentRecord] => [currentSubrecordIndex] => [currentField] => [currentFieldIndex] => [columnCounter] => -1 [dataURL] => http://web:pass@localhost:80/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-max=3&-findall [dataURLParams] => -db=wpe_test.fmp12&-lay=data&-max=3&-findall [invalidXMLChars] => Array ( [0] => [1] => [2] =>  ) [UTF8SpecialChars] => Array ( [0] => |([?-?])([?-?])|e [1] => |(?)([ -?])([?-?])|e [2] => |([?-?])([?-?])([?-?])|e [3] => |(?)([?-?])([?-?])([?-?])|e [4] => |([?-?])([?-?])([?-?])([?-?])|e [5] => |(?)([?-?])([?-?])([?-?])|e ) [UTF8HTMLEntities] => Array ( [0] => $this->FX->BuildExtendedChar('\1','\2') [1] => $this->FX->BuildExtendedChar('\1','\2','\3') [2] => $this->FX->BuildExtendedChar('\1','\2','\3') [3] => $this->FX->BuildExtendedChar('\1','\2','\3','\4') [4] => $this->FX->BuildExtendedChar('\1','\2','\3','\4') [5] => $this->FX->BuildExtendedChar('\1','\2','\3','\4') ) [FX] => FX Object ( [dataServer] => localhost [dataServerType] => fmpro [dataServerVersion] => 7 [dataPort] => 80 [dataPortSuffix] => :80 [urlScheme] => http [useSSLProtocol] => [verifyPeer] => 1 [database] => wpe_test.fmp12 [layout] => data [responseLayout] => [groupSize] => 3 [currentSkip] => 0 [defaultOperator] => bw [findquerynumber] => 1 [findquerystring] => [dataParams] => Array ( ) [sortParams] => Array ( ) [actionArray] => Array ( [-delete] => -delete [-dup] => -dup [-edit] => -edit [-find] => -find [-findall] => -findall [-findany] => -findany [-findquery] => -findquery [-new] => -new [-view] => -view [-dbnames] => -dbnames [-layoutnames] => -layoutnames [-scriptnames] => -scriptnames [-sqlquery] => -sqlquery [delete] => -delete [duplicate] => -dup [update] => -edit [perform_find] => -find [show_all] => -findall [show_any] => -findany [new] => -new [view_layout_objects] => -view [view_database_names] => -dbnames [view_layout_names] => -layoutnames [view_script_names] => -scriptnames ) [primaryKeyField] => [modifyDateField] => [dataKeySeparator] => [fuzzyKeyLogic] => [genericKeys] => [selectColsSet] => [selectColumns] => [fieldInfo] => Array ( ) [currentData] => Array ( ) [valueLists] => Array ( ) [totalRecordCount] => -1 [foundCount] => -1 [dateFormat] => [timeFormat] => [dataQuery] => [charSet] => [dataParamsEncoding] => [remainNames] => Array ( ) [remainNamesReverse] => Array ( ) [portalAsRecord] => [usePortalIDs] => [fieldCount] => 0 [fxError] => No Action Taken [errorTracking] => 0 [useInnerArray] => 1 [useComma2Period] => [DBUser] => web [DBPassword] => pass [userPass] => web:pass@ [defaultPostPolicy] => 1 [isPostQuery] => 1 [defaultFOpenPolicy] => [isFOpenQuery] => [useCURL] => 1 [customPrimaryKey] => [lastLinkPrevious] => [lastLinkNext] => [lastFoundCount] => -2 [lastFields] => Array ( ) [lastURL] => [lastQuery] => [lastQueryParams] => Array ( ) [lastErrorCode] => -2 [lastValueLists] => Array ( ) [lastDebugMessage] => > > > _______________________________________________ > 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/20140321/b6f4f671/attachment.html From dale.bengston at gmail.com Fri Mar 21 11:02:28 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Fri Mar 21 10:56:53 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> <4C6C1AFE-F461-4AA4-B193-F3F8A3AEF416@gmail.com> <1c27e5b4edeb4eda83625b1c93782614@BLUPR02MB019.namprd02.prod.outlook.com> <8FDA8DB7-76C5-49BE-B908-21F38B6F4131@patin.com> <526808DD-A1CA-43FC-B34A-EBF726C472D5@patin.com> <904CBEB0-F72C-4756-B83E-4ABEA7DA1DF0@patin.com> Message-ID: <1FFE848E-B090-46BA-B8A5-DD9BA6B808F8@gmail.com> Getting a little off-topic here but I have a brainless trick for getting FileMaker permissions right on OS X. 1. After you?ve copied database files in place, go up a directory level to the Databases folder. 2. Do a Get Info. 3. Click the little lock in the lower right corner to unlock permissions (you?ll be asked to type your admin password). 4. Click on the little gear icon and select "Apply to Enclosed Items??. Since the Databases folder?s permissions are set correctly, they will ripple to the files you just copied in. I don?t even know what the permissions are supposed to be any more. I just let the parent folder handle it. Hope this saves at least one person a few minutes, Dale On Mar 20, 2014, at 10:22 PM, Bob Patin wrote: > > On Mar 20, 2014, at 9:32 PM, Nick wrote: > >> The permissions on Mac have always been an issue. > > Not really; all you have to do is make sure that if you're not using Server to install databases, that they get set to the proper permissions, which is simple. > >> It might be either permissions on your files (or attributes, see the command line command xattr -l , sometimes they are quarantined from copying from somewhere) or that they aren't the same user/readable by the user that runs php. > > Nope... I have 10 servers running 11, 12 and 13, and this one was the only one giving me trouble. I suspect it's OS X 10.9 not playing well with FX.php; the FileMaker API tests out fie. > > I'll know shortly though and will report when this install finishes. > > _______________________________________________ > 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/20140321/b50a7cf8/attachment.html From leo at finalresort.org Fri Mar 21 11:02:58 2014 From: leo at finalresort.org (Leo R. Lundgren) Date: Fri Mar 21 10:57:17 2014 Subject: [FX.php List] How do you handle failed transactional emails? In-Reply-To: References: <8E93D32E-ACD6-4252-AFF7-91C397712CEB@exit445.com> Message-ID: Hi, For simple projects where e-mail is expected to succeed being accepted by the SMTP server and there's basically never a problem with this, I just give it a shot and if it fails I display an error to the user saying "There was a problem delivering your message. Please try again or contact the system administrator if the problem persists". This is the most basic functionality. Then if you need more than that you can separate out the entire concept of *how* your messages are to be delivered. Instead of having your application code try to send an e-mail, have it put the message in a message queue in a database, and report back to the user that the message has been accepted for delivery. Then have a background process that is responsible for processing queued messaged. How and when you deal with messages that cannot be delivered in the end is something you must consider though, it's down to what you need the app to do basically. There's also message queues like RabbitMQ, ZeroMQ and others that are more specialised for dealing with the actual communication between separate components in a system, but that's perhaps not something you need here. It really comes down to what you need. Normally handing off a mail to an SMTP server shouldn't take more than a second or so, and that's surely an amount of time that your users are fine waiting? If it doesn't succeed maybe they're happier to get an error message right away than later on? Keeping it simple has some value too. Not sure if that helped a lot, but in the end it's down to how failures should be handled on a business level I think. You build the system to accomodate that. If it's just a matter of the SMTP server timing out for some reason, you could always give it one extra try (and log the error because it really shouldn't happen at all - if it does, there's something unhealthy with the infrastructure) before erroring out. Regards, Leo 21 mar 2014 kl. 17.53 skrev jschwartz: > Thanks for the suggestions. > > Leo: We actually ARE using a local mail server. But from time to time, you do get an error. I suspect it is due to a dictionary attache that might be going on at the time of the transactional email. The attack might be taking all the available ports. > > That being said, your suggestion for creating a separate service for delivering the transactional email is a good one. I?m just wondering if it is worth it for a 1:1000 occurrence. Do you actually use this method? > > Jonathan > > > On Mar 20, 2014, at 2:33 PM, Leo R. Lundgren wrote: > >> Just put the messages in a queue in a database and instead of having them be sent off by the current script, let that script complete (telling the user that the mail is queued for sending), and then have another process (running in the background or scheduled) doing the sending of mails that are queued. Or use a local MTA, since queueing mails and sending them off is what it's made for. >> >> In the end it boils down to how you want to present the status of messages to your users though. >> >> >> 20 mar 2014 kl. 22.29 skrev Michael Sloper: >> >>> We were frustrated with our own mail mail host and switched to using Mandrill for this which specializes in transactional email. They have some nice tools and it is free until you send over 12K emails a month. I know this isn't exactly what you were asking about but this was a noticeable improvement for us. >>> >>> Michael Sloper >>> Pre1 Software >>> >>> On Mar 20, 2014, at 12:15 PM, jschwartz wrote: >>> >>>> Hi Folks, >>>> >>>> On an infrequent basis, a transactional email such as an order confirmation will fail to go through using PHPMailer when the smtp server doesn?t respond. Although it is infrequent, it does happened and the client freaks when it happens. >>>> >>>> Does anyone employ any means to retry failed sends either in a few milliseconds while the script is still running, or at some later time by tracking failed sends and running a re-send script using a cron script or the like? >>>> >>>> Thanks >>>> >>>> Jonathan >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> >> -| >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| From bob at patin.com Fri Mar 21 11:13:14 2014 From: bob at patin.com (Bob Patin) Date: Fri Mar 21 11:07:30 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: References: Message-ID: I tried this http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-max=3&-findall but it says page not found. I have to think this has to do with how FMS 13 handles web stuff, and it's not finding the proper page... fms4 is definitely the subdomain; here's the IP: 208.52.164.174... it fails too. Am I missing something here? I'm ready to give up on using FX.php with FMS 13 at this point. Thanks, Bob On Mar 21, 2014, at 11:55 AM, Dale Bengston wrote: > Hi Bob, > > Does it work if you paste the query string (below as dataURL) in a web browser? > > Dale -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140321/7e3211b2/attachment.html From dale.bengston at gmail.com Fri Mar 21 12:20:17 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Fri Mar 21 12:14:40 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: References: Message-ID: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> A quick look through this doc didn?t turn up anything obvious. The URL looks good - it matches the samples given here: https://fmhelp.filemaker.com/docs/13/en/fms13_cwp_xml.pdf I just tried to push a whole bunch of tests through to your server, just to see if I could get it to fail in a different way. All returned the same error. No username and password: http://fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-max=3&-findall No database file extension: http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test&-lay=data&-max=3&-findall No -max parameter: http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-findall Fiddled to perform -find instead of -findall: http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-recid-=1&-find Looking again at the error message: "The requested URL /fmi/xml/FMPXMLRESULT.xml was not found on this server." ? makes me wonder if it?s a problem with mod-rewrite rules in Apache. Dale On Mar 21, 2014, at 12:13 PM, Bob Patin wrote: > I tried this > > http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-max=3&-findall > > but it says page not found. I have to think this has to do with how FMS 13 handles web stuff, and it's not finding the proper page... > > fms4 is definitely the subdomain; here's the IP: 208.52.164.174... it fails too. > > Am I missing something here? I'm ready to give up on using FX.php with FMS 13 at this point. > > Thanks, > > Bob > > On Mar 21, 2014, at 11:55 AM, Dale Bengston wrote: > >> Hi Bob, >> >> Does it work if you paste the query string (below as dataURL) in a web browser? >> >> Dale > > _______________________________________________ > 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 Fri Mar 21 13:56:42 2014 From: bob at patin.com (Bob Patin) Date: Fri Mar 21 13:50:56 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> Message-ID: <0218143A-434C-44A6-9B23-627F227E4232@patin.com> I think it's time for me to revisit the API for writing on the FMS 13 machines; I've only written a few sites with it, love working in FX, but this is so frustrating... BP On Mar 21, 2014, at 1:20 PM, Dale Bengston wrote: > A quick look through this doc didn?t turn up anything obvious. The URL looks good - it matches the samples given here: > https://fmhelp.filemaker.com/docs/13/en/fms13_cwp_xml.pdf > > I just tried to push a whole bunch of tests through to your server, just to see if I could get it to fail in a different way. All returned the same error. > > No username and password: > http://fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-max=3&-findall > > No database file extension: > http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test&-lay=data&-max=3&-findall > > No -max parameter: > http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-findall > > Fiddled to perform -find instead of -findall: > http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-recid-=1&-find > > Looking again at the error message: > "The requested URL /fmi/xml/FMPXMLRESULT.xml was not found on this server." > > ? makes me wonder if it?s a problem with mod-rewrite rules in Apache. > > Dale > > On Mar 21, 2014, at 12:13 PM, Bob Patin wrote: > >> I tried this >> >> http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-max=3&-findall >> >> but it says page not found. I have to think this has to do with how FMS 13 handles web stuff, and it's not finding the proper page... >> >> fms4 is definitely the subdomain; here's the IP: 208.52.164.174... it fails too. >> >> Am I missing something here? I'm ready to give up on using FX.php with FMS 13 at this point. >> >> Thanks, >> >> Bob >> >> On Mar 21, 2014, at 11:55 AM, Dale Bengston wrote: >> >>> Hi Bob, >>> >>> Does it work if you paste the query string (below as dataURL) in a web browser? >>> >>> Dale >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From whatdoyouwant at gmail.com Fri Mar 21 14:23:15 2014 From: whatdoyouwant at gmail.com (Nick) Date: Fri Mar 21 14:17:28 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: <0218143A-434C-44A6-9B23-627F227E4232@patin.com> References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> <0218143A-434C-44A6-9B23-627F227E4232@patin.com> Message-ID: Can you tell if your mac's web sharing is on, or you have mac server installed with websites on? From what I understand on the mac, FileMaker uses its own apache server, and if the mac one is running then it will interfere. It seems likely as none of the ports are working for you - i.e. port 16000 for admin... On Fri, Mar 21, 2014 at 2:56 PM, Bob Patin wrote: > I think it's time for me to revisit the API for writing on the FMS 13 > machines; I've only written a few sites with it, love working in FX, but > this is so frustrating... > > BP > > > On Mar 21, 2014, at 1:20 PM, Dale Bengston > wrote: > > > A quick look through this doc didn't turn up anything obvious. The URL > looks good - it matches the samples given here: > > https://fmhelp.filemaker.com/docs/13/en/fms13_cwp_xml.pdf > > > > I just tried to push a whole bunch of tests through to your server, just > to see if I could get it to fail in a different way. All returned the same > error. > > > > No username and password: > > > http://fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-max=3&-findall > > > > No database file extension: > > > http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test&-lay=data&-max=3&-findall > > > > No -max parameter: > > > http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-findall > > > > Fiddled to perform -find instead of -findall: > > > http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-recid-=1&-find > > > > Looking again at the error message: > > "The requested URL /fmi/xml/FMPXMLRESULT.xml was not found on this > server." > > > > ... makes me wonder if it's a problem with mod-rewrite rules in Apache. > > > > Dale > > > > On Mar 21, 2014, at 12:13 PM, Bob Patin wrote: > > > >> I tried this > >> > >> > http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-max=3&-findall > >> > >> but it says page not found. I have to think this has to do with how FMS > 13 handles web stuff, and it's not finding the proper page... > >> > >> fms4 is definitely the subdomain; here's the IP: 208.52.164.174... it > fails too. > >> > >> Am I missing something here? I'm ready to give up on using FX.php with > FMS 13 at this point. > >> > >> Thanks, > >> > >> Bob > >> > >> On Mar 21, 2014, at 11:55 AM, Dale Bengston > wrote: > >> > >>> Hi Bob, > >>> > >>> Does it work if you paste the query string (below as dataURL) in a web > browser? > >>> > >>> Dale > >> > >> _______________________________________________ > >> FX.php_List mailing list > >> FX.php_List@mail.iviking.org > >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140321/42903294/attachment.html From dale.bengston at gmail.com Fri Mar 21 15:33:09 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Fri Mar 21 15:27:33 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> <0218143A-434C-44A6-9B23-627F227E4232@patin.com> Message-ID: <32AB227F-CAB8-4DFB-8A1B-50F65CF47AFE@gmail.com> FileMaker can be allowed to install its own version of PHP, but does not install Apache. Bob, it seems like you?re throwing the baby out with the bathwater to abandon FX over this. On Mar 21, 2014, at 3:23 PM, Nick wrote: > Can you tell if your mac's web sharing is on, or you have mac server installed with websites on? From what I understand on the mac, FileMaker uses its own apache server, and if the mac one is running then it will interfere. It seems likely as none of the ports are working for you - i.e. port 16000 for admin... > > > On Fri, Mar 21, 2014 at 2:56 PM, Bob Patin wrote: > I think it's time for me to revisit the API for writing on the FMS 13 machines; I've only written a few sites with it, love working in FX, but this is so frustrating... > > BP > > > On Mar 21, 2014, at 1:20 PM, Dale Bengston wrote: > > > A quick look through this doc didn?t turn up anything obvious. The URL looks good - it matches the samples given here: > > https://fmhelp.filemaker.com/docs/13/en/fms13_cwp_xml.pdf > > > > I just tried to push a whole bunch of tests through to your server, just to see if I could get it to fail in a different way. All returned the same error. > > > > No username and password: > > http://fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-max=3&-findall > > > > No database file extension: > > http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test&-lay=data&-max=3&-findall > > > > No -max parameter: > > http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-findall > > > > Fiddled to perform -find instead of -findall: > > http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-recid-=1&-find > > > > Looking again at the error message: > > "The requested URL /fmi/xml/FMPXMLRESULT.xml was not found on this server." > > > > ? makes me wonder if it?s a problem with mod-rewrite rules in Apache. > > > > Dale > > > > On Mar 21, 2014, at 12:13 PM, Bob Patin wrote: > > > >> I tried this > >> > >> http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-max=3&-findall > >> > >> but it says page not found. I have to think this has to do with how FMS 13 handles web stuff, and it's not finding the proper page... > >> > >> fms4 is definitely the subdomain; here's the IP: 208.52.164.174... it fails too. > >> > >> Am I missing something here? I'm ready to give up on using FX.php with FMS 13 at this point. > >> > >> Thanks, > >> > >> Bob > >> > >> On Mar 21, 2014, at 11:55 AM, Dale Bengston wrote: > >> > >>> Hi Bob, > >>> > >>> Does it work if you paste the query string (below as dataURL) in a web browser? > >>> > >>> Dale > >> > >> _______________________________________________ > >> FX.php_List mailing list > >> FX.php_List@mail.iviking.org > >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140321/50d48c44/attachment-0001.html From jmaymailing at pointinspace.com Fri Mar 21 15:37:28 2014 From: jmaymailing at pointinspace.com (John May) Date: Fri Mar 21 15:31:43 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: <32AB227F-CAB8-4DFB-8A1B-50F65CF47AFE@gmail.com> References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> <0218143A-434C-44A6-9B23-627F227E4232@patin.com> <32AB227F-CAB8-4DFB-8A1B-50F65CF47AFE@gmail.com> Message-ID: <532CB118.5080602@pointinspace.com> FileMaker Server 13 doesn't *install* its own version of Apache, but it does run it's own *instance* of Apache separate from OS X Server's. - John On 3/21/14, 5:33 PM, Dale Bengston wrote: > FileMaker can be allowed to install its own version of PHP, but does > not install Apache. > > Bob, it seems like you?re throwing the baby out with the bathwater to > abandon FX over this. > > On Mar 21, 2014, at 3:23 PM, Nick > wrote: > >> Can you tell if your mac's web sharing is on, or you have mac >> server installed with websites on? From what I understand on the >> mac, FileMaker uses its own apache server, and if the mac one is >> running then it will interfere. It seems likely as none of the >> ports are working for you - i.e. port 16000 for admin... >> >> >> On Fri, Mar 21, 2014 at 2:56 PM, Bob Patin > > wrote: >> >> I think it's time for me to revisit the API for writing on the FMS >> 13 machines; I've only written a few sites with it, love working in >> FX, but this is so frustrating... >> >> BP >> >> >> On Mar 21, 2014, at 1:20 PM, Dale Bengston > > wrote: >> >>> A quick look through this doc didn?t turn up anything obvious. >> The URL looks good - it matches the samples given here: >>> https://fmhelp.filemaker.com/docs/13/en/fms13_cwp_xml.pdf >>> >>> I just tried to push a whole bunch of tests through to your >> server, just to see if I could get it to fail in a different way. >> All returned the same error. >>> >>> No username and password: >>> >> http://fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-max=3&-findall >> >> > >>> No database file extension: >>> >> http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test&-lay=data&-max=3&-findall >> >> > >>> No -max parameter: >>> >> http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-findall >> >> > >>> Fiddled to perform -find instead of -findall: >>> >> http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-recid-=1&-find >> >> > >>> Looking again at the error message: "The requested URL >>> /fmi/xml/FMPXMLRESULT.xml was not found on >> this server." >>> >>> ? makes me wonder if it?s a problem with mod-rewrite rules in >> Apache. >>> >>> Dale >>> >>> On Mar 21, 2014, at 12:13 PM, Bob Patin > > wrote: >>> >>>> I tried this >>>> >>>> >> http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-max=3&-findall >> >> >> >>>> but it says page not found. I have to think this has to do >>>> with >> how FMS 13 handles web stuff, and it's not finding the proper >> page... >>>> >>>> fms4 is definitely the subdomain; here's the IP: >> 208.52.164.174... it fails too. >>>> >>>> Am I missing something here? I'm ready to give up on using >> FX.php with FMS 13 at this point. >>>> >>>> Thanks, >>>> >>>> Bob >>>> >>>> On Mar 21, 2014, at 11:55 AM, Dale Bengston >> > wrote: >>>> >>>>> Hi Bob, >>>>> >>>>> Does it work if you paste the query string (below as >>>>> dataURL) >> in a web browser? >>>>> >>>>> Dale >>>> -- ------------------------------------------------------------------- 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 bob at patin.com Fri Mar 21 16:30:04 2014 From: bob at patin.com (Bob Patin) Date: Fri Mar 21 16:24:19 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> <0218143A-434C-44A6-9B23-627F227E4232@patin.com> Message-ID: Nick, I've been hosting on OS X Server for about 14 years, so this isn't the first time I've tried to set up something like this. I have web services running; that's not the issue. Not trying to be snarky or anything, but I've done tons of deployments of FM Server, both 2-machine configurations and single-machine configurations. If you go to the site below, you'll see the index page, which shows that the domain name is properly pointed and the site's coming up. For some reason though, FX just doesn't seem to work with Server 13. My latest theory is that it has something to do with how they handle WebDirect. Port 16000 is working, otherwise I couldn't administer the server. As to the Mac having its own install of Apache server, that's how I've been doing things for the past 10 years with OS X Server, and WebStar before that. Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 21, 2014, at 3:23 PM, Nick wrote: > Can you tell if your mac's web sharing is on, or you have mac server installed with websites on? From what I understand on the mac, FileMaker uses its own apache server, and if the mac one is running then it will interfere. It seems likely as none of the ports are working for you - i.e. port 16000 for admin... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140321/dd1d84b4/attachment.html From bob at patin.com Fri Mar 21 16:31:37 2014 From: bob at patin.com (Bob Patin) Date: Fri Mar 21 16:25:51 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: <32AB227F-CAB8-4DFB-8A1B-50F65CF47AFE@gmail.com> References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> <0218143A-434C-44A6-9B23-627F227E4232@patin.com> <32AB227F-CAB8-4DFB-8A1B-50F65CF47AFE@gmail.com> Message-ID: Well, I hate to abandon using FX for FM 13, but I've wasted two days at least trying to get this to work on 2 different machines. I was confident that going back to Mtn. Lion would fix it, but it made absolutely no difference. Very frustrating; I may hire Chris to see if he can help me. BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 21, 2014, at 4:33 PM, Dale Bengston wrote: > Bob, it seems like you?re throwing the baby out with the bathwater to abandon FX over this. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140321/c1db2a10/attachment.html From dale.bengston at gmail.com Fri Mar 21 17:14:04 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Fri Mar 21 17:08:31 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> <0218143A-434C-44A6-9B23-627F227E4232@patin.com> <32AB227F-CAB8-4DFB-8A1B-50F65CF47AFE@gmail.com> Message-ID: Bob, just one more thing. What happens if you turn cURL off? It?s line 151 of FX.php 6.0. Change true to false?? Dale On Mar 21, 2014, at 5:31 PM, Bob Patin wrote: > Well, I hate to abandon using FX for FM 13, but I've wasted two days at least trying to get this to work on 2 different machines. I was confident that going back to Mtn. Lion would fix it, but it made absolutely no difference. > > Very frustrating; I may hire Chris to see if he can help me. > > BP > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11 & 12 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > On Mar 21, 2014, at 4:33 PM, Dale Bengston wrote: > >> Bob, it seems like you?re throwing the baby out with the bathwater to abandon FX over this. > > _______________________________________________ > 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/20140321/776a4b05/attachment.html From chris at iViking.org Fri Mar 21 18:41:41 2014 From: chris at iViking.org (Chris Hansen) Date: Fri Mar 21 18:35:54 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> Message-ID: Bob, Like Dale says below, there's some problem with the way that URLs are normally rewritten for FileMaker. If you looked at the Apache error log, you'd see all sorts of errors. My question is: would it be the right Apache log? If you look at this: http://help.filemaker.com/app/answers/detail/a_id/12120/~/ports-used-by-filemaker-server-13 you'll note that it says to be sure that no other sites are running on ports 80 or 443. From what you've said, it sounds like that is not the case. HTH --Chris On Mar 21, 2014, at 12:20 PM, Dale Bengston wrote: > A quick look through this doc didn?t turn up anything obvious. The URL looks good - it matches the samples given here: > https://fmhelp.filemaker.com/docs/13/en/fms13_cwp_xml.pdf > > I just tried to push a whole bunch of tests through to your server, just to see if I could get it to fail in a different way. All returned the same error. > > No username and password: > http://fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-max=3&-findall > > No database file extension: > http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test&-lay=data&-max=3&-findall > > No -max parameter: > http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-findall > > Fiddled to perform -find instead of -findall: > http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-recid-=1&-find > > Looking again at the error message: > "The requested URL /fmi/xml/FMPXMLRESULT.xml was not found on this server." > > ? makes me wonder if it?s a problem with mod-rewrite rules in Apache. > > Dale > > On Mar 21, 2014, at 12:13 PM, Bob Patin wrote: > >> I tried this >> >> http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-max=3&-findall >> >> but it says page not found. I have to think this has to do with how FMS 13 handles web stuff, and it's not finding the proper page... >> >> fms4 is definitely the subdomain; here's the IP: 208.52.164.174... it fails too. >> >> Am I missing something here? I'm ready to give up on using FX.php with FMS 13 at this point. >> >> Thanks, >> >> Bob >> >> On Mar 21, 2014, at 11:55 AM, Dale Bengston wrote: >> >>> Hi Bob, >>> >>> Does it work if you paste the query string (below as dataURL) in a web browser? >>> >>> Dale >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/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 Fri Mar 21 21:31:16 2014 From: bob at patin.com (Bob Patin) Date: Fri Mar 21 21:25:29 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> Message-ID: Actually, there's only a test site on there, but does that mean I can't even have ONE site running on port 80? That's how it is right now, and it still doesn't work. The interesting thing though is that I don't think the API works either on this machine, which makes me wonder if a single-machine configuration is even possible with FMS 13. I think my next try will be to do a 2-machine config and see if that works. BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 21, 2014, at 7:41 PM, Chris Hansen wrote: > Like Dale says below, there's some problem with the way that URLs are normally rewritten for FileMaker. If you looked at the Apache error log, you'd see all sorts of errors. My question is: would it be the right Apache log? If you look at this: > > http://help.filemaker.com/app/answers/detail/a_id/12120/~/ports-used-by-filemaker-server-13 > > you'll note that it says to be sure that no other sites are running on ports 80 or 443. From what you've said, it sounds like that is not the case. > > HTH -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140321/d1e34f57/attachment-0001.html From malcolm at notyourhomework.net Sat Mar 22 22:05:47 2014 From: malcolm at notyourhomework.net (Malcolm Fitzgerald) Date: Sat Mar 22 21:59:57 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: References: Message-ID: <19565155-8BC4-4688-A210-1B79D55E4F97@notyourhomework.net> Hi Bob, When I point a query at your server with ListDatabases (using the FMI PHP API) I get these results. using port 80 Error calling listDatabases: Communication Error: (22) The requested URL returned error: 404 Not Found - This can be due to an invalid username or password, or if the FMPHP privilege is not enabled for that user. using port 443 Error calling listDatabases: Communication Error: (60) SSL certificate problem: Invalid certificate chain Malcolm On 22 Mar 2014, at 4:13 am, Bob Patin wrote: > I tried this > > http://web:pass@fms4.longtermsolutions.com/fmi/xml/FMPXMLRESULT.xml?-db=wpe_test.fmp12&-lay=data&-max=3&-findall > > but it says page not found. I have to think this has to do with how FMS 13 handles web stuff, and it's not finding the proper page... > > fms4 is definitely the subdomain; here's the IP: 208.52.164.174... it fails too. > > Am I missing something here? I'm ready to give up on using FX.php with FMS 13 at this point. > > Thanks, > > Bob > > On Mar 21, 2014, at 11:55 AM, Dale Bengston wrote: > >> Hi Bob, >> >> Does it work if you paste the query string (below as dataURL) in a web browser? >> >> Dale > > _______________________________________________ > 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 Sun Mar 23 10:42:59 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Sun Mar 23 10:37:13 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> Message-ID: Sure, you can have lots of sites sharing port 80, as long as Apache knows what to do with them. For separate domains, you probably have set up lots of virtual hosts in Apache, each one pointing to the proper directory on the web server. Or you can run a ?site? out of a sub-directory (I do this for testing and temporary situations) by just feeding that as part of the url: http://mydomain.com/newsite/ I?m still stuck on this being an Apache problem, due to the error message. It looks like a mod_rewrite problem or an issue with how directories are set up. Maybe the defaults are different for these for OS X Mavericks. Dale, trying not to chase too many red herrings. On Mar 21, 2014, at 10:31 PM, Bob Patin wrote: > Actually, there's only a test site on there, but does that mean I can't even have ONE site running on port 80? That's how it is right now, and it still doesn't work. > > The interesting thing though is that I don't think the API works either on this machine, which makes me wonder if a single-machine configuration is even possible with FMS 13. > > I think my next try will be to do a 2-machine config and see if that works. > > BP > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11 & 12 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > On Mar 21, 2014, at 7:41 PM, Chris Hansen wrote: > >> Like Dale says below, there's some problem with the way that URLs are normally rewritten for FileMaker. If you looked at the Apache error log, you'd see all sorts of errors. My question is: would it be the right Apache log? If you look at this: >> >> http://help.filemaker.com/app/answers/detail/a_id/12120/~/ports-used-by-filemaker-server-13 >> >> you'll note that it says to be sure that no other sites are running on ports 80 or 443. From what you've said, it sounds like that is not the case. >> >> HTH > > _______________________________________________ > 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/20140323/130eb462/attachment.html From bob at patin.com Sun Mar 23 17:01:18 2014 From: bob at patin.com (Bob Patin) Date: Sun Mar 23 16:55:26 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> Message-ID: Well, here's what I've figured out: WPE works fine; the only thing is that you can't use OS X Server at all. I had to turn it off, then re-install FMS 13, and then put the website in this directory: Library/FileMaker Server/HTTPServer/htdocs and it'll work, but I assume that if I want to specify the home page, I'll have to get into Terminal; I've never set up websites that way, but I guess I'm going to have to, if I even want to use FMS 13 for web apps. The problem though is that I often need to install SSL certs, and that's a pain enough in OS X Server Admin, without having to deal with doing it all in Terminal. So if I want to run my test domain fmstest.longtermsolutions.com the server doesn't know what my home page is, so I have to use http://fms4test.longtermsolutions.com/fms4test/index.htm in order to get to the page. That sucks. I need to be able to do what I've been doing for more than 10 years, using the Admin Console to set up virtual hosts, assign SSL certs, and so on. I'm glad that at least FX.php is working, but at this point, I don't see how I can possibly use FMS 13 for web apps. Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 23, 2014, at 11:42 AM, Dale Bengston wrote: > Sure, you can have lots of sites sharing port 80, as long as Apache knows what to do with them. For separate domains, you probably have set up lots of virtual hosts in Apache, each one pointing to the proper directory on the web server. Or you can run a ?site? out of a sub-directory (I do this for testing and temporary situations) by just feeding that as part of the url: http://mydomain.com/newsite/ > > I?m still stuck on this being an Apache problem, due to the error message. It looks like a mod_rewrite problem or an issue with how directories are set up. Maybe the defaults are different for these for OS X Mavericks. > > Dale, trying not to chase too many red herrings. > > On Mar 21, 2014, at 10:31 PM, Bob Patin wrote: > >> Actually, there's only a test site on there, but does that mean I can't even have ONE site running on port 80? That's how it is right now, and it still doesn't work. >> >> The interesting thing though is that I don't think the API works either on this machine, which makes me wonder if a single-machine configuration is even possible with FMS 13. >> >> I think my next try will be to do a 2-machine config and see if that works. >> >> BP >> >> Bob Patin >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> FileMaker 9, 10, 11 & 12 Certified Developer >> http://www.longtermsolutions.com >> - >> iChat: bobpatin@me.com >> Twitter: bobpatin >> ? >> FileMaker Consulting >> FileMaker Hosting for all versions of FileMaker >> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >> >> On Mar 21, 2014, at 7:41 PM, Chris Hansen wrote: >> >>> Like Dale says below, there's some problem with the way that URLs are normally rewritten for FileMaker. If you looked at the Apache error log, you'd see all sorts of errors. My question is: would it be the right Apache log? If you look at this: >>> >>> http://help.filemaker.com/app/answers/detail/a_id/12120/~/ports-used-by-filemaker-server-13 >>> >>> you'll note that it says to be sure that no other sites are running on ports 80 or 443. From what you've said, it sounds like that is not the case. >>> >>> HTH >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/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/20140323/a31a9033/attachment-0001.html From dale.bengston at gmail.com Tue Mar 25 08:24:02 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Tue Mar 25 08:18:11 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> Message-ID: <0A03C7D2-51FD-4692-B4BE-37C95FEF5E77@gmail.com> Hmmm, OS X Server. That puts things in a different light. Can you make a symbolic link (alias) from that FileMaker htdocs folder to the standard Apache directory? Dale On Mar 23, 2014, at 6:01 PM, Bob Patin wrote: > Well, here's what I've figured out: > > WPE works fine; the only thing is that you can't use OS X Server at all. I had to turn it off, then re-install FMS 13, and then put the website in this directory: > > Library/FileMaker Server/HTTPServer/htdocs > > and it'll work, but I assume that if I want to specify the home page, I'll have to get into Terminal; I've never set up websites that way, but I guess I'm going to have to, if I even want to use FMS 13 for web apps. > > The problem though is that I often need to install SSL certs, and that's a pain enough in OS X Server Admin, without having to deal with doing it all in Terminal. > > So if I want to run my test domain > > fmstest.longtermsolutions.com > > the server doesn't know what my home page is, so I have to use > > http://fms4test.longtermsolutions.com/fms4test/index.htm > > in order to get to the page. > > That sucks. > > I need to be able to do what I've been doing for more than 10 years, using the Admin Console to set up virtual hosts, assign SSL certs, and so on. > > I'm glad that at least FX.php is working, but at this point, I don't see how I can possibly use FMS 13 for web apps. > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > FileMaker 9, 10, 11 & 12 Certified Developer > http://www.longtermsolutions.com > - > iChat: bobpatin@me.com > Twitter: bobpatin > ? > FileMaker Consulting > FileMaker Hosting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > > > On Mar 23, 2014, at 11:42 AM, Dale Bengston wrote: > >> Sure, you can have lots of sites sharing port 80, as long as Apache knows what to do with them. For separate domains, you probably have set up lots of virtual hosts in Apache, each one pointing to the proper directory on the web server. Or you can run a ?site? out of a sub-directory (I do this for testing and temporary situations) by just feeding that as part of the url: http://mydomain.com/newsite/ >> >> I?m still stuck on this being an Apache problem, due to the error message. It looks like a mod_rewrite problem or an issue with how directories are set up. Maybe the defaults are different for these for OS X Mavericks. >> >> Dale, trying not to chase too many red herrings. >> >> On Mar 21, 2014, at 10:31 PM, Bob Patin wrote: >> >>> Actually, there's only a test site on there, but does that mean I can't even have ONE site running on port 80? That's how it is right now, and it still doesn't work. >>> >>> The interesting thing though is that I don't think the API works either on this machine, which makes me wonder if a single-machine configuration is even possible with FMS 13. >>> >>> I think my next try will be to do a 2-machine config and see if that works. >>> >>> BP >>> >>> Bob Patin >>> Longterm Solutions >>> bob@longtermsolutions.com >>> 615-333-6858 >>> FileMaker 9, 10, 11 & 12 Certified Developer >>> http://www.longtermsolutions.com >>> - >>> iChat: bobpatin@me.com >>> Twitter: bobpatin >>> ? >>> FileMaker Consulting >>> FileMaker Hosting for all versions of FileMaker >>> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >>> >>> On Mar 21, 2014, at 7:41 PM, Chris Hansen wrote: >>> >>>> Like Dale says below, there's some problem with the way that URLs are normally rewritten for FileMaker. If you looked at the Apache error log, you'd see all sorts of errors. My question is: would it be the right Apache log? If you look at this: >>>> >>>> http://help.filemaker.com/app/answers/detail/a_id/12120/~/ports-used-by-filemaker-server-13 >>>> >>>> you'll note that it says to be sure that no other sites are running on ports 80 or 443. From what you've said, it sounds like that is not the case. >>>> >>>> HTH >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140325/681bb9b2/attachment.html From bob at patin.com Tue Mar 25 08:27:13 2014 From: bob at patin.com (Bob Patin) Date: Tue Mar 25 08:21:13 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: <0A03C7D2-51FD-4692-B4BE-37C95FEF5E77@gmail.com> References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> <0A03C7D2-51FD-4692-B4BE-37C95FEF5E77@gmail.com> Message-ID: <7B3E1CAB-3481-4B1E-B784-0E1889CF09B3@patin.com> I thought about that, but I took Chris? advice (from another forum) instead: I?ve created a web server on another machine, where I?m going to host all new web applications; then I?ll reference the FileMaker Server in my setup file; the FM Server machines will be one-machine configs, with no websites on them, so I can leave the WPE on the FM machines and do all the web stuff on the web server. I?ve already set up the web server and it works fine; not sure it?s as fast as a one-machine config or a standard two-machine config, but I think it?ll be okay. Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 25, 2014, at 9:24 AM, Dale Bengston wrote: > Hmmm, OS X Server. That puts things in a different light. Can you make a symbolic link (alias) from that FileMaker htdocs folder to the standard Apache directory? > > Dale -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140325/cd1c40bb/attachment.html From adenman at tmea.org Tue Mar 25 11:12:23 2014 From: adenman at tmea.org (Andrew Denman) Date: Tue Mar 25 11:06:49 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: <7B3E1CAB-3481-4B1E-B784-0E1889CF09B3@patin.com> References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> <0A03C7D2-51FD-4692-B4BE-37C95FEF5E77@gmail.com> <7B3E1CAB-3481-4B1E-B784-0E1889CF09B3@patin.com> Message-ID: This didn't even occur to me to be a problem since we use a separate web server for our sites, but FMS 13 now takes over the web server on the WPE machine (previous versions do not seem to exert this much control). The documentation has changed from previous versions: https://fmhelp.filemaker.com/docs/13/en/fms13_getting_started.pdf >From page 9: -- FileMaker Server requires a web server in all deployments. The web server serves web publishing clients, hosts the web-based Admin Console application, and handles some data transfer tasks. Ensure that no existing websites on the machine use port 80 or 443. These ports are used by FileMaker Server even if web publishing is disabled. If the FileMaker Server installer detects an existing website using these ports, the installer prompts you to let it disable that website. * Windows: The FileMaker Server installer runs the Microsoft Application Request Routing (ARR) installer (which enables the IIS web server, if it isn't already), creates its own website in IIS, and configures the website to use ports 80 and 443. Make sure no existing website uses these ports. * OS X: The web server included in OS X does not need to be enabled; if it is enabled, ensure that no existing website uses port 80 or 443. The installer creates a separate web server instance and enables it for FileMaker Server to use on these ports. -- There is also a special section for OS X on page 68: -- You do not need to enable the Apache web server that is installed with OS X, nor do you need to have the OS X Server application installed. In fact, the FileMaker Server installer creates its own instance of the Apache web server on both the master and worker machines and configures this web server to use port 80 for HTTP and port 443 for HTTPS; on the master machine, the installer also configures its Apache web server to use port 16000 for Admin Console via HTTPS. If you have enabled the Apache web server that is already installed with OS X, the FileMaker Server installer prompts you to let it disable any existing website using port 80 or 443 before it can continue. If you have the OS X Server application installed and use it to enable any HTTP services (for example, websites or the wiki), the existing Apache instance may be re-enabled after FileMaker Server is installed. Therefore to ensure the Apache instance used by FileMaker Server works normally, you may need to configure any other HTTP services to use different ports from the ports that FileMaker Server uses, disable other HTTP services, or uninstall the OS X Server application. -- Andrew Denman From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin Sent: Tuesday, March 25, 2014 9:27 AM To: FX.php Discussion List Subject: Re: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck I thought about that, but I took Chris' advice (from another forum) instead: I've created a web server on another machine, where I'm going to host all new web applications; then I'll reference the FileMaker Server in my setup file; the FM Server machines will be one-machine configs, with no websites on them, so I can leave the WPE on the FM machines and do all the web stuff on the web server. I've already set up the web server and it works fine; not sure it's as fast as a one-machine config or a standard two-machine config, but I think it'll be okay. Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin - FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP * Full email services * Free DNS hosting * Colocation * Consulting On Mar 25, 2014, at 9:24 AM, Dale Bengston > wrote: Hmmm, OS X Server. That puts things in a different light. Can you make a symbolic link (alias) from that FileMaker htdocs folder to the standard Apache directory? Dale -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140325/e6655940/attachment-0001.html From rogerkiwi at mac.com Tue Mar 25 12:11:14 2014 From: rogerkiwi at mac.com (Roger Moffat) Date: Tue Mar 25 12:05:15 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> <0A03C7D2-51FD-4692-B4BE-37C95FEF5E77@gmail.com> <7B3E1CAB-3481-4B1E-B784-0E1889CF09B3@patin.com> Message-ID: On Mar 25, 2014, at 1:12 PM, Andrew Denman wrote: > If you have > enabled the Apache web server that is already installed with OS X, the FileMaker Server installer > prompts you to let it disable any existing website using port 80 or 443 before it can continue. Say What???? So any machine used as either half of a 2 machine FileMaker Server setup can NOT be used to serve any other websites on Ports 80 and 443????? How greedy of FileMaker and inconvenient to the Server Admin!!! No Cheers!!! Roger -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140325/3cf900e5/attachment.html From bob at patin.com Tue Mar 25 12:53:25 2014 From: bob at patin.com (Bob Patin) Date: Tue Mar 25 12:47:24 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> <0A03C7D2-51FD-4692-B4BE-37C95FEF5E77@gmail.com> <7B3E1CAB-3481-4B1E-B784-0E1889CF09B3@patin.com> Message-ID: It?s awful? After NOT reading the installation instructions and wondering why things weren?t working, someone finally set me straight, and I turned off Web Services on my FMS 13 machine, and it?s working fine for web publishing. I?m doing what Chris Hansen recommended; rather than a two-machine configuration, I did a one-machine configuration, and then on the web server I?ll set up the website, and in my FX data file I put in the IP (or domain name) of the FMS 13 machine. Works fine, and since both machines are in the same network, I don?t think it?ll be much slower if at all. Frustrating though; it does away with using a single machine for multiple websites, without going through a process that Claus Lavendt graciously figured out. His process doesn?t allow for SSL certs though, and for about 2/3 of the web apps I do, SSL is a must. Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Mar 25, 2014, at 1:11 PM, Roger Moffat wrote: >> If you have >> enabled the Apache web server that is already installed with OS X, the FileMaker Server installer >> prompts you to let it disable any existing website using port 80 or 443 before it can continue. > > Say What???? > > So any machine used as either half of a 2 machine FileMaker Server setup can NOT be used to serve any other websites on Ports 80 and 443????? > > How greedy of FileMaker and inconvenient to the Server Admin!!! > > No Cheers!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140325/ef3a6da5/attachment.html From phil at eden.net.nz Tue Mar 25 14:51:49 2014 From: phil at eden.net.nz (Philip Lamb) Date: Tue Mar 25 14:45:51 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> <0A03C7D2-51FD-4692-B4BE-37C95FEF5E77@gmail.com> <7B3E1CAB-3481-4B1E-B784-0E1889CF09B3@patin.com> Message-ID: <353FB63F-6A61-414F-A218-92ADB339B8F0@eden.net.nz> On 26/03/2014, at 7:11 AM, Roger Moffat wrote: > On Mar 25, 2014, at 1:12 PM, Andrew Denman wrote: > >> If you have >> enabled the Apache web server that is already installed with OS X, the FileMaker Server installer >> prompts you to let it disable any existing website using port 80 or 443 before it can continue. > > So any machine used as either half of a 2 machine FileMaker Server setup can NOT be used to serve any other websites on Ports 80 and 443????? > > How greedy of FileMaker and inconvenient to the Server Admin!!! I have to agree, it's ridiculous and inconvenient, and its currently a blocker to us upgrading to FMS 13. It looks like we're not the only ones affected... I suggest we add our voices to this conversation (title: "Mad as hell about Filemaker Server 13 ports 80/443") http://forums.filemaker.com/posts/f7b3df55fe The only practical workaround seems to be to run FMS13 in a virtual server instance (Parallels or VMWare). Regards, Phil. From dale.bengston at gmail.com Wed Mar 26 08:58:18 2014 From: dale.bengston at gmail.com (Dale Bengston) Date: Wed Mar 26 08:52:21 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: <353FB63F-6A61-414F-A218-92ADB339B8F0@eden.net.nz> References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> <0A03C7D2-51FD-4692-B4BE-37C95FEF5E77@gmail.com> <7B3E1CAB-3481-4B1E-B784-0E1889CF09B3@patin.com> <353FB63F-6A61-414F-A218-92ADB339B8F0@eden.net.nz> Message-ID: <4E4E1298-41F7-4E46-A001-23909EB8C17C@gmail.com> It seems the best solution is to let FileMaker have its own server and host the web/FX stuff on a separate machine. This is acceptable, but not ideal. Fortunately, web servers don?t have to be super powerful, expensive machines. Hard drive speed and RAM are more important than raw processor speed. My last remaining FileMaker client just upgraded to FMS12, so fortunately it?ll be a while before we face down this problem. Maybe FMI will come around. Dale On Mar 25, 2014, at 3:51 PM, Philip Lamb wrote: > > On 26/03/2014, at 7:11 AM, Roger Moffat wrote: > >> On Mar 25, 2014, at 1:12 PM, Andrew Denman wrote: >> >>> If you have >>> enabled the Apache web server that is already installed with OS X, the FileMaker Server installer >>> prompts you to let it disable any existing website using port 80 or 443 before it can continue. >> >> So any machine used as either half of a 2 machine FileMaker Server setup can NOT be used to serve any other websites on Ports 80 and 443????? >> >> How greedy of FileMaker and inconvenient to the Server Admin!!! > > I have to agree, it's ridiculous and inconvenient, and its currently a blocker to us upgrading to FMS 13. It looks like we're not the only ones affected... I suggest we add our voices to this conversation (title: "Mad as hell about Filemaker Server 13 ports 80/443") > > http://forums.filemaker.com/posts/f7b3df55fe > > The only practical workaround seems to be to run FMS13 in a virtual server instance (Parallels or VMWare). > > Regards, > > Phil._______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From dness at bondedbuilders.com Wed Mar 26 09:29:40 2014 From: dness at bondedbuilders.com (Ness, David) Date: Wed Mar 26 09:23:39 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> <4C6C1AFE-F461-4AA4-B193-F3F8A3AEF416@gmail.com> <1c27e5b4edeb4eda83625b1c93782614@BLUPR02MB019.namprd02.prod.outlook.com> <8FDA8DB7-76C5-49BE-B908-21F38B6F4131@patin.com> Message-ID: Nick, It's been a few days since I could revisit this, but I need to tell you, I LOVE YOU MAN! With fx.php v4.5.1, I used this and it always worked, with v6 it didn't: $query=new FX($serverIP,$webCompanionPort); The change to this made everything work: $query=new FX($serverIP,$webCompanionPort,'fmpro7','HTTP'); Thank you! PS: I know the answer lies in the default values assigned to the vars in the fx.php files, at about line 59, but now that's it's all working, I'm moving on. Did I say "Thanks"? Thanks again. David Ness FileMaker & Web Applications Developer Bonded Builders Warranty Group 800-749-0381 x3123 From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Nick Sent: Thursday, March 20, 2014 6:08 PM To: FX.php Discussion List Subject: Re: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 You aren't setting the Data Source Type even though you think you are. $dataSourceType is the third argument in new FX($host, '80', $dataSourceType, 'HTTP'); for example. or 443 and HTTPS if you do that. look in what you pasted, and it still says your dataServerType, and dataServerVersion is 0 which means it doesn't know, and chooses by default fmpro, not fmalt or fmpro7. On Wed, Mar 19, 2014 at 4:35 PM, Bob Patin > wrote: Chris says that's only important if you're accessing portals, which I never do... I exposed my password too; it's "password" BP Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin - FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP * Full email services * Free DNS hosting * Colocation * Consulting On Mar 19, 2014, at 3:13 PM, Ness, David > wrote: I saw that too. I have my $dataSourceType = 'FMPro7' and I tried 'fmalt'. Both returned the reference to 'RetrieveFM5Data' you see below. I don't know why, or if this is abnormal, or not. It might be a clue to someone more knowledgeable than I. PS: I also saw I accidentally exposed by site's un/password. I've now (quickly) changed them, not that I don't trust my friends here :) _______________________________________________ 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/20140326/dc58ba67/attachment-0001.html From beverlyvoth at gmail.com Wed Mar 26 09:46:26 2014 From: beverlyvoth at gmail.com (BEVERLY VOTH) Date: Wed Mar 26 09:40:24 2014 Subject: [FX.php List] Ongoing saga of FMS 13 and FX.php... still no luck In-Reply-To: <4E4E1298-41F7-4E46-A001-23909EB8C17C@gmail.com> References: <621F2051-42FF-4FA0-AAE3-C6913A3EFBF4@gmail.com> <0A03C7D2-51FD-4692-B4BE-37C95FEF5E77@gmail.com> <7B3E1CAB-3481-4B1E-B784-0E1889CF09B3@patin.com> <353FB63F-6A61-414F-A218-92ADB339B8F0@eden.net.nz> <4E4E1298-41F7-4E46-A001-23909EB8C17C@gmail.com> Message-ID: <90E3E0C2-46D7-48A8-9940-1B7B24344148@gmail.com> When I *had* a corral full of servers, each one had a purpose. MySQL was separate from MS SQL was separate from Web Servers was separate from FMS was separate from Mail Server, etc. Our motto was: "single point of failure: (we had backup and ability to hot-swap drives), but when a machine went down, it didn't take the entire herd. Dale's right. If you want FMS13 & WebDirect, it's going to demand a bunch. So it makes sense to put Web Sites on a Web Server and call the dbs as needed. You can even limit access to the dbs within the same network (IP range, likely), so have added security, too. Beverly On 26 Mar 2014, at 10:58 AM, Dale Bengston wrote: > It seems the best solution is to let FileMaker have its own server and host the web/FX stuff on a separate machine. This is acceptable, but not ideal. Fortunately, web servers don?t have to be super powerful, expensive machines. Hard drive speed and RAM are more important than raw processor speed. > > My last remaining FileMaker client just upgraded to FMS12, so fortunately it?ll be a while before we face down this problem. Maybe FMI will come around. > > Dale From whatdoyouwant at gmail.com Wed Mar 26 10:01:12 2014 From: whatdoyouwant at gmail.com (Nick) Date: Wed Mar 26 09:55:06 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> <4C6C1AFE-F461-4AA4-B193-F3F8A3AEF416@gmail.com> <1c27e5b4edeb4eda83625b1c93782614@BLUPR02MB019.namprd02.prod.outlook.com> <8FDA8DB7-76C5-49BE-B908-21F38B6F4131@patin.com> Message-ID: I'm glad you got it. Just make sure to use fmalt if you have layouts with portals. Also, since I'm talking already, I'll share my recent experience with FMS 13. I upgraded my FMS 12 server and it appeared to work (after much uninstall and reboot), but I ran a "test" where I incremented a number 300 times adding a new record each time to a test table. IIS gave me a 0 content return a couple times during each test. On a brand new server with only FMS 13 installed fresh, I had no such problems. This was regardless of FX though - and not a network problem >> I could duplicate it on the raw website xml request if I refreshed the page enough. tl;dr sometimes I hate windows... On Wed, Mar 26, 2014 at 10:29 AM, Ness, David wrote: > Nick, > > > > It's been a few days since I could revisit this, but I need to tell you, I > LOVE YOU MAN! > > > > With fx.php v4.5.1, I used this and it always worked, with v6 it didn't: > > > > $query=new FX($serverIP,$webCompanionPort); > > > > The change to this made everything work: > > > > $query=new FX($serverIP,$webCompanionPort,'fmpro7','HTTP'); > > > > Thank you! > > > > PS: I know the answer lies in the default values assigned to the vars in > the fx.php files, at about line 59, but now that's it's all working, I'm > moving on. > > > > Did I say "Thanks"? > > > > Thanks again. > > > > > > > > > > *David Ness* > > *FileMaker & Web Applications Developer* > > > > *Bonded Builders Warranty Group* > > 800-749-0381 x3123 > > > > *From:* fx.php_list-bounces@mail.iviking.org [mailto: > fx.php_list-bounces@mail.iviking.org] *On Behalf Of *Nick > *Sent:* Thursday, March 20, 2014 6:08 PM > > *To:* FX.php Discussion List > *Subject:* Re: [FX.php List] Trouble with fx.php and update from FMSA11 > to FMS13 > > > > You aren't setting the Data Source Type even though you think you are. > $dataSourceType is the third argument in new FX($host, '80', > $dataSourceType, 'HTTP'); for example. or 443 and HTTPS if you do that. > > look in what you pasted, and it still says your dataServerType, and > dataServerVersion is 0 which means it doesn't know, and chooses by default fmpro, > not fmalt or fmpro7. > > > > On Wed, Mar 19, 2014 at 4:35 PM, Bob Patin wrote: > > Chris says that's only important if you're accessing portals, which I > never do... > > > > I exposed my password too; it's "password" > > > > BP > > > > Bob Patin > > Longterm Solutions > > bob@longtermsolutions.com > > 615-333-6858 > > FileMaker 9, 10, 11 & 12 Certified Developer > > http://www.longtermsolutions.com > > - > > iChat: bobpatin@me.com > > Twitter: bobpatin > > -- > > FileMaker Consulting > > FileMaker Hosting for all versions of FileMaker > > PHP * Full email services * Free DNS hosting * Colocation * Consulting > > > > On Mar 19, 2014, at 3:13 PM, Ness, David wrote: > > > > I saw that too. I have my $dataSourceType = 'FMPro7' and I tried > 'fmalt'. Both returned the reference to 'RetrieveFM5Data' you see below. I > don't know why, or if this is abnormal, or not. It might be a clue to > someone more knowledgeable than I. > > > > PS: I also saw I accidentally exposed by site's un/password. I've now > (quickly) changed them, not that I don't trust my friends here J > > > > > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/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/20140326/7723310f/attachment.html From bob at patin.com Wed Mar 26 10:05:28 2014 From: bob at patin.com (Bob Patin) Date: Wed Mar 26 09:59:29 2014 Subject: [FX.php List] Trouble with fx.php and update from FMSA11 to FMS13 In-Reply-To: References: <33efe26ff4a34e39b5cd552c4b0f77e4@BLUPR02MB019.namprd02.prod.outlook.com> <4C6C1AFE-F461-4AA4-B193-F3F8A3AEF416@gmail.com> <1c27e5b4edeb4eda83625b1c93782614@BLUPR02MB019.namprd02.prod.outlook.com> <8FDA8DB7-76C5-49BE-B908-21F38B6F4131@patin.com> Message-ID: <1DCFE53E-5CB3-4BF7-9684-786EB0AB7FA6@patin.com> On Mar 26, 2014, at 11:01 AM, Nick wrote: > I'm glad you got it. Just make sure to use fmalt if you have layouts with portals. I don?t use portals for the web; I always walk the related table instead... > > Also, since I'm talking already, I'll share my recent experience with FMS 13. I upgraded my FMS 12 server and it appeared to work (after much uninstall and reboot), but I ran a "test" where I incremented a number 300 times adding a new record each time to a test table. IIS gave me a 0 content return a couple times during each test. On a brand new server with only FMS 13 installed fresh, I had no such problems. This was regardless of FX though - and not a network problem >> I could duplicate it on the raw website xml request if I refreshed the page enough. > tl;dr sometimes I hate windows? I have a big client whose web app is on IIS, and we have trouble w/ it about once a month?usually requires either redeploying the WPE or reconfiguring their web server?I don?t provide support for their PCs so someone else has to deal with it. Not a fan of IIS? Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 FileMaker 9, 10, 11 & 12 Certified Developer http://www.longtermsolutions.com - iChat: bobpatin@me.com Twitter: bobpatin ? FileMaker Consulting FileMaker Hosting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140326/60fc068b/attachment-0001.html From steve at bluecrocodile.co.nz Fri Mar 28 07:51:39 2014 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Fri Mar 28 07:45:34 2014 Subject: [FX.php List] 13 client, 12 server PDF container gotcha Message-ID: <1C517B8B-89D0-46D3-A0A7-E564D0C0EC74@bluecrocodile.co.nz> Howdy Just thought I'd share a frustration that wasted most of my morning. If you're using containers (embedded or external), and you're trying to output the content to the web using any of the regular methods (API or FX, since both end up pulling through the XML interface), if a PDF is placed into the container using FM13 client, when the file is hosted on an FMS12, all that your downloaded PDF will contains are the letters 'PDF'... If you put the file in there using FM 12 client all is well... Hope this saves someone a headache... Cheers Steve Steve Winter +44 777 852 4776 steve@bluecrocodile.co.nz From tcmeyers at troymeyers.com Fri Mar 28 09:31:53 2014 From: tcmeyers at troymeyers.com (Troy Meyers) Date: Fri Mar 28 09:25:41 2014 Subject: [FX.php List] 13 client, 12 server PDF container gotcha Message-ID: Steve, In a similar vein, but different: 13 FMGo, 12 server camera-photo container XML/FX gotcha If you take a photo using the iOS client FMGo 13 for some reason the photo is stored so that when served (FMS 12), FMPro 12 displays the photos fine, but the XML interface does not. If the stored photo is exported using FMPro 12 and then re-imported, then the photo will display fine via XML (and FX). I've reported this as a bug in FMGo 13, but the FMI response is that it's FMS 12's fault and that I need to use FMS 13. I want to use the better iOS features in FMGo 13 (and FMProA 13) but don't want to open the FMS 13 can of worms. Rock and a hard place. Troy > Howdy > > Just thought I'd share a frustration that wasted most of my morning. > > If you're using containers (embedded or external), and you're trying to > output the content to the web using any of the regular methods (API or > FX, since both end up pulling through the XML interface), if a PDF is > placed into the container using FM13 client, when the file is hosted on > an FMS12, all that your downloaded PDF will contains are the letters > 'PDF'... > > If you put the file in there using FM 12 client all is well... > > Hope this saves someone a headache... > > Cheers Steve