From ben.bradley at dealer-world.com Mon Jun 1 05:42:06 2009 From: ben.bradley at dealer-world.com (Ben Bradley) Date: Mon Jun 1 05:42:11 2009 Subject: [FX.php List] Switch of web host - HTML special chars stripped from FX output (FMU6) Message-ID: <76D9B0388818194A99518022CA81706F01032DD9@server.dealer-world.com> Hi everyone Right I've now done some further tests on the new and old providers and there is something different about the outputs from FX.php On the new provider the HTML special chars are removed from all fields. Completely removed, not replaced with anything. On the old provider the HTML special chars are returned correctly. Not converted to entities but returned in their raw format suitable for rendering as HTML tags without any further processing. I've found there are some differences in various libraries between the new/old providers. cURL and various XML libraries appear to be slightly different NEW: http://dealer-world.net/phpinfo.php OLD: http://dealer-world.net/phpinfo.php I had a look through the cURL changelog http://curl.haxx.se/changes.html and couldn't see anything that would cause any difference in operation. What (if any) XML libraries does FX.php use? I will have a dig through those changelogs On the new provider, when I make a manual PHP cURL call to a test page the HTML gets returned correctly as expected. Anyone else got any ideas as to why this is happening? It's driving me a bit crazy! Thanks, Ben -----Original Message----- From: Ben Bradley Sent: 31 May 2009 13:24 To: 'FX.php Discussion List' Subject: RE: [FX.php List] Switch of web host - HTML special chars stripped from FX output (FMU6) Correction: I think I was uploading to an incorrect address. When I run a curl call on the FMP XML data URL on the new provider... the XML gets returned with all special chars in the fields replaced with their HTML entities... > < " etc When I run the exact same CURL call on the old provider, exactly the same output. I assume the > < is what FMU6 returns and not some processing by FX.php When I run a CURL call on the new provider to a regular HTML page, the HTML gets returned as expected... With no special chars removed. So it seems CURL might not be the culprit after all. Or at least the default CURL options in my custom get_webpage() function -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Gjermund Gusland Thorsen Sent: 31 May 2009 12:35 To: FX.php Discussion List Subject: Re: [FX.php List] Switch of web host - HTML special chars stripped from FX output (FMU6) Are you running Mac workstation? I would do a print_r( $result ); of your problem query. and copy the URL part of the array and open terminal, type the following curl <> ggt 2009/5/31 Gjermund Gusland Thorsen : > So there is a different FMU6 in this case? > > ggt > > 2009/5/31 Ben Bradley : >> Hi >> I'm using the same version of FX.php as I was on the old hosting provider... Which was working fine. >> I basically uploaded an identical copy of the site to the new provider >> >> What version should I try? >> At the moment I'm using 4.5.1 >> >> Cheers, Ben >> >> >> -----Original Message----- >> From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Gjermund Gusland Thorsen >> Sent: 31 May 2009 01:03 >> To: FX.php Discussion List >> Subject: Re: [FX.php List] Switch of web host - HTML special chars stripped from FX output (FMU6) >> >> Ahh, FMU6 >> >> Did you try an old version of FX.php? One that corresponds to FMU6, i e >> >> ggt >> >> 2009/5/30 Ben Bradley : >>> PHP headers and meta charset are both UTF-8 >>> It appears special chars are just completely removed. The rest of the content is fine! >>> >>> If I try and get any records from the CMS database using a completely plain test script, then the same thing happens. >>> >>> It's not just this field either, if I put special chars (< > or ") in any other field, they also get removed >>> So the tag name, contents, attributes and values etc are all preserved, just without the <>" in there! >>> >>> Strangeness! >>> >>> Cheers, B >>> >>> >>> -----Original Message----- >>> From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Gjermund Gusland Thorsen >>> Sent: 30 May 2009 13:56 >>> To: FX.php Discussion List >>> Subject: Re: [FX.php List] Switch of web host - HTML special chars stripped from FX output (FMU6) >>> >>> And what is your charset in the header of your documents? >>> >>> Are the characters just removed? or replaced with some other chars? >>> >>> ggt >>> >>> 2009/5/29 Ben Bradley : >>>> Hi everyone >>>> I've just switched hosting provider and there appears to be a difference in >>>> their PHP configurations. >>>> >>>> With the new provider any HTML special chars are getting automatically >>>> removed from my FX.php output... causing HTML tags in my FileMaker?website >>>> content management system?to get printed out as text. >>>> Less than, greater than and quote marks are just removed; not replaced with >>>> anything else. >>>> >>>> I have basically copied the entire site over to the new provider and I've >>>> never seen this problem before. >>>> >>>> The old provider was running PHP 5.2.6 >>>> The new provider is running PHP 5.2.5 >>>> >>>> One thing I did notice is the new provider has?magic_quotes_gpc set to On in >>>> the phpinfo() >>>> It was Off on the old provider. >>>> But that shouldn't make any difference to the output of FX, should it? >>>> magic_quotes_runtime and magic_quotes_sybase are set to Off on the old and >>>> new providers. >>>> >>>> I'm running FileMaker Unlimited 6 with custom web publishing. There's >>>> nothing that's changed on the CDML format files. >>>> When I call up the site in the old host, everything is still fine! >>>> >>>> Anyone experience this error before or can think of any config things to >>>> try? >>>> >>>> >>>> I've done a few tests... CURL calls are fine... no HTML special chars >>>> removed there! >>>> Also if I set a bunch of HTML code into a variable, and echo that variable >>>> out again the HTML special chars are preserved so the tags get rendered. >>>> >>>> Any ideas / suggestions? >>>> This has been driving me nuts this afternoon! >>>> >>>> Cheers, B >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> >>>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> > _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list From leo at finalresort.org Mon Jun 1 06:51:29 2009 From: leo at finalresort.org (Leo R. Lundgren) Date: Mon Jun 1 06:51:34 2009 Subject: [FX.php List] Switch of web host - HTML special chars stripped from FX output (FMU6) In-Reply-To: <76D9B0388818194A99518022CA81706F01032DD9@server.dealer-world.com> References: <76D9B0388818194A99518022CA81706F01032DD9@server.dealer-world.com> Message-ID: Can you provide the old and new phpinfo() again please, they seem to be the same URL. 1 jun 2009 kl. 13.42 skrev Ben Bradley: > Hi everyone > > Right I've now done some further tests on the new and old providers > and there is something different about the outputs from FX.php > > On the new provider the HTML special chars are removed from all > fields. Completely removed, not replaced with anything. > > On the old provider the HTML special chars are returned correctly. > Not converted to entities but returned in their raw format suitable > for rendering as HTML tags without any further processing. > > > I've found there are some differences in various libraries between > the new/old providers. cURL and various XML libraries appear to be > slightly different > > NEW: http://dealer-world.net/phpinfo.php > OLD: http://dealer-world.net/phpinfo.php > > I had a look through the cURL changelog http://curl.haxx.se/changes.html > and couldn't see anything that would cause any difference in > operation. > > What (if any) XML libraries does FX.php use? > I will have a dig through those changelogs > > > On the new provider, when I make a manual PHP cURL call to a test > page the HTML gets returned correctly as expected. > > Anyone else got any ideas as to why this is happening? > It's driving me a bit crazy! > > Thanks, Ben > > -----Original Message----- > From: Ben Bradley > Sent: 31 May 2009 13:24 > To: 'FX.php Discussion List' > Subject: RE: [FX.php List] Switch of web host - HTML special chars > stripped from FX output (FMU6) > > Correction: > I think I was uploading to an incorrect address. > > When I run a curl call on the FMP XML data URL on the new > provider... the XML gets returned with all special chars in the > fields replaced with their HTML entities... > < " etc > > When I run the exact same CURL call on the old provider, exactly the > same output. > I assume the > < is what FMU6 returns and not some processing > by FX.php > > When I run a CURL call on the new provider to a regular HTML page, > the HTML gets returned as expected... With no special chars removed. > > So it seems CURL might not be the culprit after all. > Or at least the default CURL options in my custom get_webpage() > function > > > > -----Original Message----- > From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org > ] On Behalf Of Gjermund Gusland Thorsen > Sent: 31 May 2009 12:35 > To: FX.php Discussion List > Subject: Re: [FX.php List] Switch of web host - HTML special chars > stripped from FX output (FMU6) > > Are you running Mac workstation? > > I would do a print_r( $result ); of your problem query. > > and copy the URL part of the array > > and open terminal, type the following > > curl <> > > ggt > > 2009/5/31 Gjermund Gusland Thorsen : >> So there is a different FMU6 in this case? >> >> ggt >> >> 2009/5/31 Ben Bradley : >>> Hi >>> I'm using the same version of FX.php as I was on the old hosting >>> provider... Which was working fine. >>> I basically uploaded an identical copy of the site to the new >>> provider >>> >>> What version should I try? >>> At the moment I'm using 4.5.1 >>> >>> Cheers, Ben >>> >>> >>> -----Original Message----- >>> From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org >>> ] On Behalf Of Gjermund Gusland Thorsen >>> Sent: 31 May 2009 01:03 >>> To: FX.php Discussion List >>> Subject: Re: [FX.php List] Switch of web host - HTML special chars >>> stripped from FX output (FMU6) >>> >>> Ahh, FMU6 >>> >>> Did you try an old version of FX.php? One that corresponds to >>> FMU6, i e >>> >>> ggt >>> >>> 2009/5/30 Ben Bradley : >>>> PHP headers and meta charset are both UTF-8 >>>> It appears special chars are just completely removed. The rest of >>>> the content is fine! >>>> >>>> If I try and get any records from the CMS database using a >>>> completely plain test script, then the same thing happens. >>>> >>>> It's not just this field either, if I put special chars (< > or >>>> ") in any other field, they also get removed >>>> So the tag name, contents, attributes and values etc are all >>>> preserved, just without the <>" in there! >>>> >>>> Strangeness! >>>> >>>> Cheers, B >>>> >>>> >>>> -----Original Message----- >>>> From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org >>>> ] On Behalf Of Gjermund Gusland Thorsen >>>> Sent: 30 May 2009 13:56 >>>> To: FX.php Discussion List >>>> Subject: Re: [FX.php List] Switch of web host - HTML special >>>> chars stripped from FX output (FMU6) >>>> >>>> And what is your charset in the header of your documents? >>>> >>>> Are the characters just removed? or replaced with some other chars? >>>> >>>> ggt >>>> >>>> 2009/5/29 Ben Bradley : >>>>> Hi everyone >>>>> I've just switched hosting provider and there appears to be a >>>>> difference in >>>>> their PHP configurations. >>>>> >>>>> With the new provider any HTML special chars are getting >>>>> automatically >>>>> removed from my FX.php output... causing HTML tags in my >>>>> FileMaker website >>>>> content management system to get printed out as text. >>>>> Less than, greater than and quote marks are just removed; not >>>>> replaced with >>>>> anything else. >>>>> >>>>> I have basically copied the entire site over to the new provider >>>>> and I've >>>>> never seen this problem before. >>>>> >>>>> The old provider was running PHP 5.2.6 >>>>> The new provider is running PHP 5.2.5 >>>>> >>>>> One thing I did notice is the new provider has magic_quotes_gpc >>>>> set to On in >>>>> the phpinfo() >>>>> It was Off on the old provider. >>>>> But that shouldn't make any difference to the output of FX, >>>>> should it? >>>>> magic_quotes_runtime and magic_quotes_sybase are set to Off on >>>>> the old and >>>>> new providers. >>>>> >>>>> I'm running FileMaker Unlimited 6 with custom web publishing. >>>>> There's >>>>> nothing that's changed on the CDML format files. >>>>> When I call up the site in the old host, everything is still fine! >>>>> >>>>> Anyone experience this error before or can think of any config >>>>> things to >>>>> try? >>>>> >>>>> >>>>> I've done a few tests... CURL calls are fine... no HTML special >>>>> chars >>>>> removed there! >>>>> Also if I set a bunch of HTML code into a variable, and echo >>>>> that variable >>>>> out again the HTML special chars are preserved so the tags get >>>>> rendered. >>>>> >>>>> Any ideas / suggestions? >>>>> This has been driving me nuts this afternoon! >>>>> >>>>> Cheers, B >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>> >>>>> >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >> > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| From ben.bradley at dealer-world.com Mon Jun 1 06:53:06 2009 From: ben.bradley at dealer-world.com (Ben Bradley) Date: Mon Jun 1 06:53:10 2009 Subject: [FX.php List] Switch of web host - HTML special chars strippedfrom FX output (FMU6) In-Reply-To: Message-ID: <76D9B0388818194A99518022CA81706F01032DDE@server.dealer-world.com> Dang, sorry. Copy and pasted without thinking. NEW: http://dealer-world.net/phpinfo.php OLD: http://dealer-world.com/phpinfo.php Thanks, B -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Leo R. Lundgren Sent: 01 June 2009 13:51 To: FX.php Discussion List Subject: Re: [FX.php List] Switch of web host - HTML special chars strippedfrom FX output (FMU6) Can you provide the old and new phpinfo() again please, they seem to be the same URL. 1 jun 2009 kl. 13.42 skrev Ben Bradley: > Hi everyone > > Right I've now done some further tests on the new and old providers > and there is something different about the outputs from FX.php > > On the new provider the HTML special chars are removed from all > fields. Completely removed, not replaced with anything. > > On the old provider the HTML special chars are returned correctly. > Not converted to entities but returned in their raw format suitable > for rendering as HTML tags without any further processing. > > > I've found there are some differences in various libraries between > the new/old providers. cURL and various XML libraries appear to be > slightly different > > NEW: http://dealer-world.net/phpinfo.php > OLD: http://dealer-world.net/phpinfo.php > > I had a look through the cURL changelog http://curl.haxx.se/changes.html > and couldn't see anything that would cause any difference in > operation. > > What (if any) XML libraries does FX.php use? > I will have a dig through those changelogs > > > On the new provider, when I make a manual PHP cURL call to a test > page the HTML gets returned correctly as expected. > > Anyone else got any ideas as to why this is happening? > It's driving me a bit crazy! > > Thanks, Ben > > -----Original Message----- > From: Ben Bradley > Sent: 31 May 2009 13:24 > To: 'FX.php Discussion List' > Subject: RE: [FX.php List] Switch of web host - HTML special chars > stripped from FX output (FMU6) > > Correction: > I think I was uploading to an incorrect address. > > When I run a curl call on the FMP XML data URL on the new > provider... the XML gets returned with all special chars in the > fields replaced with their HTML entities... > < " etc > > When I run the exact same CURL call on the old provider, exactly the > same output. > I assume the > < is what FMU6 returns and not some processing > by FX.php > > When I run a CURL call on the new provider to a regular HTML page, > the HTML gets returned as expected... With no special chars removed. > > So it seems CURL might not be the culprit after all. > Or at least the default CURL options in my custom get_webpage() > function > > > > -----Original Message----- > From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org > ] On Behalf Of Gjermund Gusland Thorsen > Sent: 31 May 2009 12:35 > To: FX.php Discussion List > Subject: Re: [FX.php List] Switch of web host - HTML special chars > stripped from FX output (FMU6) > > Are you running Mac workstation? > > I would do a print_r( $result ); of your problem query. > > and copy the URL part of the array > > and open terminal, type the following > > curl <> > > ggt > > 2009/5/31 Gjermund Gusland Thorsen : >> So there is a different FMU6 in this case? >> >> ggt >> >> 2009/5/31 Ben Bradley : >>> Hi >>> I'm using the same version of FX.php as I was on the old hosting >>> provider... Which was working fine. >>> I basically uploaded an identical copy of the site to the new >>> provider >>> >>> What version should I try? >>> At the moment I'm using 4.5.1 >>> >>> Cheers, Ben >>> >>> >>> -----Original Message----- >>> From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org >>> ] On Behalf Of Gjermund Gusland Thorsen >>> Sent: 31 May 2009 01:03 >>> To: FX.php Discussion List >>> Subject: Re: [FX.php List] Switch of web host - HTML special chars >>> stripped from FX output (FMU6) >>> >>> Ahh, FMU6 >>> >>> Did you try an old version of FX.php? One that corresponds to >>> FMU6, i e >>> >>> ggt >>> >>> 2009/5/30 Ben Bradley : >>>> PHP headers and meta charset are both UTF-8 >>>> It appears special chars are just completely removed. The rest of >>>> the content is fine! >>>> >>>> If I try and get any records from the CMS database using a >>>> completely plain test script, then the same thing happens. >>>> >>>> It's not just this field either, if I put special chars (< > or >>>> ") in any other field, they also get removed >>>> So the tag name, contents, attributes and values etc are all >>>> preserved, just without the <>" in there! >>>> >>>> Strangeness! >>>> >>>> Cheers, B >>>> >>>> >>>> -----Original Message----- >>>> From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org >>>> ] On Behalf Of Gjermund Gusland Thorsen >>>> Sent: 30 May 2009 13:56 >>>> To: FX.php Discussion List >>>> Subject: Re: [FX.php List] Switch of web host - HTML special >>>> chars stripped from FX output (FMU6) >>>> >>>> And what is your charset in the header of your documents? >>>> >>>> Are the characters just removed? or replaced with some other chars? >>>> >>>> ggt >>>> >>>> 2009/5/29 Ben Bradley : >>>>> Hi everyone >>>>> I've just switched hosting provider and there appears to be a >>>>> difference in >>>>> their PHP configurations. >>>>> >>>>> With the new provider any HTML special chars are getting >>>>> automatically >>>>> removed from my FX.php output... causing HTML tags in my >>>>> FileMaker website >>>>> content management system to get printed out as text. >>>>> Less than, greater than and quote marks are just removed; not >>>>> replaced with >>>>> anything else. >>>>> >>>>> I have basically copied the entire site over to the new provider >>>>> and I've >>>>> never seen this problem before. >>>>> >>>>> The old provider was running PHP 5.2.6 >>>>> The new provider is running PHP 5.2.5 >>>>> >>>>> One thing I did notice is the new provider has magic_quotes_gpc >>>>> set to On in >>>>> the phpinfo() >>>>> It was Off on the old provider. >>>>> But that shouldn't make any difference to the output of FX, >>>>> should it? >>>>> magic_quotes_runtime and magic_quotes_sybase are set to Off on >>>>> the old and >>>>> new providers. >>>>> >>>>> I'm running FileMaker Unlimited 6 with custom web publishing. >>>>> There's >>>>> nothing that's changed on the CDML format files. >>>>> When I call up the site in the old host, everything is still fine! >>>>> >>>>> Anyone experience this error before or can think of any config >>>>> things to >>>>> try? >>>>> >>>>> >>>>> I've done a few tests... CURL calls are fine... no HTML special >>>>> chars >>>>> removed there! >>>>> Also if I set a bunch of HTML code into a variable, and echo >>>>> that variable >>>>> out again the HTML special chars are preserved so the tags get >>>>> rendered. >>>>> >>>>> Any ideas / suggestions? >>>>> This has been driving me nuts this afternoon! >>>>> >>>>> Cheers, B >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>> >>>>> >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >> > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list From pvanbuskirk at otc.fsu.edu Mon Jun 1 07:27:43 2009 From: pvanbuskirk at otc.fsu.edu (VanBuskirk, Patricia) Date: Mon Jun 1 07:27:47 2009 Subject: [FX.php List] Edit List of Results Message-ID: <70129CA6F836494CA5FD774FEA14E1A30115F659@fsu-exch-12.fsu.edu> Forgive me if this has been asked previously. I did a search, but did not find anything about this. I have a Departmental (phone) Directory using FX and FM9 on WinXP. The user logs in and gets a list of their sections ... under that on the same page shows all the listings, now sorted alpha by Section Name, then Print Line. If there is a print order specified in the database, it sorts by that first. What I'd like to do is allow the user to re-order their listings manually on one page. In other words, I don't want them to have to click on edit for each line, change the print order field, go back and do the next line, etc. This is how is was previously set up in CDML, and was a huge pain for the user. If they want to change line #25 to be #1, they have to click edit/save on 25 records to renumber. There MUST be a better way, but I cannot wrap my brain around it. If this is clear as mud, please let me know ... after all, it is relatively early on a Monday morning! If needed, I can email code. Thanks, Trish -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090601/76661255/attachment.html From dbengston at tds.net Mon Jun 1 07:40:55 2009 From: dbengston at tds.net (Dale Bengston) Date: Mon Jun 1 07:41:04 2009 Subject: [FX.php List] Edit List of Results In-Reply-To: <70129CA6F836494CA5FD774FEA14E1A30115F659@fsu-exch-12.fsu.edu> References: <70129CA6F836494CA5FD774FEA14E1A30115F659@fsu-exch-12.fsu.edu> Message-ID: Hi Trish, I think this is where you have to take your FileMaker hat off and put on your web developer hat. I'm using Scriptaculous drag/drop to accomplish this same type of thing. The user just drags items around on the screen to re-order them. A sort order field is modified to via AJAX to account for the new sequence. I realize that AJAX and JavaScript-based drag/drop are a pretty big departure from straight FileMaker/web development, but it would greatly improve the user experience. Hope this helps, Dale -- Dale Bengston Streamline Studio, LLC www.streamline-studio.com On Jun 1, 2009, at 8:27 AM, VanBuskirk, Patricia wrote: > Forgive me if this has been asked previously. I did a search, but > did not find anything about this. > > I have a Departmental (phone) Directory using FX and FM9 on WinXP. > The user logs in and gets a list of their sections ... under that on > the same page shows all the listings, now sorted alpha by Section > Name, then Print Line. If there is a print order specified in the > database, it sorts by that first. > > What I'd like to do is allow the user to re-order their listings > manually on one page. In other words, I don't want them to have to > click on edit for each line, change the print order field, go back > and do the next line, etc. This is how is was previously set up in > CDML, and was a huge pain for the user. If they want to change line > #25 to be #1, they have to click edit/save on 25 records to > renumber. There MUST be a better way, but I cannot wrap my brain > around it. > > If this is clear as mud, please let me know ... after all, it is > relatively early on a Monday morning! If needed, I can email code. > > Thanks, > Trish > _______________________________________________ > 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 Jun 1 08:15:49 2009 From: bob at patin.com (Bob Patin) Date: Mon Jun 1 08:15:55 2009 Subject: [FX.php List] [OFF] SSL Cert problem on OS X Server Message-ID: <750A3B01-4BB3-4BA1-971F-6484517AB3E4@patin.com> I put server-wide SSL certs on all my web servers by purchasing a cert that resolves to the domain name of the particular web server. By doing this, my web clients can use the cert if they wish, without having to buy one for their particular domain. So instead of their using https://www.mydomain.com they would use https://xs7.longtermsolutions.com/mydomain/index.php which takes them into their directory and to their site. Here's the problem: (This is in OS X Server 10.4.11) I have a client who has bought his own cert for use on his site; no matter where I put his site in the list of sites, it won't use his cert, but instead invokes the "server-wide" cert. If I put his site at the top of the list, all of the sites on the server will try to use his certificate, which means an error message. Is there a way to do what I am describing, or do I need to move him to a server that doesn't have its own server-wide SSL cert? Any help would be greatly appreciated; thanks, Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From leo at finalresort.org Mon Jun 1 08:23:34 2009 From: leo at finalresort.org (Leo R. Lundgren) Date: Mon Jun 1 08:23:38 2009 Subject: [FX.php List] [OFF] SSL Cert problem on OS X Server In-Reply-To: <750A3B01-4BB3-4BA1-971F-6484517AB3E4@patin.com> References: <750A3B01-4BB3-4BA1-971F-6484517AB3E4@patin.com> Message-ID: You will have to seperate that client's virtual ssl-host from the rest of your server either by IP or by PORT. The problem is your various virtual hosts are seperated based on their Host: HTTP header, and this header is part of the actual data that is to be encrypted. It's a chicken and egg problem. There was an in-depth discussion about it on this list about a year ago or something. 1 jun 2009 kl. 16.15 skrev Bob Patin: > I put server-wide SSL certs on all my web servers by purchasing a > cert that resolves to the domain name of the particular web server. > By doing this, my web clients can use the cert if they wish, without > having to buy one for their particular domain. So instead of their > using > > https://www.mydomain.com > > they would use > > https://xs7.longtermsolutions.com/mydomain/index.php > > which takes them into their directory and to their site. > > Here's the problem: > > (This is in OS X Server 10.4.11) > > I have a client who has bought his own cert for use on his site; no > matter where I put his site in the list of sites, it won't use his > cert, but instead invokes the "server-wide" cert. > > If I put his site at the top of the list, all of the sites on the > server will try to use his certificate, which means an error message. > > Is there a way to do what I am describing, or do I need to move him > to a server that doesn't have its own server-wide SSL cert? > > Any help would be greatly appreciated; thanks, > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -------------------------- > FileMaker hosting and consulting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| From leo at finalresort.org Mon Jun 1 08:28:49 2009 From: leo at finalresort.org (Leo R. Lundgren) Date: Mon Jun 1 08:28:53 2009 Subject: [FX.php List] [OFF] SSL Cert problem on OS X Server In-Reply-To: References: <750A3B01-4BB3-4BA1-971F-6484517AB3E4@patin.com> Message-ID: Here it is: http://www.iviking.org/pipermail/fx.php_list/2009-January/008944.html http://www.iviking.org/pipermail/fx.php_list/2009-January/008948.html 1 jun 2009 kl. 16.23 skrev Leo R. Lundgren: > You will have to seperate that client's virtual ssl-host from the > rest of your server either by IP or by PORT. > > The problem is your various virtual hosts are seperated based on > their Host: HTTP header, and this header is part of the actual data > that is to be encrypted. It's a chicken and egg problem. > > There was an in-depth discussion about it on this list about a year > ago or something. > > > 1 jun 2009 kl. 16.15 skrev Bob Patin: > >> I put server-wide SSL certs on all my web servers by purchasing a >> cert that resolves to the domain name of the particular web server. >> By doing this, my web clients can use the cert if they wish, >> without having to buy one for their particular domain. So instead >> of their using >> >> https://www.mydomain.com >> >> they would use >> >> https://xs7.longtermsolutions.com/mydomain/index.php >> >> which takes them into their directory and to their site. >> >> Here's the problem: >> >> (This is in OS X Server 10.4.11) >> >> I have a client who has bought his own cert for use on his site; no >> matter where I put his site in the list of sites, it won't use his >> cert, but instead invokes the "server-wide" cert. >> >> If I put his site at the top of the list, all of the sites on the >> server will try to use his certificate, which means an error message. >> >> Is there a way to do what I am describing, or do I need to move him >> to a server that doesn't have its own server-wide SSL cert? >> >> Any help would be greatly appreciated; thanks, >> >> Bob Patin >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> http://www.longtermsolutions.com >> iChat: bobpatin >> AIM: longterm1954 >> FileMaker 9 Certified Developer >> Member of FileMaker Business Alliance and FileMaker TechNet >> -------------------------- >> FileMaker hosting and consulting for all versions of FileMaker >> PHP ? Full email services ? Free DNS hosting ? Colocation ? >> Consulting >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > -| > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| From leo at finalresort.org Mon Jun 1 08:48:15 2009 From: leo at finalresort.org (Leo R. Lundgren) Date: Mon Jun 1 08:48:19 2009 Subject: [FX.php List] Switch of web host - HTML special chars strippedfrom FX output (FMU6) In-Reply-To: <76D9B0388818194A99518022CA81706F01032DDE@server.dealer-world.com> References: <76D9B0388818194A99518022CA81706F01032DDE@server.dealer-world.com> Message-ID: Apart from a number of version differences in the libraries used, the obvious differences are that the new host uses zend-multibyte, and (maybe more importantly) it seems that the new host uses libxml while the old host uses the expat library. The latter is what I'd start investigating, and second to that I'd look at possible Unicode issues, first focusing on differences in the PHP settings. That Zend Multibyte is of interest as well, though it seems to be some half-born child, not much info about it. 1 jun 2009 kl. 14.53 skrev Ben Bradley: > Dang, sorry. Copy and pasted without thinking. > > NEW: http://dealer-world.net/phpinfo.php > OLD: http://dealer-world.com/phpinfo.php > > > Thanks, B > > > -----Original Message----- > From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Leo R. > Lundgren > Sent: 01 June 2009 13:51 > To: FX.php Discussion List > Subject: Re: [FX.php List] Switch of web host - HTML special chars > strippedfrom FX output (FMU6) > > Can you provide the old and new phpinfo() again please, they seem to > be the same URL. > > 1 jun 2009 kl. 13.42 skrev Ben Bradley: > >> Hi everyone >> >> Right I've now done some further tests on the new and old providers >> and there is something different about the outputs from FX.php >> >> On the new provider the HTML special chars are removed from all >> fields. Completely removed, not replaced with anything. >> >> On the old provider the HTML special chars are returned correctly. >> Not converted to entities but returned in their raw format suitable >> for rendering as HTML tags without any further processing. >> >> >> I've found there are some differences in various libraries between >> the new/old providers. cURL and various XML libraries appear to be >> slightly different >> >> NEW: http://dealer-world.net/phpinfo.php >> OLD: http://dealer-world.net/phpinfo.php >> >> I had a look through the cURL changelog > http://curl.haxx.se/changes.html >> and couldn't see anything that would cause any difference in >> operation. >> >> What (if any) XML libraries does FX.php use? >> I will have a dig through those changelogs >> >> >> On the new provider, when I make a manual PHP cURL call to a test >> page the HTML gets returned correctly as expected. >> >> Anyone else got any ideas as to why this is happening? >> It's driving me a bit crazy! >> >> Thanks, Ben >> >> -----Original Message----- >> From: Ben Bradley >> Sent: 31 May 2009 13:24 >> To: 'FX.php Discussion List' >> Subject: RE: [FX.php List] Switch of web host - HTML special chars >> stripped from FX output (FMU6) >> >> Correction: >> I think I was uploading to an incorrect address. >> >> When I run a curl call on the FMP XML data URL on the new >> provider... the XML gets returned with all special chars in the >> fields replaced with their HTML entities... > < " etc >> >> When I run the exact same CURL call on the old provider, exactly the >> same output. >> I assume the > < is what FMU6 returns and not some processing >> by FX.php >> >> When I run a CURL call on the new provider to a regular HTML page, >> the HTML gets returned as expected... With no special chars removed. >> >> So it seems CURL might not be the culprit after all. >> Or at least the default CURL options in my custom get_webpage() >> function >> >> >> >> -----Original Message----- >> From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org >> ] On Behalf Of Gjermund Gusland Thorsen >> Sent: 31 May 2009 12:35 >> To: FX.php Discussion List >> Subject: Re: [FX.php List] Switch of web host - HTML special chars >> stripped from FX output (FMU6) >> >> Are you running Mac workstation? >> >> I would do a print_r( $result ); of your problem query. >> >> and copy the URL part of the array >> >> and open terminal, type the following >> >> curl <> >> >> ggt >> >> 2009/5/31 Gjermund Gusland Thorsen : >>> So there is a different FMU6 in this case? >>> >>> ggt >>> >>> 2009/5/31 Ben Bradley : >>>> Hi >>>> I'm using the same version of FX.php as I was on the old hosting >>>> provider... Which was working fine. >>>> I basically uploaded an identical copy of the site to the new >>>> provider >>>> >>>> What version should I try? >>>> At the moment I'm using 4.5.1 >>>> >>>> Cheers, Ben >>>> >>>> >>>> -----Original Message----- >>>> From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org >>>> ] On Behalf Of Gjermund Gusland Thorsen >>>> Sent: 31 May 2009 01:03 >>>> To: FX.php Discussion List >>>> Subject: Re: [FX.php List] Switch of web host - HTML special chars >>>> stripped from FX output (FMU6) >>>> >>>> Ahh, FMU6 >>>> >>>> Did you try an old version of FX.php? One that corresponds to >>>> FMU6, i e >>>> >>>> ggt >>>> >>>> 2009/5/30 Ben Bradley : >>>>> PHP headers and meta charset are both UTF-8 >>>>> It appears special chars are just completely removed. The rest of >>>>> the content is fine! >>>>> >>>>> If I try and get any records from the CMS database using a >>>>> completely plain test script, then the same thing happens. >>>>> >>>>> It's not just this field either, if I put special chars (< > or >>>>> ") in any other field, they also get removed >>>>> So the tag name, contents, attributes and values etc are all >>>>> preserved, just without the <>" in there! >>>>> >>>>> Strangeness! >>>>> >>>>> Cheers, B >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org >>>>> ] On Behalf Of Gjermund Gusland Thorsen >>>>> Sent: 30 May 2009 13:56 >>>>> To: FX.php Discussion List >>>>> Subject: Re: [FX.php List] Switch of web host - HTML special >>>>> chars stripped from FX output (FMU6) >>>>> >>>>> And what is your charset in the header of your documents? >>>>> >>>>> Are the characters just removed? or replaced with some other >>>>> chars? >>>>> >>>>> ggt >>>>> >>>>> 2009/5/29 Ben Bradley : >>>>>> Hi everyone >>>>>> I've just switched hosting provider and there appears to be a >>>>>> difference in >>>>>> their PHP configurations. >>>>>> >>>>>> With the new provider any HTML special chars are getting >>>>>> automatically >>>>>> removed from my FX.php output... causing HTML tags in my >>>>>> FileMaker website >>>>>> content management system to get printed out as text. >>>>>> Less than, greater than and quote marks are just removed; not >>>>>> replaced with >>>>>> anything else. >>>>>> >>>>>> I have basically copied the entire site over to the new provider >>>>>> and I've >>>>>> never seen this problem before. >>>>>> >>>>>> The old provider was running PHP 5.2.6 >>>>>> The new provider is running PHP 5.2.5 >>>>>> >>>>>> One thing I did notice is the new provider has magic_quotes_gpc >>>>>> set to On in >>>>>> the phpinfo() >>>>>> It was Off on the old provider. >>>>>> But that shouldn't make any difference to the output of FX, >>>>>> should it? >>>>>> magic_quotes_runtime and magic_quotes_sybase are set to Off on >>>>>> the old and >>>>>> new providers. >>>>>> >>>>>> I'm running FileMaker Unlimited 6 with custom web publishing. >>>>>> There's >>>>>> nothing that's changed on the CDML format files. >>>>>> When I call up the site in the old host, everything is still >>>>>> fine! >>>>>> >>>>>> Anyone experience this error before or can think of any config >>>>>> things to >>>>>> try? >>>>>> >>>>>> >>>>>> I've done a few tests... CURL calls are fine... no HTML special >>>>>> chars >>>>>> removed there! >>>>>> Also if I set a bunch of HTML code into a variable, and echo >>>>>> that variable >>>>>> out again the HTML special chars are preserved so the tags get >>>>>> rendered. >>>>>> >>>>>> Any ideas / suggestions? >>>>>> This has been driving me nuts this afternoon! >>>>>> >>>>>> Cheers, B >>>>>> _______________________________________________ >>>>>> FX.php_List mailing list >>>>>> FX.php_List@mail.iviking.org >>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>> >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> >>> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > -| > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| From leo at finalresort.org Mon Jun 1 08:50:14 2009 From: leo at finalresort.org (Leo R. Lundgren) Date: Mon Jun 1 08:50:19 2009 Subject: [FX.php List] Switch of web host - HTML special chars strippedfrom FX output (FMU6) In-Reply-To: <76D9B0388818194A99518022CA81706F01032DDE@server.dealer-world.com> References: <76D9B0388818194A99518022CA81706F01032DDE@server.dealer-world.com> Message-ID: Ben, Have a look at http://lists.macosforge.org/pipermail/macports-users/2008-December/012834.html . 1 jun 2009 kl. 14.53 skrev Ben Bradley: > Dang, sorry. Copy and pasted without thinking. > > NEW: http://dealer-world.net/phpinfo.php > OLD: http://dealer-world.com/phpinfo.php > > > Thanks, B > > > -----Original Message----- > From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Leo R. > Lundgren > Sent: 01 June 2009 13:51 > To: FX.php Discussion List > Subject: Re: [FX.php List] Switch of web host - HTML special chars > strippedfrom FX output (FMU6) > > Can you provide the old and new phpinfo() again please, they seem to > be the same URL. > > 1 jun 2009 kl. 13.42 skrev Ben Bradley: > >> Hi everyone >> >> Right I've now done some further tests on the new and old providers >> and there is something different about the outputs from FX.php >> >> On the new provider the HTML special chars are removed from all >> fields. Completely removed, not replaced with anything. >> >> On the old provider the HTML special chars are returned correctly. >> Not converted to entities but returned in their raw format suitable >> for rendering as HTML tags without any further processing. >> >> >> I've found there are some differences in various libraries between >> the new/old providers. cURL and various XML libraries appear to be >> slightly different >> >> NEW: http://dealer-world.net/phpinfo.php >> OLD: http://dealer-world.net/phpinfo.php >> >> I had a look through the cURL changelog > http://curl.haxx.se/changes.html >> and couldn't see anything that would cause any difference in >> operation. >> >> What (if any) XML libraries does FX.php use? >> I will have a dig through those changelogs >> >> >> On the new provider, when I make a manual PHP cURL call to a test >> page the HTML gets returned correctly as expected. >> >> Anyone else got any ideas as to why this is happening? >> It's driving me a bit crazy! >> >> Thanks, Ben >> >> -----Original Message----- >> From: Ben Bradley >> Sent: 31 May 2009 13:24 >> To: 'FX.php Discussion List' >> Subject: RE: [FX.php List] Switch of web host - HTML special chars >> stripped from FX output (FMU6) >> >> Correction: >> I think I was uploading to an incorrect address. >> >> When I run a curl call on the FMP XML data URL on the new >> provider... the XML gets returned with all special chars in the >> fields replaced with their HTML entities... > < " etc >> >> When I run the exact same CURL call on the old provider, exactly the >> same output. >> I assume the > < is what FMU6 returns and not some processing >> by FX.php >> >> When I run a CURL call on the new provider to a regular HTML page, >> the HTML gets returned as expected... With no special chars removed. >> >> So it seems CURL might not be the culprit after all. >> Or at least the default CURL options in my custom get_webpage() >> function >> >> >> >> -----Original Message----- >> From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org >> ] On Behalf Of Gjermund Gusland Thorsen >> Sent: 31 May 2009 12:35 >> To: FX.php Discussion List >> Subject: Re: [FX.php List] Switch of web host - HTML special chars >> stripped from FX output (FMU6) >> >> Are you running Mac workstation? >> >> I would do a print_r( $result ); of your problem query. >> >> and copy the URL part of the array >> >> and open terminal, type the following >> >> curl <> >> >> ggt >> >> 2009/5/31 Gjermund Gusland Thorsen : >>> So there is a different FMU6 in this case? >>> >>> ggt >>> >>> 2009/5/31 Ben Bradley : >>>> Hi >>>> I'm using the same version of FX.php as I was on the old hosting >>>> provider... Which was working fine. >>>> I basically uploaded an identical copy of the site to the new >>>> provider >>>> >>>> What version should I try? >>>> At the moment I'm using 4.5.1 >>>> >>>> Cheers, Ben >>>> >>>> >>>> -----Original Message----- >>>> From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org >>>> ] On Behalf Of Gjermund Gusland Thorsen >>>> Sent: 31 May 2009 01:03 >>>> To: FX.php Discussion List >>>> Subject: Re: [FX.php List] Switch of web host - HTML special chars >>>> stripped from FX output (FMU6) >>>> >>>> Ahh, FMU6 >>>> >>>> Did you try an old version of FX.php? One that corresponds to >>>> FMU6, i e >>>> >>>> ggt >>>> >>>> 2009/5/30 Ben Bradley : >>>>> PHP headers and meta charset are both UTF-8 >>>>> It appears special chars are just completely removed. The rest of >>>>> the content is fine! >>>>> >>>>> If I try and get any records from the CMS database using a >>>>> completely plain test script, then the same thing happens. >>>>> >>>>> It's not just this field either, if I put special chars (< > or >>>>> ") in any other field, they also get removed >>>>> So the tag name, contents, attributes and values etc are all >>>>> preserved, just without the <>" in there! >>>>> >>>>> Strangeness! >>>>> >>>>> Cheers, B >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org >>>>> ] On Behalf Of Gjermund Gusland Thorsen >>>>> Sent: 30 May 2009 13:56 >>>>> To: FX.php Discussion List >>>>> Subject: Re: [FX.php List] Switch of web host - HTML special >>>>> chars stripped from FX output (FMU6) >>>>> >>>>> And what is your charset in the header of your documents? >>>>> >>>>> Are the characters just removed? or replaced with some other >>>>> chars? >>>>> >>>>> ggt >>>>> >>>>> 2009/5/29 Ben Bradley : >>>>>> Hi everyone >>>>>> I've just switched hosting provider and there appears to be a >>>>>> difference in >>>>>> their PHP configurations. >>>>>> >>>>>> With the new provider any HTML special chars are getting >>>>>> automatically >>>>>> removed from my FX.php output... causing HTML tags in my >>>>>> FileMaker website >>>>>> content management system to get printed out as text. >>>>>> Less than, greater than and quote marks are just removed; not >>>>>> replaced with >>>>>> anything else. >>>>>> >>>>>> I have basically copied the entire site over to the new provider >>>>>> and I've >>>>>> never seen this problem before. >>>>>> >>>>>> The old provider was running PHP 5.2.6 >>>>>> The new provider is running PHP 5.2.5 >>>>>> >>>>>> One thing I did notice is the new provider has magic_quotes_gpc >>>>>> set to On in >>>>>> the phpinfo() >>>>>> It was Off on the old provider. >>>>>> But that shouldn't make any difference to the output of FX, >>>>>> should it? >>>>>> magic_quotes_runtime and magic_quotes_sybase are set to Off on >>>>>> the old and >>>>>> new providers. >>>>>> >>>>>> I'm running FileMaker Unlimited 6 with custom web publishing. >>>>>> There's >>>>>> nothing that's changed on the CDML format files. >>>>>> When I call up the site in the old host, everything is still >>>>>> fine! >>>>>> >>>>>> Anyone experience this error before or can think of any config >>>>>> things to >>>>>> try? >>>>>> >>>>>> >>>>>> I've done a few tests... CURL calls are fine... no HTML special >>>>>> chars >>>>>> removed there! >>>>>> Also if I set a bunch of HTML code into a variable, and echo >>>>>> that variable >>>>>> out again the HTML special chars are preserved so the tags get >>>>>> rendered. >>>>>> >>>>>> Any ideas / suggestions? >>>>>> This has been driving me nuts this afternoon! >>>>>> >>>>>> Cheers, B >>>>>> _______________________________________________ >>>>>> FX.php_List mailing list >>>>>> FX.php_List@mail.iviking.org >>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>> >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> >>> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > -| > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| From bob at patin.com Mon Jun 1 09:17:07 2009 From: bob at patin.com (Bob Patin) Date: Mon Jun 1 09:17:14 2009 Subject: [FX.php List] [OFF] SSL Cert problem on OS X Server In-Reply-To: References: <750A3B01-4BB3-4BA1-971F-6484517AB3E4@patin.com> Message-ID: <99551A21-CF91-40A7-83CA-B9B83A4EAC2A@patin.com> Thanks Leo; I totally forgot that I'd ever asked this before, but I suspect that email was for this same client. I had *thought* that I had it working right, but clearly it wasn't... At any rate, sorry for the noise on the forum, and thanks for your good memory; I'll use an IP address for his cert. Best, Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jun 1, 2009, at 9:28 AM, Leo R. Lundgren wrote: > Here it is: > > http://www.iviking.org/pipermail/fx.php_list/2009-January/008944.html > http://www.iviking.org/pipermail/fx.php_list/2009-January/008948.html > > 1 jun 2009 kl. 16.23 skrev Leo R. Lundgren: > >> You will have to seperate that client's virtual ssl-host from the >> rest of your server either by IP or by PORT. >> >> The problem is your various virtual hosts are seperated based on >> their Host: HTTP header, and this header is part of the actual data >> that is to be encrypted. It's a chicken and egg problem. >> >> There was an in-depth discussion about it on this list about a year >> ago or something. >> >> >> 1 jun 2009 kl. 16.15 skrev Bob Patin: >> >>> I put server-wide SSL certs on all my web servers by purchasing a >>> cert that resolves to the domain name of the particular web >>> server. By doing this, my web clients can use the cert if they >>> wish, without having to buy one for their particular domain. So >>> instead of their using >>> >>> https://www.mydomain.com >>> >>> they would use >>> >>> https://xs7.longtermsolutions.com/mydomain/index.php >>> >>> which takes them into their directory and to their site. >>> >>> Here's the problem: >>> >>> (This is in OS X Server 10.4.11) >>> >>> I have a client who has bought his own cert for use on his site; >>> no matter where I put his site in the list of sites, it won't use >>> his cert, but instead invokes the "server-wide" cert. >>> >>> If I put his site at the top of the list, all of the sites on the >>> server will try to use his certificate, which means an error >>> message. >>> >>> Is there a way to do what I am describing, or do I need to move >>> him to a server that doesn't have its own server-wide SSL cert? >>> >>> Any help would be greatly appreciated; thanks, >>> >>> Bob Patin >>> Longterm Solutions >>> bob@longtermsolutions.com >>> 615-333-6858 >>> http://www.longtermsolutions.com >>> iChat: bobpatin >>> AIM: longterm1954 >>> FileMaker 9 Certified Developer >>> Member of FileMaker Business Alliance and FileMaker TechNet >>> -------------------------- >>> FileMaker hosting and consulting for all versions of FileMaker >>> PHP ? Full email services ? Free DNS hosting ? Colocation ? >>> Consulting >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> -| >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > -| > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From leo at finalresort.org Mon Jun 1 09:23:38 2009 From: leo at finalresort.org (Leo R. Lundgren) Date: Mon Jun 1 09:23:42 2009 Subject: [FX.php List] [OFF] SSL Cert problem on OS X Server In-Reply-To: <99551A21-CF91-40A7-83CA-B9B83A4EAC2A@patin.com> References: <750A3B01-4BB3-4BA1-971F-6484517AB3E4@patin.com> <99551A21-CF91-40A7-83CA-B9B83A4EAC2A@patin.com> Message-ID: Cool, good luck! :) 1 jun 2009 kl. 17.17 skrev Bob Patin: > Thanks Leo; I totally forgot that I'd ever asked this before, but I > suspect that email was for this same client. I had *thought* that I > had it working right, but clearly it wasn't... > > At any rate, sorry for the noise on the forum, and thanks for your > good memory; I'll use an IP address for his cert. > > Best, > > Bob Patin > > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -------------------------- > FileMaker hosting and consulting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > On Jun 1, 2009, at 9:28 AM, Leo R. Lundgren wrote: > >> Here it is: >> >> http://www.iviking.org/pipermail/fx.php_list/2009-January/008944.html >> http://www.iviking.org/pipermail/fx.php_list/2009-January/008948.html >> >> 1 jun 2009 kl. 16.23 skrev Leo R. Lundgren: >> >>> You will have to seperate that client's virtual ssl-host from the >>> rest of your server either by IP or by PORT. >>> >>> The problem is your various virtual hosts are seperated based on >>> their Host: HTTP header, and this header is part of the actual >>> data that is to be encrypted. It's a chicken and egg problem. >>> >>> There was an in-depth discussion about it on this list about a >>> year ago or something. >>> >>> >>> 1 jun 2009 kl. 16.15 skrev Bob Patin: >>> >>>> I put server-wide SSL certs on all my web servers by purchasing a >>>> cert that resolves to the domain name of the particular web >>>> server. By doing this, my web clients can use the cert if they >>>> wish, without having to buy one for their particular domain. So >>>> instead of their using >>>> >>>> https://www.mydomain.com >>>> >>>> they would use >>>> >>>> https://xs7.longtermsolutions.com/mydomain/index.php >>>> >>>> which takes them into their directory and to their site. >>>> >>>> Here's the problem: >>>> >>>> (This is in OS X Server 10.4.11) >>>> >>>> I have a client who has bought his own cert for use on his site; >>>> no matter where I put his site in the list of sites, it won't use >>>> his cert, but instead invokes the "server-wide" cert. >>>> >>>> If I put his site at the top of the list, all of the sites on the >>>> server will try to use his certificate, which means an error >>>> message. >>>> >>>> Is there a way to do what I am describing, or do I need to move >>>> him to a server that doesn't have its own server-wide SSL cert? >>>> >>>> Any help would be greatly appreciated; thanks, >>>> >>>> Bob Patin >>>> Longterm Solutions >>>> bob@longtermsolutions.com >>>> 615-333-6858 >>>> http://www.longtermsolutions.com >>>> iChat: bobpatin >>>> AIM: longterm1954 >>>> FileMaker 9 Certified Developer >>>> Member of FileMaker Business Alliance and FileMaker TechNet >>>> -------------------------- >>>> FileMaker hosting and consulting for all versions of FileMaker >>>> PHP ? Full email services ? Free DNS hosting ? Colocation ? >>>> Consulting >>>> >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >>> >>> -| >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> -| >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| From kbecker at treca.org Mon Jun 1 09:57:50 2009 From: kbecker at treca.org (Kevin Becker) Date: Mon Jun 1 09:57:56 2009 Subject: [FX.php List] Re: Edit List of Results In-Reply-To: <20090601134104.132BF2A25EB@mail.iviking.org> Message-ID: Hi Trish, I totally agree with Dale that the AJAX method would be the best possible end user experience, but it that concept scares you off, you might try something like this instead. When they edit the sort order for a single record, say #25 and change it to #4, trigger an FMEdit that sets the sort field to 3.5 instead of 4. In the same FMEdit, trigger a script, AddDBParam('-script', 'MyScriptName'), and have that script do a search for records 4 through 24 and loop to increment them all up one step and lastly set the 3.5 to 4. You will need 2 extra fields to pass the values of 4 and 24 into the database so the script can grab those numbers for the search. You can see it in action here: https://forms.treca.org/proof.php On 6/1/09 9:41 AM, Trish wrote: > If they want to change line #25 to be > #1, they have to click edit/save on 25 records to renumber. There MUST > be a better way, but I cannot wrap my brain around it. From ben.bradley at dealer-world.com Mon Jun 1 09:58:33 2009 From: ben.bradley at dealer-world.com (Ben Bradley) Date: Mon Jun 1 09:58:37 2009 Subject: [FX.php List] Switch of web host - HTML special charsstrippedfrom FX output (FMU6) In-Reply-To: Message-ID: <76D9B0388818194A99518022CA81706F01032E11@server.dealer-world.com> Hi Leo That's it! That has to be it!! Excellent digging sir! The behaviour in that bug report is exactly what I'm experiencing. First time I've ever stumbled into a PHP bug like that. I guess normally that would be fine, just Spry are using a slightly older version of PHP which contains this bug. I've contacted them to see if there's anything they're willing to upgrade PHP (not holding my breath) Thanks for the info, and I'll get back on how this turns out! Cheers, B -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Leo R. Lundgren Sent: 01 June 2009 15:50 To: FX.php Discussion List Subject: Re: [FX.php List] Switch of web host - HTML special charsstrippedfrom FX output (FMU6) Ben, Have a look at http://lists.macosforge.org/pipermail/macports-users/2008-December/01283 4.html . 1 jun 2009 kl. 14.53 skrev Ben Bradley: > Dang, sorry. Copy and pasted without thinking. > > NEW: http://dealer-world.net/phpinfo.php > OLD: http://dealer-world.com/phpinfo.php > > > Thanks, B > > > -----Original Message----- > From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Leo R. > Lundgren > Sent: 01 June 2009 13:51 > To: FX.php Discussion List > Subject: Re: [FX.php List] Switch of web host - HTML special chars > strippedfrom FX output (FMU6) > > Can you provide the old and new phpinfo() again please, they seem to > be the same URL. > > 1 jun 2009 kl. 13.42 skrev Ben Bradley: > >> Hi everyone >> >> Right I've now done some further tests on the new and old providers >> and there is something different about the outputs from FX.php >> >> On the new provider the HTML special chars are removed from all >> fields. Completely removed, not replaced with anything. >> >> On the old provider the HTML special chars are returned correctly. >> Not converted to entities but returned in their raw format suitable >> for rendering as HTML tags without any further processing. >> >> >> I've found there are some differences in various libraries between >> the new/old providers. cURL and various XML libraries appear to be >> slightly different >> >> NEW: http://dealer-world.net/phpinfo.php >> OLD: http://dealer-world.net/phpinfo.php >> >> I had a look through the cURL changelog > http://curl.haxx.se/changes.html >> and couldn't see anything that would cause any difference in >> operation. >> >> What (if any) XML libraries does FX.php use? >> I will have a dig through those changelogs >> >> >> On the new provider, when I make a manual PHP cURL call to a test >> page the HTML gets returned correctly as expected. >> >> Anyone else got any ideas as to why this is happening? >> It's driving me a bit crazy! >> >> Thanks, Ben >> >> -----Original Message----- >> From: Ben Bradley >> Sent: 31 May 2009 13:24 >> To: 'FX.php Discussion List' >> Subject: RE: [FX.php List] Switch of web host - HTML special chars >> stripped from FX output (FMU6) >> >> Correction: >> I think I was uploading to an incorrect address. >> >> When I run a curl call on the FMP XML data URL on the new >> provider... the XML gets returned with all special chars in the >> fields replaced with their HTML entities... > < " etc >> >> When I run the exact same CURL call on the old provider, exactly the >> same output. >> I assume the > < is what FMU6 returns and not some processing >> by FX.php >> >> When I run a CURL call on the new provider to a regular HTML page, >> the HTML gets returned as expected... With no special chars removed. >> >> So it seems CURL might not be the culprit after all. >> Or at least the default CURL options in my custom get_webpage() >> function >> >> >> >> -----Original Message----- >> From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org >> ] On Behalf Of Gjermund Gusland Thorsen >> Sent: 31 May 2009 12:35 >> To: FX.php Discussion List >> Subject: Re: [FX.php List] Switch of web host - HTML special chars >> stripped from FX output (FMU6) >> >> Are you running Mac workstation? >> >> I would do a print_r( $result ); of your problem query. >> >> and copy the URL part of the array >> >> and open terminal, type the following >> >> curl <> >> >> ggt >> >> 2009/5/31 Gjermund Gusland Thorsen : >>> So there is a different FMU6 in this case? >>> >>> ggt >>> >>> 2009/5/31 Ben Bradley : >>>> Hi >>>> I'm using the same version of FX.php as I was on the old hosting >>>> provider... Which was working fine. >>>> I basically uploaded an identical copy of the site to the new >>>> provider >>>> >>>> What version should I try? >>>> At the moment I'm using 4.5.1 >>>> >>>> Cheers, Ben >>>> >>>> >>>> -----Original Message----- >>>> From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org >>>> ] On Behalf Of Gjermund Gusland Thorsen >>>> Sent: 31 May 2009 01:03 >>>> To: FX.php Discussion List >>>> Subject: Re: [FX.php List] Switch of web host - HTML special chars >>>> stripped from FX output (FMU6) >>>> >>>> Ahh, FMU6 >>>> >>>> Did you try an old version of FX.php? One that corresponds to >>>> FMU6, i e >>>> >>>> ggt >>>> >>>> 2009/5/30 Ben Bradley : >>>>> PHP headers and meta charset are both UTF-8 >>>>> It appears special chars are just completely removed. The rest of >>>>> the content is fine! >>>>> >>>>> If I try and get any records from the CMS database using a >>>>> completely plain test script, then the same thing happens. >>>>> >>>>> It's not just this field either, if I put special chars (< > or >>>>> ") in any other field, they also get removed >>>>> So the tag name, contents, attributes and values etc are all >>>>> preserved, just without the <>" in there! >>>>> >>>>> Strangeness! >>>>> >>>>> Cheers, B >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org >>>>> ] On Behalf Of Gjermund Gusland Thorsen >>>>> Sent: 30 May 2009 13:56 >>>>> To: FX.php Discussion List >>>>> Subject: Re: [FX.php List] Switch of web host - HTML special >>>>> chars stripped from FX output (FMU6) >>>>> >>>>> And what is your charset in the header of your documents? >>>>> >>>>> Are the characters just removed? or replaced with some other >>>>> chars? >>>>> >>>>> ggt >>>>> >>>>> 2009/5/29 Ben Bradley : >>>>>> Hi everyone >>>>>> I've just switched hosting provider and there appears to be a >>>>>> difference in >>>>>> their PHP configurations. >>>>>> >>>>>> With the new provider any HTML special chars are getting >>>>>> automatically >>>>>> removed from my FX.php output... causing HTML tags in my >>>>>> FileMaker website >>>>>> content management system to get printed out as text. >>>>>> Less than, greater than and quote marks are just removed; not >>>>>> replaced with >>>>>> anything else. >>>>>> >>>>>> I have basically copied the entire site over to the new provider >>>>>> and I've >>>>>> never seen this problem before. >>>>>> >>>>>> The old provider was running PHP 5.2.6 >>>>>> The new provider is running PHP 5.2.5 >>>>>> >>>>>> One thing I did notice is the new provider has magic_quotes_gpc >>>>>> set to On in >>>>>> the phpinfo() >>>>>> It was Off on the old provider. >>>>>> But that shouldn't make any difference to the output of FX, >>>>>> should it? >>>>>> magic_quotes_runtime and magic_quotes_sybase are set to Off on >>>>>> the old and >>>>>> new providers. >>>>>> >>>>>> I'm running FileMaker Unlimited 6 with custom web publishing. >>>>>> There's >>>>>> nothing that's changed on the CDML format files. >>>>>> When I call up the site in the old host, everything is still >>>>>> fine! >>>>>> >>>>>> Anyone experience this error before or can think of any config >>>>>> things to >>>>>> try? >>>>>> >>>>>> >>>>>> I've done a few tests... CURL calls are fine... no HTML special >>>>>> chars >>>>>> removed there! >>>>>> Also if I set a bunch of HTML code into a variable, and echo >>>>>> that variable >>>>>> out again the HTML special chars are preserved so the tags get >>>>>> rendered. >>>>>> >>>>>> Any ideas / suggestions? >>>>>> This has been driving me nuts this afternoon! >>>>>> >>>>>> Cheers, B >>>>>> _______________________________________________ >>>>>> FX.php_List mailing list >>>>>> FX.php_List@mail.iviking.org >>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>> >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> >>> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > -| > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list From ben.bradley at dealer-world.com Mon Jun 1 12:33:56 2009 From: ben.bradley at dealer-world.com (Ben Bradley) Date: Mon Jun 1 12:34:02 2009 Subject: [FX.php List] Switch of web host - HTML special charsstrippedfrom FX output (FMU6) Message-ID: <76D9B0388818194A99518022CA81706F01032E21@server.dealer-world.com> Hi Leo/Everyone Our hosting provider updated PHP to the latest stable (5.2.9) which fixed this issue! Thank you so much Leo for tracking that PHP bug down! Hope this helps someone else out! Cheers, B -----Original Message----- From: Ben Bradley Sent: 01 June 2009 16:59 To: 'FX.php Discussion List' Subject: RE: [FX.php List] Switch of web host - HTML special charsstrippedfrom FX output (FMU6) Hi Leo That's it! That has to be it!! Excellent digging sir! The behaviour in that bug report is exactly what I'm experiencing. First time I've ever stumbled into a PHP bug like that. I guess normally that would be fine, just Spry are using a slightly older version of PHP which contains this bug. I've contacted them to see if there's anything they're willing to upgrade PHP (not holding my breath) Thanks for the info, and I'll get back on how this turns out! Cheers, B -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Leo R. Lundgren Sent: 01 June 2009 15:50 To: FX.php Discussion List Subject: Re: [FX.php List] Switch of web host - HTML special charsstrippedfrom FX output (FMU6) Ben, Have a look at http://lists.macosforge.org/pipermail/macports-users/2008-December/01283 4.html . 1 jun 2009 kl. 14.53 skrev Ben Bradley: > Dang, sorry. Copy and pasted without thinking. > > NEW: http://dealer-world.net/phpinfo.php > OLD: http://dealer-world.com/phpinfo.php > > > Thanks, B > > > -----Original Message----- > From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Leo R. > Lundgren > Sent: 01 June 2009 13:51 > To: FX.php Discussion List > Subject: Re: [FX.php List] Switch of web host - HTML special chars > strippedfrom FX output (FMU6) > > Can you provide the old and new phpinfo() again please, they seem to > be the same URL. > > 1 jun 2009 kl. 13.42 skrev Ben Bradley: > >> Hi everyone >> >> Right I've now done some further tests on the new and old providers >> and there is something different about the outputs from FX.php >> >> On the new provider the HTML special chars are removed from all >> fields. Completely removed, not replaced with anything. >> >> On the old provider the HTML special chars are returned correctly. >> Not converted to entities but returned in their raw format suitable >> for rendering as HTML tags without any further processing. >> >> >> I've found there are some differences in various libraries between >> the new/old providers. cURL and various XML libraries appear to be >> slightly different >> >> NEW: http://dealer-world.net/phpinfo.php >> OLD: http://dealer-world.net/phpinfo.php >> >> I had a look through the cURL changelog > http://curl.haxx.se/changes.html >> and couldn't see anything that would cause any difference in >> operation. >> >> What (if any) XML libraries does FX.php use? >> I will have a dig through those changelogs >> >> >> On the new provider, when I make a manual PHP cURL call to a test >> page the HTML gets returned correctly as expected. >> >> Anyone else got any ideas as to why this is happening? >> It's driving me a bit crazy! >> >> Thanks, Ben >> >> -----Original Message----- >> From: Ben Bradley >> Sent: 31 May 2009 13:24 >> To: 'FX.php Discussion List' >> Subject: RE: [FX.php List] Switch of web host - HTML special chars >> stripped from FX output (FMU6) >> >> Correction: >> I think I was uploading to an incorrect address. >> >> When I run a curl call on the FMP XML data URL on the new >> provider... the XML gets returned with all special chars in the >> fields replaced with their HTML entities... > < " etc >> >> When I run the exact same CURL call on the old provider, exactly the >> same output. >> I assume the > < is what FMU6 returns and not some processing >> by FX.php >> >> When I run a CURL call on the new provider to a regular HTML page, >> the HTML gets returned as expected... With no special chars removed. >> >> So it seems CURL might not be the culprit after all. >> Or at least the default CURL options in my custom get_webpage() >> function >> >> >> >> -----Original Message----- >> From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org >> ] On Behalf Of Gjermund Gusland Thorsen >> Sent: 31 May 2009 12:35 >> To: FX.php Discussion List >> Subject: Re: [FX.php List] Switch of web host - HTML special chars >> stripped from FX output (FMU6) >> >> Are you running Mac workstation? >> >> I would do a print_r( $result ); of your problem query. >> >> and copy the URL part of the array >> >> and open terminal, type the following >> >> curl <> >> >> ggt >> >> 2009/5/31 Gjermund Gusland Thorsen : >>> So there is a different FMU6 in this case? >>> >>> ggt >>> >>> 2009/5/31 Ben Bradley : >>>> Hi >>>> I'm using the same version of FX.php as I was on the old hosting >>>> provider... Which was working fine. >>>> I basically uploaded an identical copy of the site to the new >>>> provider >>>> >>>> What version should I try? >>>> At the moment I'm using 4.5.1 >>>> >>>> Cheers, Ben >>>> >>>> >>>> -----Original Message----- >>>> From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org >>>> ] On Behalf Of Gjermund Gusland Thorsen >>>> Sent: 31 May 2009 01:03 >>>> To: FX.php Discussion List >>>> Subject: Re: [FX.php List] Switch of web host - HTML special chars >>>> stripped from FX output (FMU6) >>>> >>>> Ahh, FMU6 >>>> >>>> Did you try an old version of FX.php? One that corresponds to >>>> FMU6, i e >>>> >>>> ggt >>>> >>>> 2009/5/30 Ben Bradley : >>>>> PHP headers and meta charset are both UTF-8 >>>>> It appears special chars are just completely removed. The rest of >>>>> the content is fine! >>>>> >>>>> If I try and get any records from the CMS database using a >>>>> completely plain test script, then the same thing happens. >>>>> >>>>> It's not just this field either, if I put special chars (< > or >>>>> ") in any other field, they also get removed >>>>> So the tag name, contents, attributes and values etc are all >>>>> preserved, just without the <>" in there! >>>>> >>>>> Strangeness! >>>>> >>>>> Cheers, B >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org >>>>> ] On Behalf Of Gjermund Gusland Thorsen >>>>> Sent: 30 May 2009 13:56 >>>>> To: FX.php Discussion List >>>>> Subject: Re: [FX.php List] Switch of web host - HTML special >>>>> chars stripped from FX output (FMU6) >>>>> >>>>> And what is your charset in the header of your documents? >>>>> >>>>> Are the characters just removed? or replaced with some other >>>>> chars? >>>>> >>>>> ggt >>>>> >>>>> 2009/5/29 Ben Bradley : >>>>>> Hi everyone >>>>>> I've just switched hosting provider and there appears to be a >>>>>> difference in >>>>>> their PHP configurations. >>>>>> >>>>>> With the new provider any HTML special chars are getting >>>>>> automatically >>>>>> removed from my FX.php output... causing HTML tags in my >>>>>> FileMaker website >>>>>> content management system to get printed out as text. >>>>>> Less than, greater than and quote marks are just removed; not >>>>>> replaced with >>>>>> anything else. >>>>>> >>>>>> I have basically copied the entire site over to the new provider >>>>>> and I've >>>>>> never seen this problem before. >>>>>> >>>>>> The old provider was running PHP 5.2.6 >>>>>> The new provider is running PHP 5.2.5 >>>>>> >>>>>> One thing I did notice is the new provider has magic_quotes_gpc >>>>>> set to On in >>>>>> the phpinfo() >>>>>> It was Off on the old provider. >>>>>> But that shouldn't make any difference to the output of FX, >>>>>> should it? >>>>>> magic_quotes_runtime and magic_quotes_sybase are set to Off on >>>>>> the old and >>>>>> new providers. >>>>>> >>>>>> I'm running FileMaker Unlimited 6 with custom web publishing. >>>>>> There's >>>>>> nothing that's changed on the CDML format files. >>>>>> When I call up the site in the old host, everything is still >>>>>> fine! >>>>>> >>>>>> Anyone experience this error before or can think of any config >>>>>> things to >>>>>> try? >>>>>> >>>>>> >>>>>> I've done a few tests... CURL calls are fine... no HTML special >>>>>> chars >>>>>> removed there! >>>>>> Also if I set a bunch of HTML code into a variable, and echo >>>>>> that variable >>>>>> out again the HTML special chars are preserved so the tags get >>>>>> rendered. >>>>>> >>>>>> Any ideas / suggestions? >>>>>> This has been driving me nuts this afternoon! >>>>>> >>>>>> Cheers, B >>>>>> _______________________________________________ >>>>>> FX.php_List mailing list >>>>>> FX.php_List@mail.iviking.org >>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>> >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> >>> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > -| > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list From leo at finalresort.org Mon Jun 1 13:19:37 2009 From: leo at finalresort.org (Leo R. Lundgren) Date: Mon Jun 1 13:19:41 2009 Subject: [FX.php List] Switch of web host - HTML special charsstrippedfrom FX output (FMU6) In-Reply-To: <76D9B0388818194A99518022CA81706F01032E21@server.dealer-world.com> References: <76D9B0388818194A99518022CA81706F01032E21@server.dealer-world.com> Message-ID: Great! Sounds like a decent hosting company, at least assuming nothing else broke with the update :-) 1 jun 2009 kl. 20.33 skrev Ben Bradley: > Hi Leo/Everyone > > Our hosting provider updated PHP to the latest stable (5.2.9) which > fixed this issue! > Thank you so much Leo for tracking that PHP bug down! > > Hope this helps someone else out! > > Cheers, B > > -----Original Message----- > From: Ben Bradley > Sent: 01 June 2009 16:59 > To: 'FX.php Discussion List' > Subject: RE: [FX.php List] Switch of web host - HTML special > charsstrippedfrom FX output (FMU6) > > Hi Leo > > That's it! That has to be it!! Excellent digging sir! > The behaviour in that bug report is exactly what I'm experiencing. > First > time I've ever stumbled into a PHP bug like that. > > I guess normally that would be fine, just Spry are using a slightly > older version of PHP which contains this bug. > I've contacted them to see if there's anything they're willing to > upgrade PHP (not holding my breath) > > Thanks for the info, and I'll get back on how this turns out! > > Cheers, B > > -----Original Message----- > From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Leo R. > Lundgren > Sent: 01 June 2009 15:50 > To: FX.php Discussion List > Subject: Re: [FX.php List] Switch of web host - HTML special > charsstrippedfrom FX output (FMU6) > > Ben, > > Have a look at > http://lists.macosforge.org/pipermail/macports-users/2008-December/01283 > 4.html > . > > > 1 jun 2009 kl. 14.53 skrev Ben Bradley: > >> Dang, sorry. Copy and pasted without thinking. >> >> NEW: http://dealer-world.net/phpinfo.php >> OLD: http://dealer-world.com/phpinfo.php >> >> >> Thanks, B >> >> >> -----Original Message----- >> From: fx.php_list-bounces@mail.iviking.org >> [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Leo R. >> Lundgren >> Sent: 01 June 2009 13:51 >> To: FX.php Discussion List >> Subject: Re: [FX.php List] Switch of web host - HTML special chars >> strippedfrom FX output (FMU6) >> >> Can you provide the old and new phpinfo() again please, they seem to >> be the same URL. >> >> 1 jun 2009 kl. 13.42 skrev Ben Bradley: >> >>> Hi everyone >>> >>> Right I've now done some further tests on the new and old providers >>> and there is something different about the outputs from FX.php >>> >>> On the new provider the HTML special chars are removed from all >>> fields. Completely removed, not replaced with anything. >>> >>> On the old provider the HTML special chars are returned correctly. >>> Not converted to entities but returned in their raw format suitable >>> for rendering as HTML tags without any further processing. >>> >>> >>> I've found there are some differences in various libraries between >>> the new/old providers. cURL and various XML libraries appear to be >>> slightly different >>> >>> NEW: http://dealer-world.net/phpinfo.php >>> OLD: http://dealer-world.net/phpinfo.php >>> >>> I had a look through the cURL changelog >> http://curl.haxx.se/changes.html >>> and couldn't see anything that would cause any difference in >>> operation. >>> >>> What (if any) XML libraries does FX.php use? >>> I will have a dig through those changelogs >>> >>> >>> On the new provider, when I make a manual PHP cURL call to a test >>> page the HTML gets returned correctly as expected. >>> >>> Anyone else got any ideas as to why this is happening? >>> It's driving me a bit crazy! >>> >>> Thanks, Ben >>> >>> -----Original Message----- >>> From: Ben Bradley >>> Sent: 31 May 2009 13:24 >>> To: 'FX.php Discussion List' >>> Subject: RE: [FX.php List] Switch of web host - HTML special chars >>> stripped from FX output (FMU6) >>> >>> Correction: >>> I think I was uploading to an incorrect address. >>> >>> When I run a curl call on the FMP XML data URL on the new >>> provider... the XML gets returned with all special chars in the >>> fields replaced with their HTML entities... > < " etc >>> >>> When I run the exact same CURL call on the old provider, exactly the >>> same output. >>> I assume the > < is what FMU6 returns and not some processing >>> by FX.php >>> >>> When I run a CURL call on the new provider to a regular HTML page, >>> the HTML gets returned as expected... With no special chars removed. >>> >>> So it seems CURL might not be the culprit after all. >>> Or at least the default CURL options in my custom get_webpage() >>> function >>> >>> >>> >>> -----Original Message----- >>> From: fx.php_list-bounces@mail.iviking.org >> [mailto:fx.php_list-bounces@mail.iviking.org >>> ] On Behalf Of Gjermund Gusland Thorsen >>> Sent: 31 May 2009 12:35 >>> To: FX.php Discussion List >>> Subject: Re: [FX.php List] Switch of web host - HTML special chars >>> stripped from FX output (FMU6) >>> >>> Are you running Mac workstation? >>> >>> I would do a print_r( $result ); of your problem query. >>> >>> and copy the URL part of the array >>> >>> and open terminal, type the following >>> >>> curl <> >>> >>> ggt >>> >>> 2009/5/31 Gjermund Gusland Thorsen : >>>> So there is a different FMU6 in this case? >>>> >>>> ggt >>>> >>>> 2009/5/31 Ben Bradley : >>>>> Hi >>>>> I'm using the same version of FX.php as I was on the old hosting >>>>> provider... Which was working fine. >>>>> I basically uploaded an identical copy of the site to the new >>>>> provider >>>>> >>>>> What version should I try? >>>>> At the moment I'm using 4.5.1 >>>>> >>>>> Cheers, Ben >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: fx.php_list-bounces@mail.iviking.org >> [mailto:fx.php_list-bounces@mail.iviking.org >>>>> ] On Behalf Of Gjermund Gusland Thorsen >>>>> Sent: 31 May 2009 01:03 >>>>> To: FX.php Discussion List >>>>> Subject: Re: [FX.php List] Switch of web host - HTML special chars >>>>> stripped from FX output (FMU6) >>>>> >>>>> Ahh, FMU6 >>>>> >>>>> Did you try an old version of FX.php? One that corresponds to >>>>> FMU6, i e >>>>> >>>>> ggt >>>>> >>>>> 2009/5/30 Ben Bradley : >>>>>> PHP headers and meta charset are both UTF-8 >>>>>> It appears special chars are just completely removed. The rest of >>>>>> the content is fine! >>>>>> >>>>>> If I try and get any records from the CMS database using a >>>>>> completely plain test script, then the same thing happens. >>>>>> >>>>>> It's not just this field either, if I put special chars (< > or >>>>>> ") in any other field, they also get removed >>>>>> So the tag name, contents, attributes and values etc are all >>>>>> preserved, just without the <>" in there! >>>>>> >>>>>> Strangeness! >>>>>> >>>>>> Cheers, B >>>>>> >>>>>> >>>>>> -----Original Message----- >>>>>> From: fx.php_list-bounces@mail.iviking.org >> [mailto:fx.php_list-bounces@mail.iviking.org >>>>>> ] On Behalf Of Gjermund Gusland Thorsen >>>>>> Sent: 30 May 2009 13:56 >>>>>> To: FX.php Discussion List >>>>>> Subject: Re: [FX.php List] Switch of web host - HTML special >>>>>> chars stripped from FX output (FMU6) >>>>>> >>>>>> And what is your charset in the header of your documents? >>>>>> >>>>>> Are the characters just removed? or replaced with some other >>>>>> chars? >>>>>> >>>>>> ggt >>>>>> >>>>>> 2009/5/29 Ben Bradley : >>>>>>> Hi everyone >>>>>>> I've just switched hosting provider and there appears to be a >>>>>>> difference in >>>>>>> their PHP configurations. >>>>>>> >>>>>>> With the new provider any HTML special chars are getting >>>>>>> automatically >>>>>>> removed from my FX.php output... causing HTML tags in my >>>>>>> FileMaker website >>>>>>> content management system to get printed out as text. >>>>>>> Less than, greater than and quote marks are just removed; not >>>>>>> replaced with >>>>>>> anything else. >>>>>>> >>>>>>> I have basically copied the entire site over to the new provider >>>>>>> and I've >>>>>>> never seen this problem before. >>>>>>> >>>>>>> The old provider was running PHP 5.2.6 >>>>>>> The new provider is running PHP 5.2.5 >>>>>>> >>>>>>> One thing I did notice is the new provider has magic_quotes_gpc >>>>>>> set to On in >>>>>>> the phpinfo() >>>>>>> It was Off on the old provider. >>>>>>> But that shouldn't make any difference to the output of FX, >>>>>>> should it? >>>>>>> magic_quotes_runtime and magic_quotes_sybase are set to Off on >>>>>>> the old and >>>>>>> new providers. >>>>>>> >>>>>>> I'm running FileMaker Unlimited 6 with custom web publishing. >>>>>>> There's >>>>>>> nothing that's changed on the CDML format files. >>>>>>> When I call up the site in the old host, everything is still >>>>>>> fine! >>>>>>> >>>>>>> Anyone experience this error before or can think of any config >>>>>>> things to >>>>>>> try? >>>>>>> >>>>>>> >>>>>>> I've done a few tests... CURL calls are fine... no HTML special >>>>>>> chars >>>>>>> removed there! >>>>>>> Also if I set a bunch of HTML code into a variable, and echo >>>>>>> that variable >>>>>>> out again the HTML special chars are preserved so the tags get >>>>>>> rendered. >>>>>>> >>>>>>> Any ideas / suggestions? >>>>>>> This has been driving me nuts this afternoon! >>>>>>> >>>>>>> Cheers, B >>>>>>> _______________________________________________ >>>>>>> FX.php_List mailing list >>>>>>> FX.php_List@mail.iviking.org >>>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>>>> >>>>>>> >>>>>> _______________________________________________ >>>>>> FX.php_List mailing list >>>>>> FX.php_List@mail.iviking.org >>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>>> _______________________________________________ >>>>>> FX.php_List mailing list >>>>>> FX.php_List@mail.iviking.org >>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>>> >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>> >>>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> -| >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > -| > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/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 dbengston at tds.net Mon Jun 1 13:48:02 2009 From: dbengston at tds.net (Dale Bengston) Date: Mon Jun 1 13:48:11 2009 Subject: [FX.php List] Switch of web host - HTML special charsstrippedfrom FX output (FMU6) In-Reply-To: References: <76D9B0388818194A99518022CA81706F01032E21@server.dealer-world.com> Message-ID: <3390140E-097B-425E-B175-F4B42A2FDF1F@tds.net> Nice work, Leo and Ben! -Dale On Jun 1, 2009, at 2:19 PM, Leo R. Lundgren wrote: > Great! Sounds like a decent hosting company, at least assuming > nothing else broke with the update :-) > > > 1 jun 2009 kl. 20.33 skrev Ben Bradley: > >> Hi Leo/Everyone >> >> Our hosting provider updated PHP to the latest stable (5.2.9) which >> fixed this issue! >> Thank you so much Leo for tracking that PHP bug down! >> >> Hope this helps someone else out! >> >> Cheers, B >> >> -----Original Message----- >> From: Ben Bradley >> Sent: 01 June 2009 16:59 >> To: 'FX.php Discussion List' >> Subject: RE: [FX.php List] Switch of web host - HTML special >> charsstrippedfrom FX output (FMU6) >> >> Hi Leo >> >> That's it! That has to be it!! Excellent digging sir! >> The behaviour in that bug report is exactly what I'm experiencing. >> First >> time I've ever stumbled into a PHP bug like that. >> >> I guess normally that would be fine, just Spry are using a slightly >> older version of PHP which contains this bug. >> I've contacted them to see if there's anything they're willing to >> upgrade PHP (not holding my breath) >> >> Thanks for the info, and I'll get back on how this turns out! >> >> Cheers, B >> >> -----Original Message----- >> From: fx.php_list-bounces@mail.iviking.org >> [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Leo R. >> Lundgren >> Sent: 01 June 2009 15:50 >> To: FX.php Discussion List >> Subject: Re: [FX.php List] Switch of web host - HTML special >> charsstrippedfrom FX output (FMU6) >> >> Ben, >> >> Have a look at >> http://lists.macosforge.org/pipermail/macports-users/2008-December/01283 >> 4.html >> . >> >> >> 1 jun 2009 kl. 14.53 skrev Ben Bradley: >> >>> Dang, sorry. Copy and pasted without thinking. >>> >>> NEW: http://dealer-world.net/phpinfo.php >>> OLD: http://dealer-world.com/phpinfo.php >>> >>> >>> Thanks, B >>> >>> >>> -----Original Message----- >>> From: fx.php_list-bounces@mail.iviking.org >>> [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Leo R. >>> Lundgren >>> Sent: 01 June 2009 13:51 >>> To: FX.php Discussion List >>> Subject: Re: [FX.php List] Switch of web host - HTML special chars >>> strippedfrom FX output (FMU6) >>> >>> Can you provide the old and new phpinfo() again please, they seem to >>> be the same URL. >>> >>> 1 jun 2009 kl. 13.42 skrev Ben Bradley: >>> >>>> Hi everyone >>>> >>>> Right I've now done some further tests on the new and old providers >>>> and there is something different about the outputs from FX.php >>>> >>>> On the new provider the HTML special chars are removed from all >>>> fields. Completely removed, not replaced with anything. >>>> >>>> On the old provider the HTML special chars are returned correctly. >>>> Not converted to entities but returned in their raw format suitable >>>> for rendering as HTML tags without any further processing. >>>> >>>> >>>> I've found there are some differences in various libraries between >>>> the new/old providers. cURL and various XML libraries appear to be >>>> slightly different >>>> >>>> NEW: http://dealer-world.net/phpinfo.php >>>> OLD: http://dealer-world.net/phpinfo.php >>>> >>>> I had a look through the cURL changelog >>> http://curl.haxx.se/changes.html >>>> and couldn't see anything that would cause any difference in >>>> operation. >>>> >>>> What (if any) XML libraries does FX.php use? >>>> I will have a dig through those changelogs >>>> >>>> >>>> On the new provider, when I make a manual PHP cURL call to a test >>>> page the HTML gets returned correctly as expected. >>>> >>>> Anyone else got any ideas as to why this is happening? >>>> It's driving me a bit crazy! >>>> >>>> Thanks, Ben >>>> >>>> -----Original Message----- >>>> From: Ben Bradley >>>> Sent: 31 May 2009 13:24 >>>> To: 'FX.php Discussion List' >>>> Subject: RE: [FX.php List] Switch of web host - HTML special chars >>>> stripped from FX output (FMU6) >>>> >>>> Correction: >>>> I think I was uploading to an incorrect address. >>>> >>>> When I run a curl call on the FMP XML data URL on the new >>>> provider... the XML gets returned with all special chars in the >>>> fields replaced with their HTML entities... > < " etc >>>> >>>> When I run the exact same CURL call on the old provider, exactly >>>> the >>>> same output. >>>> I assume the > < is what FMU6 returns and not some processing >>>> by FX.php >>>> >>>> When I run a CURL call on the new provider to a regular HTML page, >>>> the HTML gets returned as expected... With no special chars >>>> removed. >>>> >>>> So it seems CURL might not be the culprit after all. >>>> Or at least the default CURL options in my custom get_webpage() >>>> function >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: fx.php_list-bounces@mail.iviking.org >>> [mailto:fx.php_list-bounces@mail.iviking.org >>>> ] On Behalf Of Gjermund Gusland Thorsen >>>> Sent: 31 May 2009 12:35 >>>> To: FX.php Discussion List >>>> Subject: Re: [FX.php List] Switch of web host - HTML special chars >>>> stripped from FX output (FMU6) >>>> >>>> Are you running Mac workstation? >>>> >>>> I would do a print_r( $result ); of your problem query. >>>> >>>> and copy the URL part of the array >>>> >>>> and open terminal, type the following >>>> >>>> curl <> >>>> >>>> ggt >>>> >>>> 2009/5/31 Gjermund Gusland Thorsen : >>>>> So there is a different FMU6 in this case? >>>>> >>>>> ggt >>>>> >>>>> 2009/5/31 Ben Bradley : >>>>>> Hi >>>>>> I'm using the same version of FX.php as I was on the old hosting >>>>>> provider... Which was working fine. >>>>>> I basically uploaded an identical copy of the site to the new >>>>>> provider >>>>>> >>>>>> What version should I try? >>>>>> At the moment I'm using 4.5.1 >>>>>> >>>>>> Cheers, Ben >>>>>> >>>>>> >>>>>> -----Original Message----- >>>>>> From: fx.php_list-bounces@mail.iviking.org >>> [mailto:fx.php_list-bounces@mail.iviking.org >>>>>> ] On Behalf Of Gjermund Gusland Thorsen >>>>>> Sent: 31 May 2009 01:03 >>>>>> To: FX.php Discussion List >>>>>> Subject: Re: [FX.php List] Switch of web host - HTML special >>>>>> chars >>>>>> stripped from FX output (FMU6) >>>>>> >>>>>> Ahh, FMU6 >>>>>> >>>>>> Did you try an old version of FX.php? One that corresponds to >>>>>> FMU6, i e >>>>>> >>>>>> ggt >>>>>> >>>>>> 2009/5/30 Ben Bradley : >>>>>>> PHP headers and meta charset are both UTF-8 >>>>>>> It appears special chars are just completely removed. The rest >>>>>>> of >>>>>>> the content is fine! >>>>>>> >>>>>>> If I try and get any records from the CMS database using a >>>>>>> completely plain test script, then the same thing happens. >>>>>>> >>>>>>> It's not just this field either, if I put special chars (< > or >>>>>>> ") in any other field, they also get removed >>>>>>> So the tag name, contents, attributes and values etc are all >>>>>>> preserved, just without the <>" in there! >>>>>>> >>>>>>> Strangeness! >>>>>>> >>>>>>> Cheers, B >>>>>>> >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: fx.php_list-bounces@mail.iviking.org >>> [mailto:fx.php_list-bounces@mail.iviking.org >>>>>>> ] On Behalf Of Gjermund Gusland Thorsen >>>>>>> Sent: 30 May 2009 13:56 >>>>>>> To: FX.php Discussion List >>>>>>> Subject: Re: [FX.php List] Switch of web host - HTML special >>>>>>> chars stripped from FX output (FMU6) >>>>>>> >>>>>>> And what is your charset in the header of your documents? >>>>>>> >>>>>>> Are the characters just removed? or replaced with some other >>>>>>> chars? >>>>>>> >>>>>>> ggt >>>>>>> >>>>>>> 2009/5/29 Ben Bradley : >>>>>>>> Hi everyone >>>>>>>> I've just switched hosting provider and there appears to be a >>>>>>>> difference in >>>>>>>> their PHP configurations. >>>>>>>> >>>>>>>> With the new provider any HTML special chars are getting >>>>>>>> automatically >>>>>>>> removed from my FX.php output... causing HTML tags in my >>>>>>>> FileMaker website >>>>>>>> content management system to get printed out as text. >>>>>>>> Less than, greater than and quote marks are just removed; not >>>>>>>> replaced with >>>>>>>> anything else. >>>>>>>> >>>>>>>> I have basically copied the entire site over to the new >>>>>>>> provider >>>>>>>> and I've >>>>>>>> never seen this problem before. >>>>>>>> >>>>>>>> The old provider was running PHP 5.2.6 >>>>>>>> The new provider is running PHP 5.2.5 >>>>>>>> >>>>>>>> One thing I did notice is the new provider has magic_quotes_gpc >>>>>>>> set to On in >>>>>>>> the phpinfo() >>>>>>>> It was Off on the old provider. >>>>>>>> But that shouldn't make any difference to the output of FX, >>>>>>>> should it? >>>>>>>> magic_quotes_runtime and magic_quotes_sybase are set to Off on >>>>>>>> the old and >>>>>>>> new providers. >>>>>>>> >>>>>>>> I'm running FileMaker Unlimited 6 with custom web publishing. >>>>>>>> There's >>>>>>>> nothing that's changed on the CDML format files. >>>>>>>> When I call up the site in the old host, everything is still >>>>>>>> fine! >>>>>>>> >>>>>>>> Anyone experience this error before or can think of any config >>>>>>>> things to >>>>>>>> try? >>>>>>>> >>>>>>>> >>>>>>>> I've done a few tests... CURL calls are fine... no HTML special >>>>>>>> chars >>>>>>>> removed there! >>>>>>>> Also if I set a bunch of HTML code into a variable, and echo >>>>>>>> that variable >>>>>>>> out again the HTML special chars are preserved so the tags get >>>>>>>> rendered. >>>>>>>> >>>>>>>> Any ideas / suggestions? >>>>>>>> This has been driving me nuts this afternoon! >>>>>>>> >>>>>>>> Cheers, B >>>>>>>> _______________________________________________ >>>>>>>> FX.php_List mailing list >>>>>>>> FX.php_List@mail.iviking.org >>>>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>>>>> >>>>>>>> >>>>>>> _______________________________________________ >>>>>>> FX.php_List mailing list >>>>>>> FX.php_List@mail.iviking.org >>>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>>>> _______________________________________________ >>>>>>> FX.php_List mailing list >>>>>>> FX.php_List@mail.iviking.org >>>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>>>> >>>>>> _______________________________________________ >>>>>> FX.php_List mailing list >>>>>> FX.php_List@mail.iviking.org >>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>>> _______________________________________________ >>>>>> FX.php_List mailing list >>>>>> FX.php_List@mail.iviking.org >>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>>> >>>>> >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >>> >>> -| >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> -| >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > -| > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From bob at patin.com Wed Jun 3 13:08:57 2009 From: bob at patin.com (Bob Patin) Date: Wed Jun 3 13:09:10 2009 Subject: [FX.php List] Connection problem Message-ID: I've got a client who's running his own hardware, in the following config: Server 1: FMS 10, WPE (Windows -- don't know which variety) Server 2: Web server -- (Unix - also don't know which variety) Their site was working fine when he had FMS 9 on server #1; then they changed hardware for server 1, and upgraded to FMS 10; since then, a simple login query fails. The interesting thing is that the FX errorCode is 959, which isn't defined in FMErrors... When I looked at his site, I couldn't tell whether FX was actually *seeing* the database; with the error of 959, I didn't know what that was trying to tell me. Nothing on the site has changed, and the web server is the same... database is the same, just running on FMS 10 now. If anyone can offer a suggestion, I'd really appreciate it. Thanks, Bob Patin -------------- next part -------------- A non-text attachment was scrubbed... Name: new_logo_idea3_120w.jpg Type: image/jpeg Size: 15728 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090603/d2a725b2/new_logo_idea3_120w-0001.jpg -------------- next part -------------- Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From fxphp at igsmasouth.org Wed Jun 3 13:19:24 2009 From: fxphp at igsmasouth.org (Jon Montgomery) Date: Wed Jun 3 13:19:30 2009 Subject: [FX.php List] Connection problem In-Reply-To: References: Message-ID: <098FA9F0-2087-4F89-A840-AE5D75B65088@igsmasouth.org> Bob, I think that error code refers to a deployment issue with FMServer. Have not experienced it, but have read of others who have. Jon Montgomery On Jun 3, 2009, at 2:08 PM, Bob Patin wrote: > I've got a client who's running his own hardware, in the following > config: > > Server 1: FMS 10, WPE (Windows -- don't know which variety) > Server 2: Web server -- (Unix - also don't know which variety) > > Their site was working fine when he had FMS 9 on server #1; then > they changed hardware for server 1, and upgraded to FMS 10; since > then, a simple login query fails. > > The interesting thing is that the FX errorCode is 959, which isn't > defined in FMErrors... > > When I looked at his site, I couldn't tell whether FX was actually > *seeing* the database; with the error of 959, I didn't know what > that was trying to tell me. > > Nothing on the site has changed, and the web server is the same... > database is the same, just running on FMS 10 now. > > If anyone can offer a suggestion, I'd really appreciate it. > > Thanks, > > Bob Patin > > > > > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -------------------------- > FileMaker hosting and consulting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From ggt667 at gmail.com Wed Jun 3 13:49:48 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Wed Jun 3 13:49:52 2009 Subject: [FX.php List] Connection problem In-Reply-To: <098FA9F0-2087-4F89-A840-AE5D75B65088@igsmasouth.org> References: <098FA9F0-2087-4F89-A840-AE5D75B65088@igsmasouth.org> Message-ID: I knew there was a reason for still running FMSA8.0v4r2 ggt 2009/6/3 Jon Montgomery : > Bob, > ? ? ? ?I think that error code refers to a deployment issue with FMServer. > ?Have not experienced it, but have read of others who have. > > Jon Montgomery > > On Jun 3, 2009, at 2:08 PM, Bob Patin wrote: > >> I've got a client who's running his own hardware, in the following config: >> >> Server 1: FMS 10, WPE (Windows -- don't know which variety) >> Server 2: Web server -- (Unix - also don't know which variety) >> >> Their site was working fine when he had FMS 9 on server #1; then they >> changed hardware for server 1, and upgraded to FMS 10; since then, a simple >> login query fails. >> >> The interesting thing is that the FX errorCode is 959, which isn't defined >> in FMErrors... >> >> When I looked at his site, I couldn't tell whether FX was actually >> *seeing* the database; with the error of 959, I didn't know what that was >> trying to tell me. >> >> Nothing on the site has changed, and the web server is the same... >> database is the same, just running on FMS 10 now. >> >> If anyone can offer a suggestion, I'd really appreciate it. >> >> Thanks, >> >> Bob Patin >> >> >> >> >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> http://www.longtermsolutions.com >> iChat: bobpatin >> AIM: longterm1954 >> FileMaker 9 Certified Developer >> Member of FileMaker Business Alliance and FileMaker TechNet >> -------------------------- >> FileMaker hosting and consulting for all versions of FileMaker >> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From bob at patin.com Wed Jun 3 14:13:50 2009 From: bob at patin.com (Bob Patin) Date: Wed Jun 3 14:13:59 2009 Subject: [FX.php List] Connection problem In-Reply-To: References: <098FA9F0-2087-4F89-A840-AE5D75B65088@igsmasouth.org> Message-ID: <2A288C20-4FBF-4E5E-9DC4-7A20E1940EBC@patin.com> I've not had any trouble with either Server 9 or 10; but then, I'm on Macs, and these 2 machines are a PC and a Unix box. Bob Patin -------------- next part -------------- A non-text attachment was scrubbed... Name: new_logo_idea3_120w.jpg Type: image/jpeg Size: 15728 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090603/1aada25e/new_logo_idea3_120w-0001.jpg -------------- next part -------------- Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jun 3, 2009, at 2:49 PM, Gjermund Gusland Thorsen wrote: > I knew there was a reason for still running FMSA8.0v4r2 > > ggt From leo at finalresort.org Wed Jun 3 14:25:43 2009 From: leo at finalresort.org (Leo R. Lundgren) Date: Wed Jun 3 14:25:47 2009 Subject: [FX.php List] Connection problem In-Reply-To: References: Message-ID: Bob, Have you checked that the Web Publishing Engine is ON, but also that the XML Publishing is ON? Also, unless they're the same (I forgot whether the above are settings in the admin console or the same as the following), check the Extended Privileges regarding fmiwp, fmxml and fmphp (not sure which ones of these are required by FX?). Just some thoughts :) 3 jun 2009 kl. 21.08 skrev Bob Patin: > I've got a client who's running his own hardware, in the following > config: > > Server 1: FMS 10, WPE (Windows -- don't know which variety) > Server 2: Web server -- (Unix - also don't know which variety) > > Their site was working fine when he had FMS 9 on server #1; then > they changed hardware for server 1, and upgraded to FMS 10; since > then, a simple login query fails. > > The interesting thing is that the FX errorCode is 959, which isn't > defined in FMErrors... > > When I looked at his site, I couldn't tell whether FX was actually > *seeing* the database; with the error of 959, I didn't know what > that was trying to tell me. > > Nothing on the site has changed, and the web server is the same... > database is the same, just running on FMS 10 now. > > If anyone can offer a suggestion, I'd really appreciate it. > > Thanks, > > Bob Patin > > > > > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -------------------------- > FileMaker hosting and consulting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| From bob at patin.com Wed Jun 3 14:59:35 2009 From: bob at patin.com (Bob Patin) Date: Wed Jun 3 14:59:41 2009 Subject: [FX.php List] Connection problem In-Reply-To: References: Message-ID: On Jun 3, 2009, at 3:25 PM, Leo R. Lundgren wrote: > Have you checked that the Web Publishing Engine is ON, but also that > the XML Publishing is ON? It's not actually my set of machines, so I don't have access, but he's tested with WPE off, and also with it ON. The error code changes when WPE is OFF, which led me to believe that the PHP pages are definitely at least reaching the WPE. But I'm guessing at this point that this is some sort of Windows deployment issue. > > Also, unless they're the same (I forgot whether the above are > settings in the admin console or the same as the following), check > the Extended Privileges regarding fmiwp, fmxml and fmphp (not sure > which ones of these are required by FX?). Yes, the privileges are set right; this is a site I wrote for him 2 years ago that has worked fine until he changed the FM Server machine hardware and updated to FMS 10. My guess at this point is deployment; I told him to make sure he has the latest update to WPE for Windows; I seem to recall there were issues with it on Windows. Thanks for the suggestions; best, Bob Patin Longterm Solutions P.O. Box 3408 Brentwood, TN 37024 615-333-6858 bob@longtermsolutions.com http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From andersm at alamark.com Wed Jun 3 16:14:50 2009 From: andersm at alamark.com (Anders Monsen) Date: Wed Jun 3 16:14:54 2009 Subject: [FX.php List] Connection problem In-Reply-To: References: Message-ID: Bob, Did any of the php.ini file information change when they updated to 10? I had a similar issue when a client updated from 8 to 9, which overwrote the existing custom php.ini file. Thanks, Anders On Jun 3, 2009, at 3:59 PM, Bob Patin wrote: > > On Jun 3, 2009, at 3:25 PM, Leo R. Lundgren wrote: > >> Have you checked that the Web Publishing Engine is ON, but also >> that the XML Publishing is ON? > > It's not actually my set of machines, so I don't have access, but > he's tested with WPE off, and also with it ON. The error code > changes when WPE is OFF, which led me to believe that the PHP pages > are definitely at least reaching the WPE. But I'm guessing at this > point that this is some sort of Windows deployment issue. >> >> Also, unless they're the same (I forgot whether the above are >> settings in the admin console or the same as the following), check >> the Extended Privileges regarding fmiwp, fmxml and fmphp (not sure >> which ones of these are required by FX?). > > Yes, the privileges are set right; this is a site I wrote for him 2 > years ago that has worked fine until he changed the FM Server > machine hardware and updated to FMS 10. > > My guess at this point is deployment; I told him to make sure he has > the latest update to WPE for Windows; I seem to recall there were > issues with it on Windows. > > Thanks for the suggestions; best, > > Bob Patin > Longterm Solutions > P.O. Box 3408 > Brentwood, TN 37024 > 615-333-6858 > bob@longtermsolutions.com > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -------------------------- > FileMaker hosting and consulting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > From bob at patin.com Wed Jun 3 20:04:10 2009 From: bob at patin.com (Bob Patin) Date: Wed Jun 3 20:04:17 2009 Subject: [FX.php List] Connection problem In-Reply-To: References: Message-ID: <0552F48B-B8F3-42D3-AC0E-5859D244CFA3@patin.com> Anders, I wouldn't think so, because they didn't change the web server, only the FileMaker server; PHP is being used on the web server, which they've been using for a couple of years without any trouble. It's got to be something to do with the FileMaker machine... Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com Twitter: bobpatin iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance & FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker Web hosting ? PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jun 3, 2009, at 5:14 PM, Anders Monsen wrote: > Bob, > > Did any of the php.ini file information change when they updated to > 10? I had a similar issue when a client updated from 8 to 9, which > overwrote the existing custom php.ini file. > > Thanks, > Anders -------------- next part -------------- Skipped content of type multipart/related From steve at bluecrocodile.co.nz Thu Jun 4 00:24:11 2009 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Thu Jun 4 00:24:21 2009 Subject: [FX.php List] Connection problem In-Reply-To: <0552F48B-B8F3-42D3-AC0E-5859D244CFA3@patin.com> References: <0552F48B-B8F3-42D3-AC0E-5859D244CFA3@patin.com> Message-ID: Hi Bob, IIRC this is exactly the same issue that I had a while back with trying to configure a two-machine system where the FMS machine is Win using IIS, and it related to security settings within IIS... not being a lover of IIS, and finding server 2003+ security settings an unintelligible nightmare, I ended up using the FMWebSchool instructions for how to configure FMS to run under Apache and gave up trying to understand IIS... as soon as I did that, the problem went away ;-) YMMV... Cheers Steve On 4 Jun 2009, at 03:04, Bob Patin wrote: > Anders, > > I wouldn't think so, because they didn't change the web server, only > the FileMaker server; PHP is being used on the web server, which > they've been using for a couple of years without any trouble. > > It's got to be something to do with the FileMaker machine... > > > > > Bob Patin > > > > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > Twitter: bobpatin > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 Certified Developer > Member of FileMaker Business Alliance & FileMaker TechNet > -------------------------- > FileMaker hosting and consulting for all versions of FileMaker > Web hosting ? PHP ? Full email services ? Free DNS hosting ? > Colocation ? Consulting > > On Jun 3, 2009, at 5:14 PM, Anders Monsen wrote: > >> Bob, >> >> Did any of the php.ini file information change when they updated to >> 10? I had a similar issue when a client updated from 8 to 9, which >> overwrote the existing custom php.ini file. >> >> Thanks, >> Anders > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter steve@bluecrocodile.co.nz m: +44 77 7852 4776 3 Calshot Court, Channel Way Ocean Village, Southampton SO14 3GR -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090604/3fdc3891/attachment.html From ggt667 at gmail.com Thu Jun 4 00:50:07 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Jun 4 00:50:34 2009 Subject: [FX.php List] Connection problem In-Reply-To: References: <0552F48B-B8F3-42D3-AC0E-5859D244CFA3@patin.com> Message-ID: Usually those 9xx numbers can be due to invalid username or password... Some of them are a bit odd. ggt 2009/6/4 Steve Winter : > Hi Bob, > IIRC this is exactly the same issue that I had a while back with trying to > configure a two-machine system where the FMS machine is Win using IIS, and > it related to security settings within IIS... not being a lover of IIS, and > finding server 2003+ security settings an?unintelligible?nightmare, I ended > up using the FMWebSchool instructions for how to configure FMS to run under > Apache and gave up trying to understand IIS... as soon as I did that, the > problem went away ;-) > YMMV... > Cheers > Steve > > On 4 Jun 2009, at 03:04, Bob Patin wrote: > > Anders, > I wouldn't think so, because they didn't change the web server, only the > FileMaker server; PHP is being used on the web server, which they've been > using for a couple of years without any trouble. > It's got to be something to do with the FileMaker machine... > > > > Bob Patin > > > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > Twitter: bobpatin > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 Certified Developer > Member of FileMaker Business Alliance & FileMaker TechNet > -------------------------- > FileMaker hosting and consulting for all versions of FileMaker > Web hosting ? PHP ? Full email services ? Free DNS hosting ? Colocation ? > Consulting > On Jun 3, 2009, at 5:14 PM, Anders Monsen wrote: > > Bob, > > Did any of the php.ini file information change when they updated to 10? I > had a similar issue when a client updated from 8 to 9, which overwrote the > existing custom php.ini file. > > Thanks, > Anders > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > > Steve Winter > steve@bluecrocodile.co.nz > m: +44 77 7852 4776 > 3 Calshot Court,?Channel Way > Ocean?Village,?Southampton?SO14 3GR > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > From bob at patin.com Thu Jun 4 08:22:18 2009 From: bob at patin.com (Bob Patin) Date: Thu Jun 4 08:22:25 2009 Subject: [FX.php List] Connection problem - SOLVED In-Reply-To: References: <0552F48B-B8F3-42D3-AC0E-5859D244CFA3@patin.com> Message-ID: <5F9ED8A2-18F5-4A80-9B2F-B8E120B1ED03@patin.com> My client finally figured out what he'd done wrong with his servers; Jon Montgomery's note was the clue: I had told my client yesterday that FileMaker actually doesn't communicate with PHP, but with XML; he remembered that last night, and had a thought. When he upgraded to FMS 10, he didn't know that FX.php uses the XML setting and not the PHP setting; he'd enabled PHP on the server, but not XML, so that's why it wasn't working. As soon as he enabled XML, it started working. Just in case someone else stumbles into this same problem... :) Bob Patin -------------- next part -------------- A non-text attachment was scrubbed... Name: new_logo_idea3_120w.jpg Type: image/jpeg Size: 15728 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090604/3bbf0725/new_logo_idea3_120w-0001.jpg -------------- next part -------------- Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jun 4, 2009, at 1:50 AM, Gjermund Gusland Thorsen wrote: > Usually those 9xx numbers can be due to invalid username or > password... > > Some of them are a bit odd. > > ggt > > 2009/6/4 Steve Winter : >> Hi Bob, >> IIRC this is exactly the same issue that I had a while back with >> trying to >> configure a two-machine system where the FMS machine is Win using >> IIS, and >> it related to security settings within IIS... not being a lover of >> IIS, and >> finding server 2003+ security settings an unintelligible nightmare, >> I ended >> up using the FMWebSchool instructions for how to configure FMS to >> run under >> Apache and gave up trying to understand IIS... as soon as I did >> that, the >> problem went away ;-) >> YMMV... >> Cheers >> Steve >> >> On 4 Jun 2009, at 03:04, Bob Patin wrote: >> >> Anders, >> I wouldn't think so, because they didn't change the web server, >> only the >> FileMaker server; PHP is being used on the web server, which >> they've been >> using for a couple of years without any trouble. >> It's got to be something to do with the FileMaker machine... >> >> >> >> Bob Patin >> >> >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> http://www.longtermsolutions.com >> Twitter: bobpatin >> iChat: bobpatin >> AIM: longterm1954 >> FileMaker 9 Certified Developer >> Member of FileMaker Business Alliance & FileMaker TechNet >> -------------------------- >> FileMaker hosting and consulting for all versions of FileMaker >> Web hosting ? PHP ? Full email services ? Free DNS hosting ? >> Colocation ? >> Consulting >> On Jun 3, 2009, at 5:14 PM, Anders Monsen wrote: >> >> Bob, >> >> Did any of the php.ini file information change when they updated to >> 10? I >> had a similar issue when a client updated from 8 to 9, which >> overwrote the >> existing custom php.ini file. >> >> Thanks, >> Anders >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> Steve Winter >> steve@bluecrocodile.co.nz >> m: +44 77 7852 4776 >> 3 Calshot Court, Channel Way >> Ocean Village, Southampton SO14 3GR >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From jschwartz at exit445.com Thu Jun 4 10:29:08 2009 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Thu Jun 4 10:30:18 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. Message-ID: Hi Folks, Helping a colleague... A working fx.php system stopped working after it was moved to another machine. Produces 802 error. FMS10 is properly serving db's. Only wrinkle I can think of is that the hard drive name was changed. We changed it back to the original name, but no joy. Web Publishing server has been restarted, but not Server or Machine. The web system is down. I am running out of ideas. Thx Jonathan -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From 1265 at lucerneblvd.org Thu Jun 4 10:38:35 2009 From: 1265 at lucerneblvd.org (david weiner) Date: Thu Jun 4 10:38:56 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. In-Reply-To: References: Message-ID: <5FCC589D-44D3-4A16-9070-4907B839FF9E@lucerneblvd.org> Have you checked the path to the config files, I've gotten that error when mistakenly loading the wrong config or a config with the wrong IP address for the FMP server. On Jun 4, 2009, at 9:29 AM, Jonathan Schwartz wrote: > Hi Folks, > > Helping a colleague... > > A working fx.php system stopped working after it was moved to > another machine. Produces 802 error. > > FMS10 is properly serving db's. > > Only wrinkle I can think of is that the hard drive name was changed. > We changed it back to the original name, but no joy. > > Web Publishing server has been restarted, but not Server or Machine. > > The web system is down. I am running out of ideas. > > Thx > > Jonathan > > > -- > Jonathan Schwartz > Exit 445 Group > jonathan@exit445.com > http://www.exit445.com > 415-370-5011 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From jschwartz at exit445.com Thu Jun 4 10:57:39 2009 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Thu Jun 4 10:58:17 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. In-Reply-To: <5FCC589D-44D3-4A16-9070-4907B839FF9E@lucerneblvd.org> References: <5FCC589D-44D3-4A16-9070-4907B839FF9E@lucerneblvd.org> Message-ID: Good thought. All path references are relative, so we can rule this one out. For clarity, the hard drive was cloned and restored onto another machine. Only change was hard drive name...which I suspect is behind this problem. We have decided to wait until Noon PST to restart the machine. Perhaps that will do it. J >Have you checked the path to the config files, I've gotten that >error when mistakenly loading the wrong config or a config with the >wrong IP address for the FMP server. > > >On Jun 4, 2009, at 9:29 AM, Jonathan Schwartz wrote: > >>Hi Folks, >> >>Helping a colleague... >> >>A working fx.php system stopped working after it was moved to >>another machine. Produces 802 error. >> >>FMS10 is properly serving db's. >> >>Only wrinkle I can think of is that the hard drive name was >>changed. We changed it back to the original name, but no joy. >> >>Web Publishing server has been restarted, but not Server or Machine. >> >>The web system is down. I am running out of ideas. >> >>Thx >> >>Jonathan >> >> >>-- >>Jonathan Schwartz >>Exit 445 Group >>jonathan@exit445.com >>http://www.exit445.com >>415-370-5011 >>_______________________________________________ >>FX.php_List mailing list >>FX.php_List@mail.iviking.org >>http://www.iviking.org/mailman/listinfo/fx.php_list > >_______________________________________________ >FX.php_List mailing list >FX.php_List@mail.iviking.org >http://www.iviking.org/mailman/listinfo/fx.php_list -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From ggt667 at gmail.com Thu Jun 4 12:44:58 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Jun 4 12:45:02 2009 Subject: [FX.php List] Connection problem - SOLVED In-Reply-To: <5F9ED8A2-18F5-4A80-9B2F-B8E120B1ED03@patin.com> References: <0552F48B-B8F3-42D3-AC0E-5859D244CFA3@patin.com> <5F9ED8A2-18F5-4A80-9B2F-B8E120B1ED03@patin.com> Message-ID: Remind what is the difference between the two settings? ggt 2009/6/4 Bob Patin : > My client finally figured out what he'd done wrong with his servers; Jon > Montgomery's note was the clue: > > I had told my client yesterday that FileMaker actually doesn't communicate > with PHP, but with XML; he remembered that last night, and had a thought. > When he upgraded to FMS 10, he didn't know that FX.php uses the XML setting > and not the PHP setting; he'd enabled PHP on the server, but not XML, so > that's why it wasn't working. As soon as he enabled XML, it started working. > > Just in case someone else stumbles into this same problem... :) > > Bob Patin > > > > > > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -------------------------- > FileMaker hosting and consulting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > On Jun 4, 2009, at 1:50 AM, Gjermund Gusland Thorsen wrote: > >> Usually those 9xx numbers can be due to invalid username or password... >> >> Some of them are a bit odd. >> >> ggt >> >> 2009/6/4 Steve Winter : >>> >>> Hi Bob, >>> IIRC this is exactly the same issue that I had a while back with trying >>> to >>> configure a two-machine system where the FMS machine is Win using IIS, >>> and >>> it related to security settings within IIS... not being a lover of IIS, >>> and >>> finding server 2003+ security settings an unintelligible nightmare, I >>> ended >>> up using the FMWebSchool instructions for how to configure FMS to run >>> under >>> Apache and gave up trying to understand IIS... as soon as I did that, the >>> problem went away ;-) >>> YMMV... >>> Cheers >>> Steve >>> >>> On 4 Jun 2009, at 03:04, Bob Patin wrote: >>> >>> Anders, >>> I wouldn't think so, because they didn't change the web server, only the >>> FileMaker server; PHP is being used on the web server, which they've been >>> using for a couple of years without any trouble. >>> It's got to be something to do with the FileMaker machine... >>> >>> >>> >>> Bob Patin >>> >>> >>> Longterm Solutions >>> bob@longtermsolutions.com >>> 615-333-6858 >>> http://www.longtermsolutions.com >>> Twitter: bobpatin >>> iChat: bobpatin >>> AIM: longterm1954 >>> FileMaker 9 Certified Developer >>> Member of FileMaker Business Alliance & FileMaker TechNet >>> -------------------------- >>> FileMaker hosting and consulting for all versions of FileMaker >>> Web hosting ? PHP ? Full email services ? Free DNS hosting ? Colocation ? >>> Consulting >>> On Jun 3, 2009, at 5:14 PM, Anders Monsen wrote: >>> >>> Bob, >>> >>> Did any of the php.ini file information change when they updated to 10? I >>> had a similar issue when a client updated from 8 to 9, which overwrote >>> the >>> existing custom php.ini file. >>> >>> Thanks, >>> Anders >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >>> >>> Steve Winter >>> steve@bluecrocodile.co.nz >>> m: +44 77 7852 4776 >>> 3 Calshot Court, Channel Way >>> Ocean Village, Southampton SO14 3GR >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/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 ggt667 at gmail.com Thu Jun 4 12:46:21 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Jun 4 12:46:26 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. In-Reply-To: References: <5FCC589D-44D3-4A16-9070-4907B839FF9E@lucerneblvd.org> Message-ID: Does the example from the FX.php distro show you the databases served when IP and port is keyed in? ggt 2009/6/4 Jonathan Schwartz : > Good thought. ?All path references are relative, so we can rule this one > out. > > For clarity, the hard drive was cloned and restored onto another machine. > ?Only change was hard drive name...which I suspect is behind this problem. > > We have decided to wait until Noon PST to restart the machine. > > Perhaps that will do it. > > J > >> Have you checked the path to the config files, I've gotten that error when >> mistakenly loading the wrong config or a config with the wrong IP address >> for the FMP server. >> >> >> On Jun 4, 2009, at 9:29 AM, Jonathan Schwartz wrote: >> >>> Hi Folks, >>> >>> Helping a colleague... >>> >>> A working fx.php system stopped working after it was moved to another >>> machine. ?Produces 802 error. >>> >>> FMS10 is properly serving db's. >>> >>> Only wrinkle I can think of is that the hard drive name was changed. We >>> changed it back to the original name, but no joy. >>> >>> Web Publishing server has been restarted, but not Server or Machine. >>> >>> The web system is down. I am running out of ideas. >>> >>> Thx >>> >>> Jonathan >>> >>> >>> -- >>> Jonathan Schwartz >>> Exit 445 Group >>> jonathan@exit445.com >>> http://www.exit445.com >>> 415-370-5011 >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > -- > Jonathan Schwartz > Exit 445 Group > jonathan@exit445.com > http://www.exit445.com > 415-370-5011 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From andersm at alamark.com Thu Jun 4 12:50:27 2009 From: andersm at alamark.com (Anders Monsen) Date: Thu Jun 4 12:50:33 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. In-Reply-To: References: Message-ID: <86B5A31D-1868-45C2-B0D7-E211009FECB4@alamark.com> Has XML been enabled in the Admin Console? Anders On Jun 4, 2009, at 11:29 AM, Jonathan Schwartz wrote: > Hi Folks, > > Helping a colleague... > > A working fx.php system stopped working after it was moved to > another machine. Produces 802 error. > > FMS10 is properly serving db's. > > Only wrinkle I can think of is that the hard drive name was changed. > We changed it back to the original name, but no joy. > > Web Publishing server has been restarted, but not Server or Machine. > > The web system is down. I am running out of ideas. > > Thx > > Jonathan > > > -- > Jonathan Schwartz > Exit 445 Group > jonathan@exit445.com > http://www.exit445.com > 415-370-5011 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > From jschwartz at exit445.com Thu Jun 4 12:59:06 2009 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Thu Jun 4 13:03:40 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. In-Reply-To: <86B5A31D-1868-45C2-B0D7-E211009FECB4@alamark.com> References: <86B5A31D-1868-45C2-B0D7-E211009FECB4@alamark.com> Message-ID: Yes. >Has XML been enabled in the Admin Console? > >Anders > >On Jun 4, 2009, at 11:29 AM, Jonathan Schwartz wrote: > >>Hi Folks, >> >>Helping a colleague... >> >>A working fx.php system stopped working after it was moved to >>another machine. Produces 802 error. >> >>FMS10 is properly serving db's. >> >>Only wrinkle I can think of is that the hard drive name was >>changed. We changed it back to the original name, but no joy. >> >>Web Publishing server has been restarted, but not Server or Machine. >> >>The web system is down. I am running out of ideas. >> >>Thx >> >>Jonathan >> >> >>-- >>Jonathan Schwartz >>Exit 445 Group >>jonathan@exit445.com >>http://www.exit445.com >>415-370-5011 >>_______________________________________________ >>FX.php_List mailing list >>FX.php_List@mail.iviking.org >>http://www.iviking.org/mailman/listinfo/fx.php_list >> > >_______________________________________________ >FX.php_List mailing list >FX.php_List@mail.iviking.org >http://www.iviking.org/mailman/listinfo/fx.php_list -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From jschwartz at exit445.com Thu Jun 4 13:05:59 2009 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Thu Jun 4 13:07:00 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. In-Reply-To: References: <5FCC589D-44D3-4A16-9070-4907B839FF9E@lucerneblvd.org> Message-ID: Not sure what "fx.php distro" is, but db's do show up in both FMP client Remote, and using DBNAMES() in fx.php command: http://64.79.143.15:80/fmi/xml/FMPXMLRESULT.xml?-db=&-max=&-dbnames Fails at next step, trying to login. J At 8:46 PM +0200 6/4/09, Gjermund Gusland Thorsen wrote: >Does the example from the FX.php distro show you the databases served >when IP and port is keyed in? > >ggt > >2009/6/4 Jonathan Schwartz : >> Good thought. All path references are relative, so we can rule this one >> out. >> >> For clarity, the hard drive was cloned and restored onto another machine. >> Only change was hard drive name...which I suspect is behind this problem. >> >> We have decided to wait until Noon PST to restart the machine. >> >> Perhaps that will do it. >> >> J >> >>> Have you checked the path to the config files, I've gotten that error when >>> mistakenly loading the wrong config or a config with the wrong IP address >>> for the FMP server. >>> >>> >>> On Jun 4, 2009, at 9:29 AM, Jonathan Schwartz wrote: >>> >>>> Hi Folks, >>>> >>>> Helping a colleague... >>>> >>>> A working fx.php system stopped working after it was moved to another >>>> machine. Produces 802 error. >>>> >>>> FMS10 is properly serving db's. >>>> >>>> Only wrinkle I can think of is that the hard drive name was changed. We >>>> changed it back to the original name, but no joy. >>>> >>>> Web Publishing server has been restarted, but not Server or Machine. >>>> >>>> The web system is down. I am running out of ideas. >>>> >>>> Thx >>>> >>>> Jonathan >>>> >>>> >>>> -- >>>> Jonathan Schwartz >>>> Exit 445 Group >>>> jonathan@exit445.com >>>> http://www.exit445.com >>>> 415-370-5011 >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> -- >> Jonathan Schwartz >> Exit 445 Group >> jonathan@exit445.com >> http://www.exit445.com >> 415-370-5011 >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> >_______________________________________________ >FX.php_List mailing list >FX.php_List@mail.iviking.org >http://www.iviking.org/mailman/listinfo/fx.php_list -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From bob at patin.com Thu Jun 4 13:08:04 2009 From: bob at patin.com (Bob Patin) Date: Thu Jun 4 13:08:11 2009 Subject: [FX.php List] Connection problem - SOLVED In-Reply-To: References: <0552F48B-B8F3-42D3-AC0E-5859D244CFA3@patin.com> <5F9ED8A2-18F5-4A80-9B2F-B8E120B1ED03@patin.com> Message-ID: <9DDF9695-9F8E-41B3-AC76-7077DA6845E9@patin.com> For FX.php, you want to do 2 things: in the database, enable "Access via XML Web Publishing (fmxml)"; On the server, enable XML - this was added in FMS 9 For the API: In the database, enable "Access via PHP Web Publishing (fmphp) On the server, enable PHP Bob Patin -------------- next part -------------- A non-text attachment was scrubbed... Name: new_logo_idea3_120w.jpg Type: image/jpeg Size: 15728 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090604/b7b9af66/new_logo_idea3_120w-0001.jpg -------------- next part -------------- Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jun 4, 2009, at 1:44 PM, Gjermund Gusland Thorsen wrote: > Remind what is the difference between the two settings? > > ggt From andersm at alamark.com Thu Jun 4 16:01:29 2009 From: andersm at alamark.com (Anders Monsen) Date: Thu Jun 4 16:01:34 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. In-Reply-To: References: <86B5A31D-1868-45C2-B0D7-E211009FECB4@alamark.com> Message-ID: <76CB5811-BD71-4182-AA10-322250CE59B1@alamark.com> I just enabled a db via XML, hosted it on FMPA 10 and tried to connect from a separate server. Also received error 802. Array ( [data] => Array ( ) [linkNext] => [linkPrevious] => [foundCount] => -1 [fields] => Array ( ) [URL] => http://USERNAME:PASSWORD@IP_ADDRESS:80/fmi/xml/ FMPXMLLAYOUT.xml?-db=DB_NAME.fp7&-lay=LAYOUT&-max=50&Item.op=eq&Item= %2A&-view [query] => [errorCode] => 802 [valueLists] => Array ( ) ) On Jun 4, 2009, at 1:59 PM, Jonathan Schwartz wrote: > Yes. > >> Has XML been enabled in the Admin Console? >> >> Anders >> >> On Jun 4, 2009, at 11:29 AM, Jonathan Schwartz wrote: >> >>> Hi Folks, >>> >>> Helping a colleague... >>> >>> A working fx.php system stopped working after it was moved to >>> another machine. Produces 802 error. >>> >>> FMS10 is properly serving db's. >>> >>> Only wrinkle I can think of is that the hard drive name was >>> changed. We changed it back to the original name, but no joy. >>> >>> Web Publishing server has been restarted, but not Server or Machine. >>> >>> The web system is down. I am running out of ideas. >>> >>> Thx >>> >>> Jonathan >>> >>> >>> -- >>> Jonathan Schwartz >>> Exit 445 Group >>> jonathan@exit445.com >>> http://www.exit445.com >>> 415-370-5011 >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > -- > Jonathan Schwartz > Exit 445 Group > jonathan@exit445.com > http://www.exit445.com > 415-370-5011 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > From jschwartz at exit445.com Fri Jun 5 06:59:42 2009 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Fri Jun 5 07:03:41 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. SOLVED In-Reply-To: References: <5FCC589D-44D3-4A16-9070-4907B839FF9E@lucerneblvd.org> Message-ID: FYI, The situation was resolved by reinstalling FMS10. It didn't survive the cloning process. Lesson learned. Thanks for the assistance. Jonathan -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From pvanbuskirk at otc.fsu.edu Fri Jun 5 08:40:24 2009 From: pvanbuskirk at otc.fsu.edu (VanBuskirk, Patricia) Date: Fri Jun 5 08:41:00 2009 Subject: [FX.php List] Difference in code syntax Message-ID: <70129CA6F836494CA5FD774FEA14E1A30115F9B7@fsu-exch-12.fsu.edu> Can someone explain the difference between the following... $deptList = $deptListQuery->DoFXAction(FX_ACTION_FINDALL); OR $deptList = $deptListQuery->FMFind(); {$Listing['PrintOrder']} OR $Listing['PrintLine'] [0] I am trying to copy code from someone else and it is confusing me! Thanks! Trish From bob at patin.com Fri Jun 5 08:51:43 2009 From: bob at patin.com (Bob Patin) Date: Fri Jun 5 08:51:50 2009 Subject: [FX.php List] Difference in code syntax In-Reply-To: <70129CA6F836494CA5FD774FEA14E1A30115F9B7@fsu-exch-12.fsu.edu> References: <70129CA6F836494CA5FD774FEA14E1A30115F9B7@fsu-exch-12.fsu.edu> Message-ID: <8035FC76-7426-4640-A4C3-B39313564826@patin.com> On Jun 5, 2009, at 9:40 AM, VanBuskirk, Patricia wrote: > Can someone explain the difference between the following... > > > $deptList = $deptListQuery->DoFXAction(FX_ACTION_FINDALL); > > OR > > $deptList = $deptListQuery->FMFind(); > I've never used that first one, but at first glance, it appears to do a FindAll instead of a FIND; the 2nd one does a FIND; you'd typically include one or more find criteria with it, like this: $deptListQuery->AddDBParam('myfield',$searchvalue); $deptListQuery->AddDBParam('my2ndfield',$searchvalue2); $deptListResult = $deptListQuery->FMFind(); If you're doing a FindAll, just change the last line to read FMFindAll() instead, and don't put in any search criteria. Another thing to keep in mind is to specify how large you want your search results to be; if you don't put anything, the default is 50; if you want to see all results, put 'all', like this: $query =new FX($serverIP,$webCompanionPort, $dataType, $scheme); $query->SetDBData($dbname,'web_session','All'); $query->SetDBPassword($mypassword,$myusername); $queryResults = $query->FMFindAll(); When you want to see the results of your query, you need the 2nd dimension of the array, like this: foreach($queryResults[] as $key=>$queryData){ $name = $queryData['name'][0]; $address = $queryData['address'][0]; } HTH, Bob Patin Longterm Solutions P.O. Box 3408 Brentwood, TN 37024 615-333-6858 bob@longtermsolutions.com http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > {$Listing['PrintOrder']} > > OR > > $Listing['PrintLine'] [0] > > > I am trying to copy code from someone else and it is confusing me! > > Thanks! > Trish > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From ggt667 at gmail.com Fri Jun 5 09:06:19 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Fri Jun 5 09:07:35 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. SOLVED In-Reply-To: References: <5FCC589D-44D3-4A16-9070-4907B839FF9E@lucerneblvd.org> Message-ID: Probably changing the ethernet and WiFi NIC address would have solved the problem, however it is a hack and not a good solution. ggt 2009/6/5 Jonathan Schwartz : > FYI, > > The situation was resolved by reinstalling FMS10. It didn't survive the > cloning process. Lesson learned. > > Thanks for the assistance. > > Jonathan > -- > Jonathan Schwartz > Exit 445 Group > jonathan@exit445.com > http://www.exit445.com > 415-370-5011 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From pvanbuskirk at otc.fsu.edu Fri Jun 5 09:19:00 2009 From: pvanbuskirk at otc.fsu.edu (VanBuskirk, Patricia) Date: Fri Jun 5 09:19:40 2009 Subject: [FX.php List] Difference in code syntax In-Reply-To: <8035FC76-7426-4640-A4C3-B39313564826@patin.com> References: <70129CA6F836494CA5FD774FEA14E1A30115F9B7@fsu-exch-12.fsu.edu> <8035FC76-7426-4640-A4C3-B39313564826@patin.com> Message-ID: <70129CA6F836494CA5FD774FEA14E1A30115F9C5@fsu-exch-12.fsu.edu> Thanks Bob! I have been using the format of the second example on each and they work ... just the other syntax and language threw me off, i.e. the use of brackets around the call and no [0] at the end of it... and the term DoFXAction(...). I appreciate your reply! Trish -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin Sent: Friday, June 05, 2009 10:52 AM To: FX.php Discussion List Subject: Re: [FX.php List] Difference in code syntax On Jun 5, 2009, at 9:40 AM, VanBuskirk, Patricia wrote: > Can someone explain the difference between the following... > > > $deptList = $deptListQuery->DoFXAction(FX_ACTION_FINDALL); > > OR > > $deptList = $deptListQuery->FMFind(); > I've never used that first one, but at first glance, it appears to do a FindAll instead of a FIND; the 2nd one does a FIND; you'd typically include one or more find criteria with it, like this: $deptListQuery->AddDBParam('myfield',$searchvalue); $deptListQuery->AddDBParam('my2ndfield',$searchvalue2); $deptListResult = $deptListQuery->FMFind(); If you're doing a FindAll, just change the last line to read FMFindAll() instead, and don't put in any search criteria. Another thing to keep in mind is to specify how large you want your search results to be; if you don't put anything, the default is 50; if you want to see all results, put 'all', like this: $query =new FX($serverIP,$webCompanionPort, $dataType, $scheme); $query->SetDBData($dbname,'web_session','All'); $query->SetDBPassword($mypassword,$myusername); $queryResults = $query->FMFindAll(); When you want to see the results of your query, you need the 2nd dimension of the array, like this: foreach($queryResults[] as $key=>$queryData){ $name = $queryData['name'][0]; $address = $queryData['address'][0]; } HTH, Bob Patin Longterm Solutions P.O. Box 3408 Brentwood, TN 37024 615-333-6858 bob@longtermsolutions.com http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP * Full email services * Free DNS hosting * Colocation * Consulting > > {$Listing['PrintOrder']} > > OR > > $Listing['PrintLine'] [0] > > > I am trying to copy code from someone else and it is confusing me! > > Thanks! > Trish > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list From jschwartz at exit445.com Fri Jun 5 10:32:43 2009 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Fri Jun 5 10:33:44 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. SOLVED In-Reply-To: References: <5FCC589D-44D3-4A16-9070-4907B839FF9E@lucerneblvd.org> Message-ID: Huh??? J At 5:06 PM +0200 6/5/09, Gjermund Gusland Thorsen wrote: >Probably changing the ethernet and WiFi NIC address would have solved >the problem, however it is a hack and not a good solution. > >ggt > -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From andersm at alamark.com Fri Jun 5 10:43:55 2009 From: andersm at alamark.com (Anders Monsen) Date: Fri Jun 5 10:43:59 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. In-Reply-To: <76CB5811-BD71-4182-AA10-322250CE59B1@alamark.com> References: <86B5A31D-1868-45C2-B0D7-E211009FECB4@alamark.com> <76CB5811-BD71-4182-AA10-322250CE59B1@alamark.com> Message-ID: I don't believe my error below is related to FMS 10 in general, as I switch to another server running FMS 10 and was able to connect with no problems. -- Anders On Jun 4, 2009, at 5:01 PM, Anders Monsen wrote: > I just enabled a db via XML, hosted it on FMPA 10 and tried to > connect from a separate server. Also received error 802. > > Array > ( > [data] => Array > ( > ) > > [linkNext] => > [linkPrevious] => > [foundCount] => -1 > [fields] => Array > ( > ) > > [URL] => http://USERNAME:PASSWORD@IP_ADDRESS:80/fmi/xml/ > FMPXMLLAYOUT.xml?-db=DB_NAME.fp7&-lay=LAYOUT&-max=50&Item.op=eq&Item= > %2A&-view > [query] => > [errorCode] => 802 > [valueLists] => Array > ( > ) > > ) > > > On Jun 4, 2009, at 1:59 PM, Jonathan Schwartz wrote: > >> Yes. >> >>> Has XML been enabled in the Admin Console? >>> >>> Anders >>> >>> On Jun 4, 2009, at 11:29 AM, Jonathan Schwartz wrote: >>> >>>> Hi Folks, >>>> >>>> Helping a colleague... >>>> >>>> A working fx.php system stopped working after it was moved to >>>> another machine. Produces 802 error. >>>> >>>> FMS10 is properly serving db's. >>>> >>>> Only wrinkle I can think of is that the hard drive name was >>>> changed. We changed it back to the original name, but no joy. >>>> >>>> Web Publishing server has been restarted, but not Server or >>>> Machine. >>>> >>>> The web system is down. I am running out of ideas. >>>> >>>> Thx >>>> >>>> Jonathan >>>> >>>> >>>> -- >>>> Jonathan Schwartz >>>> Exit 445 Group >>>> jonathan@exit445.com >>>> http://www.exit445.com >>>> 415-370-5011 >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> -- >> Jonathan Schwartz >> Exit 445 Group >> jonathan@exit445.com >> http://www.exit445.com >> 415-370-5011 >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> > > _______________________________________________ > 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 Jun 5 10:45:47 2009 From: bob at patin.com (Bob Patin) Date: Fri Jun 5 10:45:53 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. SOLVED In-Reply-To: References: <5FCC589D-44D3-4A16-9070-4907B839FF9E@lucerneblvd.org> Message-ID: <11A0B10C-CA74-46C7-A33B-D677F0CC4F0E@patin.com> I'm not surprised that cloning a server didn't work; FileMaker Server is so twitchy when it comes to pairing up with the WPE, and I'd expect that, unless you do it the way they prescribe, the WPE and server won't connect. I've tried installing WPE *after* installing FileMaker Server, and never got that to work; I had an instance when the WPE just quit working, requiring a re-install, and I had to go thru the whole process--uninstall FM Server, restart machine, uninstall WPE, then re- install it, then install FM Server. What a pain... So Jonathan, I *really* think you should rent a big bus and take us all on a tour of San Francisco during Devcon. Since you're the local guy, I'd think it's the *least* you could do. Dinner too, of course. I can't wait to ski behind the ship during the dinner cruise... Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jun 5, 2009, at 11:32 AM, Jonathan Schwartz wrote: > Huh??? > > J > > At 5:06 PM +0200 6/5/09, Gjermund Gusland Thorsen wrote: >> Probably changing the ethernet and WiFi NIC address would have solved >> the problem, however it is a hack and not a good solution. >> >> ggt >> > > -- > Jonathan Schwartz > Exit 445 Group > jonathan@exit445.com > http://www.exit445.com > 415-370-5011 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From ggt667 at gmail.com Fri Jun 5 15:10:29 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Fri Jun 5 16:37:06 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. SOLVED In-Reply-To: <11A0B10C-CA74-46C7-A33B-D677F0CC4F0E@patin.com> References: <5FCC589D-44D3-4A16-9070-4907B839FF9E@lucerneblvd.org> <11A0B10C-CA74-46C7-A33B-D677F0CC4F0E@patin.com> Message-ID: Cloning FMSA works if you clone it to a different disk on the same machine, however the NICs MAC address has to match that of the installation. ggt 2009/6/5 Bob Patin : > I'm not surprised that cloning a server didn't work; FileMaker Server is so > twitchy when it comes to pairing up with the WPE, and I'd expect that, > unless you do it the way they prescribe, the WPE and server won't connect. > > I've tried installing WPE *after* installing FileMaker Server, and never got > that to work; I had an instance when the WPE just quit working, requiring a > re-install, and I had to go thru the whole process--uninstall FM Server, > restart machine, uninstall WPE, then re-install it, then install FM Server. > > What a pain... > > So Jonathan, I *really* think you should rent a big bus and take us all on a > tour of San Francisco during Devcon. Since you're the local guy, I'd think > it's the *least* you could do. Dinner too, of course. > > I can't wait to ski behind the ship during the dinner cruise... > > Bob Patin > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -------------------------- > FileMaker hosting and consulting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > On Jun 5, 2009, at 11:32 AM, Jonathan Schwartz wrote: > >> Huh??? >> >> J >> >> At 5:06 PM +0200 6/5/09, Gjermund Gusland Thorsen wrote: >>> >>> Probably changing the ethernet and WiFi NIC address would have solved >>> the problem, however it is a hack and not a good solution. >>> >>> ggt >>> >> >> -- >> Jonathan Schwartz >> Exit 445 Group >> jonathan@exit445.com >> http://www.exit445.com >> 415-370-5011 >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From ggt667 at gmail.com Fri Jun 5 15:11:01 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Fri Jun 5 21:56:55 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. SOLVED In-Reply-To: References: <5FCC589D-44D3-4A16-9070-4907B839FF9E@lucerneblvd.org> <11A0B10C-CA74-46C7-A33B-D677F0CC4F0E@patin.com> Message-ID: Even the random function in FileMaker seems to produce different patterns depending on the NIC?s MAC address. ggt 2009/6/5 Gjermund Gusland Thorsen : > Cloning FMSA works if you clone it to a different disk on the same machine, > however the NICs MAC address has to match that of the installation. > > ggt > > 2009/6/5 Bob Patin : >> I'm not surprised that cloning a server didn't work; FileMaker Server is so >> twitchy when it comes to pairing up with the WPE, and I'd expect that, >> unless you do it the way they prescribe, the WPE and server won't connect. >> >> I've tried installing WPE *after* installing FileMaker Server, and never got >> that to work; I had an instance when the WPE just quit working, requiring a >> re-install, and I had to go thru the whole process--uninstall FM Server, >> restart machine, uninstall WPE, then re-install it, then install FM Server. >> >> What a pain... >> >> So Jonathan, I *really* think you should rent a big bus and take us all on a >> tour of San Francisco during Devcon. Since you're the local guy, I'd think >> it's the *least* you could do. Dinner too, of course. >> >> I can't wait to ski behind the ship during the dinner cruise... >> >> Bob Patin >> Longterm Solutions >> bob@longtermsolutions.com >> 615-333-6858 >> http://www.longtermsolutions.com >> iChat: bobpatin >> AIM: longterm1954 >> FileMaker 9 Certified Developer >> Member of FileMaker Business Alliance and FileMaker TechNet >> -------------------------- >> FileMaker hosting and consulting for all versions of FileMaker >> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >> >> On Jun 5, 2009, at 11:32 AM, Jonathan Schwartz wrote: >> >>> Huh??? >>> >>> J >>> >>> At 5:06 PM +0200 6/5/09, Gjermund Gusland Thorsen wrote: >>>> >>>> Probably changing the ethernet and WiFi NIC address would have solved >>>> the problem, however it is a hack and not a good solution. >>>> >>>> ggt >>>> >>> >>> -- >>> Jonathan Schwartz >>> Exit 445 Group >>> jonathan@exit445.com >>> http://www.exit445.com >>> 415-370-5011 >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> > From jmaymailing at pointinspace.com Sat Jun 6 04:43:18 2009 From: jmaymailing at pointinspace.com (John May) Date: Sat Jun 6 04:43:24 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. SOLVED In-Reply-To: References: <5FCC589D-44D3-4A16-9070-4907B839FF9E@lucerneblvd.org> <11A0B10C-CA74-46C7-A33B-D677F0CC4F0E@patin.com> Message-ID: <4A2A4846.6020806@pointinspace.com> I've cloned an FMSA machine to different hardware before with no problems. This would be on OS X. - John Gjermund Gusland Thorsen wrote: > Even the random function in FileMaker seems to produce different > patterns depending on the NIC?s MAC address. > > ggt > > 2009/6/5 Gjermund Gusland Thorsen : >> Cloning FMSA works if you clone it to a different disk on the same machine, >> however the NICs MAC address has to match that of the installation. >> >> ggt >> >> 2009/6/5 Bob Patin : >>> I'm not surprised that cloning a server didn't work; FileMaker Server is so >>> twitchy when it comes to pairing up with the WPE, and I'd expect that, >>> unless you do it the way they prescribe, the WPE and server won't connect. >>> >>> I've tried installing WPE *after* installing FileMaker Server, and never got >>> that to work; I had an instance when the WPE just quit working, requiring a >>> re-install, and I had to go thru the whole process--uninstall FM Server, >>> restart machine, uninstall WPE, then re-install it, then install FM Server. >>> >>> What a pain... >>> >>> So Jonathan, I *really* think you should rent a big bus and take us all on a >>> tour of San Francisco during Devcon. Since you're the local guy, I'd think >>> it's the *least* you could do. Dinner too, of course. >>> >>> I can't wait to ski behind the ship during the dinner cruise... >>> >>> Bob Patin >>> Longterm Solutions >>> bob@longtermsolutions.com >>> 615-333-6858 >>> http://www.longtermsolutions.com >>> iChat: bobpatin >>> AIM: longterm1954 >>> FileMaker 9 Certified Developer >>> Member of FileMaker Business Alliance and FileMaker TechNet >>> -------------------------- >>> FileMaker hosting and consulting for all versions of FileMaker >>> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >>> >>> On Jun 5, 2009, at 11:32 AM, Jonathan Schwartz wrote: >>> >>>> Huh??? >>>> >>>> J >>>> >>>> At 5:06 PM +0200 6/5/09, Gjermund Gusland Thorsen wrote: >>>>> Probably changing the ethernet and WiFi NIC address would have solved >>>>> the problem, however it is a hack and not a good solution. >>>>> >>>>> ggt >>>>> -- ------------------------------------------------------------------- John May : President http://www.pointinspace.com/ Point In Space Internet Solutions jmay@pointinspace.com Professional FileMaker Pro, MySQL, PHP & Lasso Hosting * FileMaker Pro 10 Hosting Now Available * From pvanbuskirk at otc.fsu.edu Sat Jun 6 06:44:45 2009 From: pvanbuskirk at otc.fsu.edu (VanBuskirk, Patricia) Date: Sat Jun 6 06:45:03 2009 Subject: [FX.php List] FX.php problem ... Record Not Found Message-ID: <70129CA6F836494CA5FD774FEA14E1A30115FA30@fsu-exch-12.fsu.edu> Hi group .. this is driving me crazy. I've managed to get all the records showing on one page, in a form to edit. However, when I click the SAVE button, I receive a "Record Not Found" error. Can someone see where I've gone wrong? The first part is the form the user goes to after logging on, the second part is the response page. Note: The delete buttons work, as well as the create-new form. The Edit portion gives me the error. Thanks in advance! SetDBData(FM_DATABASE, 'SG_Users'); // set database username and password (uses info in included file 'server_data3.php) $users->SetDBPassword(FM_USERNAME, FM_PASSWORD); // specify the search criteria $users->AddDBParam ('_p_UserID', $userID, 'eq'); // performs find $usersResult=$users->FMFind(); $sectionName=new FX(FM_IP, FM_PORT, FM_VERSION); $sectionName->SetDBData(FM_DATABASE, 'SG_Sections', 'all'); $sectionName->SetDBUserPass(FM_USERNAME, FM_PASSWORD); $sectionName->AddDBParam ('_UserID', $userID, 'eq'); $sectionName->AddDBParam ('SectionIncorrect', "X", 'neq'); $sectionName->AddSortParam('_SectionID','ascend'); $sectionResult=$sectionName->FMFind(); $deptListQuery=new FX(FM_IP, FM_PORT, FM_VERSION); $deptListQuery->SetDBData(FM_DATABASE, 'SeeAll', 'all'); $deptListQuery->SetDBUserPass(FM_USERNAME, FM_PASSWORD); $deptListQuery->AddDBParam ('_UserID', $userID, 'eq'); $deptListQuery->AddDBParam ('SG_Sections::SectionIncorrect', "X", 'neq'); $deptListQuery->AddSortParam('SG_Sections::SectionName','ascend'); $deptListQuery->AddSortParam('PrintOrder','ascend'); $deptListQuery->AddSortParam('Main','descend'); $deptListQuery->AddSortParam('PrintLine','ascend'); $deptList = $deptListQuery->FMFind(); include_once('SG_header.php'); ?>
$Listing){ $recordDetails=explode('.',$currentID); $Record=$recordDetails[0]; ?> ' />
You Have LISTING(S)
Delete Section Name Print
Order
*
Main
Listing?
Listing Address
Phone #
 XXX-XXXX
**
Embarq?
Save
Changes
Address Format: Room number, Building abbreviation - i.e. 6100 UCC
delete ' size='3' align='center' /> ' size='2' /> ' size='50' /> ' size='15' /> ' size='10' /> ' size='2' />
ADD NEW LINE:
Section Name Print
Order
Main Listing Address Phone
#
Embarq  
 

Edit_response.php: "; echo "

ERROR: You must be logged in to go to this page!

"; echo "

Login


"; include_once('SG_footer2.php'); exit(); } else { $userID=$_SESSION['UID']; $recid=$_POST['recid']; function convert_smart_quotes($string) { $search = array(chr(145), chr(146), chr(147), chr(148), chr(150), chr(151), "-", "-", "#", ";", "[", "]", "{", "}", "<", ">", "=", "http://", "URL=http://"); $replace = array("'", "'", '"', '"', "-", "-", "---", "--", "no.", ",", "", "", "", "", "", "", "-", "", ""); return str_replace($search, $replace, $string); } $printline = convert_smart_quotes($_POST['PrintLine']); $address = convert_smart_quotes($_POST['Address']); $editRecordArray = array('Main' => $_POST['Main'],'PrintLine' => stripslashes($printline), 'Address' => stripslashes($address),'Phone' => stripslashes($_POST['Phone']), 'Embarq' => $_POST['Embarq']); $edit=new FX(FM_IP, FM_PORT, FM_VERSION); $edit->SetDBData(FM_DATABASE, 'SeeAll'); $edit->SetDBUserPass(FM_USERNAME, FM_PASSWORD); $edit->AddDBParam('-recid',$recid); $edit->AddDBParamArray($editRecordArray); $editResult=$edit->FMEdit(); if ($editResult['errorCode']!=0) { echo "
Error Code: ".$editResult['errorCode']; } else { echo "Thanks!"; echo $recid; //header("Location: http://www2.otc.fsu.edu/Forms/DD_Test/show_all3.php"); } } ?> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090606/b5c41f69/attachment-0001.html From pvanbuskirk at otc.fsu.edu Sat Jun 6 06:48:43 2009 From: pvanbuskirk at otc.fsu.edu (VanBuskirk, Patricia) Date: Sat Jun 6 06:49:06 2009 Subject: [FX.php List] FW: FX.php problem ... Record Not Found Message-ID: <70129CA6F836494CA5FD774FEA14E1A30115FA31@fsu-exch-12.fsu.edu> I forgot to mark it as plain text, and I did not see it come through ... so, here we try again... From: VanBuskirk, Patricia Sent: Saturday, June 06, 2009 8:45 AM To: FX.php_List@mail.iviking.org Subject: FX.php problem ... Record Not Found Hi group .. this is driving me crazy.? I've managed to get all the records showing on one page, in a form to edit.? However, when I click the SAVE button, I receive a "Record Not Found" error.? Can someone see where I've gone wrong?? The first part is the form the user goes to after logging on, the second part is the response page.? Note: The delete buttons work, as well as the create-new form.? The Edit portion gives me the error.? Thanks in advance! SetDBData(FM_DATABASE, 'SG_Users'); // set database username and password (uses info in included file 'server_data3.php) $users->SetDBPassword(FM_USERNAME, FM_PASSWORD); // specify the search criteria $users->AddDBParam ('_p_UserID', $userID, 'eq'); // performs find $usersResult=$users->FMFind(); $sectionName=new FX(FM_IP, FM_PORT, FM_VERSION); $sectionName->SetDBData(FM_DATABASE, 'SG_Sections', 'all'); $sectionName->SetDBUserPass(FM_USERNAME, FM_PASSWORD); $sectionName->AddDBParam ('_UserID', $userID, 'eq'); $sectionName->AddDBParam ('SectionIncorrect', "X", 'neq'); $sectionName->AddSortParam('_SectionID','ascend'); $sectionResult=$sectionName->FMFind(); $deptListQuery=new FX(FM_IP, FM_PORT, FM_VERSION); $deptListQuery->SetDBData(FM_DATABASE, 'SeeAll', 'all'); $deptListQuery->SetDBUserPass(FM_USERNAME, FM_PASSWORD); $deptListQuery->AddDBParam ('_UserID', $userID, 'eq'); $deptListQuery->AddDBParam ('SG_Sections::SectionIncorrect', "X", 'neq'); $deptListQuery->AddSortParam('SG_Sections::SectionName','ascend'); $deptListQuery->AddSortParam('PrintOrder','ascend'); $deptListQuery->AddSortParam('Main','descend'); $deptListQuery->AddSortParam('PrintLine','ascend'); $deptList = $deptListQuery->FMFind(); include_once('SG_header.php'); ?> ? ??? ?
????? ??????? ????????? ??????? ??????? ????????? ????????? ????????? ????????? ????????? ????????? ????????? ????????? ????????? ??????? ??????? ????????? ??????? ??????? $Listing){ ??????????????? $recordDetails=explode('.',$currentID); ??????????????? $Record=$recordDetails[0]; ??????????????? ?> ??????? ????????? ' /> ????????? ????????? ??????????? ??????????? ??????????? ??????????? ??????????? ??????????? ??????????? ??????????? ??????????? ????????? ??????????????????????????????? ? ??????? ?????
You Have LISTING(S)
DeleteSection NamePrint
??????????? Order
*
???????????
Main
??????????? Listing?
ListingAddress
Phone #
???????????  XXX-XXXX
**
??????????? Embarq?
Save
????????? Changes
Address Format: Room number, Building abbreviation - i.e. 6100 UCC
delete' size='3' align='center' />' size='2' />' size='50' />' size='15' />' size='10' />' size='2' />???????????
????? ??? ????? ?
ADD NEW LINE:
? ??? ??? ??? ??? ??? ??? ??? ??? ? ??? ????? ??????? ????????? ????????? ????????? ????????? ????????? ????????? ????????? ????? ????? ??????? ??????? ?
Section ????? NamePrint
????? Order
MainListingAddressPhone
????? #
Embarq 
????????? ?????????????????????????????????? ??????????? ?????????
  ?????????
???????????????

Edit_response.php: "; ??????????????? echo "

ERROR: You must be logged in to go to this page!

"; ??????????????? echo "

Login


"; ??????????????? include_once('SG_footer2.php'); ??????????????? exit(); ??????????????? } else { ??????????????? $userID=$_SESSION['UID']; $recid=$_POST['recid']; function convert_smart_quotes($string) { ???? $search = array(chr(145), ??????????????? ???????????????? chr(146), ??????????????????????????????????????????????????????????????????????????????? ?chr(147), ??????????????????????????????????????????????????????????????????????????????? ?chr(148), ??????????????????????????????????????????????????????????????????????????????? ?chr(150), ??????????????????????????????????????????????????????????????????????????????? ?chr(151), ??????????????????????????????????????????????????????????????????????????????? ?"-", ??????????????????????????????????????????????????????????????????????????????? ?"-", ??????????????????????????????????????????????????????????????????????????????? ?"#", ??????????????????????????????????????????????????????????????????????????????? ?";", ??????????????????????????????????????????????????????????????????????????????? ?"[", ??????????????????????????????????????????????????????????????????????????????? ?"]", ??????????????????????????????????????????????????????????????????????????????? ?"{", ??????????????????????????????????????????????????????????????????????????????? ?"}", ??????????????????????????????????????????????????????????????????????????????? ?"<", ??????????????????????????????????????????????????????????????????????????????? ?">", ??????????????????????????????????????????????????????????????????????????????? ?"=", ??????????????????????????????????????????????????????????????????????????????? ?"http://", ??????????????????????????????????????????????????????????????????????????????? ?"URL=http://"); ????? $replace = array("'", ??????????????? ?????????????????? "'", ??????????????????????????????????????????????????????????????????????????????? ?? '"', ??????????????????????????????????????????????????????????????????????????????? ?? '"', ??????????????????????????????????????????????????????????????????????????????? ?? "-", ??????????????????????????????????????????????????????????????????????????????? ?? "-", ??????????????????????????????????????????????????????????????????????????????? ?? "---", ??????????????????????????????????????????????????????????????????????????????? ?? "--", ??????????????????????????????????????????????????????????????????????????????? ?? "no.", ??????????????????????????????????????????????????????????????????????????????? ?? ",", ??????????????????????????????????????????????????????????????????????????????? ?? "", ??????????????????????????????????????????????????????????????????????????????? ?? "", ??????????????????????????????????????????????????????????????????????????????? ?? "", ??????????????????????????????????????????????????????????????????????????????? ?? "", ??????????????????????????????????????????????????????????????????????????????? ?? "", ??????????????????????????????????????????????????????????????????????????????? ?? "", ??????????????????????????????????????????????????????????????????????????????? ?? "-", ??????????????????????????????????????????????????????????????????????????????? ?? "", ??????????????????????????????????????????????????????????????????????????????? ?? ""); ????? return str_replace($search, $replace, $string); } $printline = convert_smart_quotes($_POST['PrintLine']); $address = convert_smart_quotes($_POST['Address']); $editRecordArray = array('Main' => $_POST['Main'],'PrintLine' => stripslashes($printline), 'Address' => stripslashes($address),'Phone' => stripslashes($_POST['Phone']), 'Embarq' => $_POST['Embarq']); $edit=new FX(FM_IP, FM_PORT, FM_VERSION); $edit->SetDBData(FM_DATABASE, 'SeeAll'); $edit->SetDBUserPass(FM_USERNAME, FM_PASSWORD); $edit->AddDBParam('-recid',$recid); $edit->AddDBParamArray($editRecordArray); $editResult=$edit->FMEdit(); if ($editResult['errorCode']!=0) { ??????????????? echo "
Error Code:? ".$editResult['errorCode']; ??????????????? } else { ??????????????? echo "Thanks!"; ??????????????? echo $recid; ??????????????? //header("Location: http://www2.otc.fsu.edu/Forms/DD_Test/show_all3.php"); ??????????????? } } ?> From ggt667 at gmail.com Sat Jun 6 06:53:08 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Sat Jun 6 08:04:20 2009 Subject: [FX.php List] FW: FX.php problem ... Record Not Found In-Reply-To: References: <70129CA6F836494CA5FD774FEA14E1A30115FA31@fsu-exch-12.fsu.edu> Message-ID: One for each file preforably... 2009/6/6 Gjermund Gusland Thorsen : > How about using pastebin.com? > > ggt > > 2009/6/6 VanBuskirk, Patricia : >> I forgot to mark it as plain text, and I did not see it come through ... so, here we try again... >> >> From: VanBuskirk, Patricia >> Sent: Saturday, June 06, 2009 8:45 AM >> To: FX.php_List@mail.iviking.org >> Subject: FX.php problem ... Record Not Found >> >> Hi group .. this is driving me crazy.? I've managed to get all the records showing on one page, in a form to edit.? However, when I click the SAVE button, I receive a "Record Not Found" error.? Can someone see where I've gone wrong?? The first part is the form the user goes to after logging on, the second part is the response page.? Note: The delete buttons work, as well as the create-new form.? The Edit portion gives me the error.? Thanks in advance! >> >> > session_start(); >> require_once('server_data3.php'); >> require_once('FX.php'); >> include_once('FMErrors.php'); >> >> $userID = $_SESSION['UID']; >> >> // configure a connection to FileMaker Server Advanced >> $users=new FX(FM_IP, FM_PORT, FM_VERSION); >> // set database and layout information (uses info in included file 'server_data3.php) >> $users->SetDBData(FM_DATABASE, 'SG_Users'); >> // set database username and password (uses info in included file 'server_data3.php) >> $users->SetDBPassword(FM_USERNAME, FM_PASSWORD); >> // specify the search criteria >> $users->AddDBParam ('_p_UserID', $userID, 'eq'); >> // performs find >> $usersResult=$users->FMFind(); >> >> $sectionName=new FX(FM_IP, FM_PORT, FM_VERSION); >> $sectionName->SetDBData(FM_DATABASE, 'SG_Sections', 'all'); >> $sectionName->SetDBUserPass(FM_USERNAME, FM_PASSWORD); >> $sectionName->AddDBParam ('_UserID', $userID, 'eq'); >> $sectionName->AddDBParam ('SectionIncorrect', "X", 'neq'); >> $sectionName->AddSortParam('_SectionID','ascend'); >> $sectionResult=$sectionName->FMFind(); >> >> $deptListQuery=new FX(FM_IP, FM_PORT, FM_VERSION); >> $deptListQuery->SetDBData(FM_DATABASE, 'SeeAll', 'all'); >> $deptListQuery->SetDBUserPass(FM_USERNAME, FM_PASSWORD); >> $deptListQuery->AddDBParam ('_UserID', $userID, 'eq'); >> $deptListQuery->AddDBParam ('SG_Sections::SectionIncorrect', "X", 'neq'); >> $deptListQuery->AddSortParam('SG_Sections::SectionName','ascend'); >> $deptListQuery->AddSortParam('PrintOrder','ascend'); >> $deptListQuery->AddSortParam('Main','descend'); >> $deptListQuery->AddSortParam('PrintLine','ascend'); >> $deptList = $deptListQuery->FMFind(); >> >> include_once('SG_header.php'); >> ?> >> >> >> ? >> ??? >> ? >>
>> ????? >> ??????? >> ????????? >> ??????? >> ??????? >> ????????? >> ????????? >> ????????? >> ????????? >> ????????? >> ????????? >> ????????? >> ????????? >> ????????? >> ??????? >> ??????? >> ????????? >> ??????? >> ??????? > ??????????????? foreach($deptList['data'] as $currentID=>$Listing){ >> ??????????????? $recordDetails=explode('.',$currentID); >> ??????????????? $Record=$recordDetails[0]; >> ??????????????? ?> >> ??????? >> ????????? ' /> >> ????????? >> ????????? >> ??????????? >> ??????????? >> ??????????? >> ??????????? >> ??????????? >> ??????????? >> ??????????? >> ??????????? >> ??????????? >> ????????? >> ??????????????????????????????? ? > ??????????????????????????????? ? } >> ??????????????????????????????? ? ?> >> ??????? >> ?????
You Have LISTING(S)
DeleteSection NamePrint
>> ??????????? Order
*
>> ???????????
Main
>> ??????????? Listing?
ListingAddress
Phone #
>> ???????????  XXX-XXXX
**
>> ??????????? Embarq?
Save
>> ????????? Changes
Address Format: Room number, Building abbreviation - i.e. 6100 UCC
delete' size='3' align='center' />' size='2' />' size='50' />' size='15' />' size='10' />' size='2' />???????????
>> ????? >> ??? >> ????? >> ? >>
ADD NEW LINE:
>> >> ? >> ??? >> ??? >> ??? >> ??? >> ??? >> ??? >> ??? >> ??? >> ? >> ??? >> ????? >> ??????? >> ????????? >> ????????? >> ????????? >> ????????? >> ????????? >> ????????? >> ????????? >> ????? >> ????? >> ??????? >> ??????? >> ? >>
Section >> ????? NamePrint
>> ????? Order
MainListingAddressPhone
>> ????? #
Embarq 
>> ????????? ?????????????????????????????????? >> ??????????? >> ?????????
  >> ?????????
>> ???????????????
>>
>> > include_once('SG_footer.php'); >> ?> >> >> >> >> Edit_response.php: >> >> > session_start(); // Turn on sessions >> include_once('FX.php'); >> include_once('server_data3.php'); >> include_once('FMErrors.php'); >> >> if (!isset($_POST['recid'])) { >> ??????????????? include_once('SG_header.php'); >> ??????????????? echo "
"; >> ??????????????? echo "

ERROR: You must be logged in to go to this page!

"; >> ??????????????? echo "

Login


"; >> ??????????????? include_once('SG_footer2.php'); >> ??????????????? exit(); >> ??????????????? } else { >> >> $userID=$_SESSION['UID']; >> $recid=$_POST['recid']; >> >> function convert_smart_quotes($string) >> { >> ???? $search = array(chr(145), >> ??????????????? ???????????????? chr(146), >> ??????????????????????????????????????????????????????????????????????????????? ?chr(147), >> ??????????????????????????????????????????????????????????????????????????????? ?chr(148), >> ??????????????????????????????????????????????????????????????????????????????? ?chr(150), >> ??????????????????????????????????????????????????????????????????????????????? ?chr(151), >> ??????????????????????????????????????????????????????????????????????????????? ?"-", >> ??????????????????????????????????????????????????????????????????????????????? ?"-", >> ??????????????????????????????????????????????????????????????????????????????? ?"#", >> ??????????????????????????????????????????????????????????????????????????????? ?";", >> ??????????????????????????????????????????????????????????????????????????????? ?"[", >> ??????????????????????????????????????????????????????????????????????????????? ?"]", >> ??????????????????????????????????????????????????????????????????????????????? ?"{", >> ??????????????????????????????????????????????????????????????????????????????? ?"}", >> ??????????????????????????????????????????????????????????????????????????????? ?"<", >> ??????????????????????????????????????????????????????????????????????????????? ?">", >> ??????????????????????????????????????????????????????????????????????????????? ?"=", >> ??????????????????????????????????????????????????????????????????????????????? ?"http://", >> ??????????????????????????????????????????????????????????????????????????????? ?"URL=http://"); >> ????? $replace = array("'", >> ??????????????? ?????????????????? "'", >> ??????????????????????????????????????????????????????????????????????????????? ?? '"', >> ??????????????????????????????????????????????????????????????????????????????? ?? '"', >> ??????????????????????????????????????????????????????????????????????????????? ?? "-", >> ??????????????????????????????????????????????????????????????????????????????? ?? "-", >> ??????????????????????????????????????????????????????????????????????????????? ?? "---", >> ??????????????????????????????????????????????????????????????????????????????? ?? "--", >> ??????????????????????????????????????????????????????????????????????????????? ?? "no.", >> ??????????????????????????????????????????????????????????????????????????????? ?? ",", >> ??????????????????????????????????????????????????????????????????????????????? ?? "", >> ??????????????????????????????????????????????????????????????????????????????? ?? "", >> ??????????????????????????????????????????????????????????????????????????????? ?? "", >> ??????????????????????????????????????????????????????????????????????????????? ?? "", >> ??????????????????????????????????????????????????????????????????????????????? ?? "", >> ??????????????????????????????????????????????????????????????????????????????? ?? "", >> ??????????????????????????????????????????????????????????????????????????????? ?? "-", >> ??????????????????????????????????????????????????????????????????????????????? ?? "", >> ??????????????????????????????????????????????????????????????????????????????? ?? ""); >> ????? return str_replace($search, $replace, $string); } >> >> $printline = convert_smart_quotes($_POST['PrintLine']); >> $address = convert_smart_quotes($_POST['Address']); >> >> $editRecordArray = array('Main' => $_POST['Main'],'PrintLine' => stripslashes($printline), 'Address' => stripslashes($address),'Phone' => stripslashes($_POST['Phone']), 'Embarq' => $_POST['Embarq']); >> >> $edit=new FX(FM_IP, FM_PORT, FM_VERSION); >> $edit->SetDBData(FM_DATABASE, 'SeeAll'); >> $edit->SetDBUserPass(FM_USERNAME, FM_PASSWORD); >> $edit->AddDBParam('-recid',$recid); >> $edit->AddDBParamArray($editRecordArray); >> $editResult=$edit->FMEdit(); >> >> if ($editResult['errorCode']!=0) { >> ??????????????? echo "
Error Code:? ".$editResult['errorCode']; >> ??????????????? } else { >> ??????????????? echo "Thanks!"; >> ??????????????? echo $recid; >> ??????????????? //header("Location: http://www2.otc.fsu.edu/Forms/DD_Test/show_all3.php"); >> ??????????????? } >> } >> ?> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> > From ggt667 at gmail.com Sat Jun 6 06:50:47 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Sat Jun 6 11:54:25 2009 Subject: [FX.php List] FW: FX.php problem ... Record Not Found In-Reply-To: <70129CA6F836494CA5FD774FEA14E1A30115FA31@fsu-exch-12.fsu.edu> References: <70129CA6F836494CA5FD774FEA14E1A30115FA31@fsu-exch-12.fsu.edu> Message-ID: How about using pastebin.com? ggt 2009/6/6 VanBuskirk, Patricia : > I forgot to mark it as plain text, and I did not see it come through ... so, here we try again... > > From: VanBuskirk, Patricia > Sent: Saturday, June 06, 2009 8:45 AM > To: FX.php_List@mail.iviking.org > Subject: FX.php problem ... Record Not Found > > Hi group .. this is driving me crazy.? I've managed to get all the records showing on one page, in a form to edit.? However, when I click the SAVE button, I receive a "Record Not Found" error.? Can someone see where I've gone wrong?? The first part is the form the user goes to after logging on, the second part is the response page.? Note: The delete buttons work, as well as the create-new form.? The Edit portion gives me the error.? Thanks in advance! > > session_start(); > require_once('server_data3.php'); > require_once('FX.php'); > include_once('FMErrors.php'); > > $userID = $_SESSION['UID']; > > // configure a connection to FileMaker Server Advanced > $users=new FX(FM_IP, FM_PORT, FM_VERSION); > // set database and layout information (uses info in included file 'server_data3.php) > $users->SetDBData(FM_DATABASE, 'SG_Users'); > // set database username and password (uses info in included file 'server_data3.php) > $users->SetDBPassword(FM_USERNAME, FM_PASSWORD); > // specify the search criteria > $users->AddDBParam ('_p_UserID', $userID, 'eq'); > // performs find > $usersResult=$users->FMFind(); > > $sectionName=new FX(FM_IP, FM_PORT, FM_VERSION); > $sectionName->SetDBData(FM_DATABASE, 'SG_Sections', 'all'); > $sectionName->SetDBUserPass(FM_USERNAME, FM_PASSWORD); > $sectionName->AddDBParam ('_UserID', $userID, 'eq'); > $sectionName->AddDBParam ('SectionIncorrect', "X", 'neq'); > $sectionName->AddSortParam('_SectionID','ascend'); > $sectionResult=$sectionName->FMFind(); > > $deptListQuery=new FX(FM_IP, FM_PORT, FM_VERSION); > $deptListQuery->SetDBData(FM_DATABASE, 'SeeAll', 'all'); > $deptListQuery->SetDBUserPass(FM_USERNAME, FM_PASSWORD); > $deptListQuery->AddDBParam ('_UserID', $userID, 'eq'); > $deptListQuery->AddDBParam ('SG_Sections::SectionIncorrect', "X", 'neq'); > $deptListQuery->AddSortParam('SG_Sections::SectionName','ascend'); > $deptListQuery->AddSortParam('PrintOrder','ascend'); > $deptListQuery->AddSortParam('Main','descend'); > $deptListQuery->AddSortParam('PrintLine','ascend'); > $deptList = $deptListQuery->FMFind(); > > include_once('SG_header.php'); > ?> > > > ? > ??? > ? >
> ????? > ??????? > ????????? > ??????? > ??????? > ????????? > ????????? > ????????? > ????????? > ????????? > ????????? > ????????? > ????????? > ????????? > ??????? > ??????? > ????????? > ??????? > ??????? ??????????????? foreach($deptList['data'] as $currentID=>$Listing){ > ??????????????? $recordDetails=explode('.',$currentID); > ??????????????? $Record=$recordDetails[0]; > ??????????????? ?> > ??????? > ????????? ' /> > ????????? > ????????? > ??????????? > ??????????? > ??????????? > ??????????? > ??????????? > ??????????? > ??????????? > ??????????? > ??????????? > ????????? > ??????????????????????????????? ? ??????????????????????????????? ? } > ??????????????????????????????? ? ?> > ??????? > ?????
You Have LISTING(S)
DeleteSection NamePrint
> ??????????? Order
*
> ???????????
Main
> ??????????? Listing?
ListingAddress
Phone #
> ???????????  XXX-XXXX
**
> ??????????? Embarq?
Save
> ????????? Changes
Address Format: Room number, Building abbreviation - i.e. 6100 UCC
delete' size='3' align='center' />' size='2' />' size='50' />' size='15' />' size='10' />' size='2' />???????????
> ????? > ??? > ????? > ? >
ADD NEW LINE:
> > ? > ??? > ??? > ??? > ??? > ??? > ??? > ??? > ??? > ? > ??? > ????? > ??????? > ????????? > ????????? > ????????? > ????????? > ????????? > ????????? > ????????? > ????? > ????? > ??????? > ??????? > ? >
Section > ????? NamePrint
> ????? Order
MainListingAddressPhone
> ????? #
Embarq 
> ????????? ?????????????????????????????????? > ??????????? > ?????????
  > ?????????
> ???????????????
>
> include_once('SG_footer.php'); > ?> > > > > Edit_response.php: > > session_start(); // Turn on sessions > include_once('FX.php'); > include_once('server_data3.php'); > include_once('FMErrors.php'); > > if (!isset($_POST['recid'])) { > ??????????????? include_once('SG_header.php'); > ??????????????? echo "
"; > ??????????????? echo "

ERROR: You must be logged in to go to this page!

"; > ??????????????? echo "

Login


"; > ??????????????? include_once('SG_footer2.php'); > ??????????????? exit(); > ??????????????? } else { > > $userID=$_SESSION['UID']; > $recid=$_POST['recid']; > > function convert_smart_quotes($string) > { > ???? $search = array(chr(145), > ??????????????? ???????????????? chr(146), > ??????????????????????????????????????????????????????????????????????????????? ?chr(147), > ??????????????????????????????????????????????????????????????????????????????? ?chr(148), > ??????????????????????????????????????????????????????????????????????????????? ?chr(150), > ??????????????????????????????????????????????????????????????????????????????? ?chr(151), > ??????????????????????????????????????????????????????????????????????????????? ?"-", > ??????????????????????????????????????????????????????????????????????????????? ?"-", > ??????????????????????????????????????????????????????????????????????????????? ?"#", > ??????????????????????????????????????????????????????????????????????????????? ?";", > ??????????????????????????????????????????????????????????????????????????????? ?"[", > ??????????????????????????????????????????????????????????????????????????????? ?"]", > ??????????????????????????????????????????????????????????????????????????????? ?"{", > ??????????????????????????????????????????????????????????????????????????????? ?"}", > ??????????????????????????????????????????????????????????????????????????????? ?"<", > ??????????????????????????????????????????????????????????????????????????????? ?">", > ??????????????????????????????????????????????????????????????????????????????? ?"=", > ??????????????????????????????????????????????????????????????????????????????? ?"http://", > ??????????????????????????????????????????????????????????????????????????????? ?"URL=http://"); > ????? $replace = array("'", > ??????????????? ?????????????????? "'", > ??????????????????????????????????????????????????????????????????????????????? ?? '"', > ??????????????????????????????????????????????????????????????????????????????? ?? '"', > ??????????????????????????????????????????????????????????????????????????????? ?? "-", > ??????????????????????????????????????????????????????????????????????????????? ?? "-", > ??????????????????????????????????????????????????????????????????????????????? ?? "---", > ??????????????????????????????????????????????????????????????????????????????? ?? "--", > ??????????????????????????????????????????????????????????????????????????????? ?? "no.", > ??????????????????????????????????????????????????????????????????????????????? ?? ",", > ??????????????????????????????????????????????????????????????????????????????? ?? "", > ??????????????????????????????????????????????????????????????????????????????? ?? "", > ??????????????????????????????????????????????????????????????????????????????? ?? "", > ??????????????????????????????????????????????????????????????????????????????? ?? "", > ??????????????????????????????????????????????????????????????????????????????? ?? "", > ??????????????????????????????????????????????????????????????????????????????? ?? "", > ??????????????????????????????????????????????????????????????????????????????? ?? "-", > ??????????????????????????????????????????????????????????????????????????????? ?? "", > ??????????????????????????????????????????????????????????????????????????????? ?? ""); > ????? return str_replace($search, $replace, $string); } > > $printline = convert_smart_quotes($_POST['PrintLine']); > $address = convert_smart_quotes($_POST['Address']); > > $editRecordArray = array('Main' => $_POST['Main'],'PrintLine' => stripslashes($printline), 'Address' => stripslashes($address),'Phone' => stripslashes($_POST['Phone']), 'Embarq' => $_POST['Embarq']); > > $edit=new FX(FM_IP, FM_PORT, FM_VERSION); > $edit->SetDBData(FM_DATABASE, 'SeeAll'); > $edit->SetDBUserPass(FM_USERNAME, FM_PASSWORD); > $edit->AddDBParam('-recid',$recid); > $edit->AddDBParamArray($editRecordArray); > $editResult=$edit->FMEdit(); > > if ($editResult['errorCode']!=0) { > ??????????????? echo "
Error Code:? ".$editResult['errorCode']; > ??????????????? } else { > ??????????????? echo "Thanks!"; > ??????????????? echo $recid; > ??????????????? //header("Location: http://www2.otc.fsu.edu/Forms/DD_Test/show_all3.php"); > ??????????????? } > } > ?> > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From jschwartz at exit445.com Sat Jun 6 13:36:47 2009 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Sat Jun 6 13:38:45 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. SOLVED In-Reply-To: <4A2A4846.6020806@pointinspace.com> References: <5FCC589D-44D3-4A16-9070-4907B839FF9E@lucerneblvd.org> <11A0B10C-CA74-46C7-A33B-D677F0CC4F0E@patin.com> <4A2A4846.6020806@pointinspace.com> Message-ID: Turms out that FMS10 WAS NOT reinstalled. The PHP Publishing, however, was "re-implemented" or whatever they call it. That being said, I' pretty sure that the source of the problem is related to the immediate renaming of the hard drive and no time to fully work through restarts to have FMPS find itself. The switch over was done live at 5am, with no time to mess around. BTW... This wasn't my machine. That's why the details are sketchy. Thanks. Jonathan At 6:43 AM -0400 6/6/09, John May wrote: >I've cloned an FMSA machine to different hardware before with no >problems. This would be on OS X. > > - John > > >Gjermund Gusland Thorsen wrote: >>Even the random function in FileMaker seems to produce different >>patterns depending on the NIC's MAC address. >> >>ggt >> >>2009/6/5 Gjermund Gusland Thorsen : >>>Cloning FMSA works if you clone it to a different disk on the same machine, >>>however the NICs MAC address has to match that of the installation. >>> >>>ggt >>> >>>2009/6/5 Bob Patin : >>>>I'm not surprised that cloning a server didn't work; FileMaker Server is so >>>>twitchy when it comes to pairing up with the WPE, and I'd expect that, >>>>unless you do it the way they prescribe, the WPE and server won't connect. >>>> >>>>I've tried installing WPE *after* installing FileMaker Server, >>>>and never got >>>>that to work; I had an instance when the WPE just quit working, requiring a >>>>re-install, and I had to go thru the whole process--uninstall FM Server, >>>>restart machine, uninstall WPE, then re-install it, then install FM Server. >>>> >>>>What a pain... >>>> >>>>So Jonathan, I *really* think you should rent a big bus and take >>>>us all on a >>>>tour of San Francisco during Devcon. Since you're the local guy, I'd think >>>>it's the *least* you could do. Dinner too, of course. >>>> >>>>I can't wait to ski behind the ship during the dinner cruise... >>>> >>>>Bob Patin >>>>Longterm Solutions >>>>bob@longtermsolutions.com >>>>615-333-6858 >>>>http://www.longtermsolutions.com >>>>iChat: bobpatin >>>>AIM: longterm1954 >>>>FileMaker 9 Certified Developer >>>>Member of FileMaker Business Alliance and FileMaker TechNet >>>>-------------------------- >>>>FileMaker hosting and consulting for all versions of FileMaker >>>>PHP * Full email services * Free DNS hosting * Colocation * Consulting >>>> >>>>On Jun 5, 2009, at 11:32 AM, Jonathan Schwartz wrote: >>>> >>>>>Huh??? >>>>> >>>>>J >>>>> >>>>>At 5:06 PM +0200 6/5/09, Gjermund Gusland Thorsen wrote: >>>>>>Probably changing the ethernet and WiFi NIC address would have solved >>>>>>the problem, however it is a hack and not a good solution. >>>>>> >>>>>>ggt >>>>>> > > >-- > >------------------------------------------------------------------- >John May : President http://www.pointinspace.com/ >Point In Space Internet Solutions jmay@pointinspace.com > > Professional FileMaker Pro, MySQL, PHP & Lasso Hosting > * FileMaker Pro 10 Hosting Now Available * > >_______________________________________________ >FX.php_List mailing list >FX.php_List@mail.iviking.org >http://www.iviking.org/mailman/listinfo/fx.php_list -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From jschwartz at exit445.com Sat Jun 6 14:14:03 2009 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Sat Jun 6 14:18:46 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. SOLVED In-Reply-To: <11A0B10C-CA74-46C7-A33B-D677F0CC4F0E@patin.com> References: <5FCC589D-44D3-4A16-9070-4907B839FF9E@lucerneblvd.org> <11A0B10C-CA74-46C7-A33B-D677F0CC4F0E@patin.com> Message-ID: Bob, You know...that's not a bad idea...even coming from you. ;-) Let me make a list of must-see destinations: - The Tenderloin District (never a dull moment) - George W Bush Sewage Plant (Well, almost) - Golden Gate Bridge (May want to bring parka and gloves in August) - Neraby Colma (Retirement Paradise) - Oakland (via Highway 580). All Aboard! Jonathan >At 11:45 AM -0500 6/5/09, Bob Patin wrote: >So Jonathan, I *really* think you should rent a big bus and take us >all on a tour of San Francisco during Devcon. Since you're the local >guy, I'd think it's the *least* you could do. Dinner too, of course. > >I can't wait to ski behind the ship during the dinner cruise... > >Bob Patin >Longterm Solutions >bob@longtermsolutions.com >615-333-6858 -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090606/0c17bac8/attachment.html From ggt667 at gmail.com Sat Jun 6 06:50:47 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Sat Jun 6 16:37:59 2009 Subject: [FX.php List] FW: FX.php problem ... Record Not Found In-Reply-To: <70129CA6F836494CA5FD774FEA14E1A30115FA31@fsu-exch-12.fsu.edu> References: <70129CA6F836494CA5FD774FEA14E1A30115FA31@fsu-exch-12.fsu.edu> Message-ID: How about using pastebin.com? ggt 2009/6/6 VanBuskirk, Patricia : > I forgot to mark it as plain text, and I did not see it come through ... so, here we try again... > > From: VanBuskirk, Patricia > Sent: Saturday, June 06, 2009 8:45 AM > To: FX.php_List@mail.iviking.org > Subject: FX.php problem ... Record Not Found > > Hi group .. this is driving me crazy.? I've managed to get all the records showing on one page, in a form to edit.? However, when I click the SAVE button, I receive a "Record Not Found" error.? Can someone see where I've gone wrong?? The first part is the form the user goes to after logging on, the second part is the response page.? Note: The delete buttons work, as well as the create-new form.? The Edit portion gives me the error.? Thanks in advance! > > session_start(); > require_once('server_data3.php'); > require_once('FX.php'); > include_once('FMErrors.php'); > > $userID = $_SESSION['UID']; > > // configure a connection to FileMaker Server Advanced > $users=new FX(FM_IP, FM_PORT, FM_VERSION); > // set database and layout information (uses info in included file 'server_data3.php) > $users->SetDBData(FM_DATABASE, 'SG_Users'); > // set database username and password (uses info in included file 'server_data3.php) > $users->SetDBPassword(FM_USERNAME, FM_PASSWORD); > // specify the search criteria > $users->AddDBParam ('_p_UserID', $userID, 'eq'); > // performs find > $usersResult=$users->FMFind(); > > $sectionName=new FX(FM_IP, FM_PORT, FM_VERSION); > $sectionName->SetDBData(FM_DATABASE, 'SG_Sections', 'all'); > $sectionName->SetDBUserPass(FM_USERNAME, FM_PASSWORD); > $sectionName->AddDBParam ('_UserID', $userID, 'eq'); > $sectionName->AddDBParam ('SectionIncorrect', "X", 'neq'); > $sectionName->AddSortParam('_SectionID','ascend'); > $sectionResult=$sectionName->FMFind(); > > $deptListQuery=new FX(FM_IP, FM_PORT, FM_VERSION); > $deptListQuery->SetDBData(FM_DATABASE, 'SeeAll', 'all'); > $deptListQuery->SetDBUserPass(FM_USERNAME, FM_PASSWORD); > $deptListQuery->AddDBParam ('_UserID', $userID, 'eq'); > $deptListQuery->AddDBParam ('SG_Sections::SectionIncorrect', "X", 'neq'); > $deptListQuery->AddSortParam('SG_Sections::SectionName','ascend'); > $deptListQuery->AddSortParam('PrintOrder','ascend'); > $deptListQuery->AddSortParam('Main','descend'); > $deptListQuery->AddSortParam('PrintLine','ascend'); > $deptList = $deptListQuery->FMFind(); > > include_once('SG_header.php'); > ?> > > > ? > ??? > ? >
> ????? > ??????? > ????????? > ??????? > ??????? > ????????? > ????????? > ????????? > ????????? > ????????? > ????????? > ????????? > ????????? > ????????? > ??????? > ??????? > ????????? > ??????? > ??????? ??????????????? foreach($deptList['data'] as $currentID=>$Listing){ > ??????????????? $recordDetails=explode('.',$currentID); > ??????????????? $Record=$recordDetails[0]; > ??????????????? ?> > ??????? > ????????? ' /> > ????????? > ????????? > ??????????? > ??????????? > ??????????? > ??????????? > ??????????? > ??????????? > ??????????? > ??????????? > ??????????? > ????????? > ??????????????????????????????? ? ??????????????????????????????? ? } > ??????????????????????????????? ? ?> > ??????? > ?????
You Have LISTING(S)
DeleteSection NamePrint
> ??????????? Order
*
> ???????????
Main
> ??????????? Listing?
ListingAddress
Phone #
> ???????????  XXX-XXXX
**
> ??????????? Embarq?
Save
> ????????? Changes
Address Format: Room number, Building abbreviation - i.e. 6100 UCC
delete' size='3' align='center' />' size='2' />' size='50' />' size='15' />' size='10' />' size='2' />???????????
> ????? > ??? > ????? > ? >
ADD NEW LINE:
> > ? > ??? > ??? > ??? > ??? > ??? > ??? > ??? > ??? > ? > ??? > ????? > ??????? > ????????? > ????????? > ????????? > ????????? > ????????? > ????????? > ????????? > ????? > ????? > ??????? > ??????? > ? >
Section > ????? NamePrint
> ????? Order
MainListingAddressPhone
> ????? #
Embarq 
> ????????? ?????????????????????????????????? > ??????????? > ?????????
  > ?????????
> ???????????????
>
> include_once('SG_footer.php'); > ?> > > > > Edit_response.php: > > session_start(); // Turn on sessions > include_once('FX.php'); > include_once('server_data3.php'); > include_once('FMErrors.php'); > > if (!isset($_POST['recid'])) { > ??????????????? include_once('SG_header.php'); > ??????????????? echo "
"; > ??????????????? echo "

ERROR: You must be logged in to go to this page!

"; > ??????????????? echo "

Login


"; > ??????????????? include_once('SG_footer2.php'); > ??????????????? exit(); > ??????????????? } else { > > $userID=$_SESSION['UID']; > $recid=$_POST['recid']; > > function convert_smart_quotes($string) > { > ???? $search = array(chr(145), > ??????????????? ???????????????? chr(146), > ??????????????????????????????????????????????????????????????????????????????? ?chr(147), > ??????????????????????????????????????????????????????????????????????????????? ?chr(148), > ??????????????????????????????????????????????????????????????????????????????? ?chr(150), > ??????????????????????????????????????????????????????????????????????????????? ?chr(151), > ??????????????????????????????????????????????????????????????????????????????? ?"-", > ??????????????????????????????????????????????????????????????????????????????? ?"-", > ??????????????????????????????????????????????????????????????????????????????? ?"#", > ??????????????????????????????????????????????????????????????????????????????? ?";", > ??????????????????????????????????????????????????????????????????????????????? ?"[", > ??????????????????????????????????????????????????????????????????????????????? ?"]", > ??????????????????????????????????????????????????????????????????????????????? ?"{", > ??????????????????????????????????????????????????????????????????????????????? ?"}", > ??????????????????????????????????????????????????????????????????????????????? ?"<", > ??????????????????????????????????????????????????????????????????????????????? ?">", > ??????????????????????????????????????????????????????????????????????????????? ?"=", > ??????????????????????????????????????????????????????????????????????????????? ?"http://", > ??????????????????????????????????????????????????????????????????????????????? ?"URL=http://"); > ????? $replace = array("'", > ??????????????? ?????????????????? "'", > ??????????????????????????????????????????????????????????????????????????????? ?? '"', > ??????????????????????????????????????????????????????????????????????????????? ?? '"', > ??????????????????????????????????????????????????????????????????????????????? ?? "-", > ??????????????????????????????????????????????????????????????????????????????? ?? "-", > ??????????????????????????????????????????????????????????????????????????????? ?? "---", > ??????????????????????????????????????????????????????????????????????????????? ?? "--", > ??????????????????????????????????????????????????????????????????????????????? ?? "no.", > ??????????????????????????????????????????????????????????????????????????????? ?? ",", > ??????????????????????????????????????????????????????????????????????????????? ?? "", > ??????????????????????????????????????????????????????????????????????????????? ?? "", > ??????????????????????????????????????????????????????????????????????????????? ?? "", > ??????????????????????????????????????????????????????????????????????????????? ?? "", > ??????????????????????????????????????????????????????????????????????????????? ?? "", > ??????????????????????????????????????????????????????????????????????????????? ?? "", > ??????????????????????????????????????????????????????????????????????????????? ?? "-", > ??????????????????????????????????????????????????????????????????????????????? ?? "", > ??????????????????????????????????????????????????????????????????????????????? ?? ""); > ????? return str_replace($search, $replace, $string); } > > $printline = convert_smart_quotes($_POST['PrintLine']); > $address = convert_smart_quotes($_POST['Address']); > > $editRecordArray = array('Main' => $_POST['Main'],'PrintLine' => stripslashes($printline), 'Address' => stripslashes($address),'Phone' => stripslashes($_POST['Phone']), 'Embarq' => $_POST['Embarq']); > > $edit=new FX(FM_IP, FM_PORT, FM_VERSION); > $edit->SetDBData(FM_DATABASE, 'SeeAll'); > $edit->SetDBUserPass(FM_USERNAME, FM_PASSWORD); > $edit->AddDBParam('-recid',$recid); > $edit->AddDBParamArray($editRecordArray); > $editResult=$edit->FMEdit(); > > if ($editResult['errorCode']!=0) { > ??????????????? echo "
Error Code:? ".$editResult['errorCode']; > ??????????????? } else { > ??????????????? echo "Thanks!"; > ??????????????? echo $recid; > ??????????????? //header("Location: http://www2.otc.fsu.edu/Forms/DD_Test/show_all3.php"); > ??????????????? } > } > ?> > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From tim at nicheit.com.au Sat Jun 6 18:00:49 2009 From: tim at nicheit.com.au (Tim 'Webko' Booth) Date: Sat Jun 6 18:00:55 2009 Subject: [FX.php List] FW: FX.php problem ... Record Not Found In-Reply-To: <70129CA6F836494CA5FD774FEA14E1A30115FA31@fsu-exch-12.fsu.edu> References: <70129CA6F836494CA5FD774FEA14E1A30115FA31@fsu-exch-12.fsu.edu> Message-ID: <70537220-219A-47F1-B358-5531CC4D9E3B@nicheit.com.au> On 06/06/2009, at 10:48 PM, VanBuskirk, Patricia wrote: > ' Check your rendered html code to see if this has a value - I can't see $Record defined before it is called... Cheers Webko From pvanbuskirk at otc.fsu.edu Sat Jun 6 18:54:06 2009 From: pvanbuskirk at otc.fsu.edu (VanBuskirk, Patricia) Date: Sat Jun 6 19:02:42 2009 Subject: [FX.php List] FW: FX.php problem ... Record Not Found In-Reply-To: <70537220-219A-47F1-B358-5531CC4D9E3B@nicheit.com.au> References: <70129CA6F836494CA5FD774FEA14E1A30115FA31@fsu-exch-12.fsu.edu> <70537220-219A-47F1-B358-5531CC4D9E3B@nicheit.com.au> Message-ID: <70129CA6F836494CA5FD774FEA14E1A30115FA34@fsu-exch-12.fsu.edu> Thanks Webko and ggt! I figured it out .. my close form tag was outside of the table row close tag .. so it was confused! It now looks like this: I also got the re-sort-on-the-fly issue solved (with some help previously from the list) .. when they enter the new print order number, it submits the new number minus .5 into the print order field. It then runs a Filemaker script that searches for all their records, sorts them by print order, then does a replace contents using serial number. Works like a charm!! I shall sleep soundly tonight and dream about how much I love this list! :-) Thanks again, Trish -----Original Message----- From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Tim 'Webko' Booth Sent: Saturday, June 06, 2009 8:01 PM To: FX.php Discussion List Subject: Re: [FX.php List] FW: FX.php problem ... Record Not Found On 06/06/2009, at 10:48 PM, VanBuskirk, Patricia wrote: > ' Check your rendered html code to see if this has a value - I can't see $Record defined before it is called... Cheers Webko _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list From ggt667 at gmail.com Sat Jun 6 04:57:37 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Sat Jun 6 22:56:43 2009 Subject: [FX.php List] 802 Error on cloned machine. Help. SOLVED In-Reply-To: <4A2A4846.6020806@pointinspace.com> References: <11A0B10C-CA74-46C7-A33B-D677F0CC4F0E@patin.com> <4A2A4846.6020806@pointinspace.com> Message-ID: Me, too Process Carbon Copy Cloner launched from any disk, but the disk you want to clone If you want to run the clone on a different node, at least I had to change the NIC?s MAC address in order to make it run, this was with FMSA 8.0v4r2 in which I mainly use. ggt 2009/6/6 John May : > I've cloned an FMSA machine to different hardware before with no problems. > ?This would be on OS X. > > ? ? ? ?- John > > > Gjermund Gusland Thorsen wrote: >> >> Even the random function in FileMaker seems to produce different >> patterns depending on the NIC?s MAC address. >> >> ggt >> >> 2009/6/5 Gjermund Gusland Thorsen : >>> >>> Cloning FMSA works if you clone it to a different disk on the same >>> machine, >>> however the NICs MAC address has to match that of the installation. >>> >>> ggt >>> >>> 2009/6/5 Bob Patin : >>>> >>>> I'm not surprised that cloning a server didn't work; FileMaker Server is >>>> so >>>> twitchy when it comes to pairing up with the WPE, and I'd expect that, >>>> unless you do it the way they prescribe, the WPE and server won't >>>> connect. >>>> >>>> I've tried installing WPE *after* installing FileMaker Server, and never >>>> got >>>> that to work; I had an instance when the WPE just quit working, >>>> requiring a >>>> re-install, and I had to go thru the whole process--uninstall FM Server, >>>> restart machine, uninstall WPE, then re-install it, then install FM >>>> Server. >>>> >>>> What a pain... >>>> >>>> So Jonathan, I *really* think you should rent a big bus and take us all >>>> on a >>>> tour of San Francisco during Devcon. Since you're the local guy, I'd >>>> think >>>> it's the *least* you could do. Dinner too, of course. >>>> >>>> I can't wait to ski behind the ship during the dinner cruise... >>>> >>>> Bob Patin >>>> Longterm Solutions >>>> bob@longtermsolutions.com >>>> 615-333-6858 >>>> http://www.longtermsolutions.com >>>> iChat: bobpatin >>>> AIM: longterm1954 >>>> FileMaker 9 Certified Developer >>>> Member of FileMaker Business Alliance and FileMaker TechNet >>>> -------------------------- >>>> FileMaker hosting and consulting for all versions of FileMaker >>>> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >>>> >>>> On Jun 5, 2009, at 11:32 AM, Jonathan Schwartz wrote: >>>> >>>>> Huh??? >>>>> >>>>> J >>>>> >>>>> At 5:06 PM +0200 6/5/09, Gjermund Gusland Thorsen wrote: >>>>>> >>>>>> Probably changing the ethernet and WiFi NIC address would have solved >>>>>> the problem, however it is a hack and not a good solution. >>>>>> >>>>>> ggt >>>>>> > > > -- > > ------------------------------------------------------------------- > John May : President ? ? ? ? ? ? ? ? ? http://www.pointinspace.com/ > Point In Space Internet Solutions ? ? ? ? ? ? jmay@pointinspace.com > > ? ? ? Professional FileMaker Pro, MySQL, PHP & Lasso Hosting > ? ? ? ? ? ? * FileMaker Pro 10 Hosting Now Available * > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From ggt667 at gmail.com Wed Jun 10 04:22:27 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Wed Jun 10 04:22:32 2009 Subject: [FX.php List] [OT] Windows are any of you able to run CYGWIN stuff from within FileMaker? Message-ID: I would like to run CURL from FileMaker script on Windows. ggt From steve at bluecrocodile.co.nz Wed Jun 10 06:16:09 2009 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Wed Jun 10 06:16:28 2009 Subject: [FX.php List] [OT] Windows are any of you able to run CYGWIN stuff from within FileMaker? In-Reply-To: References: Message-ID: <15B5B3AB-6ED0-44CE-89D5-E8A34066802A@bluecrocodile.co.nz> Hi ggt... I'm afraid this time your question is as cryptic as some of your answers ;-) so not really sure what you mean, but could you use the web viewer to load the content that you want...? or could you use the web viewer to call a PHP script, which performed the cURL, and then based on the results from the cURL performed some other database actions? or...?? Maybe some more details of what you're trying to do might help...?? Cheers Steve On 10 Jun 2009, at 11:22, Gjermund Gusland Thorsen wrote: > I would like to run CURL from FileMaker script on Windows. > > ggt > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter steve@bluecrocodile.co.nz m: +44 77 7852 4776 3 Calshot Court, Channel Way Ocean Village, Southampton SO14 3GR -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090610/6f0769f1/attachment.html From ernest.cunningham at gmail.com Wed Jun 10 06:00:06 2009 From: ernest.cunningham at gmail.com (Ernest Cunningham) Date: Wed Jun 10 06:21:08 2009 Subject: [FX.php List] [OT] Windows are any of you able to run CYGWIN stuff from within FileMaker? In-Reply-To: References: Message-ID: <253FEF03-E6BF-475F-B58F-8DBA05476E2B@gmail.com> Yeah you can run Curl from windows using a few years ago. Lemmie find it: Ok, its been a while but here is part of the script I used and links to software I used. Dont have time to go over it but I hope this helps ya. Download curl for windows here: http://curl.haxx.se/download.html I triggered this using a plugin called Shell.fmx. However www.abstrakt.com no longer seams to be the proper website so I have attached the plugin but not sure if it will work with the latest FileMaker versions. If anybody needs the plugin email me, or even better if you are, or know the developer or how to get ahold of him her give me a buzz. Kind regards, Ernest Cunningham __________________________________________________________ FileMaker Database and iPhone Software Developer Nelson, New Zealand Ernest Cunningham Mobile: +64-21-40 66 75 Web Site: www.ging.co.nz __________________________________________________________ On 10/06/2009, at 10:22 PM, Gjermund Gusland Thorsen wrote: > I would like to run CURL from FileMaker script on Windows. > > ggt > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- Skipped content of type multipart/related From steve at bluecrocodile.co.nz Wed Jun 10 11:13:54 2009 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Wed Jun 10 11:14:07 2009 Subject: [FX.php List] Thoughts about line 1425 of FX.php Message-ID: Hi all, Not sure if anyone's ever seen this wee error; Warning: urlencode() expects parameter 1 to be string, array given in /path/to/fx/FX.php on line 1425 but I periodically get it, and today I decided to try and find out why... Turns out that the function it's part of BuildLinkQueryString () is taking the posted parameters and attempting to create a nice URL friendly string... Nice idea and all that, and maybe I'm the only one who ever does it, but I periodically push form data into an array, and it's that which is causing the issue... So, does anyone know how important (or not) that function is to the internal workings of FX...? it appears that it's attempting to create the old CDML style LinkNext, LinkPrevious type URL strings... anyone ever use those these days...?? Is this data also sued for anything else, I don't think so, since previously I've just ignored the error, with seemingly no ill effects... If it is as legacy as it looks, is it perhaps time to retire that function...? Any thoughts on how to deal with the array concept in post variables...? I guess the array could be exploded and then rebuilt as a strong in the form array[]=fred&array[]=spoon&array[]=lives&array[]here but if it's not needed....??? Cheers Steve Steve Winter steve@bluecrocodile.co.nz m: +44 77 7852 4776 3 Calshot Court, Channel Way Ocean Village, Southampton SO14 3GR -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090610/c41324f2/attachment.html From ggt667 at gmail.com Wed Jun 10 11:57:21 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Wed Jun 10 11:57:24 2009 Subject: [FX.php List] Thoughts about line 1425 of FX.php In-Reply-To: References: Message-ID: First off warning are not errors. Warnings are as the word says just telling you that something is not right, I use arrays all the time, and I do not really see that warning that off. I assume some brackets or escapes are not closed idiot proof to the array cowboys throwing arrays around like Indiana Jones with a whip. I have had people asking me if I am crazy when I explained my naming of variables setup a = action s[] = submitable data p[] = must be parsed before submission pre[] = prejudice, this one I use as _GET to prefill forms from a get query. ggt Another similar issue, in terms of hierarchy, is that FileMaker?s XML RPC returns an error for foundCount = 0 ggt667 2009/6/10 Steve Winter : > Hi all, > Not sure if anyone's ever seen this wee error; > Warning: urlencode() expects parameter 1 to be string, array given in > /path/to/fx/FX.php on line 1425 > but I periodically get it, and today I decided to try and find out why... > Turns out that the function it's part of?BuildLinkQueryString ()?is taking > the posted parameters and attempting to create a nice URL friendly > string... > Nice idea and all that, and maybe I'm the only one who ever does it, but I > periodically push form data into an array, and it's that which is causing > the issue... > So, does anyone know how important (or not) that function is to the internal > workings of FX...? it appears that it's?attempting?to create the old CDML > style LinkNext, LinkPrevious type URL strings... anyone ever use those these > days...?? Is this data also sued for anything else,?I don't think so, since > previously I've just ignored the error, with seemingly no ill effects... > If it is as?legacy?as it looks, is it perhaps time to retire that > function...? Any thoughts on how to deal with the array concept in post > variables...? I guess the array could be exploded and then rebuilt as a > strong in the form array[]=fred&array[]=spoon&array[]=lives&array[]here but > if it's not needed....??? > Cheers > Steve > > Steve Winter > steve@bluecrocodile.co.nz > m: +44 77 7852 4776 > 3 Calshot Court,?Channel Way > Ocean?Village,?Southampton?SO14 3GR > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > From steve at bluecrocodile.co.nz Wed Jun 10 13:34:22 2009 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Wed Jun 10 13:34:33 2009 Subject: [FX.php List] Thoughts about line 1425 of FX.php In-Reply-To: References: Message-ID: <22B9D42B-BF13-4429-AADD-7B87A83D309C@bluecrocodile.co.nz> Partially answering my own question, but not wanting to stifle the raging debate ;-) I turned line 1425 into; if(is_array($value)) { foreach($value as $partKey => $partValue) { $tempQueryString .= urlencode($key) . .urlencode('['.$partKey.']').'=' . urlencode($partValue) . '&'; } } else { $tempQueryString .= urlencode($key) . '=' . urlencode($value) . '&'; } which seems to make the error go away (which is always nice ;-). Anyone see any issues with this...? Cheers Steve On 10 Jun 2009, at 18:13, Steve Winter wrote: > Hi all, > > Not sure if anyone's ever seen this wee error; > Warning: urlencode() expects parameter 1 to be string, array given > in /path/to/fx/FX.php on line 1425 > but I periodically get it, and today I decided to try and find out > why... > > Turns out that the function it's part of BuildLinkQueryString () is > taking the posted parameters and attempting to create a nice URL > friendly string... > > Nice idea and all that, and maybe I'm the only one who ever does it, > but I periodically push form data into an array, and it's that which > is causing the issue... > > So, does anyone know how important (or not) that function is to the > internal workings of FX...? it appears that it's attempting to > create the old CDML style LinkNext, LinkPrevious type URL strings... > anyone ever use those these days...?? Is this data also sued for > anything else, I don't think so, since previously I've just ignored > the error, with seemingly no ill effects... > > If it is as legacy as it looks, is it perhaps time to retire that > function...? Any thoughts on how to deal with the array concept in > post variables...? I guess the array could be exploded and then > rebuilt as a strong in the form > array[]=fred&array[]=spoon&array[]=lives&array[]here but if it's not > needed....??? > > Cheers > Steve > > > Steve Winter > steve@bluecrocodile.co.nz > m: +44 77 7852 4776 > 3 Calshot Court, Channel Way > Ocean Village, Southampton SO14 3GR > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter steve@bluecrocodile.co.nz m: +44 77 7852 4776 3 Calshot Court, Channel Way Ocean Village, Southampton SO14 3GR -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090610/a515e4b3/attachment.html From dbengston at tds.net Wed Jun 10 15:33:49 2009 From: dbengston at tds.net (Dale Bengston) Date: Wed Jun 10 15:33:56 2009 Subject: [FX.php List] Thoughts about line 1425 of FX.php In-Reply-To: <22B9D42B-BF13-4429-AADD-7B87A83D309C@bluecrocodile.co.nz> References: <22B9D42B-BF13-4429-AADD-7B87A83D309C@bluecrocodile.co.nz> Message-ID: Steve, When did you get a warning like this? What triggered it? Or could you ever figure out why? Dale On Jun 10, 2009, at 2:34 PM, Steve Winter wrote: > Partially answering my own question, but not wanting to stifle the > raging debate ;-) I turned line 1425 into; > > if(is_array($value)) { > foreach($value as $partKey => $partValue) { > $tempQueryString .= > urlencode($key) . .urlencode('['.$partKey.']').'=' . > urlencode($partValue) . '&'; > } > } else { > $tempQueryString .= urlencode($key) . '=' . > urlencode($value) . '&'; > } > > which seems to make the error go away (which is always nice ;-). > Anyone see any issues with this...? > > Cheers > Steve > > > On 10 Jun 2009, at 18:13, Steve Winter wrote: > >> Hi all, >> >> Not sure if anyone's ever seen this wee error; >> Warning: urlencode() expects parameter 1 to be string, array given >> in /path/to/fx/FX.php on line 1425 >> but I periodically get it, and today I decided to try and find out >> why... >> >> Turns out that the function it's part of BuildLinkQueryString () is >> taking the posted parameters and attempting to create a nice URL >> friendly string... >> >> Nice idea and all that, and maybe I'm the only one who ever does >> it, but I periodically push form data into an array, and it's that >> which is causing the issue... >> >> So, does anyone know how important (or not) that function is to the >> internal workings of FX...? it appears that it's attempting to >> create the old CDML style LinkNext, LinkPrevious type URL >> strings... anyone ever use those these days...?? Is this data also >> sued for anything else, I don't think so, since previously I've >> just ignored the error, with seemingly no ill effects... >> >> If it is as legacy as it looks, is it perhaps time to retire that >> function...? Any thoughts on how to deal with the array concept in >> post variables...? I guess the array could be exploded and then >> rebuilt as a strong in the form >> array[]=fred&array[]=spoon&array[]=lives&array[]here but if it's >> not needed....??? >> >> Cheers >> Steve >> >> >> Steve Winter >> steve@bluecrocodile.co.nz >> m: +44 77 7852 4776 >> 3 Calshot Court, Channel Way >> Ocean Village, Southampton SO14 3GR >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > Steve Winter > steve@bluecrocodile.co.nz > m: +44 77 7852 4776 > 3 Calshot Court, Channel Way > Ocean Village, Southampton SO14 3GR > > _______________________________________________ > 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/20090610/a57ab7dc/attachment-0001.html From steve at bluecrocodile.co.nz Wed Jun 10 15:49:45 2009 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Wed Jun 10 15:49:54 2009 Subject: [FX.php List] Thoughts about line 1425 of FX.php In-Reply-To: References: <22B9D42B-BF13-4429-AADD-7B87A83D309C@bluecrocodile.co.nz> Message-ID: Hi Dale, As per the original post, I get it whenever I submit an array through the post variable... so if my form has something like When the data arrives back at PHP I have an array in the POST variable called box, which has as it's values car, truck etc... Cheers Steve On 10 Jun 2009, at 22:33, Dale Bengston wrote: > Steve, > > When did you get a warning like this? What triggered it? Or could > you ever figure out why? > > Dale > > On Jun 10, 2009, at 2:34 PM, Steve Winter wrote: > >> Partially answering my own question, but not wanting to stifle the >> raging debate ;-) I turned line 1425 into; >> >> if(is_array($value)) { >> foreach($value as $partKey => $partValue) { >> $tempQueryString .= >> urlencode($key) . .urlencode('['.$partKey.']').'=' . >> urlencode($partValue) . '&'; >> } >> } else { >> $tempQueryString .= urlencode($key) . '=' . >> urlencode($value) . '&'; >> } >> >> which seems to make the error go away (which is always nice ;-). >> Anyone see any issues with this...? >> >> Cheers >> Steve >> >> >> On 10 Jun 2009, at 18:13, Steve Winter wrote: >> >>> Hi all, >>> >>> Not sure if anyone's ever seen this wee error; >>> Warning: urlencode() expects parameter 1 to be string, array >>> given in /path/to/fx/FX.php on line 1425 >>> but I periodically get it, and today I decided to try and find out >>> why... >>> >>> Turns out that the function it's part of BuildLinkQueryString () >>> is taking the posted parameters and attempting to create a nice >>> URL friendly string... >>> >>> Nice idea and all that, and maybe I'm the only one who ever does >>> it, but I periodically push form data into an array, and it's that >>> which is causing the issue... >>> >>> So, does anyone know how important (or not) that function is to >>> the internal workings of FX...? it appears that it's attempting to >>> create the old CDML style LinkNext, LinkPrevious type URL >>> strings... anyone ever use those these days...?? Is this data also >>> sued for anything else, I don't think so, since previously I've >>> just ignored the error, with seemingly no ill effects... >>> >>> If it is as legacy as it looks, is it perhaps time to retire that >>> function...? Any thoughts on how to deal with the array concept in >>> post variables...? I guess the array could be exploded and then >>> rebuilt as a strong in the form >>> array[]=fred&array[]=spoon&array[]=lives&array[]here but if it's >>> not needed....??? >>> >>> Cheers >>> Steve >>> >>> >>> Steve Winter >>> steve@bluecrocodile.co.nz >>> m: +44 77 7852 4776 >>> 3 Calshot Court, Channel Way >>> Ocean Village, Southampton SO14 3GR >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> Steve Winter >> steve@bluecrocodile.co.nz >> m: +44 77 7852 4776 >> 3 Calshot Court, Channel Way >> Ocean Village, Southampton SO14 3GR >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter steve@bluecrocodile.co.nz m: +44 77 7852 4776 3 Calshot Court, Channel Way Ocean Village, Southampton SO14 3GR -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090610/043d4b35/attachment.html From tim at nicheit.com.au Wed Jun 10 18:23:25 2009 From: tim at nicheit.com.au (Tim 'Webko' Booth) Date: Wed Jun 10 18:23:31 2009 Subject: [FX.php List] Thoughts about line 1425 of FX.php In-Reply-To: References: <22B9D42B-BF13-4429-AADD-7B87A83D309C@bluecrocodile.co.nz> Message-ID: <9631C1CB-1E08-403B-ACFD-3FE6A52F3635@nicheit.com.au> On 11/06/2009, at 7:49 AM, Steve Winter wrote: > Hi Dale, > > As per the original post, I get it whenever I submit an array > through the post variable... so if my form has something like > > > > > > > > When the data arrives back at PHP I have an array in the POST > variable called box, which has as it's values car, truck etc... Yep, I'm familiar with this warning for the same reasons ;-) To be honest, I didn't really examine it too closely once I figured it wasn't actually affecting anything, so I suppress it with @ at the start of lines that trigger the warning (usually a FX action...) Cheers webko From ggt667 at gmail.com Thu Jun 11 01:20:05 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Jun 11 01:20:07 2009 Subject: [FX.php List] Thoughts about line 1425 of FX.php In-Reply-To: <9631C1CB-1E08-403B-ACFD-3FE6A52F3635@nicheit.com.au> References: <22B9D42B-BF13-4429-AADD-7B87A83D309C@bluecrocodile.co.nz> <9631C1CB-1E08-403B-ACFD-3FE6A52F3635@nicheit.com.au> Message-ID: Hmm, mine looks more like this --- --- But I still get the same error as you mention, I might try your patch. ggt 2009/6/11 Tim 'Webko' Booth : > > On 11/06/2009, at 7:49 AM, Steve Winter wrote: > >> Hi Dale, >> >> As per the original post, I get it whenever I submit an array through the >> post variable... so if my form has something like >> >> >> >> >> >> >> >> When the data arrives back at PHP I have an array in the POST variable >> called box, which has as it's values car, truck etc... > > Yep, I'm familiar with this warning for the same reasons ;-) > > To be honest, I didn't really examine it too closely once I figured it > wasn't actually affecting anything, so I suppress it with @ at the start of > lines that trigger the warning (usually a FX action...) > > Cheers > > webko > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From ggt667 at gmail.com Thu Jun 11 01:20:17 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Jun 11 01:20:22 2009 Subject: [FX.php List] Thoughts about line 1425 of FX.php In-Reply-To: References: <22B9D42B-BF13-4429-AADD-7B87A83D309C@bluecrocodile.co.nz> <9631C1CB-1E08-403B-ACFD-3FE6A52F3635@nicheit.com.au> Message-ID: Sorry warning, not error. 2009/6/11 Gjermund Gusland Thorsen : > Hmm, mine looks more like this > --- > > > > --- > But I still get the same error as you mention, I might try your patch. > > ggt > > 2009/6/11 Tim 'Webko' Booth : >> >> On 11/06/2009, at 7:49 AM, Steve Winter wrote: >> >>> Hi Dale, >>> >>> As per the original post, I get it whenever I submit an array through the >>> post variable... so if my form has something like >>> >>> >>> >>> >>> >>> >>> >>> When the data arrives back at PHP I have an array in the POST variable >>> called box, which has as it's values car, truck etc... >> >> Yep, I'm familiar with this warning for the same reasons ;-) >> >> To be honest, I didn't really examine it too closely once I figured it >> wasn't actually affecting anything, so I suppress it with @ at the start of >> lines that trigger the warning (usually a FX action...) >> >> Cheers >> >> webko >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> > From chris at iViking.org Thu Jun 11 09:16:09 2009 From: chris at iViking.org (Chris Hansen) Date: Thu Jun 11 09:16:10 2009 Subject: [FX.php List] Thoughts about line 1425 of FX.php In-Reply-To: <22B9D42B-BF13-4429-AADD-7B87A83D309C@bluecrocodile.co.nz> References: <22B9D42B-BF13-4429-AADD-7B87A83D309C@bluecrocodile.co.nz> Message-ID: Steve, Yes this would be a good addition to FX, and yes, I've seen this error before in specific situations. Kudos for actually doing something about it (don't I feel sheepish... =) Looks like a good addition to me, though it does appear that you've got an extra concatenation operator within your foreach() loop. --Chris On Jun 10, 2009, at 1:34 PM, Steve Winter wrote: > Partially answering my own question, but not wanting to stifle the > raging debate ;-) I turned line 1425 into; > > if(is_array($value)) { > foreach($value as $partKey => $partValue) { > $tempQueryString .= > urlencode($key) . .urlencode('['.$partKey.']').'=' . > urlencode($partValue) . '&'; > } > } else { > $tempQueryString .= urlencode($key) . '=' . > urlencode($value) . '&'; > } > > which seems to make the error go away (which is always nice ;-). > Anyone see any issues with this...? > > Cheers > Steve > > > On 10 Jun 2009, at 18:13, Steve Winter wrote: > >> Hi all, >> >> Not sure if anyone's ever seen this wee error; >> Warning: urlencode() expects parameter 1 to be string, array given >> in /path/to/fx/FX.php on line 1425 >> but I periodically get it, and today I decided to try and find out >> why... >> >> Turns out that the function it's part of BuildLinkQueryString () is >> taking the posted parameters and attempting to create a nice URL >> friendly string... >> >> Nice idea and all that, and maybe I'm the only one who ever does >> it, but I periodically push form data into an array, and it's that >> which is causing the issue... >> >> So, does anyone know how important (or not) that function is to the >> internal workings of FX...? it appears that it's attempting to >> create the old CDML style LinkNext, LinkPrevious type URL >> strings... anyone ever use those these days...?? Is this data also >> sued for anything else, I don't think so, since previously I've >> just ignored the error, with seemingly no ill effects... >> >> If it is as legacy as it looks, is it perhaps time to retire that >> function...? Any thoughts on how to deal with the array concept in >> post variables...? I guess the array could be exploded and then >> rebuilt as a strong in the form >> array[]=fred&array[]=spoon&array[]=lives&array[]here but if it's >> not needed....??? >> >> Cheers >> Steve >> >> >> Steve Winter >> steve@bluecrocodile.co.nz >> m: +44 77 7852 4776 >> 3 Calshot Court, Channel Way >> Ocean Village, Southampton SO14 3GR >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > Steve Winter > steve@bluecrocodile.co.nz > m: +44 77 7852 4776 > 3 Calshot Court, Channel Way > Ocean Village, Southampton SO14 3GR > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From steve at bluecrocodile.co.nz Thu Jun 11 09:53:59 2009 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Thu Jun 11 09:54:05 2009 Subject: [FX.php List] Thoughts about line 1425 of FX.php In-Reply-To: References: <22B9D42B-BF13-4429-AADD-7B87A83D309C@bluecrocodile.co.nz> Message-ID: <10991056-F786-4F03-A9B6-0D558CFFBF8F@bluecrocodile.co.nz> Hi Chris, Yeah I do... that wasn't a complete copy-paste from Eclipse into the email, so I stuffed it up slightly in the email, now corrected below... cheers Steve On 11 Jun 2009, at 16:16, Chris Hansen wrote: > Steve, > > Yes this would be a good addition to FX, and yes, I've seen this > error before in specific situations. Kudos for actually doing > something about it (don't I feel sheepish... =) Looks like a good > addition to me, though it does appear that you've got an extra > concatenation operator within your foreach() loop. > > --Chris > > On Jun 10, 2009, at 1:34 PM, Steve Winter wrote: > >> Partially answering my own question, but not wanting to stifle the >> raging debate ;-) I turned line 1425 into; >> >> if(is_array($value)) { >> foreach($value as $partKey => $partValue) { >> $tempQueryString .= urlencode($key) . >> urlencode('['.$partKey.']') . '=' . urlencode($partValue) . '&'; >> } >> } else { >> $tempQueryString .= urlencode($key) . '=' . >> urlencode($value) . '&'; >> } >> >> which seems to make the error go away (which is always nice ;-). >> Anyone see any issues with this...? >> >> Cheers >> Steve >> >> >> On 10 Jun 2009, at 18:13, Steve Winter wrote: >> >>> Hi all, >>> >>> Not sure if anyone's ever seen this wee error; >>> Warning: urlencode() expects parameter 1 to be string, array >>> given in /path/to/fx/FX.php on line 1425 >>> but I periodically get it, and today I decided to try and find out >>> why... >>> >>> Turns out that the function it's part of BuildLinkQueryString () >>> is taking the posted parameters and attempting to create a nice >>> URL friendly string... >>> >>> Nice idea and all that, and maybe I'm the only one who ever does >>> it, but I periodically push form data into an array, and it's that >>> which is causing the issue... >>> >>> So, does anyone know how important (or not) that function is to >>> the internal workings of FX...? it appears that it's attempting to >>> create the old CDML style LinkNext, LinkPrevious type URL >>> strings... anyone ever use those these days...?? Is this data also >>> sued for anything else, I don't think so, since previously I've >>> just ignored the error, with seemingly no ill effects... >>> >>> If it is as legacy as it looks, is it perhaps time to retire that >>> function...? Any thoughts on how to deal with the array concept in >>> post variables...? I guess the array could be exploded and then >>> rebuilt as a strong in the form >>> array[]=fred&array[]=spoon&array[]=lives&array[]here but if it's >>> not needed....??? >>> >>> Cheers >>> Steve >>> >>> >>> Steve Winter >>> steve@bluecrocodile.co.nz >>> m: +44 77 7852 4776 >>> 3 Calshot Court, Channel Way >>> Ocean Village, Southampton SO14 3GR >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> Steve Winter >> steve@bluecrocodile.co.nz >> m: +44 77 7852 4776 >> 3 Calshot Court, Channel Way >> Ocean Village, Southampton SO14 3GR >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter steve@bluecrocodile.co.nz m: +44 77 7852 4776 3 Calshot Court, Channel Way Ocean Village, Southampton SO14 3GR -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090611/179df8d3/attachment.html From ggt667 at gmail.com Thu Jun 11 12:51:37 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Jun 11 12:51:41 2009 Subject: [FX.php List] [Slightly OT] The brotherhood of XML parser classes Which are available? Message-ID: PHP --- FX.php phpFileMaker Python --- pyFileMaker jQuery/Javascript --- ? JSP --- ? ASP --- ? From leo at finalresort.org Thu Jun 11 14:15:48 2009 From: leo at finalresort.org (Leo R. Lundgren) Date: Thu Jun 11 14:15:56 2009 Subject: [FX.php List] [Slightly OT] The brotherhood of XML parser classes Which are available? In-Reply-To: References: Message-ID: <55D08484-F688-43D8-822D-489A8AD7138D@finalresort.org> I presume you mean FileMaker XML data parsers, not general XML parsers? 11 jun 2009 kl. 20.51 skrev Gjermund Gusland Thorsen: > PHP > --- > FX.php > phpFileMaker > > Python > --- > pyFileMaker > > jQuery/Javascript > --- > ? > > JSP > --- > ? > > ASP > --- > ? > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| From bob at patin.com Thu Jun 11 14:53:33 2009 From: bob at patin.com (Bob Patin) Date: Thu Jun 11 14:53:41 2009 Subject: [FX.php List] Config problem Message-ID: I have a client who has FMSA 10; I wrote a web app for them, have tested it, and it all works great. Here's the rub: They have a web site on a server with one of the big hosting companies; the company *says* they opened all the requested ports, and I uploaded the web app to the web server. However, when I try to do one of the simple queries, I don't get anything back from FX. Here's my question: When an errorCode isn't returned, is there another way to tell whether FX.php is connecting to the FM Server? If so, what would I want to put on the page? Thanks, Bob Patin -------------- next part -------------- A non-text attachment was scrubbed... Name: new_logo_idea3_120w.jpg Type: image/jpeg Size: 15728 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090611/963dd3cc/new_logo_idea3_120w-0001.jpg -------------- next part -------------- Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From ggt667 at gmail.com Thu Jun 11 15:30:35 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Jun 11 15:30:38 2009 Subject: [FX.php List] Config problem In-Reply-To: References: Message-ID: Did you open the ports allowed to query on the FMSA -side of the setup? ggt667 2009/6/11 Bob Patin : > I have a client who has FMSA 10; I wrote a web app for them, have tested it, > and it all works great. Here's the rub: > > They have a web site on a server with one of the big hosting companies; the > company *says* they opened all the requested ports, and I uploaded the web > app to the web server. > > However, when I try to do one of the simple queries, I don't get anything > back from FX. Here's my question: > > When an errorCode isn't returned, is there another way to tell whether > FX.php is connecting to the FM Server? If so, what would I want to put on > the page? > > Thanks, > > Bob Patin > > > > > > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -------------------------- > FileMaker hosting and consulting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > From bob at patin.com Thu Jun 11 15:39:14 2009 From: bob at patin.com (Bob Patin) Date: Thu Jun 11 15:39:22 2009 Subject: [FX.php List] Config problem In-Reply-To: References: Message-ID: <4E93DF7D-D6A8-4130-95DF-5A6050702BB6@patin.com> I'm having to talk to the client, who has called the web host, who *claims* to have opened them, but I'm not seeing 16000, 16016, or 16018 open on the web server. In this sort of setup, where the WPE is on the FileMaker machine, you don't specify the web server's IP, do you? If so, I don't see how that would be possible, unless they were supposed to have done that when they installed FileMaker Server. This is such an unorthodox way to be doing this; it wasn't my suggestion... :) Any help is greatly appreciated! Thanks, Bob Patin -------------- next part -------------- A non-text attachment was scrubbed... Name: new_logo_idea3_120w.jpg Type: image/jpeg Size: 15728 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090611/a33347f0/new_logo_idea3_120w-0001.jpg -------------- next part -------------- Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jun 11, 2009, at 4:30 PM, Gjermund Gusland Thorsen wrote: > Did you open the ports allowed to query on the FMSA -side of the > setup? > > ggt667 From bob at patin.com Thu Jun 11 15:52:36 2009 From: bob at patin.com (Bob Patin) Date: Thu Jun 11 15:54:23 2009 Subject: [FX.php List] A new question about web pub installs Message-ID: <8D58EA01-8AE0-4D93-9C1F-33A2DF7C0E68@patin.com> So here's my question: I've only done 2-machine installs, where the WPE goes on the webserver. Now I see, from re-reading the custom pub. PDF from FMI, that when the WPE is installed, a web server module is also installed (wasn't aware of this). So since my clients put the WPE on the FileMaker Server machine but didn't specify a web server, is this why their web app isn't working? This is driving me crazy... I wish they'd just let me host it here and be done with it... So our latest plan is to have their IT guy uninstall FM Server, put it back on their Windows iis machine, and have it run as web server and FM server both. Anything I should caution them about for this type of install? Thanks, Bob Patin -------------- next part -------------- A non-text attachment was scrubbed... Name: new_logo_idea3_120w.jpg Type: image/jpeg Size: 15728 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090611/90ce1e03/new_logo_idea3_120w-0001.jpg -------------- next part -------------- Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From ggt667 at gmail.com Thu Jun 11 16:03:27 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Jun 11 16:03:30 2009 Subject: [FX.php List] Config problem In-Reply-To: <4E93DF7D-D6A8-4130-95DF-5A6050702BB6@patin.com> References: <4E93DF7D-D6A8-4130-95DF-5A6050702BB6@patin.com> Message-ID: Depends on how the different services are delegated, Which of these are on the same machine? FMS wpe webserver ggt 2009/6/11 Bob Patin : > I'm having to talk to the client, who has called the web host, who *claims* > to have opened them, but I'm not seeing 16000, 16016, or 16018 open on the > web server. > > In this sort of setup, where the WPE is on the FileMaker machine, you don't > specify the web server's IP, do you? If so, I don't see how that would be > possible, unless they were supposed to have done that when they installed > FileMaker Server. > > This is such an unorthodox way to be doing this; it wasn't my suggestion... > :) > > Any help is greatly appreciated! > > Thanks, > > Bob Patin > > > > > > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -------------------------- > FileMaker hosting and consulting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > On Jun 11, 2009, at 4:30 PM, Gjermund Gusland Thorsen wrote: > >> Did you open the ports allowed to query on the FMSA -side of the setup? >> >> ggt667 > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > From bob at patin.com Thu Jun 11 16:11:54 2009 From: bob at patin.com (Bob Patin) Date: Thu Jun 11 16:13:37 2009 Subject: [FX.php List] Config problem In-Reply-To: References: <4E93DF7D-D6A8-4130-95DF-5A6050702BB6@patin.com> Message-ID: Well, that's what I've been discussing... what they have now is this: SERVER 1 FMSA 10 WPE SERVER 2 nothing --- What I'm wondering: In order to make this work, would they need something called "Web Server Module" on the web server? ---- If they re-install, to do a one-machine config, it'll all live on their IIS machine; the ports are open properly. Is there anything else they should beware of in this type of config? Bob Patin On Jun 11, 2009, at 5:03 PM, Gjermund Gusland Thorsen wrote: > Depends on how the different services are delegated, > > Which of these are on the same machine? > > FMS > wpe > webserver From tannerellen at gmail.com Thu Jun 11 17:51:24 2009 From: tannerellen at gmail.com (Tanner Ellen) Date: Thu Jun 11 17:51:26 2009 Subject: [FX.php List] Re: FX.php_List Digest, Vol 59, Issue 20 In-Reply-To: <20090611215424.A7C3D2B3112@mail.iviking.org> References: <20090611215424.A7C3D2B3112@mail.iviking.org> Message-ID: That is how my setup is and it works fine. Basically our website is hosted off-site by a 3rd party hosting company. Then at our office we have FM Server 10 Advanced installed on a Mac Pro with Apache enabled. So basically I am running my filemaker server as a 1 machine install and I have an external web server. On Thu, Jun 11, 2009 at 2:54 PM, wrote: > Send FX.php_List mailing list submissions to > fx.php_list@mail.iviking.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.iviking.org/mailman/listinfo/fx.php_list > or, via email, send a message with subject or body 'help' to > fx.php_list-request@mail.iviking.org > > You can reach the person managing the list at > fx.php_list-owner@mail.iviking.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of FX.php_List digest..." > > > Today's Topics: > > 1. A new question about web pub installs (Bob Patin) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 11 Jun 2009 16:52:36 -0500 > From: Bob Patin > Subject: [FX.php List] A new question about web pub installs > To: "FX.php Discussion List" > Message-ID: <8D58EA01-8AE0-4D93-9C1F-33A2DF7C0E68@patin.com> > Content-Type: text/plain; charset="us-ascii" > > So here's my question: > > I've only done 2-machine installs, where the WPE goes on the webserver. > > Now I see, from re-reading the custom pub. PDF from FMI, that when the > WPE is installed, a web server module is also installed (wasn't aware > of this). > > So since my clients put the WPE on the FileMaker Server machine but > didn't specify a web server, is this why their web app isn't working? > > This is driving me crazy... I wish they'd just let me host it here and > be done with it... > > So our latest plan is to have their IT guy uninstall FM Server, put it > back on their Windows iis machine, and have it run as web server and > FM server both. Anything I should caution them about for this type of > install? > > Thanks, > > Bob Patin > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: new_logo_idea3_120w.jpg > Type: image/jpeg > Size: 15728 bytes > Desc: not available > Url : > http://mail.iviking.org/pipermail/fx.php_list/attachments/20090611/90ce1e03/new_logo_idea3_120w.jpg > -------------- next part -------------- > > > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -------------------------- > FileMaker hosting and consulting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > > ------------------------------ > > _______________________________________________ > FX.php_List > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > End of FX.php_List Digest, Vol 59, Issue 20 > ******************************************* > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090611/b0e98495/attachment.html From fxphp at igsmasouth.org Thu Jun 11 18:03:09 2009 From: fxphp at igsmasouth.org (Jon Montgomery) Date: Thu Jun 11 18:03:14 2009 Subject: [FX.php List] Re: FX.php_List Digest, Vol 59, Issue 20 In-Reply-To: References: <20090611215424.A7C3D2B3112@mail.iviking.org> Message-ID: Bob, I have the same setup as Tanner outlined below except that it is now FM Server 9 and was 8, and it has worked for 3 years without a hitch. But then it only gets high traffic for about a month or so. Jon Montgomery On Jun 11, 2009, at 6:51 PM, Tanner Ellen wrote: > That is how my setup is and it works fine. Basically our website is > hosted off-site by a 3rd party hosting company. Then at our office > we have FM Server 10 Advanced installed on a Mac Pro with Apache > enabled. So basically I am running my filemaker server as a 1 > machine install and I have an external web server. > > On Thu, Jun 11, 2009 at 2:54 PM, request@mail.iviking.org> wrote: > Send FX.php_List mailing list submissions to > fx.php_list@mail.iviking.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.iviking.org/mailman/listinfo/fx.php_list > or, via email, send a message with subject or body 'help' to > fx.php_list-request@mail.iviking.org > > You can reach the person managing the list at > fx.php_list-owner@mail.iviking.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of FX.php_List digest..." > > > Today's Topics: > > 1. A new question about web pub installs (Bob Patin) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 11 Jun 2009 16:52:36 -0500 > From: Bob Patin > Subject: [FX.php List] A new question about web pub installs > To: "FX.php Discussion List" > Message-ID: <8D58EA01-8AE0-4D93-9C1F-33A2DF7C0E68@patin.com> > Content-Type: text/plain; charset="us-ascii" > > So here's my question: > > I've only done 2-machine installs, where the WPE goes on the > webserver. > > Now I see, from re-reading the custom pub. PDF from FMI, that when the > WPE is installed, a web server module is also installed (wasn't aware > of this). > > So since my clients put the WPE on the FileMaker Server machine but > didn't specify a web server, is this why their web app isn't working? > > This is driving me crazy... I wish they'd just let me host it here and > be done with it... > > So our latest plan is to have their IT guy uninstall FM Server, put it > back on their Windows iis machine, and have it run as web server and > FM server both. Anything I should caution them about for this type of > install? > > Thanks, > > Bob Patin > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: new_logo_idea3_120w.jpg > Type: image/jpeg > Size: 15728 bytes > Desc: not available > Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090611/90ce1e03/new_logo_idea3_120w.jpg > -------------- next part -------------- > > > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -------------------------- > FileMaker hosting and consulting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > > ------------------------------ > > _______________________________________________ > FX.php_List > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > End of FX.php_List Digest, Vol 59, Issue 20 > ******************************************* > > _______________________________________________ > 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/20090611/b9fb2e28/attachment.html From andersm at alamark.com Fri Jun 12 07:30:24 2009 From: andersm at alamark.com (Anders Monsen) Date: Fri Jun 12 07:30:28 2009 Subject: [FX.php List] A new question about web pub installs In-Reply-To: <8D58EA01-8AE0-4D93-9C1F-33A2DF7C0E68@patin.com> References: <8D58EA01-8AE0-4D93-9C1F-33A2DF7C0E68@patin.com> Message-ID: <1CAC5A6C-649C-475C-B60E-725C2704D643@alamark.com> Bob, I've done 2-machine and 1-machine installs, and even have a client that has a 3-machine install. Have you confirmed that the client enabled WP on their end with PHP (and XML) web publishing? Did they try to test pages to make sure something shows up, let alone your database? --- Anders On Jun 11, 2009, at 4:52 PM, Bob Patin wrote: > So here's my question: > > I've only done 2-machine installs, where the WPE goes on the > webserver. > > Now I see, from re-reading the custom pub. PDF from FMI, that when > the WPE is installed, a web server module is also installed (wasn't > aware of this). > > So since my clients put the WPE on the FileMaker Server machine but > didn't specify a web server, is this why their web app isn't working? > > This is driving me crazy... I wish they'd just let me host it here > and be done with it... > > So our latest plan is to have their IT guy uninstall FM Server, put > it back on their Windows iis machine, and have it run as web server > and FM server both. Anything I should caution them about for this > type of install? > > Thanks, > > Bob Patin > > > > > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -------------------------- > FileMaker hosting and consulting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From bob at patin.com Fri Jun 12 08:20:52 2009 From: bob at patin.com (Bob Patin) Date: Fri Jun 12 08:20:58 2009 Subject: [FX.php List] A new question about web pub installs In-Reply-To: <1CAC5A6C-649C-475C-B60E-725C2704D643@alamark.com> References: <8D58EA01-8AE0-4D93-9C1F-33A2DF7C0E68@patin.com> <1CAC5A6C-649C-475C-B60E-725C2704D643@alamark.com> Message-ID: On Jun 12, 2009, at 8:30 AM, Anders Monsen wrote: > I've done 2-machine and 1-machine installs, and even have a client > that has a 3-machine install. Yes, I have too (I have 7 pairs of FileMaker/web server here), but not where the WPE is on the FileMaker Server instead of the web server, and never where the web server is somewhere else. > > Have you confirmed that the client enabled WP on their end with PHP > (and XML) web publishing? > Did they try to test pages to make sure something shows up, let > alone your database? Yes, WPE is installed, XML is enabled, PHP running on the web server, but I'm pretty sure now that her web host never actually opened the requested ports. He *said* that he did, but when I do a port scan, 16000, 16016 and 16018 are all closed. Bob Patin Longterm Solutions P.O. Box 3408 Brentwood, TN 37024 615-333-6858 bob@longtermsolutions.com http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From andersm at alamark.com Fri Jun 12 08:37:51 2009 From: andersm at alamark.com (Anders Monsen) Date: Fri Jun 12 08:38:29 2009 Subject: [FX.php List] A new question about web pub installs In-Reply-To: References: <8D58EA01-8AE0-4D93-9C1F-33A2DF7C0E68@patin.com><1CAC5A6C-649C-475C-B60E-725C2704D643@alamark.com> Message-ID: On Jun 12, 2009, at 9:20 AM, Bob Patin wrote: > Yes, I have too (I have 7 pairs of FileMaker/web server here), but > not where the WPE is on the FileMaker Server instead of the web > server, and never where the web server is somewhere else. By this I take it mean physically and network separated? In all my installs the locations have been within the same network, and so I've always pointed to the private IP (192.168.etc or 10.1. etc ). However, we have had servers in the DMZ so they are within our network but outside users need access for testing, and I've then used the public IP to point to the web server. Is it possible this is a firewall issue, not necessarily the FMP ports? Does the web server require a whitelist of IPs that can access it? -- Anders From bob at patin.com Fri Jun 12 08:49:56 2009 From: bob at patin.com (Bob Patin) Date: Fri Jun 12 08:50:02 2009 Subject: [FX.php List] A new question about web pub installs In-Reply-To: References: <8D58EA01-8AE0-4D93-9C1F-33A2DF7C0E68@patin.com><1CAC5A6C-649C-475C-B60E-725C2704D643@alamark.com> Message-ID: <3747A38C-D8B3-4D5C-A75F-FD46EADF9DD1@patin.com> On Jun 12, 2009, at 9:37 AM, Anders Monsen wrote: > By this I take it mean physically and network separated? Yes, all of my installs have been in the same server room, so this was my first attempt to use a FM server in North Carolina and a web server somewhere (don't even know where) else. > In all my installs the locations have been within the same network, > and so I've always pointed to the private IP (192.168.etc or 10.1. > etc ). However, we have had servers in the DMZ so they are within > our network but outside users need access for testing, and I've then > used the public IP to point to the web server. Is it possible this > is a firewall issue, not necessarily the FMP ports? No, not a firewall. > Does the web server require a whitelist of IPs that can access it? FMI specifies ports that need to be open in this config: 80, 16000, 16016, 16018; the last 3 are closed, from what I can see... Bob Patin Longterm Solutions P.O. Box 3408 Brentwood, TN 37024 615-333-6858 bob@longtermsolutions.com http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From adenman at tmea.org Fri Jun 12 10:00:34 2009 From: adenman at tmea.org (Andrew Denman) Date: Fri Jun 12 09:55:23 2009 Subject: [FX.php List] Config problem In-Reply-To: References: <20090611215424.A7C3D2B3112@mail.iviking.org> Message-ID: <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2B6@mail> We had our setup like this as well and it worked OK. You should only need port 80 open between the servers in this instance (with the default install), as WPE is serving the XML over machine 1's web server process. Machine 2 is just using cURL via FX.php to access machine 1. Andrew Denman From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Jon Montgomery Sent: Thursday, June 11, 2009 7:03 PM To: FX.php Discussion List Subject: Re: [FX.php List] Re: FX.php_List Digest, Vol 59, Issue 20 Bob, I have the same setup as Tanner outlined below except that it is now FM Server 9 and was 8, and it has worked for 3 years without a hitch. But then it only gets high traffic for about a month or so. Jon Montgomery On Jun 11, 2009, at 6:51 PM, Tanner Ellen wrote: That is how my setup is and it works fine. Basically our website is hosted off-site by a 3rd party hosting company. Then at our office we have FM Server 10 Advanced installed on a Mac Pro with Apache enabled. So basically I am running my filemaker server as a 1 machine install and I have an external web server. On Thu, Jun 11, 2009 at 2:54 PM, > wrote: Send FX.php_List mailing list submissions to fx.php_list@mail.iviking.org To subscribe or unsubscribe via the World Wide Web, visit http://www.iviking.org/mailman/listinfo/fx.php_list or, via email, send a message with subject or body 'help' to fx.php_list-request@mail.iviking.org You can reach the person managing the list at fx.php_list-owner@mail.iviking.org When replying, please edit your Subject line so it is more specific than "Re: Contents of FX.php_List digest..." Today's Topics: 1. A new question about web pub installs (Bob Patin) ---------------------------------------------------------------------- Message: 1 Date: Thu, 11 Jun 2009 16:52:36 -0500 From: Bob Patin > Subject: [FX.php List] A new question about web pub installs To: "FX.php Discussion List" > Message-ID: <8D58EA01-8AE0-4D93-9C1F-33A2DF7C0E68@patin.com> Content-Type: text/plain; charset="us-ascii" So here's my question: I've only done 2-machine installs, where the WPE goes on the webserver. Now I see, from re-reading the custom pub. PDF from FMI, that when the WPE is installed, a web server module is also installed (wasn't aware of this). So since my clients put the WPE on the FileMaker Server machine but didn't specify a web server, is this why their web app isn't working? This is driving me crazy... I wish they'd just let me host it here and be done with it... So our latest plan is to have their IT guy uninstall FM Server, put it back on their Windows iis machine, and have it run as web server and FM server both. Anything I should caution them about for this type of install? Thanks, Bob Patin -------------- next part -------------- A non-text attachment was scrubbed... Name: new_logo_idea3_120w.jpg Type: image/jpeg Size: 15728 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090611/90ce1e03/new_logo_idea3_120w.jpg -------------- next part -------------- Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting ------------------------------ _______________________________________________ FX.php_List FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list End of FX.php_List Digest, Vol 59, Issue 20 ******************************************* _______________________________________________ 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/20090612/ad703321/attachment.html From bob at patin.com Fri Jun 12 10:04:42 2009 From: bob at patin.com (Bob Patin) Date: Fri Jun 12 10:04:55 2009 Subject: [FX.php List] Config problem In-Reply-To: <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2B6@mail> References: <20090611215424.A7C3D2B3112@mail.iviking.org> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2B6@mail> Message-ID: But when I looked at the PDF from FIleMaker Inc., they specifically said that 16000, 16016, and 16018 needed to be open... is that not the case then? If that's not it, then I see no reason why this web app isn't working with their machines... Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jun 12, 2009, at 11:00 AM, Andrew Denman wrote: > We had our setup like this as well and it worked OK. > > You should only need port 80 open between the servers in this > instance (with the default install), as WPE is serving the XML over > machine 1?s web server process. Machine 2 is just using cURL via > FX.php to access machine 1. > > Andrew Denman -------------- next part -------------- Skipped content of type multipart/related From bob at patin.com Fri Jun 12 10:05:06 2009 From: bob at patin.com (Bob Patin) Date: Fri Jun 12 10:05:42 2009 Subject: [FX.php List] Config problem In-Reply-To: <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2B6@mail> References: <20090611215424.A7C3D2B3112@mail.iviking.org> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2B6@mail> Message-ID: <9F241D13-B08F-4777-B967-EA67CC81C3AC@patin.com> Andrew, Did you have to install the web server module on the web server, and if so, what is it? Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jun 12, 2009, at 11:00 AM, Andrew Denman wrote: > We had our setup like this as well and it worked OK. > > You should only need port 80 open between the servers in this > instance (with the default install), as WPE is serving the XML over > machine 1?s web server process. Machine 2 is just using cURL via > FX.php to access machine 1. > > Andrew Denman -------------- next part -------------- Skipped content of type multipart/related From ggt667 at gmail.com Fri Jun 12 10:11:18 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Fri Jun 12 10:11:38 2009 Subject: [FX.php List] Config problem In-Reply-To: References: <20090611215424.A7C3D2B3112@mail.iviking.org> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2B6@mail> Message-ID: All my setups are apache on one machiner running the php business logic made with FX.php The other machine runs FMSA and WPE ggt 2009/6/12 Bob Patin : > But when I looked at the PDF from FIleMaker Inc., they specifically said > that 16000, 16016, and 16018 needed to be open... is that not the case then? > If that's not it, then I see no reason why this web app isn't working with > their machines... > > Bob Patin > > > Longterm Solutions > bob@longtermsolutions.com > 615-333-6858 > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -------------------------- > FileMaker hosting and consulting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > On Jun 12, 2009, at 11:00 AM, Andrew Denman wrote: > > We had our setup like this as well and it worked OK. > > You should only need port 80 open between the servers in this instance (with > the default install), as WPE is serving the XML over machine 1?s web server > process.? Machine 2 is just using cURL via FX.php to access machine 1. > > Andrew Denman > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > From andersm at alamark.com Fri Jun 12 10:12:41 2009 From: andersm at alamark.com (Anders Monsen) Date: Fri Jun 12 10:12:44 2009 Subject: [FX.php List] A new question about web pub installs In-Reply-To: <3747A38C-D8B3-4D5C-A75F-FD46EADF9DD1@patin.com> References: <8D58EA01-8AE0-4D93-9C1F-33A2DF7C0E68@patin.com><1CAC5A6C-649C-475C-B60E-725C2704D643@alamark.com> <3747A38C-D8B3-4D5C-A75F-FD46EADF9DD1@patin.com> Message-ID: <1832DE80-A613-4B7F-81CF-64CA7C3C287E@alamark.com> Are you using Apache or IIS on the server? Can you access a regular web page ok? -- Anders On Jun 12, 2009, at 9:49 AM, Bob Patin wrote: > On Jun 12, 2009, at 9:37 AM, Anders Monsen wrote: > >> By this I take it mean physically and network separated? > > Yes, all of my installs have been in the same server room, so this > was my first attempt to use a FM server in North Carolina and a web > server somewhere (don't even know where) else. > >> In all my installs the locations have been within the same network, >> and so I've always pointed to the private IP (192.168.etc or 10.1. >> etc ). However, we have had servers in the DMZ so they are within >> our network but outside users need access for testing, and I've >> then used the public IP to point to the web server. Is it possible >> this is a firewall issue, not necessarily the FMP ports? > > No, not a firewall. > >> Does the web server require a whitelist of IPs that can access it? > > FMI specifies ports that need to be open in this config: 80, 16000, > 16016, 16018; the last 3 are closed, from what I can see... > > Bob Patin > Longterm Solutions > P.O. Box 3408 > Brentwood, TN 37024 > 615-333-6858 > bob@longtermsolutions.com > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -------------------------- > FileMaker hosting and consulting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > From adenman at tmea.org Fri Jun 12 10:22:46 2009 From: adenman at tmea.org (Andrew Denman) Date: Fri Jun 12 10:17:34 2009 Subject: [FX.php List] Config problem In-Reply-To: References: <20090611215424.A7C3D2B3112@mail.iviking.org> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2B6@mail> Message-ID: <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2BE@mail> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 15728 bytes Desc: image001.jpg Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090612/124b06e1/image001-0001.jpg From bob at patin.com Fri Jun 12 10:35:58 2009 From: bob at patin.com (Bob Patin) Date: Fri Jun 12 10:36:06 2009 Subject: [FX.php List] Config problem In-Reply-To: <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2BE@mail> References: <20090611215424.A7C3D2B3112@mail.iviking.org> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2B6@mail> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2BE@mail> Message-ID: <502D1F36-8B5C-4540-B982-0A0D31CD3EF2@patin.com> > They need to be open if the WPE is on the separate web server > machine, but according to your description it is on the FileMaker > machine (i.e.: 1 machine install). Well, it's *sort of* a 1-machine install, in that the web server is on a 2nd machine. So if I'm hearing you right, to do what they want to do, they need to have a web server running on their FM machine... I spoke to their tech yesterday, and he said he could put a web server there, and then re- install FMSA and do a single-machine install for me, which puts PHP and does all the proper connecting. Sounds like, from what you're saying, that since the FMSA machine needs a web server *anyway,* we might as well use it for the web app, since this app will only be used during their convention, for about a week or so. Am I hearing you right that the FMSA machine needs to have a web server running on it, whether it's used or not? Thanks, BP > > The confusion here may be with the ?web server?. WPE requires a web > server to serve the FileMaker XML, so when you do a one machine > install it does require a web server on that machine. That does not > mean you have to use that computer for the website. You can use a > completely separate web server without any FileMaker parts on it and > just point FX.php to the one machine install. In this scenario the > only thing the standalone web server is using to communicate with > the WPE is cURL on the web (port 80). > > Are there any FileMaker server parts installed on the ?machine 2? > web server? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090612/bed432f8/attachment.html From tannerellen at gmail.com Fri Jun 12 10:43:50 2009 From: tannerellen at gmail.com (Tanner Ellen) Date: Fri Jun 12 10:43:52 2009 Subject: [FX.php List] Re: FX.php_List Digest, Vol 59, Issue 24 In-Reply-To: <20090612161735.99FEC2B450F@mail.iviking.org> References: <20090612161735.99FEC2B450F@mail.iviking.org> Message-ID: Bob,I think you need to re-install filemaker server. When you re-install it do it as a 1 machine setup. Make sure to enable apache on your filemaker server so it is also a web server. You shouldn't have to do anything special on opening ports or configuring on your remote hosted webserver. Make sure all of your fx.php pages point to the ip address of your filemaker server and not your offsite hosted web server. Then upload your website to that hosted webserver. This set up should work. That is what I am doing now. -Tanner On Fri, Jun 12, 2009 at 9:17 AM, wrote: > Send FX.php_List mailing list submissions to > fx.php_list@mail.iviking.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.iviking.org/mailman/listinfo/fx.php_list > or, via email, send a message with subject or body 'help' to > fx.php_list-request@mail.iviking.org > > You can reach the person managing the list at > fx.php_list-owner@mail.iviking.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of FX.php_List digest..." > > > Today's Topics: > > 1. Re: Config problem (Gjermund Gusland Thorsen) > 2. Re: A new question about web pub installs (Anders Monsen) > 3. RE: Config problem (Andrew Denman) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 12 Jun 2009 18:11:18 +0200 > From: Gjermund Gusland Thorsen > Subject: Re: [FX.php List] Config problem > To: "FX.php Discussion List" > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > All my setups are apache on one machiner running the php business > logic made with FX.php > > The other machine runs FMSA and WPE > > ggt > > 2009/6/12 Bob Patin : > > But when I looked at the PDF from FIleMaker Inc., they specifically said > > that 16000, 16016, and 16018 needed to be open... is that not the case > then? > > If that's not it, then I see no reason why this web app isn't working > with > > their machines... > > > > Bob Patin > > > > > > Longterm Solutions > > bob@longtermsolutions.com > > 615-333-6858 > > http://www.longtermsolutions.com > > iChat: bobpatin > > AIM: longterm1954 > > FileMaker 9 Certified Developer > > Member of FileMaker Business Alliance and FileMaker TechNet > > -------------------------- > > FileMaker hosting and consulting for all versions of FileMaker > > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > On Jun 12, 2009, at 11:00 AM, Andrew Denman wrote: > > > > We had our setup like this as well and it worked OK. > > > > You should only need port 80 open between the servers in this instance > (with > > the default install), as WPE is serving the XML over machine 1?s web > server > > process. Machine 2 is just using cURL via FX.php to access machine 1. > > > > Andrew Denman > > > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > > > > > > ------------------------------ > > Message: 2 > Date: Fri, 12 Jun 2009 11:12:41 -0500 > From: Anders Monsen > Subject: Re: [FX.php List] A new question about web pub installs > To: "FX.php Discussion List" > Message-ID: <1832DE80-A613-4B7F-81CF-64CA7C3C287E@alamark.com> > Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; > delsp=yes > > Are you using Apache or IIS on the server? > > Can you access a regular web page ok? > > -- > Anders > > > On Jun 12, 2009, at 9:49 AM, Bob Patin wrote: > > > On Jun 12, 2009, at 9:37 AM, Anders Monsen wrote: > > > >> By this I take it mean physically and network separated? > > > > Yes, all of my installs have been in the same server room, so this > > was my first attempt to use a FM server in North Carolina and a web > > server somewhere (don't even know where) else. > > > >> In all my installs the locations have been within the same network, > >> and so I've always pointed to the private IP (192.168.etc or 10.1. > >> etc ). However, we have had servers in the DMZ so they are within > >> our network but outside users need access for testing, and I've > >> then used the public IP to point to the web server. Is it possible > >> this is a firewall issue, not necessarily the FMP ports? > > > > No, not a firewall. > > > >> Does the web server require a whitelist of IPs that can access it? > > > > FMI specifies ports that need to be open in this config: 80, 16000, > > 16016, 16018; the last 3 are closed, from what I can see... > > > > Bob Patin > > Longterm Solutions > > P.O. Box 3408 > > Brentwood, TN 37024 > > 615-333-6858 > > bob@longtermsolutions.com > > http://www.longtermsolutions.com > > iChat: bobpatin > > AIM: longterm1954 > > FileMaker 9 Certified Developer > > Member of FileMaker Business Alliance and FileMaker TechNet > > -------------------------- > > FileMaker hosting and consulting for all versions of FileMaker > > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > > > > > > > ------------------------------ > > Message: 3 > Date: Fri, 12 Jun 2009 11:22:46 -0500 > From: Andrew Denman > Subject: RE: [FX.php List] Config problem > To: FX.php Discussion List > Message-ID: <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2BE@mail> > Content-Type: text/plain; charset="us-ascii" > > Skipped content of type multipart/alternative-------------- next part > -------------- > A non-text attachment was scrubbed... > Name: image001.jpg > Type: image/jpeg > Size: 15728 bytes > Desc: image001.jpg > Url : > http://mail.iviking.org/pipermail/fx.php_list/attachments/20090612/124b06e1/image001.jpg > > ------------------------------ > > _______________________________________________ > FX.php_List > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > End of FX.php_List Digest, Vol 59, Issue 24 > ******************************************* > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090612/7891c6f8/attachment.html From adenman at tmea.org Fri Jun 12 11:13:23 2009 From: adenman at tmea.org (Andrew Denman) Date: Fri Jun 12 11:08:09 2009 Subject: [FX.php List] Config problem In-Reply-To: <502D1F36-8B5C-4540-B982-0A0D31CD3EF2@patin.com> References: <20090611215424.A7C3D2B3112@mail.iviking.org> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2B6@mail> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2BE@mail> <502D1F36-8B5C-4540-B982-0A0D31CD3EF2@patin.com> Message-ID: <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2C8@mail> The short answer: yes. Wherever you have the WPE installed, you need a web server installed and running. Andrew Denman From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin Sent: Friday, June 12, 2009 11:36 AM To: FX.php Discussion List Subject: Re: [FX.php List] Config problem They need to be open if the WPE is on the separate web server machine, but according to your description it is on the FileMaker machine (i.e.: 1 machine install). Well, it's *sort of* a 1-machine install, in that the web server is on a 2nd machine. So if I'm hearing you right, to do what they want to do, they need to have a web server running on their FM machine... I spoke to their tech yesterday, and he said he could put a web server there, and then re-install FMSA and do a single-machine install for me, which puts PHP and does all the proper connecting. Sounds like, from what you're saying, that since the FMSA machine needs a web server *anyway,* we might as well use it for the web app, since this app will only be used during their convention, for about a week or so. Am I hearing you right that the FMSA machine needs to have a web server running on it, whether it's used or not? Thanks, BP The confusion here may be with the 'web server'. WPE requires a web server to serve the FileMaker XML, so when you do a one machine install it does require a web server on that machine. That does not mean you have to use that computer for the website. You can use a completely separate web server without any FileMaker parts on it and just point FX.php to the one machine install. In this scenario the only thing the standalone web server is using to communicate with the WPE is cURL on the web (port 80). Are there any FileMaker server parts installed on the 'machine 2' web server? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090612/b558c21a/attachment-0001.html From bob at patin.com Fri Jun 12 11:12:21 2009 From: bob at patin.com (Bob Patin) Date: Fri Jun 12 11:12:27 2009 Subject: [FX.php List] Re: FX.php_List Digest, Vol 59, Issue 24 In-Reply-To: References: <20090612161735.99FEC2B450F@mail.iviking.org> Message-ID: <7C711523-CC35-4A10-B0CE-77105D4F6536@patin.com> On Jun 12, 2009, at 11:43 AM, Tanner Ellen wrote: > Bob, > I think you need to re-install filemaker server. When you re- > install it do it as a 1 machine setup. Make sure to enable apache > on your filemaker server so it is also a web server. You shouldn't > have to do anything special on opening ports or configuring on your > remote hosted webserver. Make sure all of your fx.php pages point > to the ip address of your filemaker server and not your offsite > hosted web server. Then upload your website to that hosted > webserver. This set up should work. That is what I am doing now. I don't think you read the whole thread... They're not running a machine that would run Apache, they're running a IIS machine that doesn't have a web server on it. I had thought that they could put WPE on the FMSA machine, and then use it with an external web server. However, it appears that when you install the WPE, it also needs to install the web server module which, since they don't have a web server on their FMSA machine, it didn't do. SO... This means that in essence, they'll have a 1-machine config, which they'll then tie into from an external web server. I've done something similar to that here for years, with a 2-machine config, where I'm using a 3rd machine's web server to talk to the WPE that is paired with one of my FMSA machines. I just didn't realize that, when you put the WPE on FileMaker Server, it has to have a web server running there as well. Best, Bob Patin Longterm Solutions P.O. Box 3408 Brentwood, TN 37024 615-333-6858 bob@longtermsolutions.com http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From ggt667 at gmail.com Fri Jun 12 14:12:17 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Fri Jun 12 14:12:21 2009 Subject: [FX.php List] Config problem In-Reply-To: <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2C8@mail> References: <20090611215424.A7C3D2B3112@mail.iviking.org> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2B6@mail> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2BE@mail> <502D1F36-8B5C-4540-B982-0A0D31CD3EF2@patin.com> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2C8@mail> Message-ID: I never needed a separate machine with WPE to get good speed, My setup is MacOS X[ sometimes server, but it?s simpler with ordinary MacOS X ] running FMSA and WPE Then to have debian or ubuntu with apache and php as a separate machine My experience is 2 machines( 1) FMSA+WPE 2) Apache with php) is 6 times faster than 1 running all services( FMSA + Apache with WPE + Apache with php). 3 machines( 1) FMSA 2) Apache with WPE 3) Apache with php) is still 6 times faster than 1 machine( FMSA + Apache with WPE + Apache with php) ggt667 2009/6/12 Andrew Denman : > The short answer: yes. > > > > Wherever you have the WPE installed, you need a web server installed and > running. > > > > Andrew Denman > > > > From: fx.php_list-bounces@mail.iviking.org > [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of Bob Patin > Sent: Friday, June 12, 2009 11:36 AM > To: FX.php Discussion List > Subject: Re: [FX.php List] Config problem > > > > They need to be open if the WPE is on the separate web server machine, but > according to your description it is on the FileMaker machine (i.e.: 1 > machine install). > > > > Well, it's *sort of* a 1-machine install, in that the web server is on a 2nd > machine. > > > > So?if?I'm?hearing?you?right,?to?do?what?they?want?to?do,?they?need?to?have?a?web?server?running?on?their?FM?machine...?I?spoke?to?their?tech?yesterday,?and?he?said?he?could?put?a?web?server?there,?and?then?re-install?FMSA?and?do?a?single-machine?install?for?me,?which?puts?PHP?and?does?all?the?proper?connecting. > > > > Sounds?like,?from?what?you're?saying,?that?since?the?FMSA?machine?needs?a?web?server?*anyway,*?we?might?as?well?use?it?for?the?web?app,?since?this?app?will?only?be?used?during?their?convention,?for?about?a?week?or?so. > > > > Am?I?hearing?you?right?that?the?FMSA?machine?needs?to?have?a?web?server?running?on?it,?whether?it's?used?or?not? > > > > Thanks, > > > > BP > > > > > > The confusion here may be with the ?web server?.? WPE requires a web server > to serve the FileMaker XML, so when you do a one machine install it does > require a web server on that machine.? That does not mean you have to use > that computer for the website.? You can use a completely separate web server > without any FileMaker parts on it and just point FX.php to the one machine > install. In this scenario the only thing the standalone web server is using > to communicate with the WPE is cURL on the web (port 80). > > > > Are there any FileMaker server parts installed on the ?machine 2? web > server? > > > > _______________________________________________ > 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 Jun 12 14:26:47 2009 From: bob at patin.com (Bob Patin) Date: Fri Jun 12 14:26:53 2009 Subject: [FX.php List] Config problem In-Reply-To: References: <20090611215424.A7C3D2B3112@mail.iviking.org> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2B6@mail> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2BE@mail> <502D1F36-8B5C-4540-B982-0A0D31CD3EF2@patin.com> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2C8@mail> Message-ID: On Jun 12, 2009, at 3:12 PM, Gjermund Gusland Thorsen wrote: > I never needed a separate machine with WPE to get good speed, > > My setup is MacOS X[ sometimes server, but it?s simpler with ordinary > MacOS X ] running FMSA and WPE > > Then to have debian or ubuntu with apache and php as a separate > machine > > My experience is 2 machines( 1) FMSA+WPE 2) Apache with php) is 6 > times faster than 1 running all services( FMSA + Apache with WPE + > Apache with php). > > 3 machines( 1) FMSA 2) Apache with WPE 3) Apache with php) is still 6 > times faster than 1 machine( FMSA + Apache with WPE + Apache with php) > > ggt667 I've never used a single-machine config here before, so this is why I'd never experienced installing for a single machine. Not sure why you think Mac OS X is simpler to use than OS X Server though; for setting up websites, the OS X Server Admin is excellent, although setting up mail for OS X Server really stinks, in my opinion. I've had terrible luck trying to set up clients on the mail server on OS X Server; I use it, and so do a couple of clients, but I tried four others to see how it would go, and 3 of the four couldn't seem to get their mail to work, no matter how long we tried. So I use EIMS (Eudora Internet Mail Server) which is really easy to administer; it doesn't do true push email, but it does IMAP and POP3 and is a snap to use, never crashes. Plus, it's not that expensive... Bob Patin Longterm Solutions P.O. Box 3408 Brentwood, TN 37024 615-333-6858 bob@longtermsolutions.com http://www.longtermsolutions.com iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance and FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From ggt667 at gmail.com Sat Jun 13 01:34:22 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Sat Jun 13 01:34:26 2009 Subject: [FX.php List] Config problem In-Reply-To: References: <20090611215424.A7C3D2B3112@mail.iviking.org> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2B6@mail> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2BE@mail> <502D1F36-8B5C-4540-B982-0A0D31CD3EF2@patin.com> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2C8@mail> Message-ID: Well OSX is all about GUI in my opinion, OS X Server is about crippling good server software. ggt 2009/6/12 Bob Patin : > On Jun 12, 2009, at 3:12 PM, Gjermund Gusland Thorsen wrote: > >> I never needed a separate machine with WPE to get good speed, >> >> My setup is MacOS X[ sometimes server, but it?s simpler with ordinary >> MacOS X ] running FMSA and WPE >> >> Then to have debian or ubuntu with apache and php as a separate machine >> >> My experience is 2 machines( 1) FMSA+WPE 2) Apache with php) is 6 >> times faster than 1 running all services( FMSA + Apache with WPE + >> Apache with php). >> >> 3 machines( 1) FMSA 2) Apache with WPE 3) Apache with php) is still 6 >> times faster than 1 machine( FMSA + Apache with WPE + Apache with php) >> >> ggt667 > > I've never used a single-machine config here before, so this is why I'd > never experienced installing for a single machine. > > Not sure why you think Mac OS X is simpler to use than OS X Server though; > for setting up websites, the OS X Server Admin is excellent, although > setting up mail for OS X Server really stinks, in my opinion. > > I've had terrible luck trying to set up clients on the mail server on OS X > Server; I use it, and so do a couple of clients, but I tried four others to > see how it would go, and 3 of the four couldn't seem to get their mail to > work, no matter how long we tried. > > So I use EIMS (Eudora Internet Mail Server) which is really easy to > administer; it doesn't do true push email, but it does IMAP and POP3 and is > a snap to use, never crashes. Plus, it's not that expensive... > > Bob Patin > Longterm Solutions > P.O. Box 3408 > Brentwood, TN 37024 > 615-333-6858 > bob@longtermsolutions.com > http://www.longtermsolutions.com > iChat: bobpatin > AIM: longterm1954 > FileMaker 9 Certified Developer > Member of FileMaker Business Alliance and FileMaker TechNet > -------------------------- > FileMaker hosting and consulting for all versions of FileMaker > PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From ggt667 at gmail.com Sat Jun 13 01:37:01 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Sat Jun 13 01:37:04 2009 Subject: [FX.php List] Config problem In-Reply-To: References: <20090611215424.A7C3D2B3112@mail.iviking.org> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2B6@mail> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2BE@mail> <502D1F36-8B5C-4540-B982-0A0D31CD3EF2@patin.com> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2C8@mail> Message-ID: For mail, postfix is the best MTA( mail transport agent ) in my opinion, However I do not like MacOS X Server?s implementation of the config and administration, not to mention cyrus in which is a piece of <> ggt 2009/6/13 Gjermund Gusland Thorsen : > Well OSX is all about GUI in my opinion, OS X Server is about > crippling good server software. > > ggt > > 2009/6/12 Bob Patin : >> On Jun 12, 2009, at 3:12 PM, Gjermund Gusland Thorsen wrote: >> >>> I never needed a separate machine with WPE to get good speed, >>> >>> My setup is MacOS X[ sometimes server, but it?s simpler with ordinary >>> MacOS X ] running FMSA and WPE >>> >>> Then to have debian or ubuntu with apache and php as a separate machine >>> >>> My experience is 2 machines( 1) FMSA+WPE 2) Apache with php) is 6 >>> times faster than 1 running all services( FMSA + Apache with WPE + >>> Apache with php). >>> >>> 3 machines( 1) FMSA 2) Apache with WPE 3) Apache with php) is still 6 >>> times faster than 1 machine( FMSA + Apache with WPE + Apache with php) >>> >>> ggt667 >> >> I've never used a single-machine config here before, so this is why I'd >> never experienced installing for a single machine. >> >> Not sure why you think Mac OS X is simpler to use than OS X Server though; >> for setting up websites, the OS X Server Admin is excellent, although >> setting up mail for OS X Server really stinks, in my opinion. >> >> I've had terrible luck trying to set up clients on the mail server on OS X >> Server; I use it, and so do a couple of clients, but I tried four others to >> see how it would go, and 3 of the four couldn't seem to get their mail to >> work, no matter how long we tried. >> >> So I use EIMS (Eudora Internet Mail Server) which is really easy to >> administer; it doesn't do true push email, but it does IMAP and POP3 and is >> a snap to use, never crashes. Plus, it's not that expensive... >> >> Bob Patin >> Longterm Solutions >> P.O. Box 3408 >> Brentwood, TN 37024 >> 615-333-6858 >> bob@longtermsolutions.com >> http://www.longtermsolutions.com >> iChat: bobpatin >> AIM: longterm1954 >> FileMaker 9 Certified Developer >> Member of FileMaker Business Alliance and FileMaker TechNet >> -------------------------- >> FileMaker hosting and consulting for all versions of FileMaker >> PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> > From leo at finalresort.org Sat Jun 13 06:00:07 2009 From: leo at finalresort.org (Leo R. Lundgren) Date: Sat Jun 13 06:00:13 2009 Subject: [FX.php List] Config problem In-Reply-To: References: <20090611215424.A7C3D2B3112@mail.iviking.org> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2B6@mail> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2BE@mail> <502D1F36-8B5C-4540-B982-0A0D31CD3EF2@patin.com> <94A602F7D7242349A5B8846DEC4A5F8B1625FCB2C8@mail> Message-ID: <5DE6A1CD-FE66-4A93-AF7B-3B6CF33DBB69@finalresort.org> <2c> I agree. OS X Server is good for some things, but parts of it should be left untouched in favour of better systems For instance, virtual forwarding aliases worked perfectly fine in 10.4, but Apple broke them horribly in 10.5 and haven't fixed it yet. There's also the issue with Shared Folders appearing for certain spam e-mails, a problem I recently got a response from Apple saying "unfortinately there's no fix for this, but it will be addressed in 10.6". I like postfix too, and to complement it I prefer dovecot (and agree with GTT on Cyrus), which will (hopefully, unless Apple reverts that too) replace Cyrus in 10.6. 13 jun 2009 kl. 09.37 skrev Gjermund Gusland Thorsen: > For mail, postfix is the best MTA( mail transport agent ) in my > opinion, > However I do not like MacOS X Server?s implementation of the config > and administration, > not to mention cyrus in which is a piece of < that word on the list, Chris would probably tell me that there might > be kids on the list>> > > ggt > > 2009/6/13 Gjermund Gusland Thorsen : >> Well OSX is all about GUI in my opinion, OS X Server is about >> crippling good server software. >> >> ggt >> >> 2009/6/12 Bob Patin : >>> On Jun 12, 2009, at 3:12 PM, Gjermund Gusland Thorsen wrote: >>> >>>> I never needed a separate machine with WPE to get good speed, >>>> >>>> My setup is MacOS X[ sometimes server, but it?s simpler with >>>> ordinary >>>> MacOS X ] running FMSA and WPE >>>> >>>> Then to have debian or ubuntu with apache and php as a separate >>>> machine >>>> >>>> My experience is 2 machines( 1) FMSA+WPE 2) Apache with php) is 6 >>>> times faster than 1 running all services( FMSA + Apache with WPE + >>>> Apache with php). >>>> >>>> 3 machines( 1) FMSA 2) Apache with WPE 3) Apache with php) is >>>> still 6 >>>> times faster than 1 machine( FMSA + Apache with WPE + Apache with >>>> php) >>>> >>>> ggt667 >>> >>> I've never used a single-machine config here before, so this is >>> why I'd >>> never experienced installing for a single machine. >>> >>> Not sure why you think Mac OS X is simpler to use than OS X Server >>> though; >>> for setting up websites, the OS X Server Admin is excellent, >>> although >>> setting up mail for OS X Server really stinks, in my opinion. >>> >>> I've had terrible luck trying to set up clients on the mail server >>> on OS X >>> Server; I use it, and so do a couple of clients, but I tried four >>> others to >>> see how it would go, and 3 of the four couldn't seem to get their >>> mail to >>> work, no matter how long we tried. >>> >>> So I use EIMS (Eudora Internet Mail Server) which is really easy to >>> administer; it doesn't do true push email, but it does IMAP and >>> POP3 and is >>> a snap to use, never crashes. Plus, it's not that expensive... >>> >>> Bob Patin >>> Longterm Solutions >>> P.O. Box 3408 >>> Brentwood, TN 37024 >>> 615-333-6858 >>> bob@longtermsolutions.com >>> http://www.longtermsolutions.com >>> iChat: bobpatin >>> AIM: longterm1954 >>> FileMaker 9 Certified Developer >>> Member of FileMaker Business Alliance and FileMaker TechNet >>> -------------------------- >>> FileMaker hosting and consulting for all versions of FileMaker >>> PHP ? Full email services ? Free DNS hosting ? Colocation ? >>> Consulting >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >> > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -| From tannerellen at gmail.com Sat Jun 13 23:31:06 2009 From: tannerellen at gmail.com (Tanner Ellen) Date: Sat Jun 13 23:31:09 2009 Subject: [FX.php List] Re: FX.php_List Digest, Vol 59, Issue 26 In-Reply-To: <20090613120017.B8E9F2B5953@mail.iviking.org> References: <20090613120017.B8E9F2B5953@mail.iviking.org> Message-ID: I thought if you were running a setup like this: " 2 machines( 1) FMSA+WPE 2) Apache with php)" Then you needed to enable the web server (apache) on the FMSA machine also. Is that not the case? Because the Web Server helper app doesn't install on linux does it? My setup is a Mac Os 10.5 machine with FMSA and WPE, I have enabled web sharing on it but don't host my fx.php sites on it. I then have a hosted dedicated linux web server with apache where my website and all php files reside. Is this the fast setup you are referring to or am I missing something? Thanks for any insight as I am always trying to squeak out extra performance. -Tanner > ------------------------------ > > Message: 2 > Date: Fri, 12 Jun 2009 22:12:17 +0200 > From: Gjermund Gusland Thorsen > Subject: Re: [FX.php List] Config problem > To: "FX.php Discussion List" > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > I never needed a separate machine with WPE to get good speed, > > My setup is MacOS X[ sometimes server, but it?s simpler with ordinary > MacOS X ] running FMSA and WPE > > Then to have debian or ubuntu with apache and php as a separate machine > > My experience is 2 machines( 1) FMSA+WPE 2) Apache with php) is 6 > times faster than 1 running all services( FMSA + Apache with WPE + > Apache with php). > > 3 machines( 1) FMSA 2) Apache with WPE 3) Apache with php) is still 6 > times faster than 1 machine( FMSA + Apache with WPE + Apache with php) > > ggt667 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090613/c41b2b8a/attachment.html From tim at nicheit.com.au Sun Jun 14 01:01:49 2009 From: tim at nicheit.com.au (Tim 'Webko' Booth) Date: Sun Jun 14 01:01:56 2009 Subject: [FX.php List] A new question about web pub installs In-Reply-To: References: <8D58EA01-8AE0-4D93-9C1F-33A2DF7C0E68@patin.com> <1CAC5A6C-649C-475C-B60E-725C2704D643@alamark.com> Message-ID: <36863A8B-1BFE-4E8B-8C6F-0F788195A181@nicheit.com.au> On 13/06/2009, at 12:20 AM, Bob Patin wrote: > On Jun 12, 2009, at 8:30 AM, Anders Monsen wrote: > >> I've done 2-machine and 1-machine installs, and even have a client >> that has a 3-machine install. > > Yes, I have too (I have 7 pairs of FileMaker/web server here), but > not where the WPE is on the FileMaker Server instead of the web > server, and never where the web server is somewhere else. We have any number of remote websites that have nothing FM specific installed on them... And run FX based websites quite happily. However, the machine(s) those sites point back to have Server, a web- server and the WPE installed on them. eg pleatco/com/search/ has all the php pages on their server (no idea what they use for server software, not sure it matters in this case...) and a self-contained FX install, that is configured to use Port 80 (only) back to our box, which has the database and WPE on it - seems to work fine. I think that sounds like what you're doing? Cheers Webko From ggt667 at gmail.com Sun Jun 14 01:25:04 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Sun Jun 14 01:25:08 2009 Subject: [FX.php List] Re: FX.php_List Digest, Vol 59, Issue 26 In-Reply-To: References: <20090613120017.B8E9F2B5953@mail.iviking.org> Message-ID: This is true, but it does not run as a webserver, only as a supplier for a framework for WPE. ggt 2009/6/14 Tanner Ellen : > I thought if you were running a ?setup like this: > "?2 machines( 1) FMSA+WPE 2) Apache with php)" > Then you needed to enable the web server (apache) on the FMSA machine also. > ?Is that not the case? ?Because the Web Server helper app doesn't install on > linux does it? ?My setup is a Mac Os 10.5 machine with FMSA and WPE, I have > enabled web sharing on it but don't host my fx.php sites on it. ?I then have > a hosted dedicated linux web server with apache where my website and all php > files reside. ?Is this the fast setup you are referring to or am I missing > something? > Thanks for any insight as I am always trying to squeak out extra > performance. > -Tanner >> >> ------------------------------ >> >> Message: 2 >> Date: Fri, 12 Jun 2009 22:12:17 +0200 >> From: Gjermund Gusland Thorsen >> Subject: Re: [FX.php List] Config problem >> To: "FX.php Discussion List" >> Message-ID: >> ? ? ? ? >> Content-Type: text/plain; charset=UTF-8 >> >> I never needed a separate machine with WPE to get good speed, >> >> My setup is MacOS X[ sometimes server, but it?s simpler with ordinary >> MacOS X ] running FMSA and WPE >> >> Then to have debian or ubuntu with apache and php as a separate machine >> >> My experience is 2 machines( 1) FMSA+WPE 2) Apache with php) is 6 >> times faster than 1 running all services( FMSA + Apache with WPE + >> Apache with php). >> >> 3 machines( 1) FMSA 2) Apache with WPE 3) Apache with php) is still 6 >> times faster than 1 machine( FMSA + Apache with WPE + Apache with php) >> >> ggt667 >> > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > From bob at patin.com Sun Jun 14 10:05:42 2009 From: bob at patin.com (Bob Patin) Date: Sun Jun 14 10:05:48 2009 Subject: [FX.php List] A new question about web pub installs In-Reply-To: <36863A8B-1BFE-4E8B-8C6F-0F788195A181@nicheit.com.au> References: <8D58EA01-8AE0-4D93-9C1F-33A2DF7C0E68@patin.com> <1CAC5A6C-649C-475C-B60E-725C2704D643@alamark.com> <36863A8B-1BFE-4E8B-8C6F-0F788195A181@nicheit.com.au> Message-ID: > However, the machine(s) those sites point back to have Server, a web- > server and the WPE installed on them. Yes, I've learned the hard way; I was under the mistaken impression that, if I wanted to put the WPE on the FMS machine, and use an external web server, that the FMS machine didn't need a web server. In reality, what this config is doing is using a 1-machine setup and then just piggybacking on it. I've been doing that for years here with a few clients who have their own colocated web servers; even though their seb servers are standalone, without a WPE, they "piggyback" into an existing 2-machine config and use the WPE on the other web server. Now if their IT guy would just get the webserver working properly, we'd be all set... :) Best, Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com Twitter: bobpatin iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance & FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker Web hosting ? PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting From bob at patin.com Sun Jun 14 10:07:10 2009 From: bob at patin.com (Bob Patin) Date: Sun Jun 14 10:07:20 2009 Subject: [FX.php List] Re: FX.php_List Digest, Vol 59, Issue 26 In-Reply-To: References: <20090613120017.B8E9F2B5953@mail.iviking.org> Message-ID: Yes, it's exactly what needs to happen; in reality, it's a 1-machine config... Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com Twitter: bobpatin iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance & FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker Web hosting ? PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jun 14, 2009, at 12:31 AM, Tanner Ellen wrote: > I thought if you were running a setup like this: > > " 2 machines( 1) FMSA+WPE 2) Apache with php)" > > Then you needed to enable the web server (apache) on the FMSA > machine also. Is that not the case? -------------- next part -------------- Skipped content of type multipart/related From bob at patin.com Sun Jun 14 10:08:20 2009 From: bob at patin.com (Bob Patin) Date: Sun Jun 14 10:10:08 2009 Subject: [FX.php List] Re: FX.php_List Digest, Vol 59, Issue 26 In-Reply-To: References: <20090613120017.B8E9F2B5953@mail.iviking.org> Message-ID: But the thing is, load-wise, one might as well use the internal web server instead of the external one; using the 2nd webserver won't speed things up, unless we're talking a huge amt. of traffic... I haven't tested this, but since WPE is the bottleneck, I'd assume this to be true... Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com Twitter: bobpatin iChat: bobpatin AIM: longterm1954 FileMaker 9 Certified Developer Member of FileMaker Business Alliance & FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker Web hosting ? PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jun 14, 2009, at 2:25 AM, Gjermund Gusland Thorsen wrote: > This is true, but it does not run as a webserver, only as a supplier > for a framework for WPE. > > ggt -------------- next part -------------- Skipped content of type multipart/related From bob at minteer.org Sun Jun 14 11:38:11 2009 From: bob at minteer.org (Bob Minteer) Date: Sun Jun 14 11:38:14 2009 Subject: [FX.php List] [Slightly OT] The brotherhood of XML parser classes Which are available? In-Reply-To: Message-ID: ASP.NET / VB.NET / VC#.NET ---- Fmdotnet: http://fmdotnet.sourceforge.net/ On 6/11/09 1:51 PM, "Gjermund Gusland Thorsen" wrote: > PHP > --- > FX.php > phpFileMaker > > Python > --- > pyFileMaker > > jQuery/Javascript > --- > ? > > JSP > --- > ? > > ASP > --- > ? > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From ggt667 at gmail.com Mon Jun 15 06:57:57 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Mon Jun 15 06:58:00 2009 Subject: [FX.php List] Thoughts about line 1425 of FX.php In-Reply-To: <10991056-F786-4F03-A9B6-0D558CFFBF8F@bluecrocodile.co.nz> References: <22B9D42B-BF13-4429-AADD-7B87A83D309C@bluecrocodile.co.nz> <10991056-F786-4F03-A9B6-0D558CFFBF8F@bluecrocodile.co.nz> Message-ID: I looked through this and here is my suggestion. if( is_array( $value ) ) { foreach( $value as $partKey => $partValue ) { $tmpQueryArray[] = urlencode( $key ) . urlencode( '[' . $partKey . ']' ) . '=' . urlencode( $partValue ); } $tempQueryString = implode( '&', $tmpQueryArray ); unset( $tmpQueryArray ); } else { $tempQueryString .= urlencode( $key ) . '=' . urlencode( $value ) . '&'; } http://pastebin.com/f31ef9b88 ggt 2009/6/11 Steve Winter : > Hi Chris, > Yeah I do... that wasn't a complete copy-paste from Eclipse into the email, > so I stuffed it up slightly in the email, now corrected below... > cheers > Steve > > On 11 Jun 2009, at 16:16, Chris Hansen wrote: > > Steve, > > Yes this would be a good addition to FX, and yes, I've seen this error > before in specific situations. ?Kudos for actually doing something about it > (don't I feel sheepish... =) ?Looks like a good addition to me, though it > does appear that you've got an extra concatenation operator within your > foreach() loop. > > --Chris > > On Jun 10, 2009, at 1:34 PM, Steve Winter wrote: > > Partially answering my own question, but not wanting to stifle the raging > debate ;-) I turned line 1425 into; > > if(is_array($value)) { > > ? ????foreach($value as $partKey => $partValue) { > > ??????????????????$tempQueryString .= urlencode($key) . > urlencode('['.$partKey.']') . '=' . urlencode($partValue) . '&'; > > ????????????} > > ???????} else { > > ????????????$tempQueryString .= urlencode($key) . '=' . urlencode($value) . > '&'; > > ???????} > > which seems to make the error go away (which is always nice ;-). Anyone see > any issues with this...? > > Cheers > > Steve > > > On 10 Jun 2009, at 18:13, Steve Winter wrote: > > Hi all, > > Not sure if anyone's ever seen this wee error; > > Warning: urlencode() expects parameter 1 to be string, array given in > /path/to/fx/FX.php on line 1425 > > but I periodically get it, and today I decided to try and find out why... > > Turns out that the function it's part of BuildLinkQueryString () is taking > the posted parameters and attempting to create a nice URL friendly string... > > Nice idea and all that, and maybe I'm the only one who ever does it, but I > periodically push form data into an array, and it's that which is causing > the issue... > > So, does anyone know how important (or not) that function is to the internal > workings of FX...? it appears that it's attempting to create the old CDML > style LinkNext, LinkPrevious type URL strings... anyone ever use those these > days...?? Is this data also sued for anything else, I don't think so, since > previously I've just ignored the error, with seemingly no ill effects... > > If it is as legacy as it looks, is it perhaps time to retire that > function...? Any thoughts on how to deal with the array concept in post > variables...? I guess the array could be exploded and then rebuilt as a > strong in the form array[]=fred&array[]=spoon&array[]=lives&array[]here but > if it's not needed....??? > > Cheers > > Steve > > > Steve Winter > > steve@bluecrocodile.co.nz > > m: +44 77 7852 4776 > > 3 Calshot Court, Channel Way > > Ocean Village, Southampton SO14 3GR > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > > Steve Winter > > steve@bluecrocodile.co.nz > > m: +44 77 7852 4776 > > 3 Calshot Court, Channel Way > > Ocean Village, Southampton SO14 3GR > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > > Steve Winter > steve@bluecrocodile.co.nz > m: +44 77 7852 4776 > 3 Calshot Court,?Channel Way > Ocean?Village,?Southampton?SO14 3GR > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > From jonathan at eschwartz.com Mon Jun 15 08:26:23 2009 From: jonathan at eschwartz.com (Jonathan Schwartz) Date: Mon Jun 15 08:31:00 2009 Subject: [FX.php List] Multiple recipients for Fx email error routine? Message-ID: Hi folks, I want to be able to have FX.php's built in email error routine send to 2 recipients, not just one. Anyone done this? Thx Jonathan -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From steve at bluecrocodile.co.nz Mon Jun 15 08:45:51 2009 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Mon Jun 15 08:45:58 2009 Subject: [FX.php List] Multiple recipients for Fx email error routine? In-Reply-To: References: Message-ID: <81739CB5-0809-4013-B7D6-4205D0C0627C@bluecrocodile.co.nz> Hi Jonathan, Well given that the mailing routine within FX uses the PHP mail() function, then you could modify that to include a fourth parameter which included a CC... In my v of FX (4.2) lines 23- 37 include this data/function; $webmasterEmailAddress = 'webmaster@yourdomain.com'; $emailFromAddress = 'you@yourdomain.com'; function EmailError ($errorText) { global $webmasterEmailAddress; global $emailFromAddress; if (EMAIL_ERROR_MESSAGES) { $emailSubject = "PHP Server Error"; $emailMessage = "The following error just occured:\r\n\r \nMessage: {$errorText}\r\n\r\n**This is an automated message**"; $emailStatus = mail($webmasterEmailAddress, $emailSubject, $emailMessage, "From: $emailFromAddress\r\n"); } } The fourth parameter in mail() is the optional headers parameter, which you could expand to add in a CC, so you could define a new variable $ccEmail, and include that so that the headers becomes "From: $emailFromAddress\r\n CC: $ccEmail\r\n" Don't forget to include the new $ccEmail variable in the global declaration if you declare it with the others at the top and outside the EmailError function... HTH Cheers Steve On 15 Jun 2009, at 15:26, Jonathan Schwartz wrote: > Hi folks, > > I want to be able to have FX.php's built in email error routine send > to 2 recipients, not just one. > > Anyone done this? > > Thx > > Jonathan > -- > Jonathan Schwartz > Exit 445 Group > jonathan@exit445.com > http://www.exit445.com > 415-370-5011 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter steve@bluecrocodile.co.nz m: +44 77 7852 4776 3 Calshot Court, Channel Way Ocean Village, Southampton SO14 3GR -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090615/45d7a6e0/attachment.html From jschwartz at exit445.com Mon Jun 15 08:49:39 2009 From: jschwartz at exit445.com (Jonathan Schwartz) Date: Mon Jun 15 08:49:58 2009 Subject: [FX.php List] Multiple recipients for Fx email error routine? Message-ID: Hi folks, I want to be able to have FX.php's built in email error routine send to 2 recipients, not just one. Anyone done this? Thx Jonathan -- Jonathan Schwartz Exit 445 Group jonathan@exit445.com http://www.exit445.com 415-370-5011 From gareth.evans at schawk.com Mon Jun 15 09:01:48 2009 From: gareth.evans at schawk.com (Gareth Evans) Date: Mon Jun 15 09:02:21 2009 Subject: [FX.php List] Multiple recipients for Fx email error routine? In-Reply-To: <81739CB5-0809-4013-B7D6-4205D0C0627C@bluecrocodile.co.nz> Message-ID: You should be able to just supply a comma delimited string of addresses: $webmasterEmailAddress = 'user@example.com, anotheruser@example.com'; -- GARETH EVANS > From: Steve Winter > Reply-To: "FX.php Discussion List" > Date: Mon, 15 Jun 2009 15:45:51 +0100 > To: "FX.php Discussion List" > Subject: Re: [FX.php List] Multiple recipients for Fx email error routine? > > Hi Jonathan, > > Well given that the mailing routine within FX uses the PHP mail() > function, then you could modify that to include a fourth parameter > which included a CC... In my v of FX (4.2) lines 23- 37 include this > data/function; > > $webmasterEmailAddress = 'webmaster@yourdomain.com'; > $emailFromAddress = 'you@yourdomain.com'; > > function EmailError ($errorText) > { > global $webmasterEmailAddress; > global $emailFromAddress; > > if (EMAIL_ERROR_MESSAGES) { > $emailSubject = "PHP Server Error"; > $emailMessage = "The following error just occured:\r\n\r > \nMessage: {$errorText}\r\n\r\n**This is an automated message**"; > $emailStatus = mail($webmasterEmailAddress, $emailSubject, > $emailMessage, "From: $emailFromAddress\r\n"); > } > } > > The fourth parameter in mail() is the optional headers parameter, > which you could expand to add in a CC, so you could define a new > variable $ccEmail, and include that so that the headers becomes "From: > $emailFromAddress\r\n CC: $ccEmail\r\n" > > Don't forget to include the new $ccEmail variable in the global > declaration if you declare it with the others at the top and outside > the EmailError function... > > HTH > > Cheers > Steve > > On 15 Jun 2009, at 15:26, Jonathan Schwartz wrote: > >> Hi folks, >> >> I want to be able to have FX.php's built in email error routine send >> to 2 recipients, not just one. >> >> Anyone done this? >> >> Thx >> >> Jonathan >> -- >> Jonathan Schwartz >> Exit 445 Group >> jonathan@exit445.com >> http://www.exit445.com >> 415-370-5011 >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > Steve Winter > steve@bluecrocodile.co.nz > m: +44 77 7852 4776 > 3 Calshot Court, Channel Way > Ocean Village, Southampton SO14 3GR > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From ggt667 at gmail.com Mon Jun 15 09:06:57 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Mon Jun 15 09:07:02 2009 Subject: [FX.php List] Multiple recipients for Fx email error routine? In-Reply-To: References: Message-ID: I?d suggest: email@one.com,email@two.com But never tried... ggt 2009/6/15 Jonathan Schwartz : > Hi folks, > > I want to be able to have FX.php's built in email error routine send to 2 > recipients, not just one. > > Anyone done this? > > Thx > > Jonathan > -- > Jonathan Schwartz > Exit 445 Group > jonathan@exit445.com > http://www.exit445.com > 415-370-5011 > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > From steve at bluecrocodile.co.nz Mon Jun 15 09:53:56 2009 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Mon Jun 15 09:54:02 2009 Subject: [FX.php List] Multiple recipients for Fx email error routine? In-Reply-To: References: Message-ID: <0123A0EA-D0B4-40D0-A771-6EA6DEAD8E55@bluecrocodile.co.nz> Or you could do that, which would be even easer ;-) Cheers Steve On 15 Jun 2009, at 16:01, Gareth Evans wrote: > You should be able to just supply a comma delimited string of > addresses: > > $webmasterEmailAddress = 'user@example.com, anotheruser@example.com'; > > -- > GARETH EVANS > > >> From: Steve Winter >> Reply-To: "FX.php Discussion List" >> Date: Mon, 15 Jun 2009 15:45:51 +0100 >> To: "FX.php Discussion List" >> Subject: Re: [FX.php List] Multiple recipients for Fx email error >> routine? >> >> Hi Jonathan, >> >> Well given that the mailing routine within FX uses the PHP mail() >> function, then you could modify that to include a fourth parameter >> which included a CC... In my v of FX (4.2) lines 23- 37 include this >> data/function; >> >> $webmasterEmailAddress = 'webmaster@yourdomain.com'; >> $emailFromAddress = 'you@yourdomain.com'; >> >> function EmailError ($errorText) >> { >> global $webmasterEmailAddress; >> global $emailFromAddress; >> >> if (EMAIL_ERROR_MESSAGES) { >> $emailSubject = "PHP Server Error"; >> $emailMessage = "The following error just occured:\r\n\r >> \nMessage: {$errorText}\r\n\r\n**This is an automated message**"; >> $emailStatus = mail($webmasterEmailAddress, $emailSubject, >> $emailMessage, "From: $emailFromAddress\r\n"); >> } >> } >> >> The fourth parameter in mail() is the optional headers parameter, >> which you could expand to add in a CC, so you could define a new >> variable $ccEmail, and include that so that the headers becomes >> "From: >> $emailFromAddress\r\n CC: $ccEmail\r\n" >> >> Don't forget to include the new $ccEmail variable in the global >> declaration if you declare it with the others at the top and outside >> the EmailError function... >> >> HTH >> >> Cheers >> Steve >> >> On 15 Jun 2009, at 15:26, Jonathan Schwartz wrote: >> >>> Hi folks, >>> >>> I want to be able to have FX.php's built in email error routine send >>> to 2 recipients, not just one. >>> >>> Anyone done this? >>> >>> Thx >>> >>> Jonathan >>> -- >>> Jonathan Schwartz >>> Exit 445 Group >>> jonathan@exit445.com >>> http://www.exit445.com >>> 415-370-5011 >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> Steve Winter >> steve@bluecrocodile.co.nz >> m: +44 77 7852 4776 >> 3 Calshot Court, Channel Way >> Ocean Village, Southampton SO14 3GR >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter steve@bluecrocodile.co.nz m: +44 77 7852 4776 3 Calshot Court, Channel Way Ocean Village, Southampton SO14 3GR -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090615/d5ac3f96/attachment.html From tim at nicheit.com.au Mon Jun 15 16:14:31 2009 From: tim at nicheit.com.au (Tim 'Webko' Booth) Date: Mon Jun 15 16:14:49 2009 Subject: [FX.php List] Multiple recipients for Fx email error routine? In-Reply-To: <0123A0EA-D0B4-40D0-A771-6EA6DEAD8E55@bluecrocodile.co.nz> References: <0123A0EA-D0B4-40D0-A771-6EA6DEAD8E55@bluecrocodile.co.nz> Message-ID: I learn something every day - I've always written my own ;-) Mind you, on some of my servers, mail() won't work, and I use phpmailer instead anyway Cheers Webko On 16/06/2009, at 1:53 AM, Steve Winter wrote: > Or you could do that, which would be even easer ;-) > > Cheers > Steve > > On 15 Jun 2009, at 16:01, Gareth Evans wrote: > >> You should be able to just supply a comma delimited string of >> addresses: >> >> $webmasterEmailAddress = 'user@example.com, anotheruser@example.com'; >> >> -- >> GARETH EVANS >> >> >>> From: Steve Winter >>> Reply-To: "FX.php Discussion List" >>> Date: Mon, 15 Jun 2009 15:45:51 +0100 >>> To: "FX.php Discussion List" >>> Subject: Re: [FX.php List] Multiple recipients for Fx email error >>> routine? >>> >>> Hi Jonathan, >>> >>> Well given that the mailing routine within FX uses the PHP mail() >>> function, then you could modify that to include a fourth parameter >>> which included a CC... In my v of FX (4.2) lines 23- 37 include this >>> data/function; >>> >>> $webmasterEmailAddress = 'webmaster@yourdomain.com'; >>> $emailFromAddress = 'you@yourdomain.com'; >>> >>> function EmailError ($errorText) >>> { >>> global $webmasterEmailAddress; >>> global $emailFromAddress; >>> >>> if (EMAIL_ERROR_MESSAGES) { >>> $emailSubject = "PHP Server Error"; >>> $emailMessage = "The following error just occured:\r\n\r >>> \nMessage: {$errorText}\r\n\r\n**This is an automated message**"; >>> $emailStatus = mail($webmasterEmailAddress, $emailSubject, >>> $emailMessage, "From: $emailFromAddress\r\n"); >>> } >>> } >>> >>> The fourth parameter in mail() is the optional headers parameter, >>> which you could expand to add in a CC, so you could define a new >>> variable $ccEmail, and include that so that the headers becomes >>> "From: >>> $emailFromAddress\r\n CC: $ccEmail\r\n" >>> >>> Don't forget to include the new $ccEmail variable in the global >>> declaration if you declare it with the others at the top and outside >>> the EmailError function... >>> >>> HTH >>> >>> Cheers >>> Steve >>> >>> On 15 Jun 2009, at 15:26, Jonathan Schwartz wrote: >>> >>>> Hi folks, >>>> >>>> I want to be able to have FX.php's built in email error routine >>>> send >>>> to 2 recipients, not just one. >>>> >>>> Anyone done this? >>>> >>>> Thx >>>> >>>> Jonathan >>>> -- >>>> Jonathan Schwartz >>>> Exit 445 Group >>>> jonathan@exit445.com >>>> http://www.exit445.com >>>> 415-370-5011 >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >>> >>> Steve Winter >>> steve@bluecrocodile.co.nz >>> m: +44 77 7852 4776 >>> 3 Calshot Court, Channel Way >>> Ocean Village, Southampton SO14 3GR >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > Steve Winter > steve@bluecrocodile.co.nz > m: +44 77 7852 4776 > 3 Calshot Court, Channel Way > Ocean Village, Southampton SO14 3GR > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Tim 'Webko' Booth :: Niche IT Pty Ltd, Sydney, Australia [e] tim@nicheit.com.au :: [m] 0418 993 306 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090616/662a9180/attachment-0001.html From steve at bluecrocodile.co.nz Fri Jun 19 01:28:41 2009 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Fri Jun 19 01:28:53 2009 Subject: [FX.php List] Back on the trail of automating database management Message-ID: Hi all, I've floated versions of this concept up in the past, but I'm back in need of a way to automate the creation of a new table in 50+ instances of a database solution which I develop and manage for a client... What I want to be able to do is to create a new table, complete with field definitions through a script called via FX.... This seems like something of a tall order, and to date has proved impossible... I looked at importing a table from a 'master' database, but FM won't allow the file or the table to be passed as parameters (or even set in globals) for the script... Recently I was looking at the XML import function and that looks very promising because I can tell the script to look for an XML file on my server called 'newTable.xml' (for example) and then modify that... everything along that line works really well except that the table ends up called 'XML import from http'. NOT very user-friendly... So, does anyone have any clue as to how I set the table name through and XML import...? or any other ideas on how I can go about making structural changes to databases using scripts...? (the desire to do this grows the more this solution is implemented, the more features are added, and the more I work with MySQL where you can define everything about the database through php ;-) Thanks for any thoughts... Cheers Steve Steve Winter steve@bluecrocodile.co.nz m: +44 77 7852 4776 3 Calshot Court, Channel Way Ocean Village, Southampton SO14 3GR -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090619/ec18ee22/attachment.html From ggt667 at gmail.com Fri Jun 19 01:55:45 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Fri Jun 19 01:55:48 2009 Subject: [FX.php List] Back on the trail of automating database management In-Reply-To: References: Message-ID: Do you have php on the FMSA itself? I would write a php script that executes a shell script that duplicates a template file in the server folder. ggt667 2009/6/19 Steve Winter : > Hi all, > I've floated versions of this concept up in the past, but I'm back in need > of a way to automate the creation of a new table in 50+ instances of a > database solution which I develop and manage for a client... > What I want to be able to do is to create a new table, complete with field > definitions through a script called via FX.... > This seems like something of a tall order, and to date has proved > impossible... I looked at importing a table from a 'master' database, but FM > won't allow the file or the table to be passed as parameters (or even set in > globals) for the script... > Recently I was looking at the XML import function and that looks very > promising because I can tell the script to look for an XML file on my server > called 'newTable.xml' (for example) and then modify that... everything along > that line works really well except?that the table ends up called 'XML import > from http'.?NOT?very?user-friendly... > So,?does?anyone?have?any clue as to how I set the table name through and XML > import...? or any?other?ideas?on?how?I can go about making structural > changes to databases using scripts...? (the desire to do this grows the more > this solution is implemented, the more features are added, and the more I > work with MySQL where you can define everything?about the database through > php ;-) > Thanks for any thoughts... > Cheers > Steve > > Steve Winter > steve@bluecrocodile.co.nz > m: +44 77 7852 4776 > 3 Calshot Court,?Channel Way > Ocean?Village,?Southampton?SO14 3GR > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > From steve at bluecrocodile.co.nz Fri Jun 19 03:44:29 2009 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Fri Jun 19 03:44:38 2009 Subject: [FX.php List] Back on the trail of automating database management In-Reply-To: References: Message-ID: <6DB6F825-6C8E-426D-8826-E2F94D7A904F@bluecrocodile.co.nz> Hi ggt, That's what I do to roll out the solution to a new instance, and that works really well... the shell script then calls the FMS command line tool and opens the database as well which allows for an activation process which can be undertaken by sending a text message, which is great... But how would I do that and maintain user data... each of these instances begins as a clone (via the above process) of a template database, but how would I replace that templated database and maintain the user data...? I guess I could develop a migration script which reads each record, from each table of the 'old' structured database, and pushes it into the 'new' structured database, but this is a BIG solution, with tens of thousands of records in several of the tables....??....??? I can see issues with auto-entered serial numbers at the very least with that idea (though it's currently the best one around so, thanks....) Any other thoughts on this...?? having to manually create the same table, with the same fields over and over again is doing my head in ;-) Thanks Steve On 19 Jun 2009, at 08:55, Gjermund Gusland Thorsen wrote: > Do you have php on the FMSA itself? > > I would write a php script that executes a shell script that > duplicates a template file in the server folder. > > ggt667 > > 2009/6/19 Steve Winter : >> Hi all, >> I've floated versions of this concept up in the past, but I'm back >> in need >> of a way to automate the creation of a new table in 50+ instances >> of a >> database solution which I develop and manage for a client... >> What I want to be able to do is to create a new table, complete >> with field >> definitions through a script called via FX.... >> This seems like something of a tall order, and to date has proved >> impossible... I looked at importing a table from a 'master' >> database, but FM >> won't allow the file or the table to be passed as parameters (or >> even set in >> globals) for the script... >> Recently I was looking at the XML import function and that looks very >> promising because I can tell the script to look for an XML file on >> my server >> called 'newTable.xml' (for example) and then modify that... >> everything along >> that line works really well except that the table ends up called >> 'XML import >> from http'. NOT very user-friendly... >> So, does anyone have any clue as to how I set the table name >> through and XML >> import...? or any other ideas on how I can go about making structural >> changes to databases using scripts...? (the desire to do this grows >> the more >> this solution is implemented, the more features are added, and the >> more I >> work with MySQL where you can define everything about the database >> through >> php ;-) >> Thanks for any thoughts... >> Cheers >> Steve >> >> Steve Winter >> steve@bluecrocodile.co.nz >> m: +44 77 7852 4776 >> 3 Calshot Court, Channel Way >> Ocean Village, Southampton SO14 3GR >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter steve@bluecrocodile.co.nz m: +44 77 7852 4776 3 Calshot Court, Channel Way Ocean Village, Southampton SO14 3GR -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090619/0121f2a1/attachment.html From ggt667 at gmail.com Fri Jun 19 03:51:53 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Fri Jun 19 03:51:56 2009 Subject: [FX.php List] Back on the trail of automating database management In-Reply-To: <6DB6F825-6C8E-426D-8826-E2F94D7A904F@bluecrocodile.co.nz> References: <6DB6F825-6C8E-426D-8826-E2F94D7A904F@bluecrocodile.co.nz> Message-ID: User data meaning what? FileMaker user account? or user data in a table in FileMaker? ggt 2009/6/19 Steve Winter : > Hi ggt, > That's what I do to roll out the solution to a new instance, and that works > really well... the shell script then calls the FMS command line tool and > opens the database as well which allows for an activation process which can > be undertaken by sending a text message, which is great... > But how would I do that and maintain user data... each of these instances > begins as a clone (via the above process) of a template database, but how > would I replace that templated database and?maintain the user data...? I > guess I could develop a migration script which reads each record, from each > table of the 'old' structured database, and pushes it into the 'new' > structured database, but this is a BIG solution, with tens of thousands of > records in several of the tables....??....??? I can see issues with > auto-entered serial numbers at the very least with that idea (though it's > currently the best one around so, thanks....) > Any other thoughts on this...?? having to manually create the same table, > with the same fields over and over again is doing my head in ;-) > Thanks > Steve > > > > On 19 Jun 2009, at 08:55, Gjermund Gusland Thorsen wrote: > > Do you have php on the FMSA itself? > > I would write a php script that executes a shell script that > duplicates a template file in the server folder. > > ggt667 > > 2009/6/19 Steve Winter : > > Hi all, > > I've floated versions of this concept up in the past, but I'm back in need > > of a way to automate the creation of a new table in 50+ instances of a > > database solution which I develop and manage for a client... > > What I want to be able to do is to create a new table, complete with field > > definitions through a script called via FX.... > > This seems like something of a tall order, and to date has proved > > impossible... I looked at importing a table from a 'master' database, but FM > > won't allow the file or the table to be passed as parameters (or even set in > > globals) for the script... > > Recently I was looking at the XML import function and that looks very > > promising because I can tell the script to look for an XML file on my server > > called 'newTable.xml' (for example) and then modify that... everything along > > that line works really well except?that the table ends up called 'XML import > > from http'.?NOT?very?user-friendly... > > So,?does?anyone?have?any clue as to how I set the table name through and XML > > import...? or any?other?ideas?on?how?I can go about making structural > > changes to databases using scripts...? (the desire to do this grows the more > > this solution is implemented, the more features are added, and the more I > > work with MySQL where you can define everything?about the database through > > php ;-) > > Thanks for any thoughts... > > Cheers > > Steve > > Steve Winter > > steve@bluecrocodile.co.nz > > m: +44 77 7852 4776 > > 3 Calshot Court,?Channel Way > > Ocean?Village,?Southampton?SO14 3GR > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > > Steve Winter > steve@bluecrocodile.co.nz > m: +44 77 7852 4776 > 3 Calshot Court,?Channel Way > Ocean?Village,?Southampton?SO14 3GR > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > From steve at bluecrocodile.co.nz Fri Jun 19 06:25:08 2009 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Fri Jun 19 06:25:19 2009 Subject: [FX.php List] Back on the trail of automating database management In-Reply-To: References: <6DB6F825-6C8E-426D-8826-E2F94D7A904F@bluecrocodile.co.nz> Message-ID: <1DEE7483-926B-48C3-98DE-022AEBB904B3@bluecrocodile.co.nz> User data meaning the content of the fields/records/tables which the users of the solutions have entered... Steve On 19 Jun 2009, at 10:51, Gjermund Gusland Thorsen wrote: > User data meaning what? > > FileMaker user account? > or user data in a table in FileMaker? > > ggt > > 2009/6/19 Steve Winter : >> Hi ggt, >> That's what I do to roll out the solution to a new instance, and >> that works >> really well... the shell script then calls the FMS command line >> tool and >> opens the database as well which allows for an activation process >> which can >> be undertaken by sending a text message, which is great... >> But how would I do that and maintain user data... each of these >> instances >> begins as a clone (via the above process) of a template database, >> but how >> would I replace that templated database and maintain the user >> data...? I >> guess I could develop a migration script which reads each record, >> from each >> table of the 'old' structured database, and pushes it into the 'new' >> structured database, but this is a BIG solution, with tens of >> thousands of >> records in several of the tables....??....??? I can see issues with >> auto-entered serial numbers at the very least with that idea >> (though it's >> currently the best one around so, thanks....) >> Any other thoughts on this...?? having to manually create the same >> table, >> with the same fields over and over again is doing my head in ;-) >> Thanks >> Steve >> >> >> >> On 19 Jun 2009, at 08:55, Gjermund Gusland Thorsen wrote: >> >> Do you have php on the FMSA itself? >> >> I would write a php script that executes a shell script that >> duplicates a template file in the server folder. >> >> ggt667 >> >> 2009/6/19 Steve Winter : >> >> Hi all, >> >> I've floated versions of this concept up in the past, but I'm back >> in need >> >> of a way to automate the creation of a new table in 50+ instances >> of a >> >> database solution which I develop and manage for a client... >> >> What I want to be able to do is to create a new table, complete >> with field >> >> definitions through a script called via FX.... >> >> This seems like something of a tall order, and to date has proved >> >> impossible... I looked at importing a table from a 'master' >> database, but FM >> >> won't allow the file or the table to be passed as parameters (or >> even set in >> >> globals) for the script... >> >> Recently I was looking at the XML import function and that looks very >> >> promising because I can tell the script to look for an XML file on >> my server >> >> called 'newTable.xml' (for example) and then modify that... >> everything along >> >> that line works really well except that the table ends up called >> 'XML import >> >> from http'. NOT very user-friendly... >> >> So, does anyone have any clue as to how I set the table name >> through and XML >> >> import...? or any other ideas on how I can go about making structural >> >> changes to databases using scripts...? (the desire to do this grows >> the more >> >> this solution is implemented, the more features are added, and the >> more I >> >> work with MySQL where you can define everything about the database >> through >> >> php ;-) >> >> Thanks for any thoughts... >> >> Cheers >> >> Steve >> >> Steve Winter >> >> steve@bluecrocodile.co.nz >> >> m: +44 77 7852 4776 >> >> 3 Calshot Court, Channel Way >> >> Ocean Village, Southampton SO14 3GR >> >> _______________________________________________ >> >> FX.php_List mailing list >> >> FX.php_List@mail.iviking.org >> >> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> Steve Winter >> steve@bluecrocodile.co.nz >> m: +44 77 7852 4776 >> 3 Calshot Court, Channel Way >> Ocean Village, Southampton SO14 3GR >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter steve@bluecrocodile.co.nz m: +44 77 7852 4776 3 Calshot Court, Channel Way Ocean Village, Southampton SO14 3GR -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090619/2ac78ff1/attachment.html From ggt667 at gmail.com Fri Jun 19 07:00:51 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Fri Jun 19 07:00:53 2009 Subject: [FX.php List] Back on the trail of automating database management In-Reply-To: <1DEE7483-926B-48C3-98DE-022AEBB904B3@bluecrocodile.co.nz> References: <6DB6F825-6C8E-426D-8826-E2F94D7A904F@bluecrocodile.co.nz> <1DEE7483-926B-48C3-98DE-022AEBB904B3@bluecrocodile.co.nz> Message-ID: But that is just a matter of table design, no? ggt 2009/6/19 Steve Winter : > User data meaning the content of the fields/records/tables which the users > of the solutions have entered... > Steve > > On 19 Jun 2009, at 10:51, Gjermund Gusland Thorsen wrote: > > User data meaning what? > > FileMaker user account? > or user data in a table in FileMaker? > > ggt > > 2009/6/19 Steve Winter : > > Hi ggt, > > That's what I do to roll out the solution to a new instance, and that works > > really well... the shell script then calls the FMS command line tool and > > opens the database as well which allows for an activation process which can > > be undertaken by sending a text message, which is great... > > But how would I do that and maintain user data... each of these instances > > begins as a clone (via the above process) of a template database, but how > > would I replace that templated database and?maintain the user data...? I > > guess I could develop a migration script which reads each record, from each > > table of the 'old' structured database, and pushes it into the 'new' > > structured database, but this is a BIG solution, with tens of thousands of > > records in several of the tables....??....??? I can see issues with > > auto-entered serial numbers at the very least with that idea (though it's > > currently the best one around so, thanks....) > > Any other thoughts on this...?? having to manually create the same table, > > with the same fields over and over again is doing my head in ;-) > > Thanks > > Steve > > > > On 19 Jun 2009, at 08:55, Gjermund Gusland Thorsen wrote: > > Do you have php on the FMSA itself? > > I would write a php script that executes a shell script that > > duplicates a template file in the server folder. > > ggt667 > > 2009/6/19 Steve Winter : > > Hi all, > > I've floated versions of this concept up in the past, but I'm back in need > > of a way to automate the creation of a new table in 50+ instances of a > > database solution which I develop and manage for a client... > > What I want to be able to do is to create a new table, complete with field > > definitions through a script called via FX.... > > This seems like something of a tall order, and to date has proved > > impossible... I looked at importing a table from a 'master' database, but FM > > won't allow the file or the table to be passed as parameters (or even set in > > globals) for the script... > > Recently I was looking at the XML import function and that looks very > > promising because I can tell the script to look for an XML file on my server > > called 'newTable.xml' (for example) and then modify that... everything along > > that line works really well except?that the table ends up called 'XML import > > from http'.?NOT?very?user-friendly... > > So,?does?anyone?have?any clue as to how I set the table name through and XML > > import...? or any?other?ideas?on?how?I can go about making structural > > changes to databases using scripts...? (the desire to do this grows the more > > this solution is implemented, the more features are added, and the more I > > work with MySQL where you can define everything?about the database through > > php ;-) > > Thanks for any thoughts... > > Cheers > > Steve > > Steve Winter > > steve@bluecrocodile.co.nz > > m: +44 77 7852 4776 > > 3 Calshot Court,?Channel Way > > Ocean?Village,?Southampton?SO14 3GR > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > > Steve Winter > > steve@bluecrocodile.co.nz > > m: +44 77 7852 4776 > > 3 Calshot Court,?Channel Way > > Ocean?Village,?Southampton?SO14 3GR > > _______________________________________________ > > FX.php_List mailing list > > FX.php_List@mail.iviking.org > > http://www.iviking.org/mailman/listinfo/fx.php_list > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > > Steve Winter > steve@bluecrocodile.co.nz > m: +44 77 7852 4776 > 3 Calshot Court,?Channel Way > Ocean?Village,?Southampton?SO14 3GR > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > From steve at bluecrocodile.co.nz Fri Jun 19 10:23:05 2009 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Fri Jun 19 10:23:14 2009 Subject: [FX.php List] Back on the trail of automating database management In-Reply-To: References: <6DB6F825-6C8E-426D-8826-E2F94D7A904F@bluecrocodile.co.nz> <1DEE7483-926B-48C3-98DE-022AEBB904B3@bluecrocodile.co.nz> Message-ID: I don't understand what you mean here...?? Cheers Steve On 19 Jun 2009, at 14:00, Gjermund Gusland Thorsen wrote: > But that is just a matter of table design, no? > > ggt > > 2009/6/19 Steve Winter : >> User data meaning the content of the fields/records/tables which >> the users >> of the solutions have entered... >> Steve >> >> On 19 Jun 2009, at 10:51, Gjermund Gusland Thorsen wrote: >> >> User data meaning what? >> >> FileMaker user account? >> or user data in a table in FileMaker? >> >> ggt >> >> 2009/6/19 Steve Winter : >> >> Hi ggt, >> >> That's what I do to roll out the solution to a new instance, and >> that works >> >> really well... the shell script then calls the FMS command line >> tool and >> >> opens the database as well which allows for an activation process >> which can >> >> be undertaken by sending a text message, which is great... >> >> But how would I do that and maintain user data... each of these >> instances >> >> begins as a clone (via the above process) of a template database, >> but how >> >> would I replace that templated database and maintain the user >> data...? I >> >> guess I could develop a migration script which reads each record, >> from each >> >> table of the 'old' structured database, and pushes it into the 'new' >> >> structured database, but this is a BIG solution, with tens of >> thousands of >> >> records in several of the tables....??....??? I can see issues with >> >> auto-entered serial numbers at the very least with that idea >> (though it's >> >> currently the best one around so, thanks....) >> >> Any other thoughts on this...?? having to manually create the same >> table, >> >> with the same fields over and over again is doing my head in ;-) >> >> Thanks >> >> Steve >> >> >> >> On 19 Jun 2009, at 08:55, Gjermund Gusland Thorsen wrote: >> >> Do you have php on the FMSA itself? >> >> I would write a php script that executes a shell script that >> >> duplicates a template file in the server folder. >> >> ggt667 >> >> 2009/6/19 Steve Winter : >> >> Hi all, >> >> I've floated versions of this concept up in the past, but I'm back >> in need >> >> of a way to automate the creation of a new table in 50+ instances >> of a >> >> database solution which I develop and manage for a client... >> >> What I want to be able to do is to create a new table, complete >> with field >> >> definitions through a script called via FX.... >> >> This seems like something of a tall order, and to date has proved >> >> impossible... I looked at importing a table from a 'master' >> database, but FM >> >> won't allow the file or the table to be passed as parameters (or >> even set in >> >> globals) for the script... >> >> Recently I was looking at the XML import function and that looks very >> >> promising because I can tell the script to look for an XML file on >> my server >> >> called 'newTable.xml' (for example) and then modify that... >> everything along >> >> that line works really well except that the table ends up called >> 'XML import >> >> from http'. NOT very user-friendly... >> >> So, does anyone have any clue as to how I set the table name >> through and XML >> >> import...? or any other ideas on how I can go about making structural >> >> changes to databases using scripts...? (the desire to do this grows >> the more >> >> this solution is implemented, the more features are added, and the >> more I >> >> work with MySQL where you can define everything about the database >> through >> >> php ;-) >> >> Thanks for any thoughts... >> >> Cheers >> >> Steve >> >> Steve Winter >> >> steve@bluecrocodile.co.nz >> >> m: +44 77 7852 4776 >> >> 3 Calshot Court, Channel Way >> >> Ocean Village, Southampton SO14 3GR >> >> _______________________________________________ >> >> FX.php_List mailing list >> >> FX.php_List@mail.iviking.org >> >> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> _______________________________________________ >> >> FX.php_List mailing list >> >> FX.php_List@mail.iviking.org >> >> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> Steve Winter >> >> steve@bluecrocodile.co.nz >> >> m: +44 77 7852 4776 >> >> 3 Calshot Court, Channel Way >> >> Ocean Village, Southampton SO14 3GR >> >> _______________________________________________ >> >> FX.php_List mailing list >> >> FX.php_List@mail.iviking.org >> >> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> Steve Winter >> steve@bluecrocodile.co.nz >> m: +44 77 7852 4776 >> 3 Calshot Court, Channel Way >> Ocean Village, Southampton SO14 3GR >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter steve@bluecrocodile.co.nz m: +44 77 7852 4776 3 Calshot Court, Channel Way Ocean Village, Southampton SO14 3GR -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090619/e2ce626d/attachment-0001.html From jsfmp at earthlink.net Fri Jun 19 11:14:55 2009 From: jsfmp at earthlink.net (Joel Shapiro) Date: Fri Jun 19 11:14:58 2009 Subject: [FX.php List] Back on the trail of automating database management In-Reply-To: <6DB6F825-6C8E-426D-8826-E2F94D7A904F@bluecrocodile.co.nz> References: <6DB6F825-6C8E-426D-8826-E2F94D7A904F@bluecrocodile.co.nz> Message-ID: Hey Steve I'm afraid I've got nuthin' to help w/ your overall challenge, but if the auto-entered serial numbers you mention are for unique IDs, check out Ray Cologon's custom function for "Base36 uID System": http://www.nightwing.com.au/FileMaker/demos9/demo910.html Best, -Joel On Jun 19, 2009, at 2:44 AM, Steve Winter wrote: > I can see issues with auto-entered serial numbers at the very least > with that idea (though it's currently the best one around so, > thanks....) From jfunk at criticalsolution.com Thu Jun 25 11:27:33 2009 From: jfunk at criticalsolution.com (John Funk) Date: Thu Jun 25 11:27:38 2009 Subject: [FX.php List] Creating a PDF label and show on a web page Message-ID: I have a PHP script that needs to create a PDF of a FileMaker Layout and display on a web page. (I have Barcodes on the layout) This is what I thought I could do: 1. Call a FileMaker script using: $request -> AddDBParam("-script", "Make Label"); (but this is not compatible to run on FMServer Advance). 2. Get the PDF in HTML Any body have another workflow that works with FX and FMServer Advance 10? I could just display the label in html with dynamic data and use a style sheet to call the bar code font but how to I get the barcode font to download, is this legal? Any ideas? Thanks, John Funk . -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090625/10b5b264/attachment.html From steve at bluecrocodile.co.nz Thu Jun 25 11:36:14 2009 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Thu Jun 25 11:36:24 2009 Subject: [FX.php List] Creating a PDF label and show on a web page In-Reply-To: References: Message-ID: Hi John, You could take a look at fpdf, (http://www.fpdf.org/) which is an open- source php creator library, and generate the pdf using that directly into the browser using PHP... I've not tried do barcodes with it, however I don't see that it would be too much of an issue. The other thing which you could look at is a bar-code image creation class (like http://www.sid6581.net/cs/php-scripts/barcode/ pretty old now, but still works really well ;-) and then simply generate the label in pure HTML rather than using a pdf at all... Just a couple of ideas, if you want more details just shout...! Cheers Steve On 25 Jun 2009, at 18:27, John Funk wrote: > I have a PHP script that needs to create a PDF of a FileMaker Layout > and display on a web page. (I have Barcodes on the layout) > This is what I thought I could do: > 1. Call a FileMaker script using: > $request -> AddDBParam("-script", "Make Label"); > (but this is not compatible to run on FMServer Advance). > 2. Get the PDF in HTML > > Any body have another workflow that works with FX and FMServer > Advance 10? > > I could just display the label in html with dynamic data and use a > style sheet to call the bar code font but how to I get the barcode > font to download, is this legal? > > Any ideas? > > Thanks, > John Funk > . > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter steve@bluecrocodile.co.nz m: +44 77 7852 4776 3 Calshot Court, Channel Way Ocean Village, Southampton SO14 3GR -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090625/48d2a01d/attachment.html From jfunk at criticalsolution.com Thu Jun 25 12:00:25 2009 From: jfunk at criticalsolution.com (John Funk) Date: Thu Jun 25 12:00:29 2009 Subject: [FX.php List] Creating a PDF label and show on a web page In-Reply-To: Message-ID: I like this idea, any tips on how to use to shorten my learning curve? It looks like I put the barcode.php in my site folder and in the html of my label place the barcode like an image but use wth parameters? Seems simple enough..... Could I put barcode.php in my includes folder? Thanks, John Funk On 6/25/09 12:36 PM, "Steve Winter" wrote: > The other thing which you could look at is a bar-code image creation class > (like http://www.sid6581.net/cs/php-scripts/barcode/ pretty old now, but still > works really well ;-) and then simply generate the label in pure HTML rather > than using a pdf at all... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090625/616cdaec/attachment.html From ggt667 at gmail.com Thu Jun 25 12:08:21 2009 From: ggt667 at gmail.com (Gjermund Gusland Thorsen) Date: Thu Jun 25 12:08:24 2009 Subject: [FX.php List] Creating a PDF label and show on a web page In-Reply-To: References: Message-ID: I use the barcode directly in the rendered HTML. ggt667 2009/6/25 John Funk : > I like this idea, any tips on how to use to shorten my learning curve? > It looks like I put the barcode.php in my site folder and in the html of my > label place the barcode like an image but use SRC="barcode.php?barcode=HELLO&quality=75"> wth parameters? > Seems simple enough..... > Could I put barcode.php in my includes folder? > Thanks, > John Funk > > > On 6/25/09 12:36 PM, "Steve Winter" wrote: > > The other thing which you could look at is a bar-code image creation class > (like http://www.sid6581.net/cs/php-scripts/barcode/ pretty old now, but > still works really well ;-) and then simply generate the label in pure HTML > rather than using a pdf at all... > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list > > From jsfmp at earthlink.net Thu Jun 25 12:17:27 2009 From: jsfmp at earthlink.net (Joel Shapiro) Date: Thu Jun 25 12:17:30 2009 Subject: [FX.php List] Creating a PDF label and show on a web page In-Reply-To: References: Message-ID: <38357200-2CFC-4698-BE6D-BD6FFA775CC7@earthlink.net> Hi John Just a thought: If you plan to have barcodes in the database, they could be different than the barcodes generated by this PHP script, so you'd probably want to check on that. Best, -Joel On Jun 25, 2009, at 11:00 AM, John Funk wrote: > I like this idea, any tips on how to use to shorten my learning curve? > It looks like I put the barcode.php in my site folder and in the > html of my label place the barcode like an image but use SRC="barcode.php?barcode=HELLO&quality=75"> wth parameters? > Seems simple enough..... > Could I put barcode.php in my includes folder? > Thanks, > John Funk > > > On 6/25/09 12:36 PM, "Steve Winter" wrote: > >> The other thing which you could look at is a bar-code image >> creation class (like http://www.sid6581.net/cs/php-scripts/ >> barcode/ pretty old now, but still works really well ;-) and then >> simply generate the label in pure HTML rather than using a pdf at >> all... > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list From jfunk at criticalsolution.com Thu Jun 25 12:19:36 2009 From: jfunk at criticalsolution.com (John Funk) Date: Thu Jun 25 12:19:41 2009 Subject: [FX.php List] Creating a PDF label and show on a web page In-Reply-To: Message-ID: OK, how do I install / compile the GD lib? I will need it on my Mac / Apache and windows iis. On 6/25/09 12:36 PM, "Steve Winter" wrote: > Hi John, > > You could take a look at fpdf, (http://www.fpdf.org/) which is an open-source > php creator library, and generate the pdf using that directly into the browser > using PHP... > > I've not tried do barcodes with it, however I don't see that it would be too > much of an issue. > > The other thing which you could look at is a bar-code image creation class > (like http://www.sid6581.net/cs/php-scripts/barcode/ pretty old now, but still > works really well ;-) and then simply generate the label in pure HTML rather > than using a pdf at all... > > Just a couple of ideas, if you want more details just shout...! > > Cheers > Steve > > On 25 Jun 2009, at 18:27, John Funk wrote: > >> I have a PHP script that needs to create a PDF of a FileMaker Layout and >> display on a web page. (I have Barcodes on the layout) >> This is what I thought I could do: >> 1. Call a FileMaker script using: >> $request -> AddDBParam("-script", "Make Label"); >> (but this is not compatible to run on FMServer Advance). >> 2. Get the PDF in HTML >> >> Any body have another workflow that works with FX and FMServer Advance 10? >> >> I could just display the label in html with dynamic data and use a style >> sheet to call the bar code font but how to I get the barcode font to >> download, is this legal? >> >> Any ideas? >> >> Thanks, >> John Funk >> . >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > > Steve Winter > steve@bluecrocodile.co.nz > m: +44 77 7852 4776 > 3 Calshot Court, Channel Way > Ocean Village, Southampton SO14 3GR > > > > > _______________________________________________ > 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/20090625/1b90cc11/attachment-0001.html From jfunk at criticalsolution.com Thu Jun 25 12:33:24 2009 From: jfunk at criticalsolution.com (John Funk) Date: Thu Jun 25 12:33:29 2009 Subject: [FX.php List] Creating a PDF label and show on a web page In-Reply-To: <38357200-2CFC-4698-BE6D-BD6FFA775CC7@earthlink.net> Message-ID: The barcode number will be in the database but the forms created in FileMaker will not be used for the same purpose as the html forms. Thanks for the lookout.. On 6/25/09 1:17 PM, "Joel Shapiro" wrote: > Hi John > > Just a thought: > If you plan to have barcodes in the database, they could be different > than the barcodes generated by this PHP script, so you'd probably > want to check on that. > > Best, > -Joel > > > On Jun 25, 2009, at 11:00 AM, John Funk wrote: > >> I like this idea, any tips on how to use to shorten my learning curve? >> It looks like I put the barcode.php in my site folder and in the >> html of my label place the barcode like an image but use > SRC="barcode.php?barcode=HELLO&quality=75"> wth parameters? >> Seems simple enough..... >> Could I put barcode.php in my includes folder? >> Thanks, >> John Funk >> >> >> On 6/25/09 12:36 PM, "Steve Winter" wrote: >> >>> The other thing which you could look at is a bar-code image >>> creation class (like http://www.sid6581.net/cs/php-scripts/ >>> barcode/ pretty old now, but still works really well ;-) and then >>> simply generate the label in pure HTML rather than using a pdf at >>> all... >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/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 dbengston at tds.net Thu Jun 25 15:01:16 2009 From: dbengston at tds.net (Dale Bengston) Date: Thu Jun 25 15:01:26 2009 Subject: [FX.php List] Creating a PDF label and show on a web page In-Reply-To: References: Message-ID: <4F6B1B1D-65C5-485A-80FE-B8DAA8DC7C60@tds.net> Hi John, The easiest way to get GD is to go to entropy.ch and get Mark Liyanage's build of PHP and use it instead of the default one. It works great, and includes GD, among many other things. Now, back to FPDF, which is also what I use to create PDF from PHP. FPDF is great for doing this, and very precise. Also, there is an extension for FPDF called FPDI that allows you to open a pre-made PDF template, draw data on it with FPDF and save it out. It's double cool. FPDF allows you to place graphics, which is how I'd handle the bar codes. You could use other PHP graphics creators (like the one Steve W recommended) to save your bar codes as image files and place them with FPDF. Hope this helps, Dale -- Dale Bengston Streamline Studio, LLC www.streamline-studio.com On Jun 25, 2009, at 1:33 PM, John Funk wrote: > The barcode number will be in the database but the forms created in > FileMaker will not be used for the same purpose as the html forms. > Thanks for the lookout.. > > > On 6/25/09 1:17 PM, "Joel Shapiro" wrote: > >> Hi John >> >> Just a thought: >> If you plan to have barcodes in the database, they could be different >> than the barcodes generated by this PHP script, so you'd probably >> want to check on that. >> >> Best, >> -Joel >> >> >> On Jun 25, 2009, at 11:00 AM, John Funk wrote: >> >>> I like this idea, any tips on how to use to shorten my learning >>> curve? >>> It looks like I put the barcode.php in my site folder and in the >>> html of my label place the barcode like an image but use >> SRC="barcode.php?barcode=HELLO&quality=75"> wth parameters? >>> Seems simple enough..... >>> Could I put barcode.php in my includes folder? >>> Thanks, >>> John Funk >>> >>> >>> On 6/25/09 12:36 PM, "Steve Winter" >>> wrote: >>> >>>> The other thing which you could look at is a bar-code image >>>> creation class (like http://www.sid6581.net/cs/php-scripts/ >>>> barcode/ pretty old now, but still works really well ;-) and then >>>> simply generate the label in pure HTML rather than using a pdf at >>>> all... >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/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 jfunk at criticalsolution.com Thu Jun 25 19:47:26 2009 From: jfunk at criticalsolution.com (John Funk) Date: Thu Jun 25 19:47:31 2009 Subject: [FX.php List] Creating a PDF label and show on a web page In-Reply-To: <4F6B1B1D-65C5-485A-80FE-B8DAA8DC7C60@tds.net> Message-ID: Thanks for the tips, I found html barcodes by Mark Ryan at: http://phpclasses.elib.com/browse/package/3603.html, a php class for making barcodes. Seems to work good. John On 6/25/09 4:01 PM, "Dale Bengston" wrote: > Hi John, > > The easiest way to get GD is to go to entropy.ch and get Mark > Liyanage's build of PHP and use it instead of the default one. It > works great, and includes GD, among many other things. > > Now, back to FPDF, which is also what I use to create PDF from PHP. > FPDF is great for doing this, and very precise. Also, there is an > extension for FPDF called FPDI that allows you to open a pre-made PDF > template, draw data on it with FPDF and save it out. It's double cool. > > FPDF allows you to place graphics, which is how I'd handle the bar > codes. You could use other PHP graphics creators (like the one Steve W > recommended) to save your bar codes as image files and place them with > FPDF. > > Hope this helps, > Dale > > > > -- > Dale Bengston > Streamline Studio, LLC > www.streamline-studio.com > > > On Jun 25, 2009, at 1:33 PM, John Funk wrote: > >> The barcode number will be in the database but the forms created in >> FileMaker will not be used for the same purpose as the html forms. >> Thanks for the lookout.. >> >> >> On 6/25/09 1:17 PM, "Joel Shapiro" wrote: >> >>> Hi John >>> >>> Just a thought: >>> If you plan to have barcodes in the database, they could be different >>> than the barcodes generated by this PHP script, so you'd probably >>> want to check on that. >>> >>> Best, >>> -Joel >>> >>> >>> On Jun 25, 2009, at 11:00 AM, John Funk wrote: >>> >>>> I like this idea, any tips on how to use to shorten my learning >>>> curve? >>>> It looks like I put the barcode.php in my site folder and in the >>>> html of my label place the barcode like an image but use >>> SRC="barcode.php?barcode=HELLO&quality=75"> wth parameters? >>>> Seems simple enough..... >>>> Could I put barcode.php in my includes folder? >>>> Thanks, >>>> John Funk >>>> >>>> >>>> On 6/25/09 12:36 PM, "Steve Winter" >>>> wrote: >>>> >>>>> The other thing which you could look at is a bar-code image >>>>> creation class (like http://www.sid6581.net/cs/php-scripts/ >>>>> barcode/ pretty old now, but still works really well ;-) and then >>>>> simply generate the label in pure HTML rather than using a pdf at >>>>> all... >>>> >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/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 steve at bluecrocodile.co.nz Fri Jun 26 00:59:32 2009 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Fri Jun 26 00:59:45 2009 Subject: [FX.php List] Creating a PDF label and show on a web page In-Reply-To: References: Message-ID: Hi John, Looks a nice option... I do note that it says in the read-me that it's only been tested for IE6, which likely means that when you try and use it in 'proper' browsers that it won't quite display correctly so you might have to do a bit of mucking about to get it cross-browser compatible... (hence the advantage of the GD/image based class I was suggesting, since it generates an image which you can embed within HTML, but which will always display the same (admittedly it won't display at all if the user has images turned off ;-) Best wishes Steve On 26 Jun 2009, at 02:47, John Funk wrote: > Thanks for the tips, I found html barcodes by Mark Ryan at: > http://phpclasses.elib.com/browse/package/3603.html, a php class for > making > barcodes. Seems to work good. > John > > > On 6/25/09 4:01 PM, "Dale Bengston" wrote: > >> Hi John, >> >> The easiest way to get GD is to go to entropy.ch and get Mark >> Liyanage's build of PHP and use it instead of the default one. It >> works great, and includes GD, among many other things. >> >> Now, back to FPDF, which is also what I use to create PDF from PHP. >> FPDF is great for doing this, and very precise. Also, there is an >> extension for FPDF called FPDI that allows you to open a pre-made PDF >> template, draw data on it with FPDF and save it out. It's double >> cool. >> >> FPDF allows you to place graphics, which is how I'd handle the bar >> codes. You could use other PHP graphics creators (like the one >> Steve W >> recommended) to save your bar codes as image files and place them >> with >> FPDF. >> >> Hope this helps, >> Dale >> >> >> >> -- >> Dale Bengston >> Streamline Studio, LLC >> www.streamline-studio.com >> >> >> On Jun 25, 2009, at 1:33 PM, John Funk wrote: >> >>> The barcode number will be in the database but the forms created in >>> FileMaker will not be used for the same purpose as the html forms. >>> Thanks for the lookout.. >>> >>> >>> On 6/25/09 1:17 PM, "Joel Shapiro" wrote: >>> >>>> Hi John >>>> >>>> Just a thought: >>>> If you plan to have barcodes in the database, they could be >>>> different >>>> than the barcodes generated by this PHP script, so you'd probably >>>> want to check on that. >>>> >>>> Best, >>>> -Joel >>>> >>>> >>>> On Jun 25, 2009, at 11:00 AM, John Funk wrote: >>>> >>>>> I like this idea, any tips on how to use to shorten my learning >>>>> curve? >>>>> It looks like I put the barcode.php in my site folder and in the >>>>> html of my label place the barcode like an image but use >>>> SRC="barcode.php?barcode=HELLO&quality=75"> wth parameters? >>>>> Seems simple enough..... >>>>> Could I put barcode.php in my includes folder? >>>>> Thanks, >>>>> John Funk >>>>> >>>>> >>>>> On 6/25/09 12:36 PM, "Steve Winter" >>>>> wrote: >>>>> >>>>>> The other thing which you could look at is a bar-code image >>>>>> creation class (like http://www.sid6581.net/cs/php-scripts/ >>>>>> barcode/ pretty old now, but still works really well ;-) and then >>>>>> simply generate the label in pure HTML rather than using a pdf at >>>>>> all... >>>>> >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter steve@bluecrocodile.co.nz m: +44 77 7852 4776 3 Calshot Court, Channel Way Ocean Village, Southampton SO14 3GR -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090626/acb89b76/attachment-0001.html From jfunk at criticalsolution.com Fri Jun 26 06:35:48 2009 From: jfunk at criticalsolution.com (John Funk) Date: Fri Jun 26 06:35:53 2009 Subject: [FX.php List] Creating a PDF label and show on a web page In-Reply-To: Message-ID: Yes I did see the the limits, I will have to think twice. The system I am writing is for one particular customer but will be distributed eventually. I do not want to have a system implementation nightmare, the installs need to be neat and tidy including the web services. For now I cannot use a Mac server (Apache). Is there and easy (for a non windows expert like me) way to install GD on iis? On 6/26/09 1:59 AM, "Steve Winter" wrote: > Hi John, > > Looks a nice option... I do note that it says in the read-me that it's only > been tested for IE6, which likely means that when you try and use it in > 'proper' browsers that it won't quite display correctly so you might have to > do a bit of mucking about to get it cross-browser compatible... (hence the > advantage of the GD/image based class I was suggesting, since it generates an > image which you can embed within HTML, but which will always display the same > (admittedly it won't display at all if the user has images turned off ;-) > > Best wishes > Steve > > On 26 Jun 2009, at 02:47, John Funk wrote: > >> Thanks for the tips, I found html barcodes by Mark Ryan at: >> http://phpclasses.elib.com/browse/package/3603.html, a php class for making >> barcodes. Seems to work good. >> John >> >> >> On 6/25/09 4:01 PM, "Dale Bengston" wrote: >> >>> Hi John, >>> >>> The easiest way to get GD is to go to entropy.ch and get Mark >>> Liyanage's build of PHP and use it instead of the default one. It >>> works great, and includes GD, among many other things. >>> >>> Now, back to FPDF, which is also what I use to create PDF from PHP. >>> FPDF is great for doing this, and very precise. Also, there is an >>> extension for FPDF called FPDI that allows you to open a pre-made PDF >>> template, draw data on it with FPDF and save it out. It's double cool. >>> >>> FPDF allows you to place graphics, which is how I'd handle the bar >>> codes. You could use other PHP graphics creators (like the one Steve W >>> recommended) to save your bar codes as image files and place them with >>> FPDF. >>> >>> Hope this helps, >>> Dale >>> >>> >>> >>> -- >>> Dale Bengston >>> Streamline Studio, LLC >>> www.streamline-studio.com >>> >>> >>> On Jun 25, 2009, at 1:33 PM, John Funk wrote: >>> >>>> The barcode number will be in the database but the forms created in >>>> FileMaker will not be used for the same purpose as the html forms. >>>> Thanks for the lookout.. >>>> >>>> >>>> On 6/25/09 1:17 PM, "Joel Shapiro" wrote: >>>> >>>>> Hi John >>>>> >>>>> Just a thought: >>>>> If you plan to have barcodes in the database, they could be different >>>>> than the barcodes generated by this PHP script, so you'd probably >>>>> want to check on that. >>>>> >>>>> Best, >>>>> -Joel >>>>> >>>>> >>>>> On Jun 25, 2009, at 11:00 AM, John Funk wrote: >>>>> >>>>>> I like this idea, any tips on how to use to shorten my learning >>>>>> curve? >>>>>> It looks like I put the barcode.php in my site folder and in the >>>>>> html of my label place the barcode like an image but use >>>>> SRC="barcode.php?barcode=HELLO&quality=75"> wth parameters? >>>>>> Seems simple enough..... >>>>>> Could I put barcode.php in my includes folder? >>>>>> Thanks, >>>>>> John Funk >>>>>> >>>>>> >>>>>> On 6/25/09 12:36 PM, "Steve Winter" >>>>>> wrote: >>>>>> >>>>>>> The other thing which you could look at is a bar-code image >>>>>>> creation class (like http://www.sid6581.net/cs/php-scripts/ >>>>>>> barcode/ pretty old now, but still works really well ;-) and then >>>>>>> simply generate the label in pure HTML rather than using a pdf at >>>>>>> all... >>>>>> >>>>>> _______________________________________________ >>>>>> FX.php_List mailing list >>>>>> FX.php_List@mail.iviking.org >>>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>>> >>>>> _______________________________________________ >>>>> FX.php_List mailing list >>>>> FX.php_List@mail.iviking.org >>>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>>> >>>> >>>> _______________________________________________ >>>> FX.php_List mailing list >>>> FX.php_List@mail.iviking.org >>>> http://www.iviking.org/mailman/listinfo/fx.php_list >>> >>> >>> _______________________________________________ >>> FX.php_List mailing list >>> FX.php_List@mail.iviking.org >>> http://www.iviking.org/mailman/listinfo/fx.php_list >> >> >> _______________________________________________ >> FX.php_List mailing list >> FX.php_List@mail.iviking.org >> http://www.iviking.org/mailman/listinfo/fx.php_list > > > > Steve Winter > steve@bluecrocodile.co.nz > m: +44 77 7852 4776 > 3 Calshot Court, Channel Way > Ocean Village, Southampton SO14 3GR > > > > > _______________________________________________ > 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/20090626/8c834e21/attachment.html From adenman at tmea.org Fri Jun 26 10:01:34 2009 From: adenman at tmea.org (Andrew Denman) Date: Fri Jun 26 09:56:10 2009 Subject: [FX.php List] Creating a PDF label and show on a web page In-Reply-To: References: Message-ID: <94A602F7D7242349A5B8846DEC4A5F8B1625FCB736@mail> If you have the PHP installed from php.net, I believe it comes with the GD dll; you just need to enable it in php.ini. In the [Extensions] section of php.ini, uncomment the line 'extension=php_gd2.dll' or add it if it is not there. The dll file should be located in the 'ext' or 'extensions' folder wherever you installed PHP. Andrew Denman From: fx.php_list-bounces@mail.iviking.org [mailto:fx.php_list-bounces@mail.iviking.org] On Behalf Of John Funk Sent: Friday, June 26, 2009 7:36 AM To: FX.php Discussion List Subject: Re: [FX.php List] Creating a PDF label and show on a web page Yes I did see the the limits, I will have to think twice. The system I am writing is for one particular customer but will be distributed eventually. I do not want to have a system implementation nightmare, the installs need to be neat and tidy including the web services. For now I cannot use a Mac server (Apache). Is there and easy (for a non windows expert like me) way to install GD on iis? On 6/26/09 1:59 AM, "Steve Winter" wrote: Hi John, Looks a nice option... I do note that it says in the read-me that it's only been tested for IE6, which likely means that when you try and use it in 'proper' browsers that it won't quite display correctly so you might have to do a bit of mucking about to get it cross-browser compatible... (hence the advantage of the GD/image based class I was suggesting, since it generates an image which you can embed within HTML, but which will always display the same (admittedly it won't display at all if the user has images turned off ;-) Best wishes Steve On 26 Jun 2009, at 02:47, John Funk wrote: Thanks for the tips, I found html barcodes by Mark Ryan at: http://phpclasses.elib.com/browse/package/3603.html, a php class for making barcodes. Seems to work good. John On 6/25/09 4:01 PM, "Dale Bengston" wrote: Hi John, The easiest way to get GD is to go to entropy.ch and get Mark Liyanage's build of PHP and use it instead of the default one. It works great, and includes GD, among many other things. Now, back to FPDF, which is also what I use to create PDF from PHP. FPDF is great for doing this, and very precise. Also, there is an extension for FPDF called FPDI that allows you to open a pre-made PDF template, draw data on it with FPDF and save it out. It's double cool. FPDF allows you to place graphics, which is how I'd handle the bar codes. You could use other PHP graphics creators (like the one Steve W recommended) to save your bar codes as image files and place them with FPDF. Hope this helps, Dale -- Dale Bengston Streamline Studio, LLC www.streamline-studio.com On Jun 25, 2009, at 1:33 PM, John Funk wrote: The barcode number will be in the database but the forms created in FileMaker will not be used for the same purpose as the html forms. Thanks for the lookout.. On 6/25/09 1:17 PM, "Joel Shapiro" wrote: Hi John Just a thought: If you plan to have barcodes in the database, they could be different than the barcodes generated by this PHP script, so you'd probably want to check on that. Best, -Joel On Jun 25, 2009, at 11:00 AM, John Funk wrote: I like this idea, any tips on how to use to shorten my learning curve? It looks like I put the barcode.php in my site folder and in the html of my label place the barcode like an image but use wth parameters? Seems simple enough..... Could I put barcode.php in my includes folder? Thanks, John Funk On 6/25/09 12:36 PM, "Steve Winter" wrote: The other thing which you could look at is a bar-code image creation class (like http://www.sid6581.net/cs/php-scripts/ barcode/ pretty old now, but still works really well ;-) and then simply generate the label in pure HTML rather than using a pdf at all... _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list _______________________________________________ FX.php_List mailing list FX.php_List@mail.iviking.org http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter steve@bluecrocodile.co.nz m: +44 77 7852 4776 3 Calshot Court, Channel Way Ocean Village, Southampton SO14 3GR ________________________________ _______________________________________________ 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/20090626/57f6df9e/attachment-0001.html From jfunk at criticalsolution.com Mon Jun 29 08:25:49 2009 From: jfunk at criticalsolution.com (John Funk) Date: Mon Jun 29 08:25:54 2009 Subject: [FX.php List] Creating a PDF label and show on a web page In-Reply-To: <94A602F7D7242349A5B8846DEC4A5F8B1625FCB736@mail> Message-ID: Thanks Andrew, I reinstalled PHP from PHP.net on my iis / apache machine, made sure the GD2 lib is enabled in php.ini. Seems like GD is not working. Shouldn't this show when I run if not how can I test? John On 6/26/09 11:01 AM, "Andrew Denman" wrote: > If you have the PHP installed from php.net, I believe it comes with the GD > dll; you just need to enable it in php.ini. In the [Extensions] section of > php.ini, uncomment the line ?extension=php_gd2.dll? or add it if it is not > there. The dll file should be located in the ?ext? or ?extensions? folder > wherever you installed PHP. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090629/fd3acd80/attachment.html From jfunk at criticalsolution.com Mon Jun 29 08:27:10 2009 From: jfunk at criticalsolution.com (John Funk) Date: Mon Jun 29 08:27:13 2009 Subject: [FX.php List] Creating a PDF label and show on a web page In-Reply-To: <94A602F7D7242349A5B8846DEC4A5F8B1625FCB736@mail> Message-ID: Andrew, I JUST restarted and GD is working, thanks. John On 6/26/09 11:01 AM, "Andrew Denman" wrote: > If you have the PHP installed from php.net, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090629/f1b7de3c/attachment.html From jfunk at criticalsolution.com Mon Jun 29 22:39:58 2009 From: jfunk at criticalsolution.com (John Funk) Date: Mon Jun 29 22:40:03 2009 Subject: [FX.php List] How to get recid of new record Message-ID: I have this code below that creates a record in FM. How to I get the record id of the record just created? $request = new FX($ServerIP, $port, 'FMPro7'); $request->SetDBData($db, 'web_requests','1'); $request->SetDBUserPass($fmAccount, $fmPass); $request->AddDBParam('AccountNumber', $AccountNumber); $request->AddDBParam('ContactName', $ContactName); $request->AddDBParam('Phone', $Phone); $request->AddDBParam('Email', $Email); $result = $request->FMNew(); $records = $result['data']; // this part below does not work foreach($records as $record) { $RequestRecID=$record['a_ID'][0]; // a_ID is the calculated field to get the recid echo $RequestRecID; } Thanks in advance. John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090629/bcdf0bf6/attachment.html From bob at patin.com Mon Jun 29 23:03:47 2009 From: bob at patin.com (Bob Patin) Date: Mon Jun 29 23:04:11 2009 Subject: [FX.php List] How to get recid of new record In-Reply-To: References: Message-ID: <8CF53445-4FCF-42AD-AEEF-3A3E2423EE29@patin.com> John, I use a calc field called "recid" equal to get(recordid); there's another way but I never use it. Here's how I do it; I know others will send you the other method (which slips my mind right now), but I like this one better because I need the RECID anyway for editing a record: foreach($queryResult['data'] as $key=>$queryData{ $recid = $queryData['recid'][0]; } Bob Patin Longterm Solutions bob@longtermsolutions.com 615-333-6858 http://www.longtermsolutions.com Twitter: bobpatin iChat: bobpatin AIM: longterm1954 FileMaker 9 & 10 Certified Developer Member of FileMaker Business Alliance & FileMaker TechNet -------------------------- FileMaker hosting and consulting for all versions of FileMaker Web hosting ? PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting On Jun 29, 2009, at 11:39 PM, John Funk wrote: > I have this code below that creates a record in FM. > How to I get the record id of the record just created? > > $request = new FX($ServerIP, $port, 'FMPro7'); > $request->SetDBData($db, 'web_requests','1'); > $request->SetDBUserPass($fmAccount, $fmPass); > $request->AddDBParam('AccountNumber', $AccountNumber); > $request->AddDBParam('ContactName', $ContactName); > $request->AddDBParam('Phone', $Phone); > $request->AddDBParam('Email', $Email); > $result = $request->FMNew(); > $records = $result['data']; > > // this part below does not work > foreach($records as $record) > { > $RequestRecID=$record['a_ID'][0]; // a_ID is the calculated field > to get the recid > echo $RequestRecID; > } > > Thanks in advance. > John > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list -------------- next part -------------- Skipped content of type multipart/related From steve at bluecrocodile.co.nz Tue Jun 30 00:28:15 2009 From: steve at bluecrocodile.co.nz (Steve Winter) Date: Tue Jun 30 00:28:23 2009 Subject: [FX.php List] How to get recid of new record In-Reply-To: References: Message-ID: Hi John, Since you're doing an FMNew, and therefore know that you're only going to get one record back you can add; $recordPointers = explode('.', key($records)); now $record pointers will be an array which has two elements, 0 will be the recid, 1 the modid, so; $recid = $recordPointers[0]; alternatively you can use the list() 'function'; list($recid, $modid) = explode('.', key($records)); this way you don't need any calculation fields in FM, or foreach loops in PHP... This will always work, not just when creating records, however if the returned data set contains more than one record, you will end up with the details for the first record, which may not always be what you want ;-) Cheers Steve On 30 Jun 2009, at 05:39, John Funk wrote: > I have this code below that creates a record in FM. > How to I get the record id of the record just created? > > $request = new FX($ServerIP, $port, 'FMPro7'); > $request->SetDBData($db, 'web_requests','1'); > $request->SetDBUserPass($fmAccount, $fmPass); > $request->AddDBParam('AccountNumber', $AccountNumber); > $request->AddDBParam('ContactName', $ContactName); > $request->AddDBParam('Phone', $Phone); > $request->AddDBParam('Email', $Email); > $result = $request->FMNew(); > $records = $result['data']; > > // this part below does not work > foreach($records as $record) > { > $RequestRecID=$record['a_ID'][0]; // a_ID is the calculated field > to get the recid > echo $RequestRecID; > } > > Thanks in advance. > John > _______________________________________________ > FX.php_List mailing list > FX.php_List@mail.iviking.org > http://www.iviking.org/mailman/listinfo/fx.php_list Steve Winter steve@bluecrocodile.co.nz m: +44 77 7852 4776 3 Calshot Court, Channel Way Ocean Village, Southampton SO14 3GR -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090630/c0c89e1c/attachment.html From jfunk at criticalsolution.com Tue Jun 30 09:04:57 2009 From: jfunk at criticalsolution.com (John Funk) Date: Tue Jun 30 09:05:06 2009 Subject: [FX.php List] How to get recid of new record In-Reply-To: <8CF53445-4FCF-42AD-AEEF-3A3E2423EE29@patin.com> Message-ID: Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 15728 bytes Desc: not available Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090630/ab07b024/attachment-0001.jpe